A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
XML and Related Technologies
creating objects from an XML file
Joined: Sep 28, 2005
Oct 19, 2005 09:02:00
I want to pull data from an XML file and place it in a
object. Im using SAX to parse the file .
Do I need to wrap XML data in an objectinputstream method to use the values?
Joined: Oct 14, 2005
Oct 19, 2005 10:25:00
No. You get data from SAX as strings. Those strings may be element names or attribute values or text nodes or whatever. You can use normal Java programming techniques to create objects that contain those strings.
Don't get me started about those stupid
subject: creating objects from an XML file
Extract db data into a XML
Extract xml to store into db
Reload XML, before Parsing
Tomcat gets crazy...
How to do XML to DB using Message Driven Bean?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014