[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: question for a friend

  • From: Daniel Austin <daniela@c...>
  • To: "'Lisa Rein'" <lisarein@f...>, xml-dev@i...
  • Date: Thu, 10 Jun 1999 16:03:09 -0700

fffffffffffffffffffffffff
Lisa,

	This sort of structure cannot be represented easily in XML, since it
cannot be mapped to a simple heirarchichal tree structure. In practice, what
usually happens is that a third element is used to contain the internal
paragraphs and additional information beyond the DTD is required for
complete validity testing/processing. But your friend is correct in the
sense that there are (many) data structures that cannot be mapped to XML;
XML really applies only to semi-structured data sets where relationships
between elements are restricted to parent-child relationships - a
heirarchical tree. 
Additional, more complex relationships among elements must be specified
outside of XML.

Regards,

D-

*********************************************************************
Daniel Austin, Director of Research and Development, CNET
daniela@c...    415-395-7800 x1438
"To change the old into the new, and the shapes of things to come..."  




> -----Original Message-----
> From: Lisa Rein [mailto:lisarein@f...]
> Sent: Thursday, June 10, 1999 4:14 PM
> To: xml-dev@i...
> Subject: question for a friend
> 
> 
> 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@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...)

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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.