Subject: Re: [xsl] Selecting all specific children From: "Mark" <mark@xxxxxxxxxxxx> Date: Tue, 10 Jan 2012 16:40:45 -0700 |
You haven't shown enough code to see where the problem is, post a small complete runnable sample stylesheet.
cheers andrew
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
-- Andrew Welch http://andrewjwelch.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Selecting all specific ch, Andrew Welch | Thread | Re: [xsl] Selecting all specific ch, Imsieke, Gerrit, le- |
Re: [xsl] Selecting all specific ch, Imsieke, Gerrit, le- | Date | Re: [xsl] Selecting all specific ch, Marc |
Month |