From: Ean V. <ve...@ho...> - 2003-04-18 17:48:49
|
Howdy folks, I'm spinning my wheels with getContentAsSAX and DOM to parse the ResourceSet returned from my various queries... All the examples use getContent() as a string to display query results. This is nice for debug but I want the tags and values. - SAX works but is cumbersome to setup a state machine to build a data structure. - DOM I get the entire document for each hit! (rather than just the elements that are printed by getContent()). How do I tell what elements were hit using DOM??? I'm tempted to write some XML string parsing routines myself but there must be an easier way... How do ya'll do it??? _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail |