Hello Holger,
I created an example based on xml coming directly from the pipeline:
<?xml version="1.0" encoding="UTF-8"?>
001234567879
0018264513 5016882668
N
DDA
2024-01-23
00:00:00
00:00:00
2024-01-17
00:00:00
00:00:00
012345
ShippingParty
ShippingStreet
ShippingPostalCode
ShippingCity
CC
ConsignorParty NV
ConsignorStreet 1
ConsignorPostalCode
ConsignorCity
CC
Consignee GmbH
ConsigneeStreet
ConsigneePostalCode
ConsigneeCity
CC
Volume
5076
kg
Volume
6.96
cbm
80.000
PCE
PartDescription
KGM
2376.000
M3
2.160
40.000
PCE
PartDescription
KGM
2700.000
M3
4.800
Loading period: 2024-01-17 - 2024-01-17
Delivery period: 2024-01-17 - 2024-01-23
PT: Camião SR - Sem processo descarga
NL: Vrachtwagen algemeen - Normaal
ES: Cam. 28t-Semi Grande - No special processing
EN: Truck general - No special processing
PL: Ciężarówka ogólnie - Brak specj. przetw.
DE: LKW Normalfahrzeug - Normalfahrzeug ohne Entladung
FR: Camion general - Standard
HU: Fuvar általában - Nincs spec. Eljárás
IT: Camion generale - Normale
tpw_link
xslt:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version=“2.0” xmlns:xsl=“XSLT Namespace”>
<xsl:value-of select=“.” disable-output-escaping=“yes”/>
<xsl:template match=“/”>
table, tr, td {border: none;}
<xsl:for-each select=“ShippingInstructions”>
</xsl:for-each>
Customer Reference | Shipper Reference | | |
<xsl:value-of select=“ConsignmentReferences/UCR”></xsl:value-of> | <xsl:value-of select=“ConsignmentReferences/ShipperReference”></xsl:value-of> |
<xsl:for-each select=“ShippingInstructions/ConsignmentInformation/ShippingParty”>
</xsl:for-each>
Verlader |
AddressId |
Name |
Street |
PostalCode |
City |
<xsl:value-of select=“AddressID”></xsl:value-of> |
<xsl:value-of select=“Name”></xsl:value-of> |
<xsl:value-of select=“Street”></xsl:value-of> |
<xsl:value-of select=“PostalCode”></xsl:value-of> |
<xsl:value-of select=“City”></xsl:value-of> |
<xsl:for-each select=“ShippingInstructions/ConsignmentInformation”>
</xsl:for-each>
Laadplaats | Losplaats |
AddressId | <xsl:value-of select=“ConsignorParty/AddressID”></xsl:value-of> | AddressId | <xsl:value-of select=“ConsigneeParty/AddressID”></xsl:value-of> |
Name | <xsl:value-of select=“ConsignorParty/Name”></xsl:value-of> | Name | <xsl:value-of select=“ConsigneeParty/Name”></xsl:value-of> |
Street | <xsl:value-of select=“ConsignorParty/Street”></xsl:value-of> | Street | <xsl:value-of select=“ConsigneeParty/Street”></xsl:value-of> |
PostalCode | <xsl:value-of select=“ConsignorParty/PostalCode”></xsl:value-of> | PostalCode | <xsl:value-of select=“ConsigneeParty/PostalCode”></xsl:value-of> |
City | <xsl:value-of select=“ConsignorParty/City”></xsl:value-of> | City | <xsl:value-of select=“ConsigneeParty/City”></xsl:value-of> |
| <xsl:value-of select=“ShipmentReadyDate/Date”></xsl:value-of> | | <xsl:value-of select=“FixedDeliveryDate/Date”></xsl:value-of> |
<xsl:for-each select=“ShippingInstructions/GoodsItems/Items”>
</xsl:for-each>
GoodsItems |
Hoeveelheid |
PackagingCode |
PartDescription |
WeightUnitCode |
GrossWeight |
CubeUbitCode |
Volume |
<xsl:value-of select=“Quantity”></xsl:value-of> |
<xsl:value-of select=“PackagingCode”></xsl:value-of> |
<xsl:value-of select=“PartDescription”></xsl:value-of> |
<xsl:value-of select=“Weight/WeightUnitCode”></xsl:value-of> |
<xsl:value-of select=“Weight/GrossWeight”></xsl:value-of> |
<xsl:value-of select=“Cube/CubeUnitCode”></xsl:value-of> |
<xsl:value-of select=“Cube/CubicVolume”></xsl:value-of> |
<xsl:for-each select=“ShippingInstructions/GoodsItems/GoodsAdditionalSpecs”>
</xsl:for-each>
Maten en Gewichten (totaal) |
<xsl:value-of select=“Value”></xsl:value-of> | <xsl:value-of select=“UnitCode”></xsl:value-of> |
<xsl:for-each select=“ShippingInstructions/SpecialInstructions”>
</xsl:for-each>
Transport opmerkingen |
<xsl:value-of select=“.”></xsl:value-of> |
</xsl:template>
</xsl:stylesheet>
Br,
Giel
#Service-Designer#Integration-Server-and-ESB#webMethods