[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Selecting all specific children
Hi, You haven't shown enough code to see where the problem is, post a small complete runnable sample stylesheet. cheers andrew On 10 January 2012 23:04, Mark <mark@xxxxxxxxxxxx> 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> > B B B B B <Motif concept="Art on Stamps"/> > B B B B B <Stamp> > B B B B B B B B <CatNumbers scott-number="3478" pofis-number="661"/> > B B B B B B B B <Value kc-value="24"/> > B B B B B B B B <Inscriptions czech="Paris a Helena, kolem 1672" eng="Helen > and Paris, circa 1672"/> > B B B B B B B B <Inscriptions czech="Karel E krC)ta (1610-1674)" eng="*"/> > B B B B B B B B <Inscriptions czech="NC!rodnC- Galerie v Praze" eng="National > Gallery, Prague"/> > B B B B B B B B <Formats minisheet="661"/> > B B B B B B B B <Location denomination="2"/> > B B B B B </Stamp> > </Set> > Thanks, > Mark > -- Andrew Welch http://andrewjwelch.com
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|