FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

XML and using DOM or SAX parser

 


mike_phi
Hi there, just looking for tips when using XML parsers

I have a xml dcument that contains variuos element which are normally handeled in a hirachy hence a DOM parser works perfectly.

however I am hoping to be able to acces each element within the xml document independant of the hirachy normally build by the DOM parser.

here is what I am thinking just need your opinions as well as any sample code you might know of.

I am thinking of using the SAX parser directly and writing event handelers to handel the various elements that are extracted, would this be the best way to split up the topology into single elements or should I rather make indepentant xml documents containing each element (this) seems like the hard way ???

any pointers

cheers
Related topics

XML/HTML parsing in PHP
StringTokenizer in JAVA and Xsl file
An Easier Way To Search An Array? Need Help Please.
PHP XML Parsing
Extracting XML with PHP

Is there a simple way to convert a DOM back to HTML?
PHP loading in .htm and .html sites
Feedback please
Adding textbox dynamically. HELP!
Custom Fonts WordPress Plugin

Parsing a file with Javascript?
old styles?
DOM XML Functions
AJAX?
What's New in Pocket Internet Explorer
Reply to topic    Frihost Forum Index -> Computers -> Software

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.