Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to handle idRef in XML ?

Hi,

I got an XML file to parse, this one got reference with idRef.
I want to go through them, and insert my XML elements to database, that mean that I have to insert referenced element before creating my key.

Is there a better method ?
Here's an example, near the start of the file :
<ASTl>
<AST00 id="1" name="test">
<AST01>3</AST01>
<AST02>String</AST02>
<AST25LEAl>
<LEA00 id="1">
<LEA01>true</LEA01>
<LEA02 idRef-LEA="22"/>

In the middle of file :
<LEA00 id="22">
<LEA01>true</LEA01>
<LEA03>1</LEA03>
<LEA04>1</LEA04>

Thanks a lot

Labels (4)
1 Reply
Anonymous
Not applicable
Author

Connect to tXmlMap and map only the fields you need