XSL: SET217_ORDERSTATUS_FRAGMENT
<?xml version="1.0" encoding="UTF-8"?>
<!-- Outbound transformation created by LANSA Integrator Visual XML Wizard -->
<xsl:transform version="1.0" exclude-result-prefixes="rdml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:rdml="http://www.lansa.com/2000/XML/Function">
<xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
<xsl:template match="/">
<OrderDetail>
<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>
<ErrorCode><xsl:value-of select="/rdml:function/rdml:fields/rdml:field[@name='S_214IOST']/@value"/></ErrorCode>
<xsl:for-each select="/rdml:function/rdml:list/rdml:entry">
<Error>
<ErrorMsg><xsl:value-of select="rdml:field[@name='S_214ERRO']/@value"/></ErrorMsg>
</Error>
</xsl:for-each>
</OrderDetail>
</xsl:template>
</xsl:transform>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Outbound transformation created by LANSA Integrator Visual XML Wizard -->
<xsl:transform version="1.0" exclude-result-prefixes="rdml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:rdml="http://www.lansa.com/2000/XML/Function">
<xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
<xsl:template match="/">
<OrderDetail>
<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>
<ErrorCode><xsl:value-of select="/rdml:function/rdml:fields/rdml:field[@name='S_214IOST']/@value"/></ErrorCode>
<xsl:for-each select="/rdml:function/rdml:list/rdml:entry">
<Error>
<ErrorMsg><xsl:value-of select="rdml:field[@name='S_214ERRO']/@value"/></ErrorMsg>
</Error>
</xsl:for-each>
</OrderDetail>
</xsl:template>
</xsl:transform>