Skip to Main Content

Database Software

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!

Questions relating to Processing ACORD TXLIFE XML content

LRAJESHNov 25 2010 — edited Nov 26 2010
<PropertyName xmlns="http://ACORD.org/Standards/Life/2">LastName</PropertyName>
<PropertyName xmlns="http://ACORD.org/Standards/Life/2">GovtID</PropertyName>
<PropertyName xmlns="http://ACORD.org/Standards/Life/2">GovtIDTc</PropertyName>
<PropertyName xmlns="http://ACORD.org/Standards/Life/2">ResidenceState</PropertyName>
<PropertyName xmlns="http://ACORD.org/Standards/Life/2">ActivityTypeCode</PropertyName>
<PropertyName xmlns="http://ACORD.org/Standards/Life/2">ActivityDescription</PropertyName>
<PropertyName xmlns="http://ACORD.org/Standards/Life/2">UserCode</PropertyName>
<PropertyName xmlns="http://ACORD.org/Standards/Life/2">ActivityTypeCode</PropertyName>
<PropertyName xmlns="http://ACORD.org/Standards/Life/2">ActivityStatus</PropertyName>
<PropertyName xmlns="http://ACORD.org/Standards/Life/2">ActivityTypeCode</PropertyName>
<PropertyName xmlns="http://ACORD.org/Standards/Life/2">Closed</PropertyName>
<PropertyName xmlns="http://ACORD.org/Standards/Life/2">Closed</PropertyName>


i want to extract these values
LastName
GovtID
GovtIDTc
ResidenceState like this i am using the query here can any body help me on this


For I In (SELECT extract(value(t),'//CriteriaExpression/Criteria/PropertyName','xmlns="http://ACORD.org/Standards/Life/2"').getstringval() pname
FROM TABLE (XMLSEQUENCE (EXTRACT(xml_data_val,'/TXLife/TXLifeRequest/CriteriaExpression','xmlns="http://ACORD.org/Standards/Life/2"'))) t
)
LOOP
DBMS_OUTput.PUT_LINE(i.pname);
END LOOP;

Edited by: mdrake on Nov 26, 2010 7:22 PM
This post has been answered by mdrake-Oracle on Nov 26 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 24 2010
Added on Nov 25 2010
5 comments
718 views