cancel
Showing results for 
Search instead for 
Did you mean: 

Parsing XML messages in kdb+

Alex4
New Contributor

I have a table which includes an XML  column which I need to parse. 

Are there any libraries/parsers out there which I can use or do I have to do it manually? 

 

1 REPLY 1

Laura
Community Manager Community Manager
Community Manager

Hi Alex,

Thanks for your question!

There is no direct way to read XML into q, however one of our KX experts @RianOC has previously shared a utility he wrote called qxml using embedPy to extract XML data into a kdb+ process.

Another route you could take might be to use .j.k if you are able to convert the XML to JSON (which q can natively parse).

Hope this helps!

Thanks,

Laura