tXml
tXml copied to clipboard
support for changing items inside JSON with help of existing methods like getElementsById
Thank you for lib ❤️. This is a feature request.
Right now getElementById returns a parsed XML object, but it would be great if we could change and replace it inside the original JSON and convert it to XML.
I am not sure if I understand this suggestion right, you would like this one element as a string? Then the txml.stringify
method can be used.
I am not sure if I understand this suggestion right, you would like this one element as a string? Then the
txml.stringify
method can be used.
No I am saying, if it would change any object in the parsed XML realtime it would be great. for example changing one entire key object values and parse it back XML. one such method addition
I am not sure if I understand this suggestion right, you would like this one element as a string? Then the
txml.stringify
method can be used.No I am saying, if it would change any object in the parsed XML realtime it would be great. for example changing one entire key object values and parse it back XML. one such method addition
Didn't understood this. You can use txml.stringify
every time you want to reflect changes