From: "ibohorquez" <ibohorquez@no-mx.forums.novell.com>
Subject: Re: Removed attribute
Date: Wednesday, January 21, 2009 12:56 PM


Geoffrey,
I've tested the 3 options: when="before" when="after" and direct="true"
but they don't make any difference, I'm attaching the trace using the
direct="true" option.

Thanks,
Ivo

Geoffrey Carman;1718728 Wrote:
> ibohorquez wrote:
> > If I remove at the same time more than 2 values of the group

> membership
> > attribute, is there any way to get all the removed values? If I use

> the
> > "removed attribute" token I get only the first removed value.

>
> If you set Local variable to removed attribute, of type nodeset
> (Instead
> of string) you might get both values... Usually how things work..
>
> Else, you would have to use XPATH, so something like
> modify/modify-attr[@attr-name="MyAttrIAmLookingAt"]/remove-value/value
> and store that as a nodeset, then for-each through the nodeset (only
> one
> value loops once, two or more values loop 2 or more times) and do
> whatever it is you want to do with it.
>
> Actually, what does the XML look like? Because the XPATH would differ
> if it looked like one <remove-attr> node with two <value> nodes
> instead
> of two <remove-attr> nodes with one <value> node each.
>
>
>
>
> > Thanks in advance for any help.
> > Ivo
> >
> >



+----------------------------------------------------------------------+
|Filename: trace.log |
|Download: http://forums.novell.com/attachment....achmentid=2212 |
+----------------------------------------------------------------------+

--
ibohorquez
------------------------------------------------------------------------
ibohorquez's Profile: http://forums.novell.com/member.php?userid=6091
View this thread: http://forums.novell.com/showthread.php?t=357341