question for a friend

Lisa Rein lisarein at finetuning.com
Fri Jun 11 00:47:43 BST 1999


Hello,

A friend of mine asked me a question I didn't feel like I gave him a
good enough answer for, so I bring it to you...


say we have a part of a document below (probably a part of a very long
document).  Yes i KNOW this is misnested.  this is the point.  he was
saying that this kind of context couldn't be represented using a
well-formed structure:

<realestate>
FFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFF
<newyork>
FFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFF

FFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFF
</realestate>

FFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFF
</new york>

where the two paragraphs in the middle are "realestate:newyork", but
only if they are taken together.


No matter how I represented the structure above in a well-formed manner,
I couldn't quite pull off the "only when taken together" part.

Any suggestions?

thanks,

lisa


http://www.finetuning.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
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 at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list