Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Preserve white space in text nodes

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Olivier Lefevre <lefevrol AT yahoo.com>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Preserve white space in text nodes
  • Date: Sat, 21 Jan 2012 15:09:15 +0100

On 1/19/2012 1:27 PM, Michael Kay wrote:
The message here seems to be that XOM indentation is more aggressive
than XSLT indentation, which only adds whitespace before or after start
and end tags.

Yes but I would argue that it's more in line with common expectations of
a pretty printer: you don't want odd and weird indents in the output, no
matter where they came from, and respecting white space in text nodes
might cause just that.

-- O.L.





Archive powered by MHonArc 2.6.24.

Top of Page