I am confused as to what your questions is. As far as what i am trying to do
is that i want the target of the linked items to be at the very bottom of my
output HTML. Right not it is putting them at the top. The links seem to be
working fine for me.
<xsl:template name="HSLink" match="//HSString">
<img src="texticon.gif"><a href="#{generate-id(.)}">
<xsl:value-of select="@name" /></a><br /></img>
</xsl:template>
<xsl:template name="HSLinker" match="*"><b>Input Description:</b><br /><br
/>
<xsl:for-each select="//HSString">
<a name="{generate-id(.)}">
Name: <xsl:value-of select="@name" /><br />
<xsl:if test="@required!=''">
Required: <xsl:value-of select="@required" />
</xsl:if></a><br /><br />
</xsl:for-each>
</xsl:template>
How do you make some section of your XSLT be processed in the end? I think
the match = "*" of the 'HSLinker' template is messing up. It is making that
XSLT code to be processed first somehow.
Do you know how the ordering works for the templates i.e which template gets
processed first when the output HTML is being generated?
Thanks,
John
-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of David
Carlisle
Sent: Tuesday, July 01, 2003 5:25 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: generate-d( ) not working
<img src="dateicon.gif"><xsl:value-of select="@name"/></img><br
/>
img is an empty element in html, why are you puuting text in the
content?
David
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 |
- RE: generate-d( ) not working, (continued)
- Michael Kay - Tue, 1 Jul 2003 17:45:35 -0400 (EDT)
- Wendell Piez - Tue, 1 Jul 2003 17:45:44 -0400 (EDT)
- John - Tue, 1 Jul 2003 18:28:52 -0400 (EDT)
- David Carlisle - Tue, 1 Jul 2003 20:25:39 -0400 (EDT)
- John - Tue, 1 Jul 2003 20:46:11 -0400 (EDT) <=
- Lars Huttar - Tue, 1 Jul 2003 22:13:32 -0400 (EDT)
- jim - Wed, 2 Jul 2003 02:20:00 -0400 (EDT)
- Rob Rohan - Wed, 2 Jul 2003 11:53:09 -0400 (EDT)
- Rob Rohan - Wed, 2 Jul 2003 12:17:48 -0400 (EDT)
|
|