Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Simple question about XSL and XML >Thread Next - Re: Simple question about XSL and XML Re: Simple question about XSL and XMLTo: NULL Date: 6/7/2007 5:16:00 PM
On Jun 6, 9:54 pm, "toudidel" <x...@neostrada.pl> wrote:
> U=BFytkownik <roas...@gmail.com> napisa=B3 w wiadomo=9Ccinews:1181152677.=
588992.118820@i......
>
> > <money>
> > <money-site url=3D"www.yahoo.com"> Yahoo finance </money-site>
> > <money-site url=3D"www.cnn.com"> CNN finance </money-site>
> > </money>
> > How can I retrieve the value of the url and put it inside the href
>
> <xsl:apply-templates match=3D"/money/money-site"/>
> ...
> <xsl:template match=3D"money-site">
> <a href=3D"{@url}"><xsl:value-of select=3D"."/></a>
> </xsl:template>
>
> --
> tdwww.paranoja.org
Hi,
Thanks for the quick answer.
I have a follow up question:
If I have a case where I don't get the URL only the name of the
website and then I want to display it with no url.
Is there any condition for me to check if the url exists (when it is
in the form of the example above).
Thanks
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
