I need to write a code for getting an XML file... and
get the elements attribs and values of all elements.
the program shud work for ne general file.
can ne1 help me on this?
I am making a DocumentBuilderFactory object which
makes a DocumentBuilder object which can use the parse
method to parse the file.
the parser can get the root element by using the
getDocumentElement method.
now the XML file can be nested in any way... so i need
to get the child nodes...and then see if it has ne
more child nodes etc.
can ne1 put some light on wht i need to do.
I am a novice in JAVA...