Hi,

Before I get lots of replies about the Oz-stdlib and the expat module, I was wondering if anyone knows of a much simpler XML parser or how I can use the existing ones to get what I need. Although I need XML for my system (for programs in other languages), I can govern exactly what is produced by them and what they expect to see in return, so I don't need full XML compatability. What I was hoping for was an XML parser that would just give me a record with tags as sub-records and elements as feature/field pairs so that I can do things like:

X=Xml.tag1.tag2.element1

(in some ways very similar to the BeautifulSoup package for Python).
I did begin trying to write my own specialised parser but the recursion necessary gave me a serious headache :+) I guess it might be possible to create such a parser class derived from the existing ones but frankly I'm not expert enough to be able to do that.

I'd be very grateful if anyone can offer any help with this.

Regards

Mark Richardson
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to