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]

compare 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@bct-technology.com
http://www.bct-technology.com
http://www.bct-portal.com



 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]