On Fri, Feb 19, 2010 at 5:13 PM, Ketan Maheshwari < ketancmaheshw...@gmail.com> wrote:
> ... > > For instance the following assignment statement : > > in = ["t1 hyde"%patient:"mr hyde", "t1 argan"%patient:"mr argan"] > > is equivalent to the following xml: > > <source name="in" type="String"> > <array> > <item><tag name="patient" value="Mr Hyde" />T1 Hyde</item> > <item><tag name="patient" value="Mr Argan" />T1 Argan</item> > </array> > </source> > > The tagnames and elementnames are not important as such but the fact that > they map as per the tree structure and the process is automated. > Have a look at "rewrite rules": http://www.antlr.org/wiki/display/~admin/2008/04/11/Rewrite+rules Regards, Bart. List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to il-antlr-inter...@googlegroups.com. To unsubscribe from this group, send email to il-antlr-interest+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.