Title: Re: Witango-Talk: Calculating number of characters inside a variable/DOM?
Hi Tom,

I tried that tried calling it in an argument...am I doing something silly here?


On 8/7/06 9:25 AM, "Tom Ferguson" <[EMAIL PROTECTED]> wrote:

shouldn't this:

<@ARG TOTALCHARS VALUE='<@CALC len(@@dump)>'>

be this:

<@ASSIGN TOTALCHARS VALUE='<@CALC len(@@dump)>'>

?


 

From: Kaustav Acharya  [mailto:[EMAIL PROTECTED]
Sent: Monday, August 07, 2006  12:12
To: [email protected]
Subject: Witango-Talk:  Calculating number of characters inside a variable/DOM?

 
Hi there everyone,


I am assuming that I  have to use <@CALC> somewhere here, but I’m not really sure how because  this isn’t working for me....

My logic is  this:

<@ASSIGN NAME="dump" VALUE="  '<soap:Envelope  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xmlns:xsd="http://www.w3.org/2001/XMLSchema"  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
    <ProcessLead  xmlns="http://someURL">
      <lead>
        <vendorCode  xmlns="">number</vendorCode>
        <vendorLeadIdentifier  xmlns="">
number</vendorLeadIdentifier>
        <versionIdentifier  xmlns="">number</versionIdentifier>
        <testCase  xmlns="">Y</testCase>
        <nameLast  xmlns="">
<@ARG LASTNAME></nameLast>
        <nameMiddle  xmlns=""></nameMiddle>
        <nameFirst  xmlns="">
<@ARG FIRSTNAME></nameFirst>
       etc,  etc,  
      </lead>
    </ProcessLead>
  </soap:Body>
</soap:Envelope>'
>">
<@ARG
TOTALCHARS  VALUE='<@CALC len(@@dump)>'>

HERE ARE THE TOTAL NUMBER OF CHARACTERS <@ARG TOTALCHARS><P>

This doesn’t  seem to do it...is there something I’m missing here?  

____________________________________________________
Kaustav  Acharya
  Programmer

  U. Inc.  
      12250 El Camino Real, Suite  #104
      San Diego, CA.  92130

  Office: (858) 847-3350 x1004
  Fax:  (858) 847-3340
  email:  [EMAIL PROTECTED]
 
  http://www.colleges.com
____________________________________________________

 All  the News. No Ink. - http://www.onlinetimes.com
 Power  to the People - http://www.campaign.com
____________________________________________________

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to