cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fab Psycho" <psychoro...@hotmail.com>
Subject RE: display tags from xml
Date Wed, 11 May 2005 17:22:41 GMT
Wonderful !

Thanks a lot ! Does any exhaustive list of xsl tags exist somewhere ?

Fab

>From: "Conal Tuohy" <Conal.Tuohy@vuw.ac.nz>
>Reply-To: users@cocoon.apache.org
>To: <users@cocoon.apache.org>
>Subject: RE: display tags from xml
>Date: Wed, 11 May 2005 17:42:17 +1200
>
>Fab Psycho wrote:
>
> > My jx is :
> >
> > <mytext>
> >         <h1>texttitle</h1>
> >          text <i>number 1</i> ...
> > </mytext>
> >
> > my xsl displays text with<xsl:value-of select="mytext">
> > ...Problem is <h1>, <i> and all other tags are ignored :( ...
>
>This is correct behaviour for xsl:value-of. It is supposed to copy the
>STRING value of the selected expression.
>It means the same as <xsl:copy-of select="string(mytext)"/>
>
>You actually want to copy the contents of the mytext element, something
>like:
>
><xsl:copy-of select="mytext/node()"/>
>
>NB disable-output-escaping doesn't work in Cocoon, and anyway it's an
>ugly hack which you should avoid in general. :-)
>
>Cheers!
>
>Con
>
>
> > >On Lun, 9 de Mayo de 2005, 14:46, Fab Psycho dijo:
> > > > Hi :)
> > > >
> > > >     I'd like to display jx file content with html tags in
> > it from an
> > > > xsl but <xsl:value-of select="text"
> > disable-output-escaping="yes">
> > > > doesn't work ...
> > > > Something else exist in cocoon ?
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>

_________________________________________________________________



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message