RE: XSL attribute expression

Subject: RE: XSL attribute expression
From: Dwight Kelly <dkelly@xxxxxxxxx>
Date: Thu, 5 Oct 2000 11:38:04 -0400 (EDT)
On Wed, 4 Oct 2000, Don Hill wrote:

> Try something like this
> <a><xsl:attribute name="href" ><xsl:value-of
> select="{url}"/></xsl:attribute></a>

That didn't work but this did.

<a><xsl:attribute name="href" ><xsl:value-of select="@url"/> </xsl:attribute>myurl</a>

I am using MSXML v3. Another person suggested I should use XSLT instead of
XSL. Is the following code invalid, old style, or just a bug/limitation in
MSXML's XSL processor?

> <job job-id="100" url=""; />
> <xsl:template match="job">
> 	<DIV>
> 	Job <xsl:value-of select="@job-id" />
> 	<A HREF="{@url}">URL</A>
> 	</DIV>
> </xsl:template>

Dwight Kelly
Apago, a division of Essential Technical Services, Inc.  
315 Allen Street Cumming, GA 30040
voice:(770) 889-2848  fax:(770) 889-2624 Internet:dkelly@xxxxxxxxx

 XSL-List info and archive:

Current Thread