RE: Re: "FLAT" XML to Hierarchical XML
So you still have no way of determining if an order from "John Smith" from a particular address is from the same person as an order from "J. Smith" at the same address. If you are willing to accept that, you can use the technique described on Jenni Tennison's web site that has been recommended to you. -- Charles Knell cknell@xxxxxxxxxx - email
-----Original Message----- From: Brandon Schenz <brandons@xxxxxxxxxxxxxxxxx> Sent: Fri, 24 Sep 2004 14:01:09 -0400 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: "FLAT" XML to Hierarchical XML
My current method will be to check based on primary key fields (last, first, address, city) .
My hope was to put in a filler value until I get real values from my DB. List first "unique" customer with an ID of 1, then also use a CustomerID in the orders part of the XML during the transformation that matches (1). For the OrderID I can use the Order_Number I am getting from my partner, and then when I send it to my DB my OrderID numbers will be used instead.
" ... I have no way of knowing if the customer already exists in my DB until I attempt to add them."
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format