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

distinct filtering

Subject: distinct filtering
From: GarethS@xxxxxxxx
Date: Wed, 8 Nov 2000 15:24:23 -0600
worlds best hold prompts
Greetings folks.  I'm brand new to the list, and have only been into xsl for
the last week and a half here, so I hope I don't come across as completely
clueless.

I have an xml Document that looks like the following:

<PAGE_INFO>
	<ORDER>
		<REQUEST>
			<REQUIREMENT listsequence="1">
				<PROMPT>prompt 1</PROMPT>
			</REQUIREMENT>
			<REQUIREMENT listsequence="2">
				<PROMPT>prompt 2</PROMPT>
			</REQUIREMENT>
		</REQUEST>
		<REQUEST>
			<REQUIREMENT listsequence="2">
				<PROMPT>prompt 2</PROMPT>
			</REQUIREMENT>
			<REQUIREMENT listsequence="3">
				<PROMPT>prompt 3</PROMPT>
			</REQUIREMENT>
		</REQUEST>
	</ORDER>
</PAGE_INFO>

I am trying to display the data in the <PROMPT> tag of each requirement, but
I need to somehow filter the data so that I only display each list sequence
once. In other words, I want to display

prompt 1
prompt 2
prompt 3

I am using Microsofts 3.0 xsl parser to transform the document to html on
the server, before sending the document to the browser.

Gareth Suarez
gareths@xxxxxxxx  


 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.