Skip to Content
0
Former Member
Jul 17, 2007 at 01:27 PM

xml file into internal table

98 Views

Hi expert,

i am new to this.

i have a xml file:

<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>

- <RES SN="1" EN="3">

<M>197000</M>

- <R N="<b>1</b>" MIME="application/pdf">

16052007101641_Im% 2520NB.pdf

<T>Technoconcept Preisliste </T>

<SU><b>...</b> IM <b>Thinkpad</b> <b>...</b></SU>

<LANG>en</LANG>

- <HAS>

<L />

<C SZ="" CID="henz8UqtxSoJ" ENC="UTF-8" />

</HAS>

</R>

- <R <b>N="2" L="2"</b> MIME="application/pdf">

16052007101641_IM% 2520NB.pdf

<T>PREIS</T>

<SU><b>...</b> 16% MwSt. <b>sem</b> R Serie</SU>

<LANG>de</LANG>

- <HAS>

<L />

<C SZ="" CID="O6mX2_cHiB0J" ENC="UTF-8" />

</HAS>

</R>

- <R N="<b>3</b>">

_IM% 2520NB.pdf

<T>Technoconcept </T>

<SU> IM</b></SU>

<LANG>en</LANG>

- <HAS>

<L />

<C SZ="" CID="henz8UqtxSoJ" ENC="UTF-8" />

</HAS>

</R>

</RES>

but this is with dynamic notes, see like <R N="1">, <R N="2"> ,<R N="3"> , i want to parse this xml into a internal table

e. g.

IM% 2520NB.pdf

<T>Technoconcept </T>

<SU><b>...</b> IM <b>Thinkpad</b> <b>...</b></SU>

<LANG>en</LANG>

in

STRUCTUR or internal table

U

T

S

LANG

How can i do this?

Thanks a lot

Regards

Shuo