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

compare two values

Subject: compare two values
From: "Jan Weiss" <jweiss@xxxxxxxxxxxxxxxxxx>
Date: Tue, 7 Aug 2001 14:34:06 +0200
comparing two values
hi @ all

i want to compare the value of <Art_nr> in one row with this, which is in
the row before. if they are similar, i want to show something, if not
nothing should happen.
how can i coompare these values. i tried to do it by count(row) and the
position() function but it does not work.

i hope somebody can help me.

thanx

jan


i have an xml file like this:

<Artikellisten>
  <Title />
	<sdmc-artikellisten>
	 <Abfrageergebnisse>
	 <row>
  		<Art_nr>HFJSJSJSJS</Art_nr>
  		<Variante>0</Variante>
  		<Bezeichnung>test</Bezeichnung>
  		<PDM-Status>1</PDM-Status>
  	</row>
	<row>
  		<Art_nr>HFJSJSJSJS</Ar_nr>
  		<Variante>0</Variante>
  		<Bezeichnung>test</Bezeichnung>
  		<PDM-Status>1</PDM-Status>
  	</row>
	<row>
  		<Art_nr>HFJS600000</Art_nr>
  		<Variante>0</Variante>
  		<Bezeichnung>article</Bezeichnung>
  		<PDM-Status>3</PDM-Status>
  	</row>










Jan Weiss
IT - Student
BCT Technology AG
Im Lossenfeld 9
D-77731 Willstaett

Tel: +49-7852-996-237
Fax:+49-7852-996-100

mailto:jweiss@xxxxxxxxxxxxxxxxxx
http://www.bct-technology.com
http://www.bct-portal.com



 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.