Hi, I'm trying to parse a string (that is an xml document). It looks like this:
<blah><Private xmlns="http://frodo/hobbit"><Item1>cheese</Item1><Item2>ham</Item2></Private></blah> by doing this: Docment docIn = DocumentHelper.parseText(input); and then trying to retrieve values by: docIn.valueOf("//Item1"); and this fails, it looks like due to the xmlns attribute in the input xml. How do I deal with this type of xml input? Thanks, Dennis ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user