|Loading an XML file with SDO [message #1053131]
||Thu, 02 May 2013 11:25
| Ayoub El Barji
Registered: April 2013
I am trying to load an xml file as data Object thanks to SDO.
I want to parse it for gather all the data contained.
But i am facing a problem, there is datas missing.
How can i load my xml file with the best way for having access to all my variables and their values.
i am using this code below:
FileInputStream inputStream = new FileInputStream("model/can_db.xsd");
XMLHelper xmlHelper = helperContext.getXMLHelper();
File file = new File("model/tiny.xml");
FileInputStream xml = new FileInputStream(file);
XMLDocument xmldoc = xmlHelper.load(xml,null,null);
DataObject modelSDO = xmldoc.getRootObject();
Thank you for your Help
Powered by FUDForum
. Page generated in 0.19298 seconds