DBMS_XMLQUERY vs DBMS_XMLGEN: Any replacement for DBMS_XMLQUERY.seterrortag(sqlcontext, 'Any_Tag_Name')

235 Views Asked by At

Since Oracle version is upgraded. We have to replace all the existing DBMS_XMLQUERY functions to DBMS_XMLGEN. There is one function DBMS_XMLQUERY.seterrortag(sqlcontext, 'Any_Tag_Name'). We didn't get any replacement for this tag in XMLGEN. Any help will be appreciated.

1

There are 1 best solutions below

0
On

We get a fix by using xmlgen instead of dbms_xmlgen, so above tag looks like : XMLGEN.seterrortag('Any_Tag_Name'). Here we don't need to use sqlcontext