[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: generate-d( ) not working

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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.