Java Read XML File [closed]

master_tz

New Member
I am trying to read an XML document I thought there was a simple way to do it, and not use a library that uses \[code\]getNode()\[/code\], one where you can call the node directly like I display below.Take this example XML String\[code\]<?xml version="1.0"?><root> <one>1</one></root>\[/code\]I thought I could do something like this:\[code\]Obect xml = parseXML(xmlString);System.out.println(xml.one);\[/code\]Am I wrong?
 
Back
Top