commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From augusto callejas <>
Subject jxpath >> using variables
Date Sat, 19 Mar 2005 18:36:45 GMT

i want to use variables in this way:

 JXPathContext context = JXPathContext.newContext(bean);
 context.getVariables().declareVariable("property", new Integer(2));
 context.setValue("/property", "$property");

that is, i want to reference a variable as part of the value,
not just as part of the reference in a getValue() call.

is this currently not supported?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message