Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [HELP] XSLT.Load Problem

From: "Chris Barber" <chris@----------.--.--.------>
To: NULL
Date: 8/1/2004 3:08:00 AM
Post your XML (truncate to make it smaller if necessary) and XSL that shows this issue and I'll have
a look using Xselerator to see exactly what the variable / param contains - might point to a reason
for this.

Chris.

"Chris Barber" <chris@b...> wrote in message
news:uG7DxS2dEHA.996@T......
Is the variable a nodelist containing more than one element?
The number() function will then transform the first element value to a number thus allowing the
calculation?

Chris.

"tiraman" <tiraman@d...> wrote in message
news:E749BBFF-DF24-4E1F-90DA-615FD8841385@m......
hi,
you are right ! now it is working but as i wrote above it is wierd since

it is working to me ok when i m doing transformation with vb6 but with

vb .NET i have the problem if i m not using this function :-(

so 1st thanks !

2nd if you have any idea why this happen i would like to know.

Best Regards,

T :-)


"Chris Barber" wrote:

> You should probably ensure that the variable really is a number before attempting to use it in a
> calculation:
>
> <xsl:with-param name="myCounter" select="number(($myCounter))*2"/>
>
> Chris.
>
> "tiraman" <tiraman@d...> wrote in message
> news:F0F1F6D7-56EC-49C9-A3EA-A82E87212E6E@m......
> Hi,
>
> i have a problem to load xsl files which holds code like this:
>
>       <xsl:with-param name="myCounter" select="($myCounter)*2"/>
>
> but when i m removing the *2 every thing ok
>
>       <xsl:with-param name="myCounter" select="($myCounter)"/>
>
> Please note that this is working ok from VB6 using the
>
> Best Regards,
>
> T :-)
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.732 / Virus Database: 486 - Release Date: 29/07/2004
>
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.732 / Virus Database: 486 - Release Date: 29/07/2004





transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent