This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: XSL attribute expression


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="http://www.apago.com/jobs/1" />
> <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@apago.com
http://www.apago.com



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]