|
From: <ba...@dc...> - 2003-02-17 17:40:47
|
I don't know if this is the best list to ask it, but as i am using eXist, i
will try ...
I have some XML documents that are newspaper notices.
The structure is:
<notices>
<notice>
<author>...</author>
<title>
<paragraph>
<sencence>...</sentence>
<sencence>...</sentence>
....
</paragraph>
</title>
<content>
<paragraph>
<sencence>...</sentence>
<sencence>...</sentence>
....
</paragraph>
...
</content>
</notice>
...
</notices>
I need to get the sentences that contains the word house:
/notices/notice//sencence[. &= 'house']
But i need to obtain the author of the notice where the sentence is
included.
I have seen eXist returns exist:id attribute in the result items, but i
don't know how to query the author using this information.
As i have said, i am using XMLDB API to access eXist.
Any suggestions?
Mario Barcala
|