xsl-list
[Top] [All Lists]

Re: dtd limit depth of elements

2003-01-25 09:14:06
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



<Prev in Thread] Current Thread [Next in Thread>