Subject: node extraction from on the basis of an element
From: "Sunil Dua" <sdua@xxxxxxxxxxxxxxx>
Date: Thu, 16 Aug 2001 13:29:08 -0700
|
Hello there,
I have a block of XML where one element my have more then one type of data
as "<type>" element may have either data like profession or topic or
specialty. I want to extract only those node which have a type profession.
<cc:keywords>
<cc:keyword>
<type>profession</type>
<ID>1071</ID>
<langstring lang="en_US">Physician</langstring>
</cc:keyword>
<cc:keyword>
<type>specialty</type>
<ID>102</ID>
<langstring lang="en_US">CLINICAL</langstring>
</cc:keyword>
<cc:keyword>
<type>specialty</type>
<ID>115</ID>
<langstring lang="en_US">INFECTIOUS DISEASE</langstring>
</cc:keyword>
</cc:keywords>
Pls. help me out.
thanks
Sunil Dua
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|