I am building an XML serializer of JavaScript Abstract Syntax Trees with ANTLR. The generator is quite complete but I would like to know if there are any conventions about some issues such as:
- how handle angle brackets in strings or regular expressions?
- how to translate if-then-else (e.g. will the else node be inside the if one or not)?
More generally: does such a translator already exist? Is there any existing XSD for this XML-based language?
EDIT
I am currently interested in free tools only.