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

Re: dl/dt/dd matching

Subject: Re: dl/dt/dd matching
From: Francois Belanger <francois@xxxxxxxxxxx>
Date: Tue, 12 Jan 99 10:48:29 -0500
multiple dd for one dt
Paul Prescod wrote on 12/01/99 04h57:

>Actually, it very easy to solve if you solve it in the right place. You
>need to augment the input schema (DTD, XSchema, whatever) so that it can
>guide the grouping of things.

Yes, changing the DTD is a solution, unless you don't control the DTD, 
like in our case since we use W3 Voyager. 

Or simply create a ditem element that acts as a parent for each dt/dd 
(Voyager recommends lower-case names).

Current Voyager dl definition:

<!ELEMENT dl (dt|dd)+>

becomes:

<!ELEMENT dl (ditem)+>
<!ELEMENT ditem (dt, dd+)>

Yes, multiple dd paragrpahs but one dt. 

Should I send this as a suggestion to the Voyager team?

But I agree with James Clark that we need a solution in XSL to adress 
grouping and add as sibling issues.



Francois Belanger
Sitepak, Bringing Internet Business into Focus
http://www.sitepak.com



 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.