FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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
Feedback please
StringTokenizer in JAVA and Xsl file
Adding textbox dynamically. HELP!
An Easier Way To Search An Array? Need Help Please.
XML/HTML parsing in PHP
PHP XML Parsing
Parsing a file with Javascript?
Custom Fonts WordPress Plugin
Extracting XML with PHP
old styles?
Is there a simple way to convert a DOM back to HTML?
PHP loading in .htm and .html sites
The XSLT-DSD chaos
Parsing XML Data using Regular Expressions
Reply to topic    Frihost Forum Index -> Computers -> Software

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