[XSL-LIST Mailing List Archive Home]
[xsl] Looping through multiple elements
Subject: [xsl] Looping through multiple elements|
From: "Jones Mark Mr \(ITCS\)" <Mark.Jones@xxxxxxxxx>
Date: Tue, 18 Mar 2008 14:30:11 -0000
<?xml version="1.0" encoding="UTF-8"?>
I am very new to xsl and need some help on a very short-term project. I
am working on a system that will output metadata in xml format and am
editing a xsl document that will conrtol what is output.
I have managed to amend the xsl file to generate the right output when
there is a single element. This is as follows;
<component group="description" name="value">
This is fine as there is only one piece of metadata stored in the
What I am stuck on is looping through multiple elements and getting xsl
to write the values into a comma deliminated string.
For example, there are also these fields (dc:creator, dc:creator1,
dc:creator2, dc:creator3). I need to make the xml output for this
generate the xml below (the names are just examples)
<component name="value" group="creators">Smith, Jones, Black,
If anyone can point me in thr right direction or to a useful tutorial it
would be great as I am not sure what termonology to really use.
University of East Anglia
Tel: 01603 59 1250