|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: dynamic href generation in xsl
Try:
?
<xsl:for-each select="MEMBER" order-by="NAME">
??? <A href="servlet/lookup?member={MEMBNO}">
??? ??? <xsl:value-of select="NAME"/>
??? </A>
</xsl:for-each>
?
But note, you are using order-by which is a proprietary Microsoft XSL
feature, and I'm not sure Microsoft yet support the attribute-value-template
notation with {}. (In queries to this list, always say what dialect of XSL
you're using!)
?
What should my xsl look like, in order to produce the desired html given the
data.xml doc above?? Here is what I have now (its obviously wrong):
?
data.xsl
...
<xsl:for-each select="MEMBER" order-by="NAME">
??? <A href="servlet/lookup?member=<xsl:value-of select="MEMBNO"/>">
??? ??? <xsl:value-of select="NAME"/>
??? </A>
</xsl:for-each>
...
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
|

Cart








