Veniamin Fichin wrote:
Hello there!

I'm totally new to Xindice and my question is conceptual.
I have an XML file which lists about 250 movies (its titles, directors, actors etc.), just like this:


...
<movie id="...">
  <title>...</title>
  <directors>
   <director id="..."/>
   <director id="..."/>
   <director id="..."/>
  </directors>
  <actors>
   <actor id="..."/>
   <actor id="..."/>
   <actor id="..."/>
  </actors>
  <!-- ... -->
</movie>
...

So am I understand right that <movie> will become a row (in relational database therms) and each subtag (title, directors, ...) a column? Or am I bound to relational model too much?

To answer your last question: yes. Xindice will allow you to store the entire document as a "record" in the database. You can then build indices or further processes into the application. The advantage is that the content is stored *as XML*, i.e., not just as a text string. All of the documents are stored in collections, and all of the collections in one root collection, and that root collection is *one big document*.

Murray

......................................................................
Murray Altheim                    http://kmi.open.ac.uk/people/murray/
Knowledge Media Institute
The Open University, Milton Keynes, Bucks, MK7 6AA, UK               .

  The Resume of George W. Bush
  http://www.buzzflash.com/contributors/03/04/23_resume.html

The sleep of reason brings forth monsters -- Goya

Reply via email to