Tuesday, February 24, 2015 at 2:57 PM

Question about JavaScript and XML

Update: I came up with a different solution, so this is no longer a priority for me.

I want to write a routine that emojifies an OPML file.


It takes OPML text as input, parses it, walks the whole structure, and emojifies the text, and then replaces the original text with the new text.

At the end of the traversal, it re-serializes the XML text, and returns it.

However, I get an error at the crucial point, the call to serializeToString.

Uncaught TypeError: Failed to execute 'serializeToString' on 'XMLSerializer': Invalid node value.

Last built: Mon, Aug 24, 2015 at 9:07 AM

By Dave Winer, Tuesday, February 24, 2015 at 2:57 PM. Yeah well, that's just, you know, like, your opinion, man.