Subject: Re: [xsl] Processing CDATA in input XML From: Elliotte Rusty Harold <elharo@xxxxxxxxxxxxxxx> Date: Fri, 6 Feb 2004 19:09:03 -0500 |
Hi,
If my input XML has CDATA that contains a well-formed XML document:
<plan-text-item-data> <source-string-xml type="embeddedXML"> <![CDATA[ <?XML version="1.0"?> <strategyobservation smartid="FSR0100"> <paragraph>Consider annually reviewing your net worth statement.</paragraph> </strategyobservation> ]]> </source-string-xml> </plan-text-item-data>
Is there a way using XSLT that I can emit that document as an XML element:
<plan-text-item-data> <source-string-xml type="embeddedXML"> <strategyobservation smartid="FSR0100"> <paragraph>Consider annually reviewing your net worth statement.</paragraph> </strategyobservation> </source-string-xml> </plan-text-item-data>
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] Processing CDATA in input XML, Philip Puccio | Thread | Re: [xsl] Processing CDATA in input, David Carlisle |
RE: [xsl] text() word lists, McNally, David | Date | Re: [xsl] Processing CDATA in input, David Carlisle |
Month |