Parse XML

We have a very unique xml format where all the elements have “:” example as per below:

	<stk:code>1264240</stk:code>
				<stk:isSales>true</stk:isSales>
				<stk:isInternet>false</stk:isInternet>
				<stk:purchasingRateVAT>high</stk:purchasingRateVAT>
				<stk:sellingRateVAT>high</stk:sellingRateVAT>
				<stk:name>FILTEREINSATZ /160 D010 BH4HC</stk:name>
				<stk:nameComplement>5085,5130,5170</stk:nameComplement>

how can i read this format?
thanks

https://ask.streamsets.com/question/1435/cant-parse-xml-element-names-containing-colon/

Does this help? I have no first-hand experience and you are likely to get a more informed answer later.

I found this but it didn’t help

Well, uncheck the answered button and hope for better advice :slight_smile:

Sorry.

What do you need to do?
Loading is the same, navigation by node (firstChild, nextsibling etc) is the same.

If you want to use XQL you have to define the name space (stk) , there are tons of examples in this forum

In stk:code “stk” is the namespace… which should be declared at the top of the xml file. see: https://en.wikipedia.org/wiki/XML_namespace