You will have to specify a prefix for your mapping:
> Map namespaces = new TreeMap();
> namespaces.put("", "http://nasd.com/SharedServices/FUSS/FUSSDATA.xsd");
namespaces.put("test", "http://nasd.com/SharedServices/FUSS/FUSSDATA.xsd");
And in the xpath expression you should use this prefix:
> sJobXpath = "//*" + "/fussreport_";
sJobXpath = "//*" + "/test:fussreport_";
Regards,
Edwin
--
http://www.edankert.com/
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dom4j-user