I have tried the obvious:


Code:
--------------------
set local variable("temp", scope="policy", nodeset())
--------------------

then:


Code:
--------------------
set local variable("temp", scope="policy", nodeset(XML Parse("<root></root>")))
--------------------

what about:


Code:
--------------------
set local variable("temp", scope="policy", nodeset(XPath("/doesnotexist")))
--------------------


Trying to append XML element seems to have no affect on temp. I've tried
$temp and $temp/..

Is it possible that a nodeset must point to a document instantiated by
the engine?

Any help is welcome.


--
Zygomax
------------------------------------------------------------------------
Zygomax's Profile: https://forums.netiq.com/member.php?userid=215
View this thread: https://forums.netiq.com/showthread.php?t=46929