CyberStore Documentation
TPMQQP

See the example of TPMQQP code below:

<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:param name="StockCode" />
  <xsl:param name="Customer" />
  <xsl:param name="Quantity" />

  <xsl:template match="/">
    <Query xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="TPMQQP.XSD">
      <Options>
        <IncludeGlobalPromotions>Y</IncludeGlobalPromotions>
        <IncludeUnqualifiedPromotions>N</IncludeUnqualifiedPromotions>
        <StartDate></StartDate>
        <ExpiryDate></ExpiryDate>
      </Options>
      <Key>
        <Customer>
          <xsl:value-of select="$Customer" />
        </Customer>
      </Key>
      <Items>
        <Item>
        <StockCode>
          <xsl:value-of select="$StockCode" />
        </StockCode>
          <Quantity>
            <xsl:value-of select="$Quantity" />
          </Quantity>
        </Item>
      </Items>
    </Query>
  </xsl:template>
</xsl:stylesheet>