Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: href and XSL

From: "Sparky Mark" <just1bloke@-------------.-----.--.-->
To: 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 '&amp;' 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&amp;q={word}&amp;meta=">
> <xsl:value-of select="word"/>
> </a>
>
> regards,

Excellent, much appreciated.

-- 
Sparky Mark
http://www.moglesby.karoo.net
~~~~~~~~~~~~~~~~~~~~~~~~




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent