|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Whitespace question
Thanks for your reply.
I have another similar question.
Suppose I want to set xml:space to "default" for all of
the character data. Is this valid?
<?xml version="1.0" standalone="yes" xml:space="default"?>
It doesn't seem to allow it according to the EBNF, but I
could be wrong. If it's not allowed, how would I go
about setting "default" for all of the character data
in the text? I have no use for DTD's if that matters.
<quote>
On Mon, 19 Jul 1999, Randy Bryan wrote:
> The XML specification doesn't allow
> for whitespace in several places.
This is because it is a derivative of SGML, which is a delimiter-based
language, not a token-based one.
Another way to look at it is that the </ in an end tag is a single
token, although </ this> is not a legal example, so that isn't really
as helpful as one might like.
In writing our book on XML, Ian and I did no better, I think, than
suggesting that readers simply learn the rules :-(
Lee (co-author, The XML Specification Guide, Wiley)
--
Liam Quin, Barefoot Computing, Toronto; The barefoot agitator
l i a m q u i n at i n t e r l o g dot c o m
Ankh on irc.sorcery.net, ankle5/Ankle{MD} on DALnet
</quote>
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/ and on CD-ROM/ISBN 981-02-3594-1
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...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








