[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: problem processing <strong> etc tags as style
The value-of instruction will only output the text nodes. If you want to
keep the HTML style elements then use:
<xsl:copy-of select="root/mytag/html" /> If you just want the em and strong then you'll need to go further down the tree: <xsl:copy-of select="root/mytag/html/body/p/em" /> Joe http://joe.fawcett.name ----- Original Message ----- From: "Vaduvoiu Tiberiu" <vaduvoiutibi@xxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Friday, June 15, 2007 8:14 AM Subject: problem processing <strong> etc tags as style I have an xml like this <root> <mytag> <html> <body> <p> <em> <strong> Some text comes here</strong> </em> </p> </body> </html> </mytag> </root>
|
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
|