[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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

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
Keywords