xsl-list
[Top] [All Lists]

RE: [XPath] matching elements which satisfy a specific content model

2003-01-16 07:39:34
Hi

I need to match a variablelist containing:

   1. An optional title element,
   2. after this, one or more varlistentry elements.

   <t:template match="variablelist[...]">
                                   ^^^
How to write


Use XSLT 2.0 and schemas

<xsl:template match="variablelist[. instance of my:vbl-list-type]">

We are working on improving the syntax for this common case.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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