[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

outputting CDATA section

Subject: outputting CDATA section
From: Nathan Shaw <n8_shaw@xxxxxxxxx>
Date: Tue, 22 Apr 2003 09:02:38 -0700 (PDT)
xsl outputting cdata
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.