W3C home > Mailing lists > Public > xproc-dev@w3.org > December 2010

Re: Custom XML formatting?

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 21 Dec 2010 06:55:21 -0500
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2k4j3l4ra.fsf@nwalsh.com>
Chris Maloney <voldrani@gmail.com> writes:
> On Mon, Dec 20, 2010 at 5:45 PM, Norman Walsh <ndw@nwalsh.com<mailto:ndw@nwalsh.com>> wrote:
> Whitespace is significant *everywhere* except "element only" content.
>
> I think this is not right. What about whitespace within a tag -- for
> example, between an attribute's name and the equal sign? I just
> checked the spec, and can't find where it indicates explicitly that
> it's not significant, but that's always been my understanding.

No, you're right, I was thinking of content. The whitespace inside the
tags is irrelevant. And, yeah, it bugs me that most tools flow it into
one great big long line.

> Maybe that's what you meant by "Better pretty printing of elements
> and attributes ...".

Yes, it was.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
www.marklogic.com

Received on Tuesday, 21 December 2010 11:55:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 21 December 2010 11:55:59 GMT