[xsl] Unique processing

Subject: [xsl] Unique processing
From: Darren Hayduk <dhayduk@xxxxxxxxxxxxxxx>
Date: Tue, 4 Sep 2001 16:59:39 -0400
Say I have XML data
<parent>
	<dataType>integer</dataType>
	<dataType>list(integer)</dataType>
	<dataType>integer(1..5)</dataType>
	<dataType>ipAddress</dataType>
	<dataType>list(ipAddress)</dataType>
</parent>

I also have a template/function called 'baseDataType' that expects a
"dataType" node and will extract the base datatype ('integer' and
'ipAddress' above). 

Instead of getting the unique dataType nodes, how can I get a list of unique
base data types (i.e. Unique of baseDataType(//datatType)).

Thanks,
Darren
_______________________________________________
Darren Hayduk | Network Management
Nauticus Networks, Inc.
200 Crossing Blvd, Framingham, MA 01702
508-270-0500 x299


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread