RE: [xsl] Continued problems with XSLT (Ser

Subject: RE: [xsl] Continued problems with XSLT (Ser
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Sun, 6 May 2001 15:48:15 +0100
>Hi All,
>  Chris Bayes sometime ago kindly took the time to offer a solution to use
>the ASP Server.URLEncode method in XSL (see:
> this
>really put me on the right path, but I'm still having problems with this.
>The link that is getting generated from the code is:
Like I said in the post you don't need to do this if your output method is
html which it is.

>What I need it to be is:
><a href="
>(minus the wrapping, off course)
>I'd like to know:
>  a) how to get this to work that way I thought it would

don't use it

>  b) OT: what is the VBScript equivalent of the "var myObject = new
>Object();" line

Dim myObject
Set myObject = New classname

>  c) and finally, what actually addObject does? (MSXML4 docs says "Adds
>objects into a style sheet".. yeah, thanks.)

That's what it does. It just makes it available to the stylesheet via it's
namespace urn. If you didn't add it you couldn't use it.

Having said all that using cooktop i get the following

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="";
 <xsl:output method = "html" />
 <xsl:template match="/" >
  <xsl:apply-templates />
 <xsl:template match="a">
   <xsl:attribute name="href"><xsl:value-of
select="@href" /></xsl:attribute>
   <xsl:value-of select="text()" />

<?xml version="1.0"?>
=Bridges/Routers&amp;CAT3=NORTEL NETWORKS">linkit</a>

=Bridges/Routers&amp;CAT3=NORTEL NETWORKS">linkit</a></html>


 XSL-List info and archive:

Current Thread