xsl-list
[Top] [All Lists]

Re: [xsl] read array

2011-12-21 05:43:59
Only two or could there be more or less?

On Wed, Dec 21, 2011 at 12:42 PM, henry human <henry_human(_at_)yahoo(_dot_)de> 
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(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com>
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Cc:
Gesendet: 11:38 Mittwoch, 21.Dezember 2011
Betreff: Re: [xsl] read array

On 21 December 2011 10:33, henry human <henry_human(_at_)yahoo(_dot_)de> 
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>