Or .[@is-attribute='true'] An XPath expression can't start with '[' so try use '.' or '*' depending on what you mean - both work like with file systems, "." means this element, * means all immediate child elements.
James ----- Original Message ----- From: "Silvain Piree" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 21, 2002 7:19 PM Subject: Re: [dom4j-user] XPath - Building expression using Strings - Exception > Alan, > > > def.addStringColumn( "Queue", "[@is_attribute='true']" ); > > Did you perhaps mean "*[@is_attribute='true']" ? > > Silvain > > > > _______________________________________________ > dom4j-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dom4j-user _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user
