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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Get tag name in tXmlMap

Hi all,
I'm trying to use the tXmlMap component to parse my XML.
Everything is working except I want to get the name of a tag (escpecially the name of the tag set as loop).

How could I use the name() inside a XML map ?
Thank you in advance for any help.

Regards,
Cassano O.

Labels (2)
2 Replies
Anonymous
Not applicable
Author

Hi 
The XML tree structure of XML file is defined at design time, I don't understand why you need to get the tag name? Can you please explain it further?
Anonymous
Not applicable
Author

Hi Shong,
Thank you for your answer.
Here is an example of XML I have to parse :
<root>
   <Event>
        <eventType1>
             <data value="1">
        </eventType1>
   </Event>
   <Event>
        <eventType2>
             <data value="2">
        </eventType2>
   </Event>
</root>

What I want is a row containing :
eventType1,1
eventType2,2

I actually found a solution using a tXMLInput, but I was wondering if that would be possible with a tXMLMap.

Regards,
Orlando