using .getXMLString() in JAVA code
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