|
Subject: Re: Turning on/off href's From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 11 Jul 2000 00:18:40 +0100 (BST) |
<xsl:choose>
<xsl:when test="@id">
<a href="XMLServelet?Page={@id}"><xsl:value-of select="."/></a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="."/>
</xsl:otherwise>
</xsl:choose>
Note that if your DTD declares you id attribute to be of type ID
then you can not use values of the form 1 2 3 they have to start with
a letter.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Turning on/off href's, John Gethoefer | Thread | RE: Turning on/off href's, Spychalski, Frank |
| How to add a new media type to link, Gina . Hua | Date | Re: Node-set vs. Result tree fragme, Mike Brown |
| Month |