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

Re: [xsl] dtd limit depth of elements


Subject: Re: [xsl] dtd limit depth of elements
From: Tobias Reif <tobiasreif@xxxxxxxxxxxxx>
Date: Sat, 25 Jan 2003 17:14:06 +0100

W. Eliot Kimber wrote:


It's certainly easy to write an XSLT style sheet that will check these sorts of constraints, e.g:

<xsl:template match="//section/section/section/section">


or shorter
  count(ancestor::section)
eg
  match="section[count(ancestor::section)&gt;4]"

Tobi

--
http://www.pinkjuice.com/


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list




Current Thread
Keywords