Parsing XML messages in kdb+

https://learninghub.kx.com/forums/topic/parsing-xml-messages-in-kdb

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?

 

Hi Alex,

Thanks for your question!

There is no direct way to read XML into q, however one of our KX experts 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