Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Oracle XML Help.

Status
Not open for further replies.

pavendan

Programmer
Mar 23, 2002
1
IN
When i try to form xml structure using DBMS_XMLQuery.GetXML, for one particular query it gives the following error:
"oracle.xml.sql.OracleXMLSQLException: The row enclosing tag or the row-set enclosing tag is ommitted; consequently to get a well formed XML document, the result can only consist of a single row with multiple columns or multiple rows with exactly one column each."

Any info on why this problem occurs?
 
Have you tried this:

DBMS_XMLQuery.setRowSetTag(<queryContext>, <rowSetTag>);
DBMS_XMLQuery.setRowTag(<queryContext>, <rowSetTag>);

This will set your row set and row tags for the query context.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top