Skip to Content
Former Member
May 22, 2009 at 11:27 AM

XSLT Transformation



I have following XML: I cut it a bit because it's too long for this thread.

<?xml version="1.0" encoding="windows-1252"?>
<OpenShipments xmlns="x-schema:OpenShipments.xdr">
	<OpenShipment ProcessStatus="Processed" ShipmentOption="">

and this is my transformation:

<xsl:transform xmlns:xsl="" xmlns:pre="x-schema:OpenShipments.xdr" version="1.0">

  <xsl:template match="*">
    <asx:abap xmlns:asx="" version="1.0">



            <xsl:for-each select="/pre:OpenShipments/pre:OpenShipment/pre:ProcessMessage/pre:TrackingNumbers">


                  <xsl:value-of select="string(pre:TrackingNumber)"/>






So the problem is that my loop (for each) is based on TrackingNumbers and within this part I have 3 elements which have the same indication. So after my for each part I get only the first value of trackingnumber. So is there any expression which I can use that I get all 3 items?