True enough, SGML does not require you to use its features to model this
(or any) ontological distinction. It does not even encourage you to do
so. My point was just that attributes often allow you to do so, if it
makes sense in your problem domain. Unfortunately the fact that they
cannot have sub-structure often constrains their use in this way.
> The alternative seems to be disallow character content entirely,
As David M. pointed out, XML does have the concept of ignorable
whitespace and it was intended to solve precisely this problem.
Paul Prescod
-- http://itrc.uwaterloo.ca/~paprescoArt is always at peril in universities, where there are so many people, young and old, who love art less than argument, and dote upon a text that provides the nutritious pemmican on which scholars love to chew. -- Robertson Davies in "The Cunning Man"
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)