Hi,

sorry to bother you but i would like to know how I can convert a nodeset
to string.

I would like to send by email the nodeset in the ouput transformation
(subscriber channel) but I can't found simply the function which can help
me.

I use the following XPATH expression : .//* | .//*/value/text() to store
in a local variable my node set. In trace this is OK

After, I create a new local variable (type string) wich contain the node
set but the result is the value of CN (instead of complet node set in
string format).

When I send the email (do-send-email) with the body = my local variable
(string or node set), the node set is never complete.

so, I hope you can help me.

Trace here :

[11/14/07 15:39:10.778]: ldapDir ST: Action:
do-set-local-variable("strNoeudTMP",arg-node-set(token-xpath(".//* |
.//*/value/text()"))).
[11/14/07 15:39:10.780]: ldapDir ST:
arg-node-set(token-xpath(".//* | .//*/value/text()"))
[11/14/07 15:39:10.781]: ldapDir ST: token-xpath(".//* |
.//*/value/text()")
[11/14/07 15:39:10.783]: ldapDir ST: Token Value: {<add-attr>
@attr-name = "Number",<value> @timestamp = "1195051145#57" @type =
"string","9990",<add-attr> @attr-name = "status",<value> @timestamp =
"1195051145#105" @type = "string","active",<add-attr> @attr-name =
"givenName",<value> @timestamp = "1195051145#43" @type =
"string","Isa",<add-attr> @attr-name = "title",<value> @timestamp =
"1195051145#39" @type = "string","town",<add-attr> @attr-name =
"sn",<value> @timestamp = "1195051145#41" @type =
"string","Cai",<add-attr> @attr-name = "cn",<value> @type = "string","Isa
Cail",<add-attr> @attr-name = "objectclass",<value> @type =
"string","tttttt",<add-attr> @attr-name = "objectclass",<value> @type =
"string","tttttttttt",<add-attr> @attr-name =
"tttt",<value>,"actived",<association>}.
[11/14/07 15:39:10.806]: ldapDir ST: Action:
do-set-local-variable("strNoeud",token-xpath("jstring:new($strNoeudTMP)")).
[11/14/07 15:39:10.807]: ldapDir ST:
arg-string(token-xpath("jstring:new($strNoeudTMP)"))
[11/14/07 15:39:10.809]: ldapDir ST:
token-xpath("jstring:new($strNoeudTMP)")
[11/14/07 15:39:10.810]: ldapDir ST: Token Value: "9990".
[11/14/07 15:39:10.811]: ldapDir ST: Arg Value: "9990".


Thank you very much
Lau