To really preserve the relationships in arbitrarily 
structured XML, you pretty much need to use a database 
that directly supports an XML query language like 
XQuery or XPath.

------------------------------------------------ Mick .



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 16, 2004 8:19 AM
To: [EMAIL PROTECTED]
Subject: Indexing of deep structured XML


Hello all,

it is obviously possible to index the follwoing XML structure in Lucene:

<address>
  <name/>
  <street/>
  <postcode/>
  <niceplace/>
</address>

by mapping all the xml tags (name, street, postcode and city) it to the
documents (address) fields directly. However is it also possible to map these?

<address>
  <name/>
  <street/>
  <area>
    <niceplace/>
  </area>
</address>

Here we have a hierarchy in area (niceplace) which I want to preserve.
Suppose that the meaning of niceplace in an area is different from the niceplace
in the first xml structure (closer specified). I want to preserve this. 

Is there a way to index with Lucene means? If not, are there any attempt of
people doing this or does somebody have ideas how this could be solved?

Cheers,
Karl

-- 
+++ GMX - die erste Adresse f�r Mail, Message, More +++
Neu: Preissenkung f�r MMS und FreeMMS! http://www.gmx.net



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to