Re: Process XHTML embedded in XML
It seems to me that using xsl:copy-of instead of xsl:value-of in your template should solve your problem. Dimitre Novatchev. you wrote: <xsl:template match="caption"> <font color="white"><i><xsl:value-of select="."/></i></font> </xsl:template> </xsl:stylesheet> The only way to get content of caption element was to write it as a CDATA (i.e. <caption><![CDATA[some <b>cool</b> text !!!]]</caption>. (as described in a mail from mike@xxxxxxxx in august 2000) What I want is : 1) get the content of caption without qualifying it as CDATA but using xmlns, which I think is proper. 2) check the content I got is well formed in my xsl stylesheet. Sorry for this long post. Hope to describe my problem correctly. If you want more information, please ask me. Thanks. PS : I'm using xalanJ 2.0.1 -- Laurent Vaills Sun Microsystems (Grenoble, France) - Intern Office Phone : +33 (0) 4 76 18 81 09 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format