This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Implementing " and ' in literals
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Implementing " and ' in literals
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Tue, 25 Apr 2000 09:29:01 +0100
- Reply-To: xsl-list at mulberrytech dot com
You're saying that a construct like "@comment()" is "total nonsense". I
don't think it's any more "total nonsense" than (say) "number('London')" or
"/.." is. It's well-defined: it means "find all comment nodes on the
attribute axis", and the result is always an empty node-set. And Saxon, at
least, implements it correctly and conformantly.
Mike Kay
> From: Matt Sergeant [mailto:matt@sergeant.org]
> > > There aren't _any_ conforming implementations of XPath -
> > > anyone who reads the grammar carefully will know what I
> mean by that.
> >
> > Explain please?
>
> It's the definition of Step (I'm only including the relevant
> parts of the grammar):
> Which allows for:
>
> '@' NodeType '(' ')'
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list