[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] outputting CDATA section
Hi all, I dug through the archives and was sad to see that the XSL FAQ was taken down =:( I am trying to transform xml to xml and the end schema dictates that I have to put all of my actual content (HTML page) into an element like this: <property name="body"><[[CDATA[ potentially nasty, ill-formed HTML ]]></property> So, how the heck do I put in those CDATA tags?! I cannot use the cdata-sections attr in xsl:output because the element name is not unique. There are about 10 other <property> elements with differing name attr values. I know most of you will most likely think "why are you putting that kind of content into an xml doc?" and I agree with you, but my hands are tied. I cannot influence the end schema. The guys on the other end are simply taking what is in that element and dumping it out on the page. Any and all suggestions welcome! I am using Ins. Saxon 6.5.2. TIA, --Nathan __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com 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
|