Hi guys,

I'm tyring to use a local variable ($findfinal) into a xpath expression,
like this:

$unix-account-found//attr/value[starts-with(text(),'$findfinal')]

but $findfinal is not resolved, it's just used like a string, in fact if
$unix-account-found//attr/value start with "$findfinal" string, it is
matched...

With static string, works:

$unix-account-found//attr/value[starts-with(text(),'hmbvr004|netiq')]

How can I use a local variable in this situation?

thanks


--
dpanichi
------------------------------------------------------------------------
dpanichi's Profile: https://forums.netiq.com/member.php?userid=815
View this thread: https://forums.netiq.com/showthread.php?t=50547