Skip to Content
0
Former Member
Jan 08, 2008 at 12:15 PM

Read xml in string

16 Views

I have a xml in a string, i want read this string.

The xml is this:

data xml type string.

xml = concatenate '<?xml version='1.0' encoding='iso-8859-1'?>'

'<MATERIALS>'

'<MATERIAL>'

'<CANT>2</CANT>'

'<ARTICULO>del</ARTICULO>'

'</MATERIAL>'

'<MATERIAL>'

'<CANT>1</CANT>'

'<ART>per</ART>'

'</MATERIAL>'

'</MATERIALS>' into xml.

I need pass the xml to internal table MATERIALS with the fields: CANT and ART.

How can i do this? thanks