Subject: Re: [xsl] Looping through multiple elements From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Tue, 18 Mar 2008 17:37:24 +0100 |
I tried this;
<xsl:for-each select="//dc:creatorid | //dc:creator1id | //dc:creator2id | //dc:creator3id"> <component group="authors_logins" name="value"> <xsl:value-of select="."/><xsl:if test="position() != last()">, </xsl:if> </component> </xsl:for-each>
And the output was just this. <component name="value" group="authors_logins">n030, </component>
The metadata has values for dc:creatorid and dc:creator1id so there
should be a value after the comma.
Martin Honnen http://JavaScript.FAQTs.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Looping through multiple , Jones Mark Mr \(ITCS | Thread | RE: [xsl] Looping through multiple , Jones Mark Mr \(ITCS |
RE: [xsl] Looping through multiple , Jones Mark Mr \(ITCS | Date | Re: [xsl] Looping through multiple , David Carlisle |
Month |