James, James,
> I'm wondering about solving this problem in a slightly different way, by > providing an XPath extension function. That would be a nice alternative solution! Would even be better than my suggestion. Except for my request for an numericAttributeValue() method, which isn't covered by your solution. I understand that you have to make choices when designing the API. My request for numericAttributeValue() was triggered by the fact that the method numericValueOf already exists, so a wouldn't be too different from the rest. > Since if the first XPath expression doesn't return anything the second one > will be used. This is nice as it can be arbitrarily long such as But what if the first XPath expression does return a value, will the end result not contain both values (instead of only the first)? Silvain _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user
