Re: svn commit: r788176 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java

2009-06-24 Thread Adrian Crum
I didn't know that. Thanks for the info! -Adrian Adam Heath wrote: Adrian Crum wrote: My preference would be to change the Element parameter to a Node parameter - that would make the method more flexible. Node doesn't have getAttribute(String), only getAttributes(), which returns a NamedNode

Re: svn commit: r788176 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java

2009-06-24 Thread Adam Heath
Adrian Crum wrote: > My preference would be to change the Element parameter to a Node > parameter - that would make the method more flexible. Node doesn't have getAttribute(String), only getAttributes(), which returns a NamedNodeMap. That, in turn, is a String->Node mapping, so you'd have to get

Re: svn commit: r788176 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java

2009-06-24 Thread Adrian Crum
My preference would be to change the Element parameter to a Node parameter - that would make the method more flexible. -Adrian doo...@apache.org wrote: Author: doogie Date: Wed Jun 24 20:39:32 2009 New Revision: 788176 URL: http://svn.apache.org/viewvc?rev=788176&view=rev Log: Egg on face, ne