jQuery in Action, 2nd edition*
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
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
 
 
subject: HOw to Convert org.w3c.dom.Document to oracle.xdb.XMLType