declare namespace esb = "http://www.ferguson.com/esb"; declare option ddtek:serialize "omit-xml-declaration=no,indent=yes"; for $Order at $orderPos in doc('converter:file:///c:/XML_021609/storefront_send.conv?file:///c:/XML_021609/zzedi856_o.dat')/root/Order return ddtek:serialize-to-url( a4:f2:15:a1:2d:d1:22:a4:ff:b8:84:f2:90:85:27:3f originator 2009-02-13T11:57:37Z 2009-02-13T11:57:37Z { $Order/EnterDT/text() } { $Order/Orderno/text() } { $Order/Customer/text() } { $Order/Name/text() }
{ $Order/Address/text() } { $Order/Address2/text() } { $Order/City/text() } { $Order/State/text() } { $Order/Country/text() } { $Order/Zip/text() }
{ $Order/ReqDate/text() }
{ for $component in $Order/field/component return { $component/po/text() } { $component/contact/text() } { $component/email/text() } { $component/v-note1/text() } { $component/v-note2/text() } { $component/v-note3/text() } { $component/v-note4/text() } { $component/v-note5/text() } { $component/v-note6/text() } { $component/v-note7/text() } { $component/v-note8/text() } { $component/v-note9/text() } { $component/v-note10/text() } { $component/v-note11/text() } { $component/v-note12/text() } { $component/v-note13/text() } { $component/v-note14/text() } { $component/v-note15/text() } { $component/v-note16/text() } { $component/item/text() } { $component/des1/text() } { $component/qty/text() } { $component/price/text() } { $component/perqty/text() } { $component/subcomponent/text() } { $component/reqdate/text() } { $component/adn/text() } { $component/des1/text() } { $component/po_line/text() } }
, concat("file:///c:/XML_021609/", $orderPos, ".xml"), "") (: Stylus Studio meta-information - (c) 2004-2008. Progress Software Corporation. All rights reserved. :)