[Home] [By Thread] [By Date] [Recent Entries]

  • From: COUTHURES Alain <alain.couthures@a...>
  • To: Richard Salz <rsalz@u...>
  • Date: Wed, 27 Feb 2008 15:55:11 +0100

I don't understand what you mean by "more tightly linked"...

Having multiple roots is almost as having multiple documents, one after another, in a single message or in a single file... ?!?

I have seen plenty of examples of XML documents which are nothing but a collection of sub-documents and, in these cases, the root is meaningless, just there to have a valid XML document. When you convert a CSV file to an XML document, you have to create a root element, let's say 'Records', without attributes, and as many 'Record' elements as lines in the CSV file. I think 'Records' is useless...

Alain COUTHURES
<agenceXML>
http://www.agencexml.com

Richard Salz a écrit :
OFF44E5DC7.D08375D2-ON852573FC.004B1219-852573FC.004B4227@u..." type="cite">
You didn't respond to what I thought was the more interesting point: multiple roots result in producer, intermediary, and consumer being more tightly linked.  Yes, as someone pointed out, you have the issue of trailing comments and PI's, but I'll do a hand-wave and say those are not common.  And I admit I'm trying to brush off something I find inconvenient. :)

        /r$

--
STSM, DataPower Chief Programmer
WebSphere DataPower SOA Appliances
http://www.ibm.com/software/integration/datapower/



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member