[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: generate-d( ) not working
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|