xsl-list
[Top] [All Lists]

Re: How do I display data one item at a time?

2005-05-05 10:19:16
==========================================================
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(_at_)spade(_dot_)com</pEmail>
     </Position>
     <Position>
       <phone>354-5589</phone>
       <pEmail>joe(_at_)bazooka(_dot_)com</pEmail>
     </Position>
   </staffTitle>

 </directory>

From your above description it does appear that I have a grouping
problem. I will study that along with the For-Each examples you sent
earlier and the ones in my books. I'll see what I can come up with
here. Thanks again.

Max Bronsema

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--