Subject: RE: XSL attribute expression From: "Evan Lenz" <elenz@xxxxxxxxxxx> Date: Wed, 4 Oct 2000 18:09:25 -0700 |
Your code should work. What processor are you using? If you're using IE5, you need to install the MSXML3 upgrade and install in "replace mode". Read this FAQ: http://www.netcrucible.com/xslt/msxml-faq.htm Evan Lenz elenz@xxxxxxxxxxx http://www.xyzfind.com XYZFind, the search engine *designed* for XML Download our free beta software: http://www.xyzfind.com/beta -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Dwight Kelly Sent: Wednesday, October 04, 2000 4: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="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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
XSL attribute expression, Dwight Kelly | Thread | RE: XSL attribute expression, Don Hill |
Re: HTML parameters and Ampersands, Joerg Colberg | Date | RE: XSL attribute expression, Don Hill |
Month |