A
Archana Madduru
can anybody tell me how to write to a xml document using hpricot? Is it
possible to do that? Here is my xml in which i want to change the
ordernumber everytime i run my script.
<Order DocumentType="786" Action="doofus" EnterpriseCode="sibs"
SellerOrganizationCode="VENDOR" BuyerOrganizationCode="hp"
OrderNo="CG1XYAA3" OrderType="Regular" Currency="USD"
OrderDate="20060408" VendorID="000002895">
<OrderLines>
<OrderLine OrderedQty="20" ReqDeliveryDate="20060428" >
<Item ItemID="4405540021115" UnitOfMeasure="EACH"/>
</OrderLine>
</OrderLines>
<Interface CorpPOStatus="ACTIVE"/>
</Order>
possible to do that? Here is my xml in which i want to change the
ordernumber everytime i run my script.
<Order DocumentType="786" Action="doofus" EnterpriseCode="sibs"
SellerOrganizationCode="VENDOR" BuyerOrganizationCode="hp"
OrderNo="CG1XYAA3" OrderType="Regular" Currency="USD"
OrderDate="20060408" VendorID="000002895">
<OrderLines>
<OrderLine OrderedQty="20" ReqDeliveryDate="20060428" >
<Item ItemID="4405540021115" UnitOfMeasure="EACH"/>
</OrderLine>
</OrderLines>
<Interface CorpPOStatus="ACTIVE"/>
</Order>