There is an exception appearing at XMLBuilder.build(obj): textValue.replace is not a function #600
Closed
5 of 6 tasks
Labels
Pending
Pending to be confirmed by user/author for some check/update/implementation
yes ,now is 4.2.6
Description
I want to modify an SVG in a Node environment. I have successfully serialized it into a JavaScript object, but when trying to convert it back to XML, I encountered errors that I cannot resolve.
I am providing the detailed output of the XML file and JSON.Perhaps I have misconfigured something, but I don't know how to set it up correctly, and I'm unsure of the proper configuration needed to preserve the attributes of the XML. As you can see, this is a piece of SVG code, and it may contain attributes with special characters, such as xlink:href.
Input
xml:
Code
Output
json 1
json 2
error
expected data
I would like to obtain a correct and attribute-containing XML.
Would you like to work on this issue?
Bookmark this repository for further updates. Visit SoloThought to know about recent features.
The text was updated successfully, but these errors were encountered: