[xsl] assistance with some pattern matching using msxml

Subject: [xsl] assistance with some pattern matching using msxml
From: "Thanasis Mastrogiannis" <tmastrogiannis@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 19 Dec 2000 16:28:12 -0800
Vendor: Microsoft
Processor version: Original IE5 (or old version of other processor)

Consider the following structure (elementary schema/example)
<one>
	<id> <date>  {suppose values of: 1 and 19991012}
	<id> <date>  {suppose values of: 2 and 20001012}
	<id> <date>  {suppose values of: 3 and 20001212}
	<details>
		<id> <subjectdetails>  {suppose values of: 1 and 'juicy details'}
		<id> <subjectdetails>  {suppose values of: 1 and 'more details'}
		<id> <subjectdetails>  {suppose values of: 1 and 'even more details'}
		<id> <subjectdetails>  {suppose values of: 2 and 'details for 2'}
		<id> <subjectdetails>  {suppose values of: 3 and 'details for 3'}
		.	.
		.	.

What I wish to accomplish (and I keep failing to do - new to xml/xsl) is to
associate/group the outer ids with the inner details. Meaning for example to
use xsl to form a line like the following:
"Element with ID 1, details1, details2, details3"
"Element with ID 2, details4"
"Element with ID 3, details5"

I tried to nest for each loops to manage the comparison between the outside
and inside id fields but was unsuccessfull.  I hope I presented my problem
clearly.  Any suggestions, sample code would help a lot.
Thank you
tm


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread