Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8045289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T05:30:03+00:00 2026-06-05T05:30:03+00:00

I need to eliminate duplicate elements from my XML using a specific node (ItemID)

  • 0

I need to eliminate duplicate elements from my XML using a specific node (ItemID)

My XML Looks as follows;

<XML>
    <Line>
        <SupplierID>Waltons</SupplierID>
        <InvoiceID>CAP600795SI</InvoiceID>
        <InvoiceDate>20100506</InvoiceDate>
        <ItemID>723073</ItemID>
        <ColorID>02</ColorID>
        <Description>Pentel LR7 Energel Metal Tip Refill 0.7mm</Description>
        <MainCategory>WRITING INSTRUMENTS</MainCategory>
        <SubCategory>Refill</SubCategory>
        <LineNum>               1.0000000</LineNum>
        <Qty>               6.0000000</Qty>
        <UnitPriceExclTax>              10.0200000</UnitPriceExclTax>
        <LineTax>               8.4200000</LineTax>
        <LinePriceExclTax>              60.1200000</LinePriceExclTax>
        <ColorName>Black</ColorName>
        <UOM>EA</UOM>
        <Backorder>               0.0000000</Backorder>
        <INVENTTRANSID>      CAP5637542_060</INVENTTRANSID>
    </Line>
    <Line>
        <SupplierID>Waltons</SupplierID>
        <InvoiceID>CAP600795SI</InvoiceID>
        <InvoiceDate>20100506</InvoiceDate>
        <ItemID>903420</ItemID>
        <ColorID />
        <Description>STEPHENS JUNIOR Stapler Half Strip KW586</Description>
        <MainCategory>OFFICE SUNDRIES</MainCategory>
        <SubCategory>Staplers</SubCategory>
        <LineNum>               2.0000000</LineNum>
        <Qty>               3.0000000</Qty>
        <UnitPriceExclTax>              32.2500000</UnitPriceExclTax>
        <LineTax>              13.5400000</LineTax>
        <LinePriceExclTax>              96.7500000</LinePriceExclTax>
        <ColorName />
        <UOM>Ea</UOM>
        <Backorder>               0.0000000</Backorder>
        <INVENTTRANSID>      CAP5637547_060</INVENTTRANSID>
    </Line>
    <Line>
        <SupplierID>Waltons</SupplierID>
        <InvoiceID>CAP600795SI</InvoiceID>
        <InvoiceDate>20100506</InvoiceDate>
        <ItemID>867241</ItemID>
        <ColorID />
        <Description>TRODAT PRINTY S/Inking Stamp Copy 4911</Description>
        <MainCategory>STAMPS DATERS NUMBERERS</MainCategory>
        <SubCategory>Self Inking Stamps</SubCategory>
        <LineNum>               3.0000000</LineNum>
        <Qty>               1.0000000</Qty>
        <UnitPriceExclTax>              42.1500000</UnitPriceExclTax>
        <LineTax>               5.9000000</LineTax>
        <LinePriceExclTax>              42.1500000</LinePriceExclTax>
        <ColorName />
        <UOM>Ea</UOM>
        <Backorder>               1.0000000</Backorder>
        <INVENTTRANSID>      CAP5637548_060</INVENTTRANSID>
    </Line>
    <Line>
        <SupplierID>Waltons</SupplierID>
        <InvoiceID>CAP600795SI</InvoiceID>
        <InvoiceDate>20100506</InvoiceDate>
        <ItemID>941151</ItemID>
        <ColorID />
        <Description>PENTEL Correction Tape 5mx5mm ZT35</Description>
        <MainCategory>OFFICE SUNDRIES</MainCategory>
        <SubCategory>Correction Fluid/Pens/Tape</SubCategory>
        <LineNum>               4.0000000</LineNum>
        <Qty>               2.0000000</Qty>
        <UnitPriceExclTax>              25.1500000</UnitPriceExclTax>
        <LineTax>               7.0400000</LineTax>
        <LinePriceExclTax>              50.3000000</LinePriceExclTax>
        <ColorName />
        <UOM>Ea</UOM>
        <Backorder>               0.0000000</Backorder>
        <INVENTTRANSID>      CAP5637549_060</INVENTTRANSID>
    </Line>
    <Line>
        <SupplierID>Waltons</SupplierID>
        <InvoiceID>CAP600795SI</InvoiceID>
        <InvoiceDate>20100506</InvoiceDate>
        <ItemID>801215</ItemID>
        <ColorID />
        <Description>MONDI ROTATRIM Copy Paper A4 80Gsm White</Description>
        <MainCategory>A4 Paper</MainCategory>
        <SubCategory>White Bond Paper</SubCategory>
        <LineNum>               5.0000000</LineNum>
        <Qty>             100.0000000</Qty>
        <UnitPriceExclTax>              29.0100000</UnitPriceExclTax>
        <LineTax>             406.1400000</LineTax>
        <LinePriceExclTax>            2901.0000000</LinePriceExclTax>
        <ColorName />
        <UOM>Pkt 500</UOM>
        <Backorder>               0.0000000</Backorder>
        <INVENTTRANSID>      CAP5637552_060</INVENTTRANSID>
    </Line>
    <Line>
        <SALESID>         CAP716197SO</SALESID>
        <INVOICEID>         CAP600795SI</INVOICEID>
        <INVOICEDATE>2010/05/06</INVOICEDATE>
        <NUMBERSEQUENCEGROUP />
        <LINENUM>               2.0000000</LINENUM>
        <ITEMID>805236</ITEMID>
        <INVENTDIMID>      CAP0000594_061</INVENTDIMID>
        <NAME>Ruled Paper A4 Fnt/Marg JD76</NAME>
        <CONFIRMEDDLV>2010/05/06</CONFIRMEDDLV>
        <INVENTTRANSID>      CAP5637543_060</INVENTTRANSID>
        <QTYSALES>               4.0000000</QTYSALES>
        <QTYORDERED>               4.0000000</QTYORDERED>
        <QTYBACKORDERSALES>               4.0000000</QTYBACKORDERSALES>
        <QTYBACKORDERINVENT>               4.0000000</QTYBACKORDERINVENT>
        <SALESUNIT>EA</SALESUNIT>
        <ORIGSALESID>         CAP716197SO</ORIGSALESID>
        <DATAAREAID>wal</DATAAREAID>
        <RECID>622392608</RECID>
        <RecVersion>1</RecVersion>
    </Line>
    <Line>
        <SALESID>         CAP716197SO</SALESID>
        <INVOICEID>         CAP600795SI</INVOICEID>
        <INVOICEDATE>2010/05/06</INVOICEDATE>
        <NUMBERSEQUENCEGROUP />
        <LINENUM>               3.0000000</LINENUM>
        <ITEMID>941150</ITEMID>
        <INVENTDIMID>      CAP0000594_061</INVENTDIMID>
        <NAME>PENGUIN Correction Fluid 20ml White</NAME>
        <CONFIRMEDDLV>2010/05/06</CONFIRMEDDLV>
        <INVENTTRANSID>      CAP5637546_060</INVENTTRANSID>
        <QTYSALES>               6.0000000</QTYSALES>
        <QTYORDERED>               6.0000000</QTYORDERED>
        <QTYBACKORDERSALES>               6.0000000</QTYBACKORDERSALES>
        <QTYBACKORDERINVENT>               6.0000000</QTYBACKORDERINVENT>
        <SALESUNIT>EA</SALESUNIT>
        <ORIGSALESID>         CAP716197SO</ORIGSALESID>
        <DATAAREAID>wal</DATAAREAID>
        <RECID>622392609</RECID>
        <RecVersion>1</RecVersion>
    </Line>
    <Line>
        <SALESID>         CAP716197SO</SALESID>
        <INVOICEID>         CAP600795SI</INVOICEID>
        <INVOICEDATE>2010/05/06</INVOICEDATE>
        <NUMBERSEQUENCEGROUP />
        <LINENUM>               5.0000000</LINENUM>
        <ITEMID>867241</ITEMID>
        <INVENTDIMID>      CAP0000594_061</INVENTDIMID>
        <NAME>TRODAT PRINTY S/Inking Stamp Copy 4911</NAME>
        <CONFIRMEDDLV>2010/05/06</CONFIRMEDDLV>
        <INVENTTRANSID>      CAP5637548_060</INVENTTRANSID>
        <QTYSALES>               2.0000000</QTYSALES>
        <QTYORDERED>               2.0000000</QTYORDERED>
        <QTYBACKORDERSALES>               1.0000000</QTYBACKORDERSALES>
        <QTYBACKORDERINVENT>               1.0000000</QTYBACKORDERINVENT>
        <SALESUNIT>EA</SALESUNIT>
        <ORIGSALESID>         CAP716197SO</ORIGSALESID>
        <DATAAREAID>wal</DATAAREAID>
        <RECID>622392610</RECID>
        <RecVersion>1</RecVersion>
    </Line>
</XML>

You will see the XML is not identical but the tag is always in the same place, and there is currently 1 duplicate 867241

I do not want the order to change, just the element removed.

Desired output would be;

<XML>
    <Line>
        <SupplierID>Waltons</SupplierID>
        <InvoiceID>CAP600795SI</InvoiceID>
        <InvoiceDate>20100506</InvoiceDate>
        <ItemID>723073</ItemID>
        <ColorID>02</ColorID>
        <Description>Pentel LR7 Energel Metal Tip Refill 0.7mm</Description>
        <MainCategory>WRITING INSTRUMENTS</MainCategory>
        <SubCategory>Refill</SubCategory>
        <LineNum>               1.0000000</LineNum>
        <Qty>               6.0000000</Qty>
        <UnitPriceExclTax>              10.0200000</UnitPriceExclTax>
        <LineTax>               8.4200000</LineTax>
        <LinePriceExclTax>              60.1200000</LinePriceExclTax>
        <ColorName>Black</ColorName>
        <UOM>EA</UOM>
        <Backorder>               0.0000000</Backorder>
        <INVENTTRANSID>      CAP5637542_060</INVENTTRANSID>
    </Line>
    <Line>
        <SupplierID>Waltons</SupplierID>
        <InvoiceID>CAP600795SI</InvoiceID>
        <InvoiceDate>20100506</InvoiceDate>
        <ItemID>903420</ItemID>
        <ColorID />
        <Description>STEPHENS JUNIOR Stapler Half Strip KW586</Description>
        <MainCategory>OFFICE SUNDRIES</MainCategory>
        <SubCategory>Staplers</SubCategory>
        <LineNum>               2.0000000</LineNum>
        <Qty>               3.0000000</Qty>
        <UnitPriceExclTax>              32.2500000</UnitPriceExclTax>
        <LineTax>              13.5400000</LineTax>
        <LinePriceExclTax>              96.7500000</LinePriceExclTax>
        <ColorName />
        <UOM>Ea</UOM>
        <Backorder>               0.0000000</Backorder>
        <INVENTTRANSID>      CAP5637547_060</INVENTTRANSID>
    </Line>
    <Line>
        <SupplierID>Waltons</SupplierID>
        <InvoiceID>CAP600795SI</InvoiceID>
        <InvoiceDate>20100506</InvoiceDate>
        <ItemID>867241</ItemID>
        <ColorID />
        <Description>TRODAT PRINTY S/Inking Stamp Copy 4911</Description>
        <MainCategory>STAMPS DATERS NUMBERERS</MainCategory>
        <SubCategory>Self Inking Stamps</SubCategory>
        <LineNum>               3.0000000</LineNum>
        <Qty>               1.0000000</Qty>
        <UnitPriceExclTax>              42.1500000</UnitPriceExclTax>
        <LineTax>               5.9000000</LineTax>
        <LinePriceExclTax>              42.1500000</LinePriceExclTax>
        <ColorName />
        <UOM>Ea</UOM>
        <Backorder>               1.0000000</Backorder>
        <INVENTTRANSID>      CAP5637548_060</INVENTTRANSID>
    </Line>
    <Line>
        <SupplierID>Waltons</SupplierID>
        <InvoiceID>CAP600795SI</InvoiceID>
        <InvoiceDate>20100506</InvoiceDate>
        <ItemID>941151</ItemID>
        <ColorID />
        <Description>PENTEL Correction Tape 5mx5mm ZT35</Description>
        <MainCategory>OFFICE SUNDRIES</MainCategory>
        <SubCategory>Correction Fluid/Pens/Tape</SubCategory>
        <LineNum>               4.0000000</LineNum>
        <Qty>               2.0000000</Qty>
        <UnitPriceExclTax>              25.1500000</UnitPriceExclTax>
        <LineTax>               7.0400000</LineTax>
        <LinePriceExclTax>              50.3000000</LinePriceExclTax>
        <ColorName />
        <UOM>Ea</UOM>
        <Backorder>               0.0000000</Backorder>
        <INVENTTRANSID>      CAP5637549_060</INVENTTRANSID>
    </Line>
    <Line>
        <SupplierID>Waltons</SupplierID>
        <InvoiceID>CAP600795SI</InvoiceID>
        <InvoiceDate>20100506</InvoiceDate>
        <ItemID>801215</ItemID>
        <ColorID />
        <Description>MONDI ROTATRIM Copy Paper A4 80Gsm White</Description>
        <MainCategory>A4 Paper</MainCategory>
        <SubCategory>White Bond Paper</SubCategory>
        <LineNum>               5.0000000</LineNum>
        <Qty>             100.0000000</Qty>
        <UnitPriceExclTax>              29.0100000</UnitPriceExclTax>
        <LineTax>             406.1400000</LineTax>
        <LinePriceExclTax>            2901.0000000</LinePriceExclTax>
        <ColorName />
        <UOM>Pkt 500</UOM>
        <Backorder>               0.0000000</Backorder>
        <INVENTTRANSID>      CAP5637552_060</INVENTTRANSID>
    </Line>
    <Line>
        <SALESID>         CAP716197SO</SALESID>
        <INVOICEID>         CAP600795SI</INVOICEID>
        <INVOICEDATE>2010/05/06</INVOICEDATE>
        <NUMBERSEQUENCEGROUP />
        <LINENUM>               2.0000000</LINENUM>
        <ITEMID>805236</ITEMID>
        <INVENTDIMID>      CAP0000594_061</INVENTDIMID>
        <NAME>Ruled Paper A4 Fnt/Marg JD76</NAME>
        <CONFIRMEDDLV>2010/05/06</CONFIRMEDDLV>
        <INVENTTRANSID>      CAP5637543_060</INVENTTRANSID>
        <QTYSALES>               4.0000000</QTYSALES>
        <QTYORDERED>               4.0000000</QTYORDERED>
        <QTYBACKORDERSALES>               4.0000000</QTYBACKORDERSALES>
        <QTYBACKORDERINVENT>               4.0000000</QTYBACKORDERINVENT>
        <SALESUNIT>EA</SALESUNIT>
        <ORIGSALESID>         CAP716197SO</ORIGSALESID>
        <DATAAREAID>wal</DATAAREAID>
        <RECID>622392608</RECID>
        <RecVersion>1</RecVersion>
    </Line>
    <Line>
        <SALESID>         CAP716197SO</SALESID>
        <INVOICEID>         CAP600795SI</INVOICEID>
        <INVOICEDATE>2010/05/06</INVOICEDATE>
        <NUMBERSEQUENCEGROUP />
        <LINENUM>               3.0000000</LINENUM>
        <ITEMID>941150</ITEMID>
        <INVENTDIMID>      CAP0000594_061</INVENTDIMID>
        <NAME>PENGUIN Correction Fluid 20ml White</NAME>
        <CONFIRMEDDLV>2010/05/06</CONFIRMEDDLV>
        <INVENTTRANSID>      CAP5637546_060</INVENTTRANSID>
        <QTYSALES>               6.0000000</QTYSALES>
        <QTYORDERED>               6.0000000</QTYORDERED>
        <QTYBACKORDERSALES>               6.0000000</QTYBACKORDERSALES>
        <QTYBACKORDERINVENT>               6.0000000</QTYBACKORDERINVENT>
        <SALESUNIT>EA</SALESUNIT>
        <ORIGSALESID>         CAP716197SO</ORIGSALESID>
        <DATAAREAID>wal</DATAAREAID>
        <RECID>622392609</RECID>
        <RecVersion>1</RecVersion>
    </Line>
</XML>

I can use XSLT 1 or 2

Regards,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T05:30:04+00:00Added an answer on June 5, 2026 at 5:30 am

    I. XSLT 1.0 solution:

    Here is a solution using Muenchian grouping:

    <xsl:stylesheet version="1.0"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     <xsl:output omit-xml-declaration="yes" indent="yes"/>
     <xsl:strip-space elements="*"/>
    
     <xsl:key name="kLineById" match="Line" use="ItemID|ITEMID"/>
    
     <xsl:template match="node()|@*">
         <xsl:copy>
           <xsl:apply-templates select="node()|@*"/>
         </xsl:copy>
     </xsl:template>
    
     <xsl:template match=
      "Line[not(generate-id() = generate-id(key('kLineById', ItemID|ITEMID)[1]))]"
      />
    </xsl:stylesheet>
    

    Do Note:

    1. Muenchian grouping is the most efficient known general grouping method for XSLT 1.0.

    2. Pure “push” style used.


    II. XSLT 2.0 solution:

    <xsl:stylesheet version="2.0"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
        <xsl:output omit-xml-declaration="yes" indent="yes"/>
    
     <xsl:template match="/*">
         <XML>
           <xsl:for-each-group select="Line" group-by="ItemID | ITEMID">
             <xsl:sequence select="."/>
           </xsl:for-each-group>
         </XML>
     </xsl:template>
    </xsl:stylesheet>
    

    Both solutions, when applied on the provided XML document:

    <XML>
            <Line>
                <SupplierID>Waltons</SupplierID>
                <InvoiceID>CAP600795SI</InvoiceID>
                <InvoiceDate>20100506</InvoiceDate>
                <ItemID>723073</ItemID>
                <ColorID>02</ColorID>
                <Description>Pentel LR7 Energel Metal Tip Refill 0.7mm</Description>
                <MainCategory>WRITING INSTRUMENTS</MainCategory>
                <SubCategory>Refill</SubCategory>
                <LineNum>               1.0000000</LineNum>
                <Qty>               6.0000000</Qty>
                <UnitPriceExclTax>              10.0200000</UnitPriceExclTax>
                <LineTax>               8.4200000</LineTax>
                <LinePriceExclTax>              60.1200000</LinePriceExclTax>
                <ColorName>Black</ColorName>
                <UOM>EA</UOM>
                <Backorder>               0.0000000</Backorder>
                <INVENTTRANSID>      CAP5637542_060</INVENTTRANSID>
            </Line>
            <Line>
                <SupplierID>Waltons</SupplierID>
                <InvoiceID>CAP600795SI</InvoiceID>
                <InvoiceDate>20100506</InvoiceDate>
                <ItemID>903420</ItemID>
                <ColorID />
                <Description>STEPHENS JUNIOR Stapler Half Strip KW586</Description>
                <MainCategory>OFFICE SUNDRIES</MainCategory>
                <SubCategory>Staplers</SubCategory>
                <LineNum>               2.0000000</LineNum>
                <Qty>               3.0000000</Qty>
                <UnitPriceExclTax>              32.2500000</UnitPriceExclTax>
                <LineTax>              13.5400000</LineTax>
                <LinePriceExclTax>              96.7500000</LinePriceExclTax>
                <ColorName />
                <UOM>Ea</UOM>
                <Backorder>               0.0000000</Backorder>
                <INVENTTRANSID>      CAP5637547_060</INVENTTRANSID>
            </Line>
            <Line>
                <SupplierID>Waltons</SupplierID>
                <InvoiceID>CAP600795SI</InvoiceID>
                <InvoiceDate>20100506</InvoiceDate>
                <ItemID>867241</ItemID>
                <ColorID />
                <Description>TRODAT PRINTY S/Inking Stamp Copy 4911</Description>
                <MainCategory>STAMPS DATERS NUMBERERS</MainCategory>
                <SubCategory>Self Inking Stamps</SubCategory>
                <LineNum>               3.0000000</LineNum>
                <Qty>               1.0000000</Qty>
                <UnitPriceExclTax>              42.1500000</UnitPriceExclTax>
                <LineTax>               5.9000000</LineTax>
                <LinePriceExclTax>              42.1500000</LinePriceExclTax>
                <ColorName />
                <UOM>Ea</UOM>
                <Backorder>               1.0000000</Backorder>
                <INVENTTRANSID>      CAP5637548_060</INVENTTRANSID>
            </Line>
            <Line>
                <SupplierID>Waltons</SupplierID>
                <InvoiceID>CAP600795SI</InvoiceID>
                <InvoiceDate>20100506</InvoiceDate>
                <ItemID>941151</ItemID>
                <ColorID />
                <Description>PENTEL Correction Tape 5mx5mm ZT35</Description>
                <MainCategory>OFFICE SUNDRIES</MainCategory>
                <SubCategory>Correction Fluid/Pens/Tape</SubCategory>
                <LineNum>               4.0000000</LineNum>
                <Qty>               2.0000000</Qty>
                <UnitPriceExclTax>              25.1500000</UnitPriceExclTax>
                <LineTax>               7.0400000</LineTax>
                <LinePriceExclTax>              50.3000000</LinePriceExclTax>
                <ColorName />
                <UOM>Ea</UOM>
                <Backorder>               0.0000000</Backorder>
                <INVENTTRANSID>      CAP5637549_060</INVENTTRANSID>
            </Line>
            <Line>
                <SupplierID>Waltons</SupplierID>
                <InvoiceID>CAP600795SI</InvoiceID>
                <InvoiceDate>20100506</InvoiceDate>
                <ItemID>801215</ItemID>
                <ColorID />
                <Description>MONDI ROTATRIM Copy Paper A4 80Gsm White</Description>
                <MainCategory>A4 Paper</MainCategory>
                <SubCategory>White Bond Paper</SubCategory>
                <LineNum>               5.0000000</LineNum>
                <Qty>             100.0000000</Qty>
                <UnitPriceExclTax>              29.0100000</UnitPriceExclTax>
                <LineTax>             406.1400000</LineTax>
                <LinePriceExclTax>            2901.0000000</LinePriceExclTax>
                <ColorName />
                <UOM>Pkt 500</UOM>
                <Backorder>               0.0000000</Backorder>
                <INVENTTRANSID>      CAP5637552_060</INVENTTRANSID>
            </Line>
            <Line>
                <SALESID>         CAP716197SO</SALESID>
                <INVOICEID>         CAP600795SI</INVOICEID>
                <INVOICEDATE>2010/05/06</INVOICEDATE>
                <NUMBERSEQUENCEGROUP />
                <LINENUM>               2.0000000</LINENUM>
                <ITEMID>805236</ITEMID>
                <INVENTDIMID>      CAP0000594_061</INVENTDIMID>
                <NAME>Ruled Paper A4 Fnt/Marg JD76</NAME>
                <CONFIRMEDDLV>2010/05/06</CONFIRMEDDLV>
                <INVENTTRANSID>      CAP5637543_060</INVENTTRANSID>
                <QTYSALES>               4.0000000</QTYSALES>
                <QTYORDERED>               4.0000000</QTYORDERED>
                <QTYBACKORDERSALES>               4.0000000</QTYBACKORDERSALES>
                <QTYBACKORDERINVENT>               4.0000000</QTYBACKORDERINVENT>
                <SALESUNIT>EA</SALESUNIT>
                <ORIGSALESID>         CAP716197SO</ORIGSALESID>
                <DATAAREAID>wal</DATAAREAID>
                <RECID>622392608</RECID>
                <RecVersion>1</RecVersion>
            </Line>
            <Line>
                <SALESID>         CAP716197SO</SALESID>
                <INVOICEID>         CAP600795SI</INVOICEID>
                <INVOICEDATE>2010/05/06</INVOICEDATE>
                <NUMBERSEQUENCEGROUP />
                <LINENUM>               3.0000000</LINENUM>
                <ITEMID>941150</ITEMID>
                <INVENTDIMID>      CAP0000594_061</INVENTDIMID>
                <NAME>PENGUIN Correction Fluid 20ml White</NAME>
                <CONFIRMEDDLV>2010/05/06</CONFIRMEDDLV>
                <INVENTTRANSID>      CAP5637546_060</INVENTTRANSID>
                <QTYSALES>               6.0000000</QTYSALES>
                <QTYORDERED>               6.0000000</QTYORDERED>
                <QTYBACKORDERSALES>               6.0000000</QTYBACKORDERSALES>
                <QTYBACKORDERINVENT>               6.0000000</QTYBACKORDERINVENT>
                <SALESUNIT>EA</SALESUNIT>
                <ORIGSALESID>         CAP716197SO</ORIGSALESID>
                <DATAAREAID>wal</DATAAREAID>
                <RECID>622392609</RECID>
                <RecVersion>1</RecVersion>
            </Line>
            <Line>
                <SALESID>         CAP716197SO</SALESID>
                <INVOICEID>         CAP600795SI</INVOICEID>
                <INVOICEDATE>2010/05/06</INVOICEDATE>
                <NUMBERSEQUENCEGROUP />
                <LINENUM>               5.0000000</LINENUM>
                <ITEMID>867241</ITEMID>
                <INVENTDIMID>      CAP0000594_061</INVENTDIMID>
                <NAME>TRODAT PRINTY S/Inking Stamp Copy 4911</NAME>
                <CONFIRMEDDLV>2010/05/06</CONFIRMEDDLV>
                <INVENTTRANSID>      CAP5637548_060</INVENTTRANSID>
                <QTYSALES>               2.0000000</QTYSALES>
                <QTYORDERED>               2.0000000</QTYORDERED>
                <QTYBACKORDERSALES>               1.0000000</QTYBACKORDERSALES>
                <QTYBACKORDERINVENT>               1.0000000</QTYBACKORDERINVENT>
                <SALESUNIT>EA</SALESUNIT>
                <ORIGSALESID>         CAP716197SO</ORIGSALESID>
                <DATAAREAID>wal</DATAAREAID>
                <RECID>622392610</RECID>
                <RecVersion>1</RecVersion>
            </Line>
    </XML>
    

    produce the wanted, correct result:

    <XML>
       <Line>
                <SupplierID>Waltons</SupplierID>
                <InvoiceID>CAP600795SI</InvoiceID>
                <InvoiceDate>20100506</InvoiceDate>
                <ItemID>723073</ItemID>
                <ColorID>02</ColorID>
                <Description>Pentel LR7 Energel Metal Tip Refill 0.7mm</Description>
                <MainCategory>WRITING INSTRUMENTS</MainCategory>
                <SubCategory>Refill</SubCategory>
                <LineNum>               1.0000000</LineNum>
                <Qty>               6.0000000</Qty>
                <UnitPriceExclTax>              10.0200000</UnitPriceExclTax>
                <LineTax>               8.4200000</LineTax>
                <LinePriceExclTax>              60.1200000</LinePriceExclTax>
                <ColorName>Black</ColorName>
                <UOM>EA</UOM>
                <Backorder>               0.0000000</Backorder>
                <INVENTTRANSID>      CAP5637542_060</INVENTTRANSID>
            </Line>
       <Line>
                <SupplierID>Waltons</SupplierID>
                <InvoiceID>CAP600795SI</InvoiceID>
                <InvoiceDate>20100506</InvoiceDate>
                <ItemID>903420</ItemID>
                <ColorID/>
                <Description>STEPHENS JUNIOR Stapler Half Strip KW586</Description>
                <MainCategory>OFFICE SUNDRIES</MainCategory>
                <SubCategory>Staplers</SubCategory>
                <LineNum>               2.0000000</LineNum>
                <Qty>               3.0000000</Qty>
                <UnitPriceExclTax>              32.2500000</UnitPriceExclTax>
                <LineTax>              13.5400000</LineTax>
                <LinePriceExclTax>              96.7500000</LinePriceExclTax>
                <ColorName/>
                <UOM>Ea</UOM>
                <Backorder>               0.0000000</Backorder>
                <INVENTTRANSID>      CAP5637547_060</INVENTTRANSID>
            </Line>
       <Line>
                <SupplierID>Waltons</SupplierID>
                <InvoiceID>CAP600795SI</InvoiceID>
                <InvoiceDate>20100506</InvoiceDate>
                <ItemID>867241</ItemID>
                <ColorID/>
                <Description>TRODAT PRINTY S/Inking Stamp Copy 4911</Description>
                <MainCategory>STAMPS DATERS NUMBERERS</MainCategory>
                <SubCategory>Self Inking Stamps</SubCategory>
                <LineNum>               3.0000000</LineNum>
                <Qty>               1.0000000</Qty>
                <UnitPriceExclTax>              42.1500000</UnitPriceExclTax>
                <LineTax>               5.9000000</LineTax>
                <LinePriceExclTax>              42.1500000</LinePriceExclTax>
                <ColorName/>
                <UOM>Ea</UOM>
                <Backorder>               1.0000000</Backorder>
                <INVENTTRANSID>      CAP5637548_060</INVENTTRANSID>
            </Line>
       <Line>
                <SupplierID>Waltons</SupplierID>
                <InvoiceID>CAP600795SI</InvoiceID>
                <InvoiceDate>20100506</InvoiceDate>
                <ItemID>941151</ItemID>
                <ColorID/>
                <Description>PENTEL Correction Tape 5mx5mm ZT35</Description>
                <MainCategory>OFFICE SUNDRIES</MainCategory>
                <SubCategory>Correction Fluid/Pens/Tape</SubCategory>
                <LineNum>               4.0000000</LineNum>
                <Qty>               2.0000000</Qty>
                <UnitPriceExclTax>              25.1500000</UnitPriceExclTax>
                <LineTax>               7.0400000</LineTax>
                <LinePriceExclTax>              50.3000000</LinePriceExclTax>
                <ColorName/>
                <UOM>Ea</UOM>
                <Backorder>               0.0000000</Backorder>
                <INVENTTRANSID>      CAP5637549_060</INVENTTRANSID>
            </Line>
       <Line>
                <SupplierID>Waltons</SupplierID>
                <InvoiceID>CAP600795SI</InvoiceID>
                <InvoiceDate>20100506</InvoiceDate>
                <ItemID>801215</ItemID>
                <ColorID/>
                <Description>MONDI ROTATRIM Copy Paper A4 80Gsm White</Description>
                <MainCategory>A4 Paper</MainCategory>
                <SubCategory>White Bond Paper</SubCategory>
                <LineNum>               5.0000000</LineNum>
                <Qty>             100.0000000</Qty>
                <UnitPriceExclTax>              29.0100000</UnitPriceExclTax>
                <LineTax>             406.1400000</LineTax>
                <LinePriceExclTax>            2901.0000000</LinePriceExclTax>
                <ColorName/>
                <UOM>Pkt 500</UOM>
                <Backorder>               0.0000000</Backorder>
                <INVENTTRANSID>      CAP5637552_060</INVENTTRANSID>
            </Line>
       <Line>
                <SALESID>         CAP716197SO</SALESID>
                <INVOICEID>         CAP600795SI</INVOICEID>
                <INVOICEDATE>2010/05/06</INVOICEDATE>
                <NUMBERSEQUENCEGROUP/>
                <LINENUM>               2.0000000</LINENUM>
                <ITEMID>805236</ITEMID>
                <INVENTDIMID>      CAP0000594_061</INVENTDIMID>
                <NAME>Ruled Paper A4 Fnt/Marg JD76</NAME>
                <CONFIRMEDDLV>2010/05/06</CONFIRMEDDLV>
                <INVENTTRANSID>      CAP5637543_060</INVENTTRANSID>
                <QTYSALES>               4.0000000</QTYSALES>
                <QTYORDERED>               4.0000000</QTYORDERED>
                <QTYBACKORDERSALES>               4.0000000</QTYBACKORDERSALES>
                <QTYBACKORDERINVENT>               4.0000000</QTYBACKORDERINVENT>
                <SALESUNIT>EA</SALESUNIT>
                <ORIGSALESID>         CAP716197SO</ORIGSALESID>
                <DATAAREAID>wal</DATAAREAID>
                <RECID>622392608</RECID>
                <RecVersion>1</RecVersion>
            </Line>
       <Line>
                <SALESID>         CAP716197SO</SALESID>
                <INVOICEID>         CAP600795SI</INVOICEID>
                <INVOICEDATE>2010/05/06</INVOICEDATE>
                <NUMBERSEQUENCEGROUP/>
                <LINENUM>               3.0000000</LINENUM>
                <ITEMID>941150</ITEMID>
                <INVENTDIMID>      CAP0000594_061</INVENTDIMID>
                <NAME>PENGUIN Correction Fluid 20ml White</NAME>
                <CONFIRMEDDLV>2010/05/06</CONFIRMEDDLV>
                <INVENTTRANSID>      CAP5637546_060</INVENTTRANSID>
                <QTYSALES>               6.0000000</QTYSALES>
                <QTYORDERED>               6.0000000</QTYORDERED>
                <QTYBACKORDERSALES>               6.0000000</QTYBACKORDERSALES>
                <QTYBACKORDERINVENT>               6.0000000</QTYBACKORDERINVENT>
                <SALESUNIT>EA</SALESUNIT>
                <ORIGSALESID>         CAP716197SO</ORIGSALESID>
                <DATAAREAID>wal</DATAAREAID>
                <RECID>622392609</RECID>
                <RecVersion>1</RecVersion>
            </Line>
    </XML>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Destructors are weird . I was attempting to eliminate the need of using the
I'm working on a project that I need to eliminate all references to the
My understanding is that shadow page tables eliminate the need to emulate physical memory
How does the HTML5 video tag eliminate the need for plugins. What does the
Need help to convert code from asp control to input type to fetch file
I am getting this error that is related to ReportsViewer. I need to eliminate
I'm storing contacts between different elements. I want to eliminate elements of certain type
Every time I need to load a local file using webkit in python I
I need to write a program for someone to enter 5 numbers from 10
I have a list mapped using Hibernate with an index column. The table looks

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.