Bob,
> > I've tried it and I get an error on the following-sibling clause.
>
> Can you paste the error you're getting?
Statement:
Element nextSibling =
(Element)myElement.selectSingleNode("following-sibling::*");
Result:
D:\Temp\xmltest\build.xml:46:
org.dom4j.XPathException: Exception occurred evaluting XPath:
following-sibling::*. Exception: following-sibling
Hope that helps .....
Silvain
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user