OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Xpath and msxml

[ 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&amp;ouml;ln</PUBL>
		<RIGHTS>Verlag Dr. Otto Schmidt, K&amp;ouml;ln</RIGHTS>
		<ISBN>0179-1990</ISBN>
		<PUBL.TITLE>Computer und Recht (CR)</PUBL.TITLE>
		<YEAR>1993</YEAR>
	</PUBLISHER>
	<DOKUTYP>Aufsatz</DOKUTYP>
	<REFERENZ>CR1993&amp;sol;729&amp;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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS