RE: XSL attribute expression

Subject: RE: XSL attribute expression
From: "Don Hill" <dhill@xxxxxxxxxxxxx>
Date: Wed, 4 Oct 2000 21:29:16 -0500

Try something like this

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


-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Dwight Kelly
Sent: Wednesday, October 04, 2000 6:34 PM
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: XSL attribute expression

I am fairly new to XSL and am trying to extract the value of the attribute
'url' from the node 'job' and make it a HTML <A HREF=> link. Is this the
correct syntax? Instead of getting
<A HREF="";>URL</A>
I am getting
<A HREF="{@url}">URL</A>

here is my xml file fragment:

<job job-id="100" url=""; />

and my xsl fragment:

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

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:

 XSL-List info and archive:

Current Thread