Hi,

it would be nice if the method numberValueOf() defined with
Element, would allow a default value if the specified xpath doesn't
return null result, e.g. numberValueOf(xpath, defaultval).

(This is similar to the attributeValue() method).

Also, it would be nice if there were a numberAttributeValue() method
which converts the attribute value to an integer (with a default value
if the attribute does not exist).

Silvain




_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to