Subject: [xsl] Processing CDATA in input XML From: "Philip Puccio" <email@xxxxxxxx> Date: Fri, 6 Feb 2004 17:04:07 -0600 |
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"> <what-i-found-in-cdata> <strategyobservation smartid="FSR0100"> <paragraph>Consider annually reviewing your net worth statement.</paragraph> </strategyobservation> </what-i-found-in-cdata> </source-string-xml> </plan-text-item-data> I can match on source-string-xml and get its contents, but of course it's simply a string. Any suggestions? Thanks! . . . Phil Puccio XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] How to filter element val, Josh Canfield | Thread | Re: [xsl] Processing CDATA in input, Elliotte Rusty Harol |
Re: [xsl] Apply Template based on p, David Carlisle | Date | RE: [xsl] text() word lists, McNally, David |
Month |