How to Retrieve Dropped Variables in XML Decode
Options
5h8yn8
Member ✭
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
-
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.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback