can anyone help me out in parsing a simple XML

Share

i am new to XML
can anyone help me out in parsing a simple XML with a small

example.

Al-Salamo 3alaykom:

 

There's a java technology called JAXP, those are links that will help you cathc up the topic:

 http://www.developer.com/java/other/article.php/1155041

http://www.oreillynet.com/pub/d/844

http://www.brics.dk/~amoeller/XML/programming/jaxp.html

 

Hope ihave helped 

Ayman Emam,
4th year, Computer Science Department,
Faculty of Computers and Information,
Cairo University, Egypt.


Actually the answer can depend on what you want to do by parsing the XML, since there's a lot of tools for XML parsing, some of them:

- SAX
- DOM

- JAXB: Interesting techonology, as it creates JAVA classes from XML schema, and allows accessing XML documents through this java classes.  

 some wikipedia links, it contains some very good links

http://en.wikipedia.org/wiki/Simple_API_for_XML

http://en.wikipedia.org/wiki/Xerces

http://en.wikipedia.org/wiki/Java_API_for_XML_Processing

http://en.wikipedia.org/wiki/JAXB

 ..Abdelhalim

http://abdelhalim.wordpress.com

parsing_xml_file_using_dom

 check it, I made a sample to parse a file and add new node.


Ahmed Hashim

Software Engineer

hashimblog/