It's a given that when creating a condition group for a rule, we often
base them upon the status of the operation attributes. A simple example
being:


Code:
--------------------
<if-op-attr name="Telephone Number" op="changing"/>
--------------------


I've made a note that if I ever want to determine if an attribute is
being removed, that I have to combine two conditions:


Code:
--------------------
<if-op-attr name="Telephone Number" op="changing"/>
<if-op-attr name="Telephone Number" op="not-available"/>
--------------------


I have always found this a bit of an odd way to detect if an attribute
is being removed and was wondering if any of you with some history with
DirXML could explain why it's that way? Why not just make an operator
to handle a scenario where an attribute is being removed? Am I correct
in believing that this is a -solid- way to detect if an attribute is
being removed?

Lastly, does anyone know if there are any other operator combination
tricks for determining things that could be useful?

Thanks in advance!


--
nathanshaw
------------------------------------------------------------------------
nathanshaw's Profile: http://forums.novell.com/member.php?userid=35776
View this thread: http://forums.novell.com/showthread.php?t=425536