[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|