Re: [xsl] Selecting all specific children

Subject: Re: [xsl] Selecting all specific children
From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@xxxxxxxxx>
Date: Wed, 11 Jan 2012 00:13:08 +0100
I think you need to provide the rest of your code, too.

On 2012-01-11 00:04, Mark wrote:
This code only selects the first 'Inscriptions' child in a <Stamp>. I
cannot see how to use a for-each in this case, if that is the correct
thing to do, to apply the template match="Inscriptions" mode="English"
to all the Inscriptions?

<xsl:apply-templates select="//Inscriptions" mode="english"/>

<Set>
<Motif concept="Art on Stamps"/>
<Stamp>
<CatNumbers scott-number="3478" pofis-number="661"/>
<Value kc-value="24"/>
<Inscriptions czech="Paris a Helena, kolem 1672" eng="Helen and Paris,
circa 1672"/>
<Inscriptions czech="Karel E krC)ta (1610-1674)" eng="*"/>
<Inscriptions czech="NC!rodnC- Galerie v Praze" eng="National Gallery,
Prague"/>
<Formats minisheet="661"/>
<Location denomination="2"/>
</Stamp>
</Set>
Thanks,
Mark


-- Gerrit Imsieke GeschC$ftsfC<hrer / Managing Director le-tex publishing services GmbH Weissenfelser Str. 84, 04229 Leipzig, Germany Phone +49 341 355356 110, Fax +49 341 355356 510 gerrit.imsieke@xxxxxxxxx, http://www.le-tex.de

Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930

GeschC$ftsfC<hrer: Gerrit Imsieke, Svea Jelonek,
Thomas Schmidt, Dr. Reinhard VC6ckler

Current Thread