![]() |
![]() | ![]() | ![]() | 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 5:19:00 AM
well it seems to work:
This is (a segment) of my xsl file.
<xsl:for-each
select="/CommandList/CheckRouting/RouterList/Router/GroupList/Group/OutwardList/Outward">
<div ID="HEAD">
<xsl:variable name="value_currency"
select="number(document('valute1.xml')/CommandList/GetCurrencies/CurrencyList/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(SegmentList/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" />
but it have a sintax error.
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
