[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

assistance with some pattern matching using msxml

Subject: assistance with some pattern matching using msxml
From: "Thanasis Mastrogiannis" <tmastrogiannis@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 19 Dec 2000 16:28:12 -0800
free form a line patterns
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

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.