Murry,

One small point..

Murray Altheim wrote:


String id = element.getAttributeNS("foo","id"); [snip] <foo:element xmlns:foo="http://www.foo.com/fur/";>

If you have a look at the DOM REC, the first param for getAttributeNS() should be the NS URI, not the prefix. So the line above shoudl be:


  String id = element.getAttributeNS("http://www.foo.com/fur/","id";);

HTH,
Mike.

--
Mike Gratton <[EMAIL PROTECTED]>
  Leader in leachate production and transmission since 1976.
  <http://web.vee.net/>



Reply via email to