Hello...,

        I get the following exception when using the following:

XMLTableDefinition def;
....
// xmlBranch is the current branch selected in my JTree
...
def.setRowExpression(xmlBranch.getUniquePath());
def.addStringColumn( "Queue", "[@is_attribute='true']" );
...


The following exception:

org.dom4j.InvalidXPathException: Invalid XPath
expression:[@is_attribute='true'] Unexpected '['


!! how can this be an invalid XPath expression

Are there rules for going from a String 'expression' to a XPath
xpression
I need to use the '[' ']' operators as defined in XPath but again dom4j
doesn't allow be to do this in the above code...


Thanks in advance,
Alan



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

Reply via email to