Re: [xsl] read array

Subject: Re: [xsl] read array
From: Michel Hendriksen <michel.hendriksen@xxxxx>
Date: Wed, 21 Dec 2011 12:43:45 +0100
Only two or could there be more or less?

On Wed, Dec 21, 2011 at 12:42 PM, henry human <henry_human@xxxxxxxx> wrote:
> 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: [xsl] 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