[Home] [By Thread] [By Date] [Recent Entries]
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@m...) wrote:
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



