Skip to Content
0
Former Member
Mar 05, 2009 at 06:03 AM

XML File Prasing /

54 Views

Dear Experts,

I have generated XML file for Organization structure which will be mentioned below.

<?xml version="1.0" encoding="utf-8" ?>

- <OrganizationalStructureQueryResponse>

- <OrganizationalEntity>

<Type>O</Type>

<ID>50000700</ID>

<Relation>A$$$</Relation>

<RelationBeginDate>1980-18-00</RelationBeginDate>

<RelationEndDate>9999-12-31</RelationEndDate>

<Name>Larson and Tuobro Limitied</Name>

<BeginDate>2009-01-01</BeginDate>

<EndDate>9999-12-31</EndDate>

+ <Child>

- <Child>

u2026u2026u2026u2026u2026u2026

u2026u2026u2026u2026u2026u2026

Any idea how to parse the above XML tag (XML File) to following output format.

Or Any Function module available ?

- <OrganizationalStructureQueryResponse>

- <OrganizationalEntity Type="O"

ID="50000700"

Name="Larson and Tuobro Limitied"

Relation="A$$$" Relation

BeginDate="1980-01-01"

RelationEndDate="9999-12-31"

BeginDate="2009-01-01"

EndDate="9999-12-31">

+ <Child>

u2026u2026u2026u2026u2026..

u2026u2026u2026u2026u2026..

Your response will be highly appreciated.

Regards,

Sivakumar.A