Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - href and XSL >Thread Next - Re: href and XSL Re: href and XSLTo: NULL Date: 1/3/2005 9:28:00 AM Hi,
> The href would be "www.google.co.uk/search?hl=en&q={word}&meta=" where
> {word} would be the that particular XML record. What would be the correct
> syntax?
In fact, it is the exact syntax - speaking of coincidence:)
The curly brackets in attributes are the equivalent of the 'xsl:value-of' element.
But make sure that '&' is escaped with '&' in URL (That is not only in XML, but also HTML)
So you could use something like this:
<a href="www.google.co.uk/search?hl=en&q={word}&meta=">
<xsl:value-of select="word"/>
</a>
regards,
--
Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041)
Fiat W3C !
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
