KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums kdb+ Parsing XML messages in kdb+ Re: Parsing XML messages in kdb+

  • Laura

    Administrator
    December 2, 2021 at 12:00 am

    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