[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] generate-d( ) not working
Subject: [xsl] generate-d( ) not working From: "John" <ahsan_hussain@xxxxxxxxxxxxx> Date: Thu, 31 Jul 2003 13:44:43 -0700 |
Hello All- I am trying to use generate-id() to create links inside my output HTML: <xsl:template name="Link" match="//HSS"> <xsl:for-each select="."> <img src="texticon.gif"><a href="#{generate-id(HSS)}"> <xsl:value-of select="@name" /></a><br /></img> </xsl:for-each> </xsl:template> <xsl:template match="//HSS"> <xsl:for-each select="."> <a name="{generate-id(HSS)}"> <xsl:value-of select="@name" /><br /> <xsl:value-of select="@required" /></a><br /> </xsl:for-each> </xsl:template> ---------------------------------------------------------------------------- --------------- <HSC contractName="myService" startDate="Jun-23-2003"> <imagePath /> <HSDCT list="true" name="Inputs" required="true" > <HSS name="text" required="true" /> <HSI name="integer" required="true" /> <DefaultValue>false</DefaultValue> </HSI> <HSDCT name="Inputs1" required="true"> <HSS name="text1" required="true" /> <HSI name="integer1" required="true" /> <HSDCT name="Inputs11" required="true" > <HSS name="text11" required="true" /> <HSI name="integer11" required="true" /> </HSDCT> </HSDCT> </HSDCT> </HSC> ---------------------------------------------------------------------------- --------------------- When i use the generate-id function the way i am, it puts the data (@name, @required) right after each field. In this case, it puts the data after the text and the link doesn't seem to work. I would like to put this data after it has processed everything. Is it possible? Appreciate any hints or help in this regard. Thank you, John XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Subject: Re: [xsl] LDAP dynamic, Neil Smith | Thread | Re: [xsl] generate-d( ) not working, David Carlisle |
RE: [xsl] How to speed up parsing ?, Dipesh Khakhkhar | Date | RE: [xsl] generate-d( ) not working, John |
Month |