[
Lists Home |
Date Index |
Thread Index
]
- From: David Megginson <ak117@freenet.carleton.ca>
- To: Tim Bray <tbray@textuality.com>
- Date: Wed, 7 Jan 1998 06:44:00 -0500
Tim Bray writes:
> Now, the downside of this is that you can't do
>
> <msg>
> <field1 val='1'/>
> <field2 val='2'/>
> </msg>
>
> and have that treated as identical to
>
> <msg><field1 val='1'/><field2 val='2'/></msg>
>
> i.e. no auto-magic facility to ignore pretty-printing.
> No XML processor in the world, regardless of the DTD in play is allowed
> to refrain from passing you the line-breaks and spaces in the
> first example.
True, but with a DTD and a DTD-aware XML parser, your application can
easily choose discard that additional whitespace.
All the best,
David
--
David Megginson ak117@freenet.carleton.ca
Microstar Software Ltd. dmeggins@microstar.com
http://home.sprynet.com/sprynet/dmeggins/
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|