commons-user mailing list archives

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

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?

thanks,
augusto.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message