Subject: Re: [xsl] How do I display data one item at a time? From: JBryant@xxxxxxxxx Date: Thu, 5 May 2005 12:51:45 -0500 |
Hi, Max, A meeting got pushed back a bit, so... What you have there is a genuine, bona fide grouping problem. More so than most problems, grouping solutions really depend on the version of XSLT and the XSLT processor you can use. If you can use XSLT 2.0 (with a processor like Saxon 8), your problem is not too bad. If you have to use XSLT 1.0, you're going to get a baptism by fire for your first XSLT project. So, what XSLT processor are you using? (Forgive me if you told us in an earlier message.) Unless you have left some elements out for brevity's sake, I think you'll also have trouble associating the department info (staffOffice) with the personal info. They don't seem to share any identifying information. How do you know what departments Sam and Joe are in? Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution Technologies) Max Bronsema <max.bronsema@xxxxxxxxx> 05/05/2005 12:19 PM Please respond to xsl-list@xxxxxxxxxxxxxxxxxxxxxx To xsl-list@xxxxxxxxxxxxxxxxxxxxxx cc Subject Re: [xsl] How do I display data one item at a time? ========================================================== So, please show us a more complete view of your data (as small as possible but enough to illustrate the current problem). ========================================================== No problem with slow replies, it gives me more time to try my own ideas, maybe I'll get lucky :) Here is a snapshot of what the structure looks like. I apologize for not seeing it earlier that what you had posted was different from my data. <directory> envelopes everything. Then all <staffPersonal> is grouped together, same with <staffOffice> and <staffTitle>. <directory> <staffPersonal> <Person> <fName>Sam</fName> <lName>Spade</lName> </Person> <Person> <fName>Joe</fName> <lName>Bazooka</lName> </Person> </staffPersonal> <staffOffice> <Office> <dptFull>Biology</dptFull> <Location>Boone</Location> </Office> <Office> <dptFull>Business</dptFull> <Location>KAIC</Location> </Office> </staffOffice> <staffTitle> <Position> <phone>123-4567</phone> <pEmail>sam@xxxxxxxxx</pEmail> </Position> <Position> <phone>354-5589</phone> <pEmail>joe@xxxxxxxxxxx</pEmail> </Position> </staffTitle> </directory>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How do I display data one, Max Bronsema | Thread | Re: [xsl] How do I display data one, Max Bronsema |
Re: [xsl] Node position and numberi, Spencer Tickner | Date | Re: [xsl] Node position and numberi, c p |
Month |