xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] [SPAM(hdr)] - Using Serializer with Indenting (without alteringAttribute values)
- From: Elliotte Rusty Harold <elharo AT ibiblio.org>
- To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] [SPAM(hdr)] - Using Serializer with Indenting (without alteringAttribute values)
- Date: Thu, 15 Sep 2011 19:40:11 -0400
On Thu, Sep 15, 2011 at 6:57 PM, Leif Stainsby <lstainsby AT galdosinc.com>
wrote:
> Elliotte,
>
> Assuming the attribute in question is declared as CDATA (most likely
> case...), wouldn't it be incorrect for the formatter (while performing
> the indenting) to modify the attribute content?
No, it is not incorrect. Indenting is a specific request to change the
white space. If you don't want to change the white space, don't tell
the serializer to indent. The default behavior is not to indent.
--
Elliotte Rusty Harold
elharo AT ibiblio.org
-
Re: [XOM-interest] [SPAM(hdr)] - Using Serializer with Indenting (without alteringAttribute values),
Peter Taylor, 09/15/2011
-
Re: [XOM-interest] [SPAM(hdr)] - Using Serializer with Indenting (without alteringAttribute values),
Elliotte Rusty Harold, 09/15/2011
-
Re: [XOM-interest] [SPAM(hdr)] - Using Serializer with Indenting (without alteringAttribute values),
Leif Stainsby, 09/15/2011
- Re: [XOM-interest] [SPAM(hdr)] - Using Serializer with Indenting (without alteringAttribute values), Elliotte Rusty Harold, 09/15/2011
-
Re: [XOM-interest] [SPAM(hdr)] - Using Serializer with Indenting (without alteringAttribute values),
Leif Stainsby, 09/15/2011
-
Re: [XOM-interest] [SPAM(hdr)] - Using Serializer with Indenting (without alteringAttribute values),
Elliotte Rusty Harold, 09/15/2011
Archive powered by MHonArc 2.6.24.