Subject: RE: [XPath] matching elements which satisfy a specific content model
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 16 Jan 2003 14:39:34 -0000
|
> 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.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|
Michael Kay - Thu, 16 Jan 2003 09:39:36 -0500 (EST) <=
David . Pawson - Mon, 13 Jan 2003 04:51:53 -0500 (EST)
Dimitre Novatchev - Mon, 13 Jan 2003 05:39:58 -0500 (EST)
|
|