vtd xml - vtd-xml: Autopilot: declareVariableExpr -


java vtd-xml has following api

class autopilot{     declarevariableexpr(java.lang.string varname, java.lang.string varexpr); } register binding between variableexpr name , variableexpr expression 

i have used simple variable bindings like:

abc => "some value"  

and autopilot can run expressions like

ap.selectxpath("concat(/a/b/text(),  $abc)"); ap.evalxpathtostring() 

my question is:

the api says binds variable variable expression. how bind variable expression? , usage of binding 'expression'?

try this. ap.declarevariableexpr("my_expr","/a/b/c");


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -