J
Jimbo
I've never used XML and Java together, so apologies for the basic question.
In fact I've hardly ever used XML before to be honest.
How do I extract data from an XML file and use that data to generate an
object? Obviously I'll generate the XML elsewhere, and define the classes
myself - but I want to instantiate the classes by reading from an XML data
source and filling in the attributes of the class using the data from the
XML.
Any tips, techniques, advice or pointers to reading material would be
appreciated.
In fact I've hardly ever used XML before to be honest.
How do I extract data from an XML file and use that data to generate an
object? Obviously I'll generate the XML elsewhere, and define the classes
myself - but I want to instantiate the classes by reading from an XML data
source and filling in the attributes of the class using the data from the
XML.
Any tips, techniques, advice or pointers to reading material would be
appreciated.