Link
Project
It took a while make The only problem is that xml tags like <foo bar="qux"/>
don't work.
How It Works
- Split xml string by tags (Turn xml into a list)
- Get contents and arrange them in the right order
- Add indicators (To tell if it's a tag or content inside a tag)
- Remove glitched tags
- Return result
Sorry if that didn't make sense, it was late when I wrote this.
dardoro
2
There was already such a thread
Sometimes it's useful to process XML as a list of {path, value}.
You would have to make some interpreter to turn that into a list that is easy for someone to code.
I added the ability to get the value of a tag!
The second item of that first item should be this:
Oh. I forgot when I wrote that post.
now it takes all the attributes in a list for you to use!
link: XML with attributes!
May I use this for this project? And do I have to give credit?
it's always best to give credit, even if the creator doesn't specifically say to.
you can use my addition, just add a comment or smth in proj notes saying I helped with that
OK! Thanks for contributing!