![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Matching values of nodes to apply templates Matching values of nodes to apply templatesTo: NULL Date: 10/1/2004 8:24:00 AM Hi All
I will try to explain my problem.
I am wishing to apply a template to the following XML. There are
multiple event nodes within the register root node. For each of the
event nodes there are a list of students taking the Event. I wish to
apply a template (and thus get the data) for the same student across
the events. I can apply the template to student 18 for event 1, how
do i then get the data for student 18 from event 2 and then for event
3 and so on?
Many thanks in advance.
David
<register>
<event>
<code>1</code>
<date>...</date>
.
.
<room>...</room>
<tutor>...</tutor>
<student>
<code>18</code>
<name>Joe Bloggs</name>
.
.
</student>
<student>
<code>19</code>
<name>Janet Bloggs</name>
.
.
</student>
</event>
<event>
<code>2</code>
<date>...</date>
.
.
<room>...</room>
<tutor>...</tutor>
<student>
<code>18</code>
<name>Joe Bloggs</name>
.
.
</student>
<student>
<code>19</code>
<name>Janet Bloggs</name>
.
.
</student>
</event>
</register>
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
