Subject: Re: [xsl] creating a string of child node names From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 3 Dec 2003 11:50:51 GMT |
You don't need an explicit recursive template here, an alternative would be <xsl:template match="Invoice"> <input name="X2H_VAR_NAMES"> <xsl:attribute name="value"> <xsl:for-each select="*"> <xsl:value-of select="name()"/> <xsl:if test="position()<last()">,</xsl:if> </xsl:for-each> </xsl:attribute> </input> </xsl:template> -- http://www.dcarlisle.demon.co.uk/matthew ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] creating a string of chil, Haydn Flower | Thread | RE: [xsl] creating a string of chil, Haydn Flower |
Re: [xsl] creating a string of chil, Manolis Mavrikis | Date | RE: [xsl] creating a string of chil, Haydn Flower |
Month |