I'm trying to do something that I think is really simple, but I just
can't seem to make it work. All I want to do is build a brand new
nodeset in a local variable.

Here's what I try to do:

<do-set-local-variable name="xyz"
scope="policy"><arg-node-set/></do-set-local-variable>
<do-append-xml-element expression="$xyz" name="test"/>
<do-set-local-variable name="junk"
scope="policy"><arg-node-set><token-local-variable name="xyz"/>
</arg-node-set></do-set-local-variable>

But I always seem to end up with an empty nodeset:

Driver :Applying policy: %+C%14Cxmljunk%-C.
Driver : Applying to add #1.
Driver : Evaluating selection criteria for rule 'asdf'.
Driver : Rule selected.
Driver : Applying rule 'asdf'.
Driver : Action:
do-set-local-variable("xyz",scope="policy",arg-node-set()).
Driver : arg-node-set()
Driver : Arg Value: {}.
Driver : Action: do-append-xml-element("test","$xyz").
Driver : Action:
do-set-local-variable("junk",scope="policy",arg-node-set(token-local-variable("xyz"))).
Driver : arg-node-set(token-local-variable("xyz"))
Driver : token-local-variable("xyz")
Driver : Token Value: {}.
Driver : Arg Value: {}.

What am I doing wrong?

Thanks,

Jeff


--
jeffbate
------------------------------------------------------------------------
jeffbate's Profile: http://forums.novell.com/member.php?userid=227
View this thread: http://forums.novell.com/showthread.php?t=343376