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

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

Subject: Re: How do I display data one item at a time?
From: JBryant@xxxxxxxxx
Date: Thu, 5 May 2005 12:02:49 -0500
xsl item at
Hi, Max,

I thought you had a directory element wrapped around each set of 
staffPersonal, staffOffice, and StaffTitle elements. If so, applying those 
templates from the match="directory" template ought to get just one item 
for each value. If your structure is different (directory element wraps 
more than one entry), then you've run into  situation where for-each might 
help. However, if you need to group each set of three elements, for-each 
won't be enough. At that point, you have a grouping problem. (Recognizing 
when you have a grouping problem can be a bit subtle - one of those things 
for which you'll develop a feel as you hone your XSLT skills.)

I don't see enough here to know why it broke. I suspect that I didn't know 
enough about your data structure. So, please show us a more complete view 
of your data (as small as possible but enough to illustrate the current 
problem).

Busy day today, so I may be slow on answers until I get home.

Thanks.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)

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.