This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

assistance with some pattern matching using msxml


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]