[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] ampersand fun
Subject: Re: [xsl] ampersand fun From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 27 May 2003 14:47:53 +0100 |
Using IE 6 abd the xsl stylesheet except is as follows: <a class="glossary"><xsl:attribute name="href">glossary.asp?uid=<xsl:value-of select="ID"/><xsl:text>& ;</xsl:text>lid=<xsl:value-of select="PARENTID"/></xsl:attribute><xsl:value-of ect="NAME" /></a> That looks fine (assuming that is really select="NAME not ect="NAME", and that you haven't really got space between the amp and the ";". although it could be coded much more simply as <a class="glossary" href="glossary.asp?uid={ID}&lid={PARENTID}"> <xsl:value-of select="NAME" /></a> Your problem may be nothing to do with the amp at all, are you sure that ID, PARENTID, and NAME are returning the values that you expect? when debugging it is important to look at the generated html file directly, not just look at the rendering of the file in a browser, which can hide many errors. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] ampersand fun, Martin Lampen | Thread | RE: [xsl] ampersand fun, Martin Lampen |
RE: [xsl] Character representaion, Passin, Tom | Date | RE: [xsl] looping through result tr, Erika Marlow |
Month |
Keywords