Java to XML using ANTLR
2 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Wednesday, July 10, 2002 07:15 PM


I would like to obtain the AST result and transform it to XML.
I do know ANTLR provide the following functions to doing that

public void xmlSerialize(Writer out)
public void xmlSerializeNode(Writer out)
public void xmlSerializeRootOpen(Writer out)
public void xmlSerializeRootClose(Writer out)

I have been spent weeks to get that working but seem that it does not work.
Could you please give me an example how to get it done???


Re: Java to XML using ANTLR

Posted By:   Jeff_Martin  
Posted On:   Monday, July 15, 2002 10:06 AM

Have a look at
the code that's there is a bit old. I've got a newer version locally, but it's still doesn't handle whitespace the way I'd like it to.

Re: Java to XML using ANTLR

Posted By:   Jeffrey_Law  
Posted On:   Thursday, July 11, 2002 06:43 AM


I am working on something similar. (converting files to XML)
Any contacts to exchange such as ICQ, email so that we can discuss in details anything pertaining to our projects?
About | Sitemap | Contact