[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Processing CDATA in input XML
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
|
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
|