I'm trying to do something very similar & I was wondering what namespace
URL used? I've been Googling it and, for the life of me, cannot find
it. I feel like it's the last missing piece to my rule.

dps006;40297 Wrote:
> Thank You Guys
>
> as father ramon said with Java is easier
>
> i added a namespace in the policy aiming fo java.lang.Integer
> and inside the policy I created this rule
>
>
> Code:
> --------------------
> rule>
> <description>settingJavaBin</description>
> <conditions>
> <and>
> <if-class-name op="equal">User</if-class-name>
> </and>
> </conditions>
> <actions>
> <do-set-local-variable name="javaBinVariable">
> <arg-string>
> <token-xpath expression="jinteger:toBinaryString(514)"/>
> </arg-string>
> </do-set-local-variable>
> </actions>
> </rule>
> --------------------
>
>
> the convertion from '514' to binary was OK
> but now I have other problem
> I want to change the '514' to a variable, How do I do it?
> the variable would have the value of some attribute
> Should I create a local variable setting the value in the previous
> policy and somehow put the variable into the parameters ( thats what I
> dont know how to do)
>
> Code:
> --------------------
> "jinteger:toBinaryString(??variable??)"/
> --------------------
>
>
> Thanks
>
>
> --
> dps006
> ------------------------------------------------------------------------
> dps006's Profile: http://forums.novell.com/member.php?userid=33804
> View this thread: http://forums.novell.com/showthread.php?t=352547



--
EvilDobe
------------------------------------------------------------------------
EvilDobe's Profile: https://forums.netiq.com/member.php?userid=422
View this thread: https://forums.netiq.com/showthread.php?t=8563