[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: matching elements only once

Subject: RE: matching elements only once
From: Don Bruey <dbruey@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 20 Oct 2000 10:21:49 -0400
shema type 2000
To remove duplicates, see the FAQ entries 

http://www.dpawson.freeserve.co.uk/xsl/N2696.html

To get the count of the items, see the doc on count() and the FAQ for
examples.  

http://www.dpawson.freeserve.co.uk/xsl/N2018.html

Don



>-----Original Message-----
>From: Oliver Heinen [mailto:oheinen@xxxxxxxxxxxxxx]
>Sent: Friday, October 20, 2000 9:02 AM
>To: XSL-Mailingliste
>Subject: matching elements only once
>
>
>I am trying to create a kind of shema-information of a 
>xml-file via XSL.
>For this reason, i want to put out the information of a specific node
>only
>if it is different from the information of the nodes i already parsed
>through.
>
>For example this xml.document
>
><node>
>	<type name="t1"/>
>	...
></node>
>
><node>
>	<type name="t2"/>
>	...
></node>
>
><node>
>	<type name="t1"/>
>	...
></node>
>
><node>
>	<type name="t3"/>
>	...
></node>
>
><node>
>	<type name="t3"/>
>	...
></node>
>
>should be translated to this:
>
>	3 Types:
>	t1
>	t2
>	t3
>
>As you can see, the type of the 3rd and the 5th node wasn't matched
>since types with the name t1 and t3 where already matched.
>In adittion, the stylesheet im am searching for counts all <type>s with
>a different name-attribute.
>Is there a way to achieve this kind of output?
>
>
>Thanks in advance
>
>Oliver
>-- 
>---------------------------------------------------------------
>---------
>EMail: oheinen@xxxxxxxxxxxxxx
>---------------------------------------------------------------
>---------
>
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.