I am trying to get the value of the "LogInResult" attribute from the
following:

<nds dtdversion="2.0">
<source>
<product build="20090519_235451" instance="SPML"
version="3.5.4">Identity Manager Driver for SOAP</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<LogInResponse xmlns="http://Eprise"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<LogInResult>821864065</LogInResult>
</LogInResponse>
</output>
</nds>


My result is stored in a variable, EstablishSession.

[03/02/10 16:33:07.230]:SPML ST: Token Value: "Identity
Manager Driver for SOAPNovell, Inc.821864065".

My latest attempt is:
[03/02/10 16:33:07.231]:SPML ST: Action:
do-set-local-variable("sessionid",scope="policy",arg-node-set(token-xpath("$EstablishSession/attr[@attr-name='LogInResult']"))).
[03/02/10 16:33:07.232]:SPML ST:
arg-node-set(token-xpath("$EstablishSession/attr[@attr-name='LogInResult']"))
[03/02/10 16:33:07.232]:SPML ST:
token-xpath("$EstablishSession/attr[@attr-name='LogInResult']")
[03/02/10 16:33:07.233]:SPML ST: Token Value: {}.
[03/02/10 16:33:07.233]:SPML ST: Arg Value: {}.


I have also tried using

$EstablishSession/LogInResult
$EstablishSession/LogInResponse

but none of these give me what I want which is the value "821864065"

Any help would be appreciated!

Cindy


--
SyncUp
------------------------------------------------------------------------
SyncUp's Profile: http://forums.novell.com/member.php?userid=55472
View this thread: http://forums.novell.com/showthread.php?t=403461