Subject: Re: [xsl] variable question From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx> Date: Wed, 10 Nov 2004 14:51:03 -0500 |
In XSLT 1.0 the only way to do this would be by using a stylesheet to generate your stylesheet.
Maybe Mike or Jeni or someone can suggest an easier way to do this in XSLT 2.0.
<xsl:template match="/"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Testing</title> </head> <body> <h3>Citations</h3> <xsl:for-each select="//$bibkey"> <ol> <li><xsl:value-of select="." /></li> </ol> </xsl:for-each> <h3>Titles</h3> <xsl:for-each select="//$bibkey"> <xsl:value-of select="$bibrecord//mods:title" /> </xsl:for-each> </body> </html> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] variable question, Wendell Piez | Thread | Re: [xsl] variable question, Wendell Piez |
Re: [xsl] XPath to match attribute , Matt Dittbenner | Date | Re: [xsl] variable question, Wendell Piez |
Month |