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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]