[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Separate the data model from presentation and make thedata
On Sun, Nov 22, 2015 at 12:47 PM, Costello, Roger L. <costello@mitre.org> wrote: Hi Folks, <snipped/>
Problem no 1. Although you might get away with the full stop you are going to run into punctuation characters that you can't have in an XML element name? <a/><wizard/><is/><snoring/><loudly/><on/><the/><couch./> In XPath 2.0 it is no great hardship to do a delimited tokenize to generate elements if you wish so your arguments in favour look a bit anaemic. Now I have walked this walk before. In order to minimize XML payload size and get indexing for free in eXist I came up with the idea of representing the keywords tagged to a movie with an element <movie> <drama/> <romance/> </movie> rather than <keyword>drama</keyword> <keyword>action</keyword> or the denormalised <keyword>drama action</keyword> eXist was having none of it as they have a limit on the number of distinct element (or is it node) names you can have in a database which I very quickly blew and my data wouldn't load. I ended up coming to the conclusion that a graph database was a better fit for what I was trying to accomplish.
[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
|