C
Craig Buchanan
I have an Xml file that I use as a database of information about a
manufactures products. It has the format:
<Manufacturer>
<Products>
<Product id="1" name="product a" price="1.00" />
...
</Products>
<Suppliers>
<Supplier id="1" name="supplier x" />
...
</Suppliers>
</Manufacturer>
I would like to be able to use the Suppliers node as the source for the
XmlSerializer's Deserialize and Serialize methods. I figure that I can load
an XmlDocument, then select the Suppliers node using an Xpath query
(//Supplers). The question is how to send this to the XmlSerialier.
Moreover, what approach should it take for the serialization?
Any thoughts would be appreciated.
Thanks,
Craig Buchanan
manufactures products. It has the format:
<Manufacturer>
<Products>
<Product id="1" name="product a" price="1.00" />
...
</Products>
<Suppliers>
<Supplier id="1" name="supplier x" />
...
</Suppliers>
</Manufacturer>
I would like to be able to use the Suppliers node as the source for the
XmlSerializer's Deserialize and Serialize methods. I figure that I can load
an XmlDocument, then select the Suppliers node using an Xpath query
(//Supplers). The question is how to send this to the XmlSerialier.
Moreover, what approach should it take for the serialization?
Any thoughts would be appreciated.
Thanks,
Craig Buchanan