I use PI 7.0 ,the source structure is like this:
http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
http://www.w3.org/2001/XMLSchema">
...
http://www.w3.org/XML/1998/namespace" name=" NodeA">
<xsd:element name="NodeA" type="NodeA" minOccurs="0" maxOccurs="unbounded" />
<xsd:attribute name="ID" type="xsd:string" />
<xsd:attribute name="NAME" type="xsd:string" />
</xsd:complexType>
</wsdl:types>
<wsdl:message name="root">
<wsdl:part name="root" element="root" />
</wsdl:message>
</wsdl:definitions>
"NodeA" is recursive type.
I want to transform the source data to flat file.
examples:
source xml(tree):
101 AAA
__201 BBB
_______301 CCC
_______302 DDD
_____________401 EEE
destination (flat file):
ID NAME FID
101 AAA
201 BBB 101
301 CCC 201
302 DDD 201
401 EEE 302
Because NodeA is recursive, I can not make the mapping work.
can Anyone help me?
Thanks!
Edited by: Harry on Feb 26, 2009 8:50 AM
Edited by: Harry on Feb 26, 2009 8:51 AM