Document doc=db.parse("C:xmljar/employee.xml"); //I need to use a xml string instead of file any ideas
NodeList nameNl=doc.getElementsByTagName("name"); now it works with using a employee.xml file but I need to use a string returned by a response in a servlet. I can't seem to find an API for this example String content ="<InScopeLogin><UserName>"+user+"</UserName><Password>"+password+"</Password></InScopeLogin>"
Then Document doc=db.parse(content);//instead of file
Thanks Ray Smilgius ------------------ Sun Certified Java Programmer Sun Certified Java Developer I-Net Certified A+ Certified Network+ Certified MCP [This message has been edited by Ray Smilgius (edited November 08, 2001).] [This message has been edited by Ray Smilgius (edited November 08, 2001).]