Subject: XSL attribute expression From: Dwight Kelly <dkelly@xxxxxxxxx> Date: Wed, 4 Oct 2000 19:33:53 -0400 (EDT) |
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="http://www.apago.com/jobs/1">URL</A> I am getting <A HREF="{@url}">URL</A> here is my xml file fragment: <job job-id="100" url="http://www.apago.com/jobs/1" /> and my xsl fragment: <xsl:template match="job"> <DIV> Job <xsl:value-of select="@job-id" /> <A HREF="{@url}">URL</A> </DIV> </xsl:template> Thanks, -- 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 http://www.apago.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
MSXSL C++ compiled stylesheet code, Andrew Kimball | Thread | RE: XSL attribute expression, Evan Lenz |
MSXSL C++ compiled stylesheet code, Andrew Kimball | Date | Re: HTML parameters and Ampersands, Joerg Colberg |
Month |