Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> pl/sql xmltype extract and single quotes
I am using PL/SQL and have created a table with a column of XMLTYPE. I
am able to put XML data in it and extract it into columns in a view.
If XML that has a single quote it, the single quote itself is returned as '
Is there a way to have it returned as a single quote?
This is the code I am using.
To insert:
To extract:
OUTPUT
Second question: Is there a way to do the same process above with XML saved in a varchar2 field?
Thank you!!!
Karl Albrecht Received on Sat Feb 12 2005 - 01:13:33 CST