Hi,
I dont know why this is happening but I have a delimited string which I
convert into a nodeset with token-split. I iterate through the nodeset
and strip current-node but it doesnt. Can anybody help me with this??

How can I make it wrk?

Here's sm sample log

*[05/02/09 20:56:31.628]:Generic Loopback ST: Action:
do-set-local-variable("constant",scope="policy","a#b#C").
[05/02/09 20:56:31.630]:Generic Loopback ST:
arg-string("a#b#C")
[05/02/09 20:56:31.630]:Generic Loopback ST:
token-text("a#b#C")
[05/02/09 20:56:31.632]:Generic Loopback ST: Arg Value:
"a#b#C".
[05/02/09 20:56:31.634]:Generic Loopback ST: Action:
do-set-local-variable("constantnode",scope="policy",arg-node-set(token-split("#",csv="false",token-local-variable("constant")))).
[05/02/09 20:56:31.637]:Generic Loopback ST:
arg-node-set(token-split("#",csv="false",token-local-variable("constant")))
[05/02/09 20:56:31.638]:Generic Loopback ST:
token-split("#",csv="false",token-local-variable("constant"))
[05/02/09 20:56:31.640]:Generic Loopback ST:
token-split("#",csv="false",token-local-variable("constant"))
[05/02/09 20:56:31.641]:Generic Loopback ST:
token-local-variable("constant")
[05/02/09 20:56:31.642]:Generic Loopback ST: Token
Value: "a#b#C".
[05/02/09 20:56:31.642]:Generic Loopback ST: Arg Value:
"a#b#C".
[05/02/09 20:56:31.643]:Generic Loopback ST: Token Value:
{"a","b","C"}.
[05/02/09 20:56:31.644]:Generic Loopback ST: Arg Value:
{"a","b","C"}.
[05/02/09 20:56:31.645]:Generic Loopback ST: Action:
do-for-each(arg-node-set(token-local-variable("constantnode"))).
[05/02/09 20:56:31.646]:Generic Loopback ST:
arg-node-set(token-local-variable("constantnode"))
[05/02/09 20:56:31.646]:Generic Loopback ST:
token-local-variable("constantnode")
[05/02/09 20:56:31.648]:Generic Loopback ST: Token Value:
{"a","b","C"}.
[05/02/09 20:56:31.648]:Generic Loopback ST: Arg Value:
{"a","b","C"}.
[05/02/09 20:56:31.649]:Generic Loopback ST: Performing actions
for local-variable(current-node) = "a".
[05/02/09 20:56:31.650]:Generic Loopback ST: Action:
do-strip-xpath("$current-node").
[05/02/09 20:56:31.652]:Generic Loopback ST: Performing actions
for local-variable(current-node) = "b".
[05/02/09 20:56:31.653]:Generic Loopback ST: Action:
do-strip-xpath("$current-node").
[05/02/09 20:56:31.655]:Generic Loopback ST: Performing actions
for local-variable(current-node) = "C".
[05/02/09 20:56:31.656]:Generic Loopback ST: Action:
do-strip-xpath("$current-node").
[05/02/09 20:56:31.658]:Generic Loopback ST: Action:
do-for-each(arg-node-set(token-local-variable("constantnode"))).
[05/02/09 20:56:31.660]:Generic Loopback ST:
arg-node-set(token-local-variable("constantnode"))
[05/02/09 20:56:31.661]:Generic Loopback ST:
token-local-variable("constantnode")
[05/02/09 20:56:31.662]:Generic Loopback ST: Token Value:
{"a","b","C"}.
[05/02/09 20:56:31.664]:Generic Loopback ST: Arg Value:
{"a","b","C"}.
[05/02/09 20:56:31.665]:Generic Loopback ST: Performing actions
for local-variable(current-node) = "a".
[05/02/09 20:56:31.666]:Generic Loopback ST: Action:
do-set-local-variable("Extra",scope="policy","TRUE").
[05/02/09 20:56:31.670]:Generic Loopback ST:
arg-string("TRUE")
[05/02/09 20:56:31.671]:Generic Loopback ST:
token-text("TRUE")
[05/02/09 20:56:31.673]:Generic Loopback ST: Arg Value:
"TRUE".
[05/02/09 20:56:31.674]:Generic Loopback ST: Performing actions
for local-variable(current-node) = "b".
[05/02/09 20:56:31.676]:Generic Loopback ST: Action:
do-set-local-variable("Extra",scope="policy","TRUE").
[05/02/09 20:56:31.678]:Generic Loopback ST:
arg-string("TRUE")
[05/02/09 20:56:31.679]:Generic Loopback ST:
token-text("TRUE")
[05/02/09 20:56:31.680]:Generic Loopback ST: Arg Value:
"TRUE".
[05/02/09 20:56:31.681]:Generic Loopback ST: Performing actions
for local-variable(current-node) = "C".
[05/02/09 20:56:31.682]:Generic Loopback ST: Action:
do-set-local-variable("Extra",scope="policy","TRUE").
[05/02/09 20:56:31.683]:Generic Loopback ST:
arg-string("TRUE")
[05/02/09 20:56:31.684]:Generic Loopback ST:
token-text("TRUE")
[05/02/09 20:56:31.685]:Generic Loopback ST: Arg Value:
"TRUE".*


--
varunece
------------------------------------------------------------------------
varunece's Profile: http://forums.novell.com/member.php?userid=42999
View this thread: http://forums.novell.com/showthread.php?t=377082