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

XSL: How reaching the elements of a list?

Subject: XSL: How reaching the elements of a list?
From: "chris poppe" <chris_poppe@xxxxxxxxxxx>
Date: Fri, 05 Dec 2003 14:55:43 +0100
chris poppe
Hello,

Im facing the following problem, I have an xml element like this

<MV>
  <MV_nr> 15 </MV_nr>
  <MV_interior>1864  144 </MV_interior>

</MV>

and want it to be

<MV>
  <MV_nr> 15 </MV_nr>
  <MV_interior>1864  72 </MV_interior>

</MV>

the MV_interior element is a list with length 2 and type nonNegativeInteger. The first element represents a position, the second a length. So I want to go in the list take the second element, divide it by 2 and put it back but I dont know how I can reach that second element in my list?

The xml document is fixed so I cant change the element into two elements or something,

hope someone can help me,
greetings Chris

_________________________________________________________________
Receive your Hotmail & Messenger messages on your mobile phone with MSN Mobile http://www.msn.be/gsm/smsservices



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.