File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes HOw to Convert org.w3c.dom.Document to oracle.xdb.XMLType Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "HOw to Convert org.w3c.dom.Document to oracle.xdb.XMLType" Watch "HOw to Convert org.w3c.dom.Document to oracle.xdb.XMLType" New topic
Author

HOw to Convert org.w3c.dom.Document to oracle.xdb.XMLType

Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi All,

i have org.w3c.dom.Document Object(its XML Document), i need to store this value into Database column of type XMLTYPE.

To store, i am calling one procedure in java, the procedure accepts XMLTYPE argument,

Is there any way to convert org.w3c.dom.Document to oracle.xdb.XMLType except using createXMLType of oracle.xdb.XMLType class.

because i dont want to connect to database.

i don't know how to do this, i searched a lot i didnt find any solution, please help me out,

Thanks In Advance,

Bennet Xavier. X
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HOw to Convert org.w3c.dom.Document to oracle.xdb.XMLType