Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
umashankarus
Contributor III
Contributor III

Extract data between specific xml elements in a clob

Hi Experts,

I have a clob field which has the data stored with XML formatting

And I wanted to extract specific data (expiry date value) from that field

 

Below is an excerpt from the clob field

.......

<NAME>EXPIRY_DATE</NAME>
<VALUE>04/15/2022</VALUE>

......

 

In the above example, the <NAME> and <VALUE> are in different lines

and using the below is not fetching the expected date value

TextBetween(MESSAGE,'<NAME>EXPIRY_DATE</NAME><VALUE>','</VALUE>')

 

Can you please provide inputs to extract the data ?

 

Thanks,

Umashankar

Labels (1)
1 Reply
chrismarlow
Specialist II
Specialist II