How to Retrieve Dropped Variables in XML Decode

Options

Hello again!

I am using this XML: https://www.youtube.com/feeds/videos.xml?channel_id=UCYKyAnIssgNJ3rUFra2fGJQ

When navigating to the URL, I can see variables in the object called media:group. When I run an API request and use XML decode on the results in Xano, the media:group object drops off.

Any ideas on why that may be? The only thing I could think of would be the format using the ":", but I wasn't sure.

Cheers!

Tagged:

Answers

  • Chris Coleman
    Chris Coleman Administrator

    ADMIN

    Options

    Hi, @5h8yn8! Can you try using a Get File Resource Data step to pull the raw XML into the function stack, and use a "replace" filter to essentially rename the keys that have a : present? I'm not sure if that's the issue, but it's a nice and quick fix if so! Let me know how it goes.