|
First, I’m relatively new to xsl:fo. Second, the FAQ is great, it solved 9 out of 10 of my
problems. Included are some sample files for an invoice-like
document. When the line items
exceed the space for page 1, the of course overflow to page > 1, using the
appropriate simple-page-master master-name=”rest”. The problem lies in the alignment of the table. On page one,
the table is aligned to the left, whereas on pages > 1, the table is
basically centered. I have
exhaustively tried attributes, but to no avail. What am I missing here? -Kevin Ross |
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <xsl:output method="xml" encoding="UTF-8"/> <xsl:template match="/"> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <!-- fo:layout-master-set defines in its children the page layout: the pagination and layout specifications - page-masters: have the role of describing the intended subdivisions of a page and the geometry of these subdivisions - page-sequence-masters: have the role of describing the sequence of page-masters that will be used to generate pages during the formatting of an fo:page-sequence --> <!-- layout for the first page --> <fo:simple-page-master master-name="first" margin-right="0.5cm" margin-left=".5cm" margin-bottom="0.5cm" margin-top="0.75cm" page-width="21cm" page-height="29.7cm"> <fo:region-body margin-top="7cm"/> <fo:region-before extent="7cm" region-name="header-first"/> <!-- <fo:region-end extent="4.5cm"/> --> <fo:region-after extent="2.5cm"/> </fo:simple-page-master> <!-- layout for the other pages --> <fo:simple-page-master master-name="rest" margin-right="2.5cm" margin-left="2.5cm" margin-bottom="2cm" margin-top="1cm" page-width="21cm" page-height="29.7cm"> <fo:region-body margin-right="12.5cm" margin-top="1cm"/> <fo:region-before extent="1cm" region-name="header-rest"/> <fo:region-after extent="2.5cm"/> </fo:simple-page-master> <fo:page-sequence-master master-name="psmA"> <fo:repeatable-page-master-alternatives> <fo:conditional-page-master-reference master-reference="first" page-position="first"/> <fo:conditional-page-master-reference master-reference="rest" page-position="rest"/> <!-- recommended fallback procedure --> <fo:conditional-page-master-reference master-reference="rest"/> </fo:repeatable-page-master-alternatives> </fo:page-sequence-master> </fo:layout-master-set> <!-- end: defines page layout --> <!-- actual layout --> <fo:page-sequence master-reference="psmA"> <!-- header --> <fo:static-content flow-name="header-rest"> <fo:block text-align="left" font-size="10pt" font-family="serif" line-height="14pt"> <xsl:value-of select="/root/date"/> <xsl:text> </xsl:text>p. <fo:page-number/> </fo:block> </fo:static-content> <fo:static-content flow-name="header-first"> <fo:block text-align="left" font-size="10pt" font-family="serif" line-height="14pt"> <xsl:value-of select="/root/date"/> <xsl:text> </xsl:text>p. <fo:page-number/> </fo:block> <fo:block-container border-color="black" border-style="solid" border-width=".25mm" height="0.5cm" width="4.3cm" top="0cm" left="14.5cm" padding=".1mm" position="absolute"> <fo:block text-align="center" space-after.optimum="3pt" line-height="11pt" font-size="10pt">Attach Tally Tape Here</fo:block> </fo:block-container> <fo:block-container height="1cm" width="6cm" top="0cm" left="7.5cm" position="absolute"> <fo:block text-align="start" space-after.optimum="3pt" line-height="22pt" font-size="28pt" font-weight="bold">Pick List</fo:block> </fo:block-container> <fo:block-container height="1cm" width="8cm" top=".85cm" left="6.5cm" position="absolute"> <fo:block text-align="start" space-after.optimum="3pt" line-height="18pt" font-size="18pt" font-weight="bold">Delivery #: 82477359</fo:block> </fo:block-container> <!-- delivery information --> <fo:block-container height="2.5cm" width="10cm" top="1.5cm" left="0cm" position="absolute"> <fo:table border-collapse="separate"> <fo:table-column column-width="4cm"/> <fo:table-column column-width="6cm"/> <fo:table-body font-weight="bold" font-size="14pt"> <fo:table-row line-height="16pt"> <fo:table-cell padding="1mm"> <fo:block text-align="end">Delivery Date:</fo:block> </fo:table-cell> <fo:table-cell padding="1mm"> <fo:block text-align="start">01/16/2002</fo:block> </fo:table-cell> </fo:table-row> <fo:table-row line-height="16pt"> <fo:table-cell padding="1mm"> <fo:block text-align="end">Route Code:</fo:block> </fo:table-cell> <fo:table-cell padding="1mm"> <fo:block text-align="start">D1</fo:block> </fo:table-cell> </fo:table-row> <fo:table-row line-height="16pt"> <fo:table-cell padding="1mm"> <fo:block text-align="end">Leave Time:</fo:block> </fo:table-cell> <fo:table-cell padding="1mm"> <fo:block text-align="start">23:41</fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </fo:block-container> <!-- ship to --> <fo:block-container border-color="black" border-style="solid" border-width=".25mm" height="0.5cm" width="8.95cm" top="4cm" left="0cm" padding=".6mm" position="absolute"> <fo:block text-align="start" line-height="14pt" font-size="12pt">SHIP TO</fo:block> </fo:block-container> <fo:block-container border-color="black" border-style="solid" border-width=".25mm" height="2cm" width="8.95cm" top="4.67cm" left="0cm" padding=".6mm" position="absolute"> <fo:block text-align="start" space-after.optimum="3pt" line-height="14pt" font-size="12pt">PX7.net</fo:block> <fo:block text-align="start" space-after.optimum="3pt" line-height="14pt" font-size="12pt">44 Liberty St</fo:block> <fo:block text-align="start" space-after.optimum="3pt" line-height="14pt" font-size="12pt">Newburyport, MA 01950</fo:block> </fo:block-container> <!-- customer requirements --> <fo:block-container border-color="black" border-style="solid" border-width=".25mm" height="0.5cm" width="8.95cm" top="4cm" left="10cm" padding=".6mm" position="absolute"> <fo:block text-align="start" space-after.optimum="3pt" line-height="14pt" font-size="12pt">CUSTOMER REQUIREMENTS</fo:block> </fo:block-container> <fo:block-container border-color="black" border-style="solid" border-width=".25mm" height="2cm" width="8.95cm" top="4.67cm" left="10cm" padding=".6mm" position="absolute"> <fo:block text-align="start" space-after.optimum="3pt" line-height="14pt" font-size="12pt">You need to not single double quadruple pinwheel and need to be extra careful for some reason that I cannot think of and this should be something really long testing the limits of this.</fo:block> </fo:block-container> <fo:block-container height="7cm"> <fo:block/> </fo:block-container> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <!-- Pallet Counts --> <fo:block-container border-collapse="collapse" border-color="black" border-style="solid" border-width=".25mm" border-bottom-width="0mm" height=".75cm" width="3.5cm" left="15.5cm" position="absolute"> <fo:block text-align="center" line-height="12pt" font-size="10pt" padding="1mm">PALLET COUNTS</fo:block> </fo:block-container> <fo:block-container border-collapse="collapse" border-color="black" border-style="solid" border-width=".25mm" height="18cm" width="3.5cm" top=".75cm" left="15.5cm" position="absolute"> <fo:table border-collapse="separate" height="17cm"> <fo:table-column column-width=".75cm"/> <fo:table-column column-width=".5cm"/> <fo:table-column column-width="1.5cm"/> <fo:table-column column-width=".75cm"/> <fo:table-body font-weight="normal" font-size="10pt"> <xsl:call-template name="palletCount"> <xsl:with-param name="count">0</xsl:with-param> </xsl:call-template> </fo:table-body> </fo:table> </fo:block-container> <!-- line items --> <fo:table border-collapse="collapse" border-color="black" border-style="solid" border-width=".25mm" width="14cm" left="0cm" position="absolute"> <fo:table-column column-width="2.5cm"/> <fo:table-column column-width="2.5cm"/> <fo:table-column column-width="10cm"/> <fo:table-body font-weight="normal" font-size="10pt"> <fo:table-row line-height="12pt"> <fo:table-cell padding="1mm" border-color="black" border-style="solid" border-width=".25mm"> <fo:block text-align="center">QUANTITY</fo:block> </fo:table-cell> <fo:table-cell padding="1mm" border-color="black" border-style="solid" border-width=".25mm"> <fo:block text-align="center">PRODUCT</fo:block> </fo:table-cell> <fo:table-cell padding="1mm" border-color="black" border-style="solid" border-width=".25mm"> <fo:block text-align="center">TALLIES</fo:block> </fo:table-cell> </fo:table-row> <xsl:for-each select="/root/delivery/order/lineItems/lineItem"> <xsl:sort select="number(product/@code)"/> <fo:table-row line-height="12pt"> <fo:table-cell padding="1mm" border-color="black" border-style="solid" border-width=".25mm"> <fo:block text-align="center"> (<xsl:value-of select="position()"/>)<xsl:text> </xsl:text> <xsl:value-of select="@quantity"/> </fo:block> </fo:table-cell> <fo:table-cell padding="1mm" border-color="black" border-style="solid" border-width=".25mm"> <fo:block text-align="center"> <xsl:value-of select="product/@code"/> </fo:block> </fo:table-cell> <fo:table-cell padding="1mm" border-color="black" border-style="solid" border-width=".25mm"> <fo:block text-align="left"> <xsl:call-template name="palletTallies"> <xsl:with-param name="lineId" select="product/@lineId"/> <xsl:with-param name="remainder" select="@quantity"/> </xsl:call-template> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each> </fo:table-body> </fo:table> <!-- <fo:block-container height="17cm" width="14cm" top="7cm" left="0cm" position="absolute"> <fo:table border-collapse="collapse" border-color="black" border-style="solid" border-width=".25mm" height="17cm"> <fo:table-column column-width="2.5cm"/> <fo:table-column column-width="2.5cm"/> <fo:table-column column-width="10cm"/> <fo:table-body font-weight="normal" font-size="10pt"> <fo:table-row line-height="12pt"> <fo:table-cell padding="1mm" border-color="black" border-style="solid" border-width=".25mm"> <fo:block text-align="center">QUANTITY</fo:block> </fo:table-cell> <fo:table-cell padding="1mm" border-color="black" border-style="solid" border-width=".25mm"> <fo:block text-align="center">PRODUCT</fo:block> </fo:table-cell> <fo:table-cell padding="1mm" border-color="black" border-style="solid" border-width=".25mm"> <fo:block text-align="center">TALLIES</fo:block> </fo:table-cell> </fo:table-row> <xsl:for-each select="/root/delivery/order/lineItems/lineItem"> <xsl:sort select="number(product/@code)"/> <fo:table-row line-height="12pt"> <fo:table-cell padding="1mm" border-color="black" border-style="solid" border-width=".25mm"> <fo:block text-align="center"> (<xsl:value-of select="position()"/>)<xsl:text> </xsl:text> <xsl:value-of select="@quantity"/> </fo:block> </fo:table-cell> <fo:table-cell padding="1mm" border-color="black" border-style="solid" border-width=".25mm"> <fo:block text-align="center"> <xsl:value-of select="product/@code"/> </fo:block> </fo:table-cell> <fo:table-cell padding="1mm" border-color="black" border-style="solid" border-width=".25mm"> <fo:block text-align="left"> <xsl:call-template name="palletTallies"> <xsl:with-param name="lineId" select="product/@lineId"/> <xsl:with-param name="remainder" select="@quantity"/> </xsl:call-template> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each> </fo:table-body> </fo:table> </fo:block-container> --> <fo:block-container border-color="black" border-style="solid" border-width="0.5mm" height="1cm" width="13.31cm" top="26.5cm" left="0cm" padding="1mm" position="absolute"> <fo:block text-align="start" line-height="15pt" font-size="12pt">Please remit to the above address</fo:block> </fo:block-container> <fo:block-container border-color="black" border-style="solid" border-width="0.5mm" height="1cm" width="2.5cm" top="26.5cm" left="13.56cm" padding="1mm" position="absolute"> <fo:block text-align="start" space-after.optimum="3pt" line-height="25pt" font-size="22pt">Total</fo:block> </fo:block-container> <fo:block-container border-color="black" border-style="solid" border-width="0.5mm" height="1cm" width="2.5cm" top="26.5cm" left="16.31cm" padding="1mm" position="absolute"> <fo:block text-align="start" space-after.optimum="3pt" line-height="15pt" font-size="10pt">$3.00</fo:block> </fo:block-container> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template> <xsl:template name="palletTallies"> <xsl:param name="lineId"/> <xsl:param name="remainder"/> <xsl:variable name="productLine" select="/root/productLines/productLine[ @id = $lineId ]"/> <xsl:choose> <xsl:when test="number($remainder) >= number($productLine/@palletQuantity)"> <xsl:text> </xsl:text> <xsl:value-of select="$productLine/@palletQuantity"/> <xsl:call-template name="palletTallies"> <xsl:with-param name="lineId" select="$lineId"/> <xsl:with-param name="remainder" select="number($remainder) - number($productLine/@palletQuantity) "/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:text> </xsl:text>Remainder: <xsl:value-of select="$remainder"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="palletCount"> <xsl:param name="count"/> <xsl:variable name="thisCount" select="number($count) + 1"/> <xsl:if test="$thisCount < 31"> <fo:table-row line-height="10pt"> <fo:table-cell padding="1mm"> <fo:block text-align="end"/> </fo:table-cell> <fo:table-cell padding="1mm"> <fo:block text-align="end">P<xsl:value-of select="$thisCount"/> </fo:block> </fo:table-cell> <!-- <fo:table-cell border-bottom-width=".5mm" border-bottom-color="black" border-bottom-style="solid" padding="1mm"> <fo:block text-align="center"></fo:block> </fo:table-cell> --> <fo:table-cell padding="1mm" border-bottom-color="black" border-bottom-style="solid"> <fo:block text-align="center"> </fo:block> </fo:table-cell> <fo:table-cell padding="1mm"> <fo:block text-align="center"/> </fo:table-cell> </fo:table-row> <xsl:call-template name="palletCount"> <xsl:with-param name="count" select="$thisCount"/> </xsl:call-template> </xsl:if> </xsl:template> </xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8"?> <root> <date>01/01/0001 23:17</date> <productLines> <productLine id="1" line="King" palletQuantity="27"/> <productLine id="2" line="100" palletQuantity="21"/> <productLine id="3" line="120" palletQuantity="18"/> <productLine id="4" line="King-6m" palletQuantity="54"/> <productLine id="5" line="100-6m" palletQuantity="42"/> <productLine id="6" line="120-6m" palletQuantity="36"/> </productLines> <delivery id="82477359"> <files> <file id="E:\eclipse\workspace\jacobson\src\scanned-images\SCAN0181_003.tif"/> <file id="E:\eclipse\workspace\jacobson\src\scanned-images\SCAN0181_004.tif"/> </files> <ship-date format="MM/DD/YY">12/06/02</ship-date> <due-date format="MM/DD/YY">12/09/02</due-date> <status>Regular Order</status> <carrier id="XYZ"> <name>MYCOMPANY LTD</name> </carrier> <mode>11 - LTL</mode> <customer> <name>SOME CUSTOMER</name> <address> <line>CO - SOMERSET</line> <line>2100 UNIVERSITY DR</line> <line>FRANKLIN ILL 68501</line> </address> </customer> <shipper> <name>XYZ USA</name> <address> <line>C/O MYCOMPANY LTD</line> <line>100 PARK PLACE N</line> <line>GOODLETTSVILLE TN 37072</line> </address> </shipper> <order id="1711444"> <purchase-order>104420</purchase-order> <lineItems> <!-- region: 1--> <lineItem quantity="155"> <product id="C00012-00000U" code="00012" lineId="1"/> </lineItem> <lineItem quantity=""> <product id="C00050-00000" code="00050"/> </lineItem> <lineItem quantity="2"> <product id="C00180-00000U" code="00180" lineId="1"/> </lineItem> <lineItem quantity="2"> <product id="C00190-00000U" code="00190" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00290-00000U" code="00290" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00480-00000U" code="00480" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00640-00000" code="00640" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00660-00000U" code="00660" lineId="1"/> </lineItem> <lineItem quantity="15"> <product id="C00690-00000U" code="00690" lineId="2"/> </lineItem> <lineItem quantity="1"> <product id="C01590-00000U" code="01590" lineId="1"/> </lineItem> <lineItem quantity="88"> <product id="C01630-00000" code="01630" lineId="3"/> </lineItem>
<!-- region: 1--> <lineItem quantity="155"> <product id="C00012-00000U" code="00012" lineId="1"/> </lineItem> <lineItem quantity=""> <product id="C00050-00000" code="00050"/> </lineItem> <lineItem quantity="2"> <product id="C00180-00000U" code="00180" lineId="1"/> </lineItem> <lineItem quantity="2"> <product id="C00190-00000U" code="00190" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00290-00000U" code="00290" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00480-00000U" code="00480" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00640-00000" code="00640" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00660-00000U" code="00660" lineId="1"/> </lineItem> <lineItem quantity="15"> <product id="C00690-00000U" code="00690" lineId="2"/> </lineItem> <lineItem quantity="1"> <product id="C01590-00000U" code="01590" lineId="1"/> </lineItem> <lineItem quantity="88"> <product id="C01630-00000" code="01630" lineId="3"/> </lineItem> <!-- region: 1--> <lineItem quantity="155"> <product id="C00012-00000U" code="00012" lineId="1"/> </lineItem> <lineItem quantity=""> <product id="C00050-00000" code="00050"/> </lineItem> <lineItem quantity="2"> <product id="C00180-00000U" code="00180" lineId="1"/> </lineItem> <lineItem quantity="2"> <product id="C00190-00000U" code="00190" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00290-00000U" code="00290" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00480-00000U" code="00480" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00640-00000" code="00640" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00660-00000U" code="00660" lineId="1"/> </lineItem> <lineItem quantity="15"> <product id="C00690-00000U" code="00690" lineId="2"/> </lineItem> <lineItem quantity="1"> <product id="C01590-00000U" code="01590" lineId="1"/> </lineItem> <lineItem quantity="88"> <product id="C01630-00000" code="01630" lineId="3"/> </lineItem> <!-- region: 1--> <lineItem quantity="155"> <product id="C00012-00000U" code="00012" lineId="1"/> </lineItem> <lineItem quantity=""> <product id="C00050-00000" code="00050"/> </lineItem> <lineItem quantity="2"> <product id="C00180-00000U" code="00180" lineId="1"/> </lineItem> <lineItem quantity="2"> <product id="C00190-00000U" code="00190" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00290-00000U" code="00290" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00480-00000U" code="00480" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00640-00000" code="00640" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00660-00000U" code="00660" lineId="1"/> </lineItem> <lineItem quantity="15"> <product id="C00690-00000U" code="00690" lineId="2"/> </lineItem> <lineItem quantity="1"> <product id="C01590-00000U" code="01590" lineId="1"/> </lineItem> <lineItem quantity="88"> <product id="C01630-00000" code="01630" lineId="3"/> </lineItem> <!-- region: 1--> <lineItem quantity="155"> <product id="C00012-00000U" code="00012" lineId="1"/> </lineItem> <lineItem quantity=""> <product id="C00050-00000" code="00050"/> </lineItem> <lineItem quantity="2"> <product id="C00180-00000U" code="00180" lineId="1"/> </lineItem> <lineItem quantity="2"> <product id="C00190-00000U" code="00190" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00290-00000U" code="00290" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00480-00000U" code="00480" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00640-00000" code="00640" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00660-00000U" code="00660" lineId="1"/> </lineItem> <lineItem quantity="15"> <product id="C00690-00000U" code="00690" lineId="2"/> </lineItem> <lineItem quantity="1"> <product id="C01590-00000U" code="01590" lineId="1"/> </lineItem> <lineItem quantity="88"> <product id="C01630-00000" code="01630" lineId="3"/> </lineItem> <!-- region: 1--> <lineItem quantity="155"> <product id="C00012-00000U" code="00012" lineId="1"/> </lineItem> <lineItem quantity=""> <product id="C00050-00000" code="00050"/> </lineItem> <lineItem quantity="2"> <product id="C00180-00000U" code="00180" lineId="1"/> </lineItem> <lineItem quantity="2"> <product id="C00190-00000U" code="00190" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00290-00000U" code="00290" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00480-00000U" code="00480" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00640-00000" code="00640" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00660-00000U" code="00660" lineId="1"/> </lineItem> <lineItem quantity="15"> <product id="C00690-00000U" code="00690" lineId="2"/> </lineItem> <lineItem quantity="1"> <product id="C01590-00000U" code="01590" lineId="1"/> </lineItem> <lineItem quantity="88"> <product id="C01630-00000" code="01630" lineId="3"/> </lineItem> <!-- region: 1--> <lineItem quantity="155"> <product id="C00012-00000U" code="00012" lineId="1"/> </lineItem> <lineItem quantity=""> <product id="C00050-00000" code="00050"/> </lineItem> <lineItem quantity="2"> <product id="C00180-00000U" code="00180" lineId="1"/> </lineItem> <lineItem quantity="2"> <product id="C00190-00000U" code="00190" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00290-00000U" code="00290" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00480-00000U" code="00480" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00640-00000" code="00640" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00660-00000U" code="00660" lineId="1"/> </lineItem> <lineItem quantity="15"> <product id="C00690-00000U" code="00690" lineId="2"/> </lineItem> <lineItem quantity="1"> <product id="C01590-00000U" code="01590" lineId="1"/> </lineItem> <lineItem quantity="88"> <product id="C01630-00000" code="01630" lineId="3"/> </lineItem> <!-- region: 1--> <lineItem quantity="155"> <product id="C00012-00000U" code="00012" lineId="1"/> </lineItem> <lineItem quantity=""> <product id="C00050-00000" code="00050"/> </lineItem> <lineItem quantity="2"> <product id="C00180-00000U" code="00180" lineId="1"/> </lineItem> <lineItem quantity="2"> <product id="C00190-00000U" code="00190" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00290-00000U" code="00290" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00480-00000U" code="00480" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00640-00000" code="00640" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00660-00000U" code="00660" lineId="1"/> </lineItem> <lineItem quantity="15"> <product id="C00690-00000U" code="00690" lineId="2"/> </lineItem> <lineItem quantity="1"> <product id="C01590-00000U" code="01590" lineId="1"/> </lineItem> <lineItem quantity="88"> <product id="C01630-00000" code="01630" lineId="3"/> </lineItem> <!-- region: 1--> <lineItem quantity="155"> <product id="C00012-00000U" code="00012" lineId="1"/> </lineItem> <lineItem quantity=""> <product id="C00050-00000" code="00050"/> </lineItem> <lineItem quantity="2"> <product id="C00180-00000U" code="00180" lineId="1"/> </lineItem> <lineItem quantity="2"> <product id="C00190-00000U" code="00190" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00290-00000U" code="00290" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00480-00000U" code="00480" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00640-00000" code="00640" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00660-00000U" code="00660" lineId="1"/> </lineItem> <lineItem quantity="15"> <product id="C00690-00000U" code="00690" lineId="2"/> </lineItem> <lineItem quantity="1"> <product id="C01590-00000U" code="01590" lineId="1"/> </lineItem> <lineItem quantity="88"> <product id="C01630-00000" code="01630" lineId="3"/> </lineItem> <!-- region: 1--> <lineItem quantity="155"> <product id="C00012-00000U" code="00012" lineId="1"/> </lineItem> <lineItem quantity=""> <product id="C00050-00000" code="00050"/> </lineItem> <lineItem quantity="2"> <product id="C00180-00000U" code="00180" lineId="1"/> </lineItem> <lineItem quantity="2"> <product id="C00190-00000U" code="00190" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00290-00000U" code="00290" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00480-00000U" code="00480" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00640-00000" code="00640" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00660-00000U" code="00660" lineId="1"/> </lineItem> <lineItem quantity="15"> <product id="C00690-00000U" code="00690" lineId="2"/> </lineItem> <lineItem quantity="1"> <product id="C01590-00000U" code="01590" lineId="1"/> </lineItem> <lineItem quantity="88"> <product id="C01630-00000" code="01630" lineId="3"/> </lineItem> <!-- region: 1--> <lineItem quantity="155"> <product id="C00012-00000U" code="00012" lineId="1"/> </lineItem> <lineItem quantity=""> <product id="C00050-00000" code="00050"/> </lineItem> <lineItem quantity="2"> <product id="C00180-00000U" code="00180" lineId="1"/> </lineItem> <lineItem quantity="2"> <product id="C00190-00000U" code="00190" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00290-00000U" code="00290" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00480-00000U" code="00480" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00640-00000" code="00640" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00660-00000U" code="00660" lineId="1"/> </lineItem> <lineItem quantity="15"> <product id="C00690-00000U" code="00690" lineId="2"/> </lineItem> <lineItem quantity="1"> <product id="C01590-00000U" code="01590" lineId="1"/> </lineItem> <lineItem quantity="88"> <product id="C01630-00000" code="01630" lineId="3"/> </lineItem> <!-- region: 1--> <lineItem quantity="155"> <product id="C00012-00000U" code="00012" lineId="1"/> </lineItem> <lineItem quantity=""> <product id="C00050-00000" code="00050"/> </lineItem> <lineItem quantity="2"> <product id="C00180-00000U" code="00180" lineId="1"/> </lineItem> <lineItem quantity="2"> <product id="C00190-00000U" code="00190" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00290-00000U" code="00290" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00480-00000U" code="00480" lineId="1"/> </lineItem> <lineItem quantity="1"> <product id="C00640-00000" code="00640" lineId="1"/> </lineItem> <lineItem quantity="9"> <product id="C00660-00000U" code="00660" lineId="1"/> </lineItem> <lineItem quantity="15"> <product id="C00690-00000U" code="00690" lineId="2"/> </lineItem> <lineItem quantity="1"> <product id="C01590-00000U" code="01590" lineId="1"/> </lineItem> <lineItem quantity="88"> <product id="C01630-00000" code="01630" lineId="3"/> </lineItem> </lineItems> <total-quantity>66</total-quantity> <total-weight>2,432.5</total-weight> </order> <validationExceptions> <validationException field="lineItem/@quantity" message="Line item quantity cannot be null for product id C00050-00000."/> <validationException field="total-quantity" message="The total quantity specified[66] does not match the calculated total[NaN]."/> </validationExceptions> </delivery> </root>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
