cancel
Showing results for 
Search instead for 
Did you mean: 

Parsing XML In UDF

Former Member
0 Kudos

Hello all,

I am getting a complete XML file as a string in a single element of a input message . can anyone please provide me the code template of how to parse this XML in UDF .

Thanks,

Keith

Accepted Solutions (0)

Answers (3)

Answers (3)

prateek
Active Contributor
0 Kudos

U may use DOM parser or SAX parser

Providing whole code wouldnt be possible as the code should be written according to ur input XML

The link will provide u information about which parser to use along with the example

http://totheriver.com/learn/xml/xmltutorial.html

Regards,

Prateek

former_member529475
Active Contributor
0 Kudos

HI Keith

Check the following thread.. same kind of problem solved here...

Cheers..

Vasu

<i>** Reward Points if found useful **</i>

bhavesh_kantilal
Active Contributor
0 Kudos

Check the code in my Blog. It shows how to parse the response XML.

/people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function

regards

Bhavesh