[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Megginson <ak117@f...>
  • To: Tim Bray <tbray@t...>
  • 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@f...
Microstar Software Ltd.         dmeggins@m...
      http://home.sprynet.com/sprynet/dmeggins/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member