declare namespace esb = "http://www.ferguson.com/esb"; declare option ddtek:serialize "omit-xml-declaration=no"; ENDRIES originator 2008-05-20T15:37:06Z { for $Order in doc('converter:file:///c:/XML_021309/storefront_send.conv?file:///c:/XML_021309/zzedi856_o.dat')/root/Order return { $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/item/text() } { $component/custitem/text() } { $component/des1/text() } { $component/qty/text() } { $component/price/text() } { $component/perqty/text() } { $component/subcomponent/text() } { $component/reqdate/text() } { $component/des1/text() } { $component/po_line/text() } }
}
(: Stylus Studio meta-information - (c) 2004-2008. Progress Software Corporation. All rights reserved. :)