[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: enclose output of transform in CDATA section
> > I completely disagree with Mike Kay on this issue: there is > nothing in > the XML specification that in any way suggests that it is > "inappropriate" to include a syntactic XML document in a > CDATA section > and I can think of several cases when it would be useful to do so. Of course there's nothing in the XML spec about this; it's a question of application architecture and good document design. You can embed the serialized form of one XML document as text within another XML document if you really must, but it's going to be much more difficult to manage, because you need to put the text through two parsing phases on input, and two serialization phases on output. That's fine if you understand it and design your application around it, but an awful lot of people seem to be using this kind of structure without realizing the implications, and are trying to process it (in or out) in a single pass, and they are getting into a mess as a result. Michael Kay 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
|