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!

converting and xml string with xmlType

415398Mar 7 2004 — edited Apr 5 2004
I have a table that stores XML strings as longs. I am attempting to:
1) convert the xml string to an xmlType; and
2) insert it into an table that stores the xml as an xmltype

New table
test_xmls;
I NUMBER(38)
XMLVAL XMLTYPE

select xml_str into var_xml from table1;
vXML := XMLTYPE(recXML.m_xml);
insert into table2 values (1, vXML);



The problem is that when I go to table2 I only see the first line of the original xml string, the rest of the string is truncated.

Is there an issue with carriage returns in xml strings?

Is there another method of converting?

Cheers?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 3 2004
Added on Mar 7 2004
1 comment
539 views