[
Lists Home |
Date Index |
Thread Index
]
I have 3 levels of document
Level 2 has optional 2 element
I'm interested to return with Xpath a node of document without suplying all
path from root to that element
<CR DOKID="CA9312001">
<PUBLISHER>
<PUBL>Verlag Dr. Otto Schmidt, K&ouml;ln</PUBL>
<RIGHTS>Verlag Dr. Otto Schmidt, K&ouml;ln</RIGHTS>
<ISBN>0179-1990</ISBN>
<PUBL.TITLE>Computer und Recht (CR)</PUBL.TITLE>
<YEAR>1993</YEAR>
</PUBLISHER>
<DOKUTYP>Aufsatz</DOKUTYP>
<REFERENZ>CR1993&sol;729&sol;1</REFERENZ>
<GEBIETE TYP="CR">
<AUFSATZ>
<RUBRIK>Wirtschaftsrecht</RUBRIK>
<ARTIKEL/>
</AUFSATZ>
</GEBIETE>
</CR>
Optional, I can have a "REPORT" element instead of "GEBIETE" with same
"AUFSATZ" element. How to retrive ARTIKEL inside ausatz, regardless I have a
"GEBIETE" or "REPORT" at level 2
|