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

Re: read array

Subject: Re: read array
From: henry human <henry_human@xxxxxxxx>
Date: Wed, 21 Dec 2011 11:42:22 +0000 (GMT)
Re:  read array
Hi
The XML

 <?xml version="1.0"?>
<root>
<Invoice>
<DocumentReference>
<ID>100</ID>
</DocumentReference>
</Invoice>
<Invoice>
<DocumentReference>
<ID>200</ID>
</DocumentReference>
</Invoice>
</root>

  Output should be:
1.100_2.200 

best regards


----- Urspr|ngliche Message -----
Von: Andrew
Welch <andrew.j.welch@xxxxxxxxx>
An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Cc:
Gesendet: 11:38 Mittwoch, 21.Dezember 2011
Betreff: Re:  read array

On
21 December 2011 10:33, henry human <henry_human@xxxxxxxx> wrote:
> Ther are
two elements "ID" in the xml
> I will read them and concat together:
>
<xsl:for-each select="root/Invoice/DocumentReference/ID">
> ...........
>
</xsl:for-each>
> Concat([1].ID + [2].ID

There are many ways... you need to
re-post with an example and the
required output.



-- 
Andrew Welch
http://andrewjwelch.com

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.