[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
At 4:09 PM +0530 4/8/04, Yashdeep Patil wrote:
It's not possible in standard XSLT 1.0, at least not if you're aiming fro faithful reproduction of the input document as text.
--
Re: [xsl] Creating a CDATA tag in output XML
Subject: Re: [xsl] Creating a CDATA tag in output XML From: Elliotte Rusty Harold <elharo@xxxxxxxxxxxxxxx> Date: Thu, 8 Apr 2004 10:35:25 -0400 |
At 4:09 PM +0530 4/8/04, Yashdeep Patil wrote:
My input XML looks like: <a><b>123</b></a>
and my XSL snippet looks like : <xsl:element name="x"> <xsl:copy-of select="."/> </xsl:element>
Now I would like my resultant XML output to look like: <x > <![CDATA[<a><b>123</b></a>]]> </x>
It's not possible in standard XSLT 1.0, at least not if you're aiming fro faithful reproduction of the input document as text.
--
Elliotte Rusty Harold elharo@xxxxxxxxxxxxxxx Effective XML (Addison-Wesley, 2003) http://www.cafeconleche.org/books/effectivexml http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Creating a CDATA tag in outpu, Yashdeep Patil | Thread | [xsl] xslt 2.0 challenge, Andrew Welch |
RE: [xsl] XML Topic Maps, Passin, Tom | Date | RE: [xsl] Sorting problem, Michael Kay |
Month |