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!

special character is converted while reading XML data

789077Jan 31 2012 — edited Feb 1 2012
Dear all,

i am reading an xmltype column from a table and storing the value of the same in a Varchar2. i am using the below query.

SELECT RECID , E.XMLRECORD.GETCLOBVAL () AS POXML FROM MY_TABLE E;

Result
-----------
'MINOR&apos

the issue is when reading the data all the special character is changed for example single quotes ' display as &apos and & display as &amp.

i do not want this to happen i need the value as it is.

Result Expected

------------------

'MINOR'

need to know how to do this asap.

Thanks & Regards
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 29 2012
Added on Jan 31 2012
9 comments
4,952 views