Hi,
I would like to learn an easy solution to get a XML part as a parameter of a
method a the current object of the stack.
I explain with an example :
Input XML (configuration file of my application) :
<cfg>
<header>
<field name="from" value="[EMAIL PROTECTED]"/>
<field name="to" value="[EMAIL PROTECTED]"/>
<tag1>2</tag1>
</header>
...
</cfg>
I would like that everything between <header> and </header> (nested tags,
comment tags and simple data without tags..) may be regarded as a String, so
that I can give it as a parameter to one method. Which Rule must I use for
this ? I tried " digest.addCallMethod("cfg/header", "setHeaderPart",
0);", but I received only "2" and some carriage returns, where is the rest ?
My goal is to put easily this portion in all other XML documents which my
application sends without modifying this header at all (like a simple cut
and paste) !
Thank you in advance,
> - Sébastien Noel -
> DEXIA - Banque Internationale à Luxembourg
> Equipe Architecture
> *(+352) 4590 2218 - Fax 2952/ * PLM +044A
* [EMAIL PROTECTED]
---------------------
Un courrier électronique n'engage pas son émetteur. Tout message susceptible de
comporter un engagement doit être confirmé par un écrit dûment signé.
An electronic message is not binding on its sender. Any message referring to a binding
engagement must be confirmed in writing and duly signed.
Ein elektronischer Brief bzw. eine elektronische Nachricht ist für den Absender nicht
verbindlich. Jede Nachricht, welche eine Verpflichtung beinhaltet, muß schriftlich
bestätigt und ordnungsgemäß unterzeichnet werden.
---------------------