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

RE: xmllint -format, xsltproc and CDATA section

Subject: RE: xmllint -format, xsltproc and CDATA section
From: Taro Ikai <tikai@xxxxxxxxxxxx>
Date: Thu, 28 Aug 2003 10:55:32 -0400
taro ikai
> I don't understand. Why are you using a program (xmllint) that adds
> whitespace to your XML if you don't want whitespace added to your XML?
> 
> Michael Kay

My example did not clearly illustrate my need to use CDATA sections.
I am treating all instances of <programlisting> uniformly with:

  <xsl:output cdata-section-elements="programlisting"/>

so that I can delay the resolution of my CDATA sections until later.
Whether the particular instance contains escapable characters or not,
I need to maintain all <programlistings> content as CDATA sections.

Perhaps, I'm expecting the wrong things from xmllint.

Your book talks about canonical documents, and what I want is 
a tool that indents a document without changing its semantics.
Is there no such tool by definition?

For everything other than this treatment of CDATA sections, I am 
happy with xmllint -format. 

Taro

 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.