special character is converted while reading XML data
789077Jan 31 2012 — edited Feb 1 2012Dear 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 &.
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