My Oracle Support Banner

ORA-21700 Using Xmlelement In A Select Statement (Doc ID 741510.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Server - Enterprise Edition - Version: and later   [Release: 10.2 and later ]
Information in this document applies to any platform.


The following query using xml functions gives error ORA-21700

xmlattributes('' AS "xmlns",
'' AS "xmlns:xsi",
' CheckBook.xsd' AS "xsi:
'useridvalue' AS "userId")
).getStringVal() as test_output
FROM dual;

FROM dual
ORA-21700: object does not exist or is marked for delete

This code runs ok in 9i


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.