[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: "Mark" <mark@xxxxxxxxxxxx>
Date: Wed, 11 Jan 2012 11:14:34 -0700
Re:  Selecting all specific children
Hello Matthieu,
Thanks for your input. The context is much higher up the tree. The XML is more like:
<List> <- root
[Here is my context]
<Year>
<Month>
<Day>
<Set>
<Stamp>
<Inscriptions> <- is called for this
<Inscriptions> <- not called for this


However, because I was processing the first <Inscription in each Stamp, I assumed context was not relevant.That is, from the indicated context,
<template match="Inscriptions" mode="english"> is called for the first occurrence of <Inscriptions>, but subsequent occurrences are ignored.
I had thought that <apply-templates select="//Inscriptions" mode="english"/> applied the template to all the <Inscriptions> children, but clearly that is wrong - only the first <Inscriptions> child of each of the several thousand <Stamp> elements is processed. I have not been able to isolate a runnable segment as my heating failed shortly after I posted the problem.


Thanks for your suggestions,
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.