xsl-list
[Top] [All Lists]

Re: bad match expression

2006-02-02 01:51:31
On 2/2/06, Terence Kearns 
<terence(_dot_)kearns(_at_)canberra(_dot_)edu(_dot_)au> wrote:
I don't know why but the following template match expression never
gets matched :(
match="FormElement[(_at_)type='text'][(_at_)type='password'][(_at_)type='submit'][(_at_)type='reset']">

This means that the FormElement must satisfy *all* those conditions,
which it never will be. If you mean 'or', try

match="FormElement[(_at_)type='text' or @type='password' or @type='submit'
or @type='reset']">


Alex
--
"Ultimately, all things are known because you want to believe you know."
                                                         - Frank Herbert
__ http://shelter.nu/ __________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



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