XSL: SET216_ORDER_RESPONSE_OUTBOUND

LANSA

XSL: SET216_ORDER_RESPONSE_OUTBOUND
<?xml version="1.0" encoding="UTF-8"?>

<!-- Outbound transformation created by JSF Visual XML Wizard (v2.0.3) -->

<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:rdml="http://www.lansa.com/2000/XML/Function">

<xsl:output method="xml" indent="yes"/>

<xsl:template match="/">

<OUTOrders>
<OUTOrder>
<OrderNumber><xsl:value-of select="/rdml:function/rdml:fields/rdml:field[@name='S_214ORDN']/@value"/></OrderNumber>
<TotalCost><xsl:value-of select="/rdml:function/rdml:fields/rdml:field[@name='S_214COST']/@value"/></TotalCost>
<ShipmentDate><xsl:value-of select="/rdml:function/rdml:fields/rdml:field[@name='S_214SDAT']/@value"/></ShipmentDate>
<Status><xsl:value-of select="/rdml:function/rdml:fields/rdml:field[@name='S_214STAT']/@value"/></Status>
</OUTOrder>

<xsl:for-each select="/rdml:function/rdml:list/rdml:entry">
<Errors>
<ErrorMsg><xsl:value-of select="rdml:field[@name='S_214ERRO']/@value"/></ErrorMsg>
</Errors>
</xsl:for-each>

</OUTOrders>

</xsl:template>

</xsl:transform>