[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Selecting all specific children

Subject: Re: Selecting all specific children
From: Marc <Marc.Liste@xxxxxxx>
Date: Wed, 11 Jan 2012 09:26:46 +0100
Re:  Selecting all specific children
with de //Inscriptions you do a set of all the Inscriptions of your file.
with .//Inscriptions it's only the Inscriptions childrens of your current node.
The problem comes perhpas from the mode?
Marc


Le 11/01/2012 00:04, Mark a icrit :
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 &krita (1610-1674)" eng="*"/>
<Inscriptions czech="Narodnm Galerie v Praze" eng="National Gallery,
Prague"/>
<Formats minisheet="661"/>
<Location denomination="2"/>
</Stamp>
</Set>
Thanks,
Mark

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.