If you try following query: <xu:modifications version="1.0" xmlns:xu="http://www.xmldb.org/xupdate"> <xu:append select="/element"> <xu:element name="style"> <xu:attribute name="attr1"/> <xu:attribute name="attr2"/> <xu:attribute name="attr3">0</xu:attribute> <xu:attribute name="attr4"></xu:attribute> </xu:element> </xu:append> </xu:modifications>
Xindice gives a lot of the following messages: * java.lang.Exception: no nodes selected ! * java.util.NoSuchElementException If I ommit attributes 1, 2 and 4 in my query, it works fine. Is this a restriction/bug of Xindice or just the definition of XUpdate? Temporary I work around this problem by setting the value to any arbitrary value and updating it to "". David. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
