Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: send parameter to a external class [Thread Next] Re: send parameter to a external classTo: NULL Date: 4/7/2007 11:00:00 AM
"Ghena" <lastminutesud@g...> wrote in message
news:1175929615.396853.258200@b......
> On 6 Apr, 16:34, "Joe Fawcett" <joefawc...@newsgroup.nospam> wrote:
>> You don't need braces around the variable when it's in a select
>> attribute:
>> select="xasp:GetRequestVariable($totHotel, 'parameter')" />
>>
>> --
>>
>> Joe Fawcett (MVP - XML)http://joe.fawcett.name
>>
>> "Ghena" <lastminute...@gmail.com> wrote in message
>>
>> news:1175867636.528622.270840@e......
>>
>>
>>
>> > Hi,
>>
>> > My object is call class function and send soem parameters got during
>> > the xsl transformations
>>
>> > it works well if I send in this way...
>> > <xsl:value-of select="xasp:GetRequestVariable('123','parameter')" />
>>
>> > but i need to send the value get from the xml response.
>>
>> > so I tryed in this way inside the template
>>
>> > <xsl:variable select="number($totHotel) div number($recordsPerPage)"
>> > name="totPage" />
>> > <xsl:value-of
>> > select="xasp:GetRequestVariable({$totHotel},'parameter')" />
>>
>> > the error is:
>>
>> > msxml3.dll error '80004005'
>>
>> > Expression expected. xasp:GetRequestVariable(-->{<--
>> > $totHotel},'parameter')
>> > where
>>
>> > How can i send the right value to the class ?
>> > Thanks a lot.- Nascondi testo tra virgolette -
>>
>> - Mostra testo tra virgolette -
>
>
> it was wrong the same....
> the right solution was...
>
>
> select="xasp:GetRequestVariable(string($totHotel), 'parameter')" />
>
>
> thanks the same..
>
So I'm supposed to know the parameter types for a method you didn't show?
--
Joe Fawcett (MVP - XML)
http://joe.fawcett.name
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
