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

Re: Appending to an XML document

  • From: "Ingo Macherius" <macherius@d...>
  • To: uche.ogbuji@f...
  • Date: Fri, 10 Dec 1999 17:29:40 +0100

appending data in xml
Uche,

using entities of any kind does not change the underlying data model. 
It's syntactic shugar, nothing more. The root of the problem (and a 
great help in other cases) is indeed the fact that any XML 1.0 
document must have a single root.

There are several fields where this is assumend a problem, just think 
e.g. of the return values of XPath or XQL expression, which rarely 
are single-rooted. Think how often you have heared the term "virtual 
root node" recently. Think of Murata's "forest automata". Forest, not 
tree. Guess why.

However, plainly dropping the tree structure of XML is too hasty. The 
main problem here is the fact that there is not much between a tree 
and a general DAG (graph). Oodles of folks are in search for a 
convenient data model just in the middle of tree and graph. This 
would help to truly merge hyperlinks, RDF and XML. Check 
http://www.w3.org/TR/schema-arch

Thus: entities are truely no soulution. However, so far nobody 
succeded in suggesting a "true" non-tree data model for XML.

	++im

uche.ogbuji@f... <uche.ogbuji@f...> wrote at 10 Dec 99, 8:41:

> > The decision to make an XML document contain just a single element is the
> > root of the problem.
> 
> While this may be the root of other problems, and I do not claim to vouch for 
> all such problems, it is _not_ the root of the particular problem in question. 
>  I see no reason why the log file must be a well-formed XML document.  Can you 

--
Ingo Macherius//Dolivostrasse 15//D-64293 Darmstadt//+49-6151-869-882
GMD-IPSI German National Research Center for Information Technology
mailto:macherius@g... http://www.darmstadt.gmd.de/~inim/
Information!=Knowledge!=Wisdom!=Truth!=Beauty!=Love!=Music==BEST (Zappa)

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 unsubscribe, mailto:majordomo@i... the following message;
unsubscribe 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.