RE: [xsl] URL rewriting of links on xsl pages?

Subject: RE: [xsl] URL rewriting of links on xsl pages?
From: "Kevin Duffey" <kevin.duffey@xxxxxxxx>
Date: Mon, 5 Mar 2001 09:12:55 -0800
Thanks for the reply.

I take it what your saying is I would have to do something like:

  <xsl:attribute name="href"><xsl:value-of

This above would have to be done for every link on a page, right?

Also, why is it sometimes when I do this:

  <xsl:attribute name="href">
    <xsl:value-of select="$sid"/>/path/page.jsp

In the HTML source of the browser I see a bunch of spaces and a few &1a; (or
something like that) characters around it? I see this in <option> tags as
well, where if I leave spaces in the XSL page (or have it on another line
for formatting reasons) it looks funky in the HTML source. Is there some way
to allow me to format my XSL nicely but avoid all the white space in the


> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Colin Muller
> Sent: Monday, March 05, 2001 12:05 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] URL rewriting of links on xsl pages?
> Kevin Duffey wrote:
> > cookies. Therefore we must use url rewriting to encode the
> session id value
> > in the url. This needs to be done for EVERY link (and form) on
> every single
> > page.
> You could, when you're dealing with a non-cookie-enabled client, pass
> the SID as a parameter, defaulted in your XSL to a value (like empty)
> which you can test to see whether you have received an SID or not - then
> construct the URLs accordingly.
> Or (presuming you're server-side) you could place the SID in a temporary
> session-specific XML file and bring it into your XSL via document().
> This would require passing the temp file's name as a parameter anyway,
> so only worth doing if the temp file will contain a bunch of other
> usable stuff as well as the SID - when it can be a handy way to pass a
> lot of "parameters" around without cluttering up the top end of your
> stylesheets with their declarations.
> Colin
>  XSL-List info and archive:

 XSL-List info and archive:

Current Thread