Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

using .getXMLString() in JAVA code

229641Aug 15 2002
I was trying to experiment in what XML output I would get from a query on a database of mine so in a JAVA program outside the database I tried:

OracleXMLQuery oxq = new OracleXMLQuery(conn, query);
oxq.setRowsetTag(row set");
oxq.setRowTag("row");
return oxq.getXMLString();

If oxq.getXMLString() is commented out it runs fine (but does nothing visable) but when is there I get a comolation error:

oxq.getXMLString(); gets error on compiling: Error(776,21): cannot access class org.w3c.dom.Node; file org\w3c\dom\Node.class not found

Why is this happening? Sorry if this a silly question
Many thanks for your help

Hannah Birch
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 8 2002
Added on Aug 15 2002
4 comments
738 views