![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: function vbscript inside xsl >Thread Next - Re: function vbscript inside xsl Re: function vbscript inside xslTo: NULL Date: 6/2/2006 1:38:00 PM
"Ghena" <lastminutesud@g...> wrote in message
news:1149250717.993487.106920@g......
> well it seems to work:
>
> This is (a segment) of my xsl file.
>
> <xsl:for-each
>
select="/CommandList/CheckRouting/RouterList/Router/GroupList/Group/OutwardL
ist/Outward">
> <div ID="HEAD">
>
> <xsl:variable name="value_currency"
>
select="number(document('valute1.xml')/CommandList/GetCurrencies/CurrencyLis
t/Currency/Code[.
> =current()/Price/Currency]/following-sibling::UsdRate[1])"/>
>
> <span style="float:left;margin-left:6px;margin-top:2px;"><xsl:value-of
> select="Price/Currency" />   <xsl:value-of select="Price/Amount"
> /> quotato da <xsl:value-of select="Vendor/Name" /> (live) </span>
> <span style="float:right;margin-right:10px;"><img border="1"
>
src="http://www.travelfusion.com/images/logos/{js:LowerCase(translate(Segmen
tList/Segment/Operator/Name,'
> ',''))}.gif" /></span>
>
> Now i must to use $value_currency to manipolate this value
> <xsl:value-of select="Price/Amount" />
>
> e.g <xsl:value-of select="(Price/Amount) Div $value_currency" />
oh yes Div should be lowercase div
>
> but it have a sintax error.
>
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
