简体   繁体   中英

XML parsing without using DOMParser in JavaScript

I would like to parse a xlm feed into an Object in Javascript without using a DOMParser.

The reason I can't use a DOMParser is that I am in Airtable Automations, which does not allow importing/installing anything, so I can't use external objects.

I know there is an xlm import feature in Airtable but I can't use this because I want to automate this, and it would not allow automation.

I know Airtable apps allows library imports so that is my next choice, but I would prefer to work in Airtable automations because it will be easier.

The options it seems like I have are, copying an open source function that could parse my xlm, or using an external api which would parse it.

I have not found any APIs that do this and I found one function, but it got my xlm incorrectly.

My question is, does anyone know a (reliable) (basic) function that could do this, or any APIs? I would also welcome any thoughts, such as, "this is not possible to do" or that I need to customize my own one. Thank you very much.

Decided not to use airtable automations and instead do this work locally. Thanks everyone

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM