OldWilly
Programmer
- Mar 1, 2002
- 66
Can anyone give me a shell program parsing XML from UltraCart? I just need to see how a couple of the variables are handled, then I should be good to go from there. What I know about XML wouldn't fill up a thimble. Thanks in advance. A sample of their example:
<?xml version="1.0" encoding="UTF-8" ?>
- <xs:schema xmlns:xs=" elementFormDefault="qualified">
<xs:element name="bill_to_address1" type="xs:string" />
<xs:element name="bill_to_address2" type="xs:string" />
<xs:element name="bill_to_city" type="xs:string" />
<xs:element name="bill_to_company" type="xs:string" />
<xs:element name="bill_to_country" type="xs:string" />
<xs:element name="bill_to_first_name" type="xs:string" />
<xs:element name="bill_to_last_name" type="xs:string" />
<xs:element name="bill_to_state" type="xs:string" />
<xs:element name="bill_to_zip" type="xs:string" />
<xs:element name="discount" type="xs:string" />
</xs:schema>
<?xml version="1.0" encoding="UTF-8" ?>
- <xs:schema xmlns:xs=" elementFormDefault="qualified">
<xs:element name="bill_to_address1" type="xs:string" />
<xs:element name="bill_to_address2" type="xs:string" />
<xs:element name="bill_to_city" type="xs:string" />
<xs:element name="bill_to_company" type="xs:string" />
<xs:element name="bill_to_country" type="xs:string" />
<xs:element name="bill_to_first_name" type="xs:string" />
<xs:element name="bill_to_last_name" type="xs:string" />
<xs:element name="bill_to_state" type="xs:string" />
<xs:element name="bill_to_zip" type="xs:string" />
<xs:element name="discount" type="xs:string" />
</xs:schema>