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

RE: HTML inside XML using XSLT

Subject: RE: HTML inside XML using XSLT
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sat, 24 Nov 2007 15:50:16 -0000
RE:  HTML inside XML using XSLT
> In the first solution I just substitute this part of the code 
> bellow (<xsl:value-of select="@Chartlink"/>) with this part 
> (xsl:value-of select="unparsed-text('myfile.html')"), but in 
> this case in the output appears the source code itself.

I did say you would have to display it using disable-output-escaping, and of
course, this only works if your processor/environment supports
> In the second solution, first I create the xhtml like you 
> told me, using the TagSoup (because jTidy didn't work for me) 
> and then I substitute the same part (<xsl:value-of 
> select="@Chartlink"/>) with (<xsl:copy-of 
> select="myfile.xhtml">). In the output nothing appears.

myfile.xhtml is going to be interpreted as an element name. If you want to
read an XHTML file named "myfile.xhtml", you need <xsl:copy-of

Michael Kay

Current Thread


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.
First Name
Last Name
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.