On 12/8/06, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:
xslt works rather better if you have structured input rather than a fixed
set of flat variables. If you had a parameter show that took a list of
elements say <Replicates/><Metadata/> then you could just do
<xsl:for-each select="$show">
<xsl:if test="position()!=1">, </xsl:if>
<xsl:apply-templates select="."/>
</xsl:for-each>
where templates matching Replicates would do whatever your pseudo code
Output("Reps") does.
Cool, I knew there would be a logical way! Thanks!
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--