This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Implementing " and ' in literals


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]