RE: [xsl] generate-d( ) not working

Subject: RE: [xsl] generate-d( ) not working
From: "John" <ahsan_hussain@xxxxxxxxxxxxx>
Date: Thu, 31 Jul 2003 17:49:01 -0700
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: [xsl] 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