[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RE: XML data interchange format: Flatter isbetter
Hi, With XML, you can be both flat and fat, if you flatten your document in document order and keep track of the depth of each element. If you look at <https://stackoverflow.com/questions/20729593/transforming-tree-to-sequence-of-elements> and <https://stackoverflow.com/questions/21527660/transforming-sequence-of-elements-to-tree>, you will get the idea. There are things you can do with your document in its flat form that are hard to do with it in its fat form. I have used this in a script I have played around with recently, in which I gather the unique paths of a document in a flat document and then use these paths to construct a minimal fat instance of all unique paths, <https://github.com/jensopetersen/tei-compactor>. Jens On 29 Oct 2014 at 18:08:33, Costello, Roger L. (costello@mitre.org) wrote:
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|