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

Re: [xsl] Converting from
pairs to better XML


Subject: Re: [xsl] Converting from <dt><dd> pairs to better XML
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Thu, 26 Aug 2010 00:13:51 +0100

This is based on the assumption that each dt is followed by exactly one dd. If there may be multiple dds after each dt, you should group adjacent dds in a first pass.

I would normally tackle this using group-starting-with="dt", creating a group consisting of a dt and its following dd's.

Michael Kay
Saxonica


Current Thread