Subject: Re: [xsl] A problem with concat() From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 18 Apr 2011 14:50:28 -0400 |
I want to use concat() to pull together three elements, separating the values with a comma.
<xsl:value-of select="string-join( (mods:namePart[@type='family'], mods:namePart[@type='given'], mods:namePart[@type='date']), ', ' )"/>
1) select="x" is the same as select="./x" 2) test="@type='personal'" is the same as test=".[@type='personal']"
-- Contact us for world-wide XML consulting & instructor-led training Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] A problem with concat(), Bridger Dyson-Smith | Thread | Re: [xsl] A problem with concat(), Bridger Dyson-Smith |
Re: Was: [xsl] mode and moved to Na, ac | Date | Re: [xsl] A problem with concat(), Brandon Ibach |
Month |