Helping ordinary people create extraordinary websites!
   

How to read xml dynamically (when tags are unknown)?

Thursday, 3rd September 2009
by tgirishkum


How can we read XML tags when we dont know what the tags are going to come will be. Say the input is some ASN. 1's XML format, so we don't know the tags names from beforehand.

Also we have to read all nested tags.

What approach should i use?





More Java Help:
» Source code to implement non persistent cookie?
» A simple way to read a CSV file into Java?
» Convert xml file to Text file using Java
» How could i implement the single sign off? if i already have a single sign on over web..
» Why are there no inline functions in the Java language?
» What is the java code to read a xml database?
» Security:portal-identity problem
» How to writea record into XML file by using Java