Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: href and XSL [Thread Next] Re: href and XSLTo: NULL Date: 1/3/2005 9:05:00 PM
"Joris Gillis" <roac@p...> wrote in message
news:opsj0ssrnmyf9v9r@n......
> 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,
Excellent, much appreciated.
--
Sparky Mark
http://www.moglesby.karoo.net
~~~~~~~~~~~~~~~~~~~~~~~~
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
