This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

node extraction from on the basis of an element


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]