[thelist] Drawing XML Content into URLs in an XSL Doc

Scott Adamson scott at milcap.com
Mon Nov 19 06:13:22 CST 2001


 <xsl:param name="url" />  is the solution
place <xsl:param name="url" /> just after the <xsl:sytlesheet version="1.0">

then call in the select as $url

?url=xxxx  sent to the page will give $url the value of xxxx


----- Original Message -----
From: "Megan Holbrook" <meganwh at prodigy.net>
To: <thelist at lists.evolt.org>
Sent: Friday, November 16, 2001 9:33 PM
Subject: Re: [thelist] Drawing XML Content into URLs in an XSL Doc


> Thanks to both evolters who responded to my question with suggestions -
> unfortunately, now I seem to have a different problem. I tried both:
>
> <a><xsl:attribute name="href"><value-of
> select="url"/></xsl:attribute><xsl:value-of
> select="thetextofthelink"></xsl:value-of></a>
>
> and
>
>  <a href="{@alternateur}"><xsl:value-of
> select="thetextofthelink"></xsl:value-of></a>
>
> ...and both returned links that had empty hrefs...is there something
> else I need to be doing?
>
> Thanks so much for the help...
>
> :) M.
>
> Craig Saila wrote:
> >
> > Megan Holbrook wrote:
> >
> > > What's wrong with using:
> > > <a href="<xsl:value-of select="url"></xsl:value-of>"> ?
> >
> > You can also try:
> > <a href="{@url}">blah</a>
> >
> > --
> > Cheers,
> >
> > Craig Saila
> > ------------------------------------------
> > craig at saila.com  :  http://www.saila.com/
> > ------------------------------------------
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> > ---------------------------------------
> > For unsubscribe and other options, including
> > the Tip Harvester and archive of TheList go to:
> > http://lists.evolt.org Workers of the Web, evolt !
>
> --
> Megan Holbrook - megan at kapow.com
> Partner - Business Development
> kapow, inc. (www.kapow.com)
>
> kapow, inc. Milwaukee               kapow, inc. Los Angeles
> 2405 E. Wyoming Place               2130 Sawtelle Blvd, #302A
> Milwaukee, WI 53202                 Los Angeles, CA 90025
> T: 414-273-2446 * F: 419-793-6271   T: 310-479-2020 * F: 310-473-3711
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>





More information about the thelist mailing list