Parsing XML file

Hi friends,

I have created a Buffer class with read, write and print methods. Now i
need to implement this class in my parser class. could any one help me
to do methods

def tag
end

def tag_end

end

def next!

end

def next_token

end

Please help me with your suggesstions and code

thanks in advance

···

--
Posted via http://www.ruby-forum.com/.

http://www.slash7.com/pages

···

On Nov 26, 4:36 am, Martin Durai <mar...@angleritech.com> wrote:

Hi friends,

I have created a Buffer class with read, write and print methods. Now i
need to implement this class in my parser class. could any one help me
to do methods

Probably so, but just in case maybe he should start with:
http://www.xml.com/pub/a/2005/11/09/rexml-processing-xml-in-ruby.html

and that's all I'm gonna write.

Phrogz wrote:

···

On Nov 26, 4:36 am, Martin Durai <mar...@angleritech.com> wrote:

Hi friends,

I have created a Buffer class with read, write and print methods. Now i
need to implement this class in my parser class. could any one help me
to do methods

http://www.slash7.com/pages

Heh, yeah. But I can sympathize, because I also wish that other people
would randomly write me XML lexers. And give me lots of money. And
sandwhiches. That would be nice.

Regards,
Jordan

···

On Nov 26, 8:29 am, Phrogz <phr...@mac.com> wrote:

On Nov 26, 4:36 am, Martin Durai <mar...@angleritech.com> wrote:

> Hi friends,

> I have created a Buffer class with read, write and print methods. Now i
> need to implement this class in my parser class. could any one help me
> to do methods

http://www.slash7.com/pages