[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

!!!showing HTML data in XML files using XSL!!!

Subject: !!!showing HTML data in XML files using XSL!!!
From: Rosa I-Ting Cheng <Rosa@xxxxxxxxxxxxx>
Date: Fri, 30 Mar 2001 14:20:51 +1000
read cdata xsl
Can anyone please tell me how to show HTML text that was between XML tags
using XSL?
That is I have some text like this:

XML:
<root>
<text><I><B>here is some info</B></I></text>
</root>

in XSL I'll be using <xsl:value-of select="root/text"/> to show the info.
but what happens is that the <I> and <B> HTML tags gets displayed directly
instead of have the sentence shown bold and italiced.
I read about CDATA, that is put the info in CDATA should work, but I can't
do this <![CDATA[<xsl:value-of select="root/text"/>]]>, and then I read
about <xsl:cdata> but it only works with namespace
http://www.w3.org/TR/WD-xsl . but it complains about variables and output
xsl tags. Another was  http://www.w3.org/TR/xslt and that just dumps the
info onto the window and the xsl dont' seem to work at all.  as for this
http://www.w3.org/1999/XSL/Transform, <xsl:cdata> don't work.  Can anyone
please tell me how to get around with this? showing HTML data in XML files
using XSLs?

Thank you in advance!


Rosa

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.