Subject: Re: [xsl] [XPath] matching elements which satisfy a specific content model From: Tobias Reif <tobiasreif@xxxxxxxxxxxxx> Date: Mon, 13 Jan 2003 10:56:14 +0100 |
How to write
title?, varlistentry+
in XPath?
It's pattern actually
What about simple <t:template match="variablelist[varlistentry]">
Or more strict
<t:template match="variablelist[*[1][self::title] and *[2][self::varlistentry] | variablelist[*[1][self::varlistentry]">
But it looks too convolute,
patterns are supposed to be simple,
why do you need so strict matching?
Vim users donate. http://iccf-holland.org/donate.html
Web developers check. http://www.pinkjuice.com/check/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] [XPath] matching elements, Oleg Tkachenko | Thread | Re: [xsl] [XPath] matching elements, David Carlisle |
RE: [xsl] [XPath] matching elements, David . Pawson | Date | Re: [xsl] [XPath] matching elements, Tobias Reif |
Month |