even easier XML parsing: Annotations?

"Reinier Zwitserloot" <[email protected]> Sun, 04 Dec 2005 04:48:13 -0000
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
I was scanning the new annotations-based method for configuring hibernate, and then it hit 
me: 'configuring' an xml parser in a similar vein shouldn't be too difficult.

I hacked an implementation together over the weekend.

As a bunch of XML parsing veterans, I wouldn't mind hearing some of your thoughts on it.

Here's a tutorial that creates a parser for ATOM in about 10 minutes:

http://www.zwitserloot.com/java-boilerplate/mox/tutorial.html

This method of XML parsing is easiest if the XML structure is known to you - using this to 
write a generic XML editor, for example, isn't going to work. That's where DOM is really good 
at, anyway.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/2U_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xmlpull-dev/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/