That worked. Thanks a bunch

- H

>From: "Edwin Dankert" <[EMAIL PROTECTED]>
>To: "Nichiketa s" <[EMAIL PROTECTED]>
>CC: dom4j-user@lists.sourceforge.net
>Subject: Re: [dom4j-user] Problems getting data
>Date: Wed, 4 Apr 2007 15:00:04 +0100
>
>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/

_________________________________________________________________
Get a FREE Web site, company branded e-mail and more from Microsoft Office 
Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/


-------------------------------------------------------------------------
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

Reply via email to