Thanks, quick work!

The complete expression I need is:

(//. | //@* | //namespace::*)[not(self:comment())]

The 'not' part doesn't seem to work either.

TIA

EJP

-----Original Message-----
From: David N Bertoni/Cambridge/IBM [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 10 October 2002 2:51 AM
To: [EMAIL PROTECTED]
Subject: Re: SimpleXpathAPI and //. expression







Just checked in a fix...

Dave



 

                      David N

                      Bertoni/Cambridge         To:
[EMAIL PROTECTED]

                      /IBM                      cc:      (bcc: David N
Bertoni/Cambridge/IBM)                                           
                      <david_n_bertoni@         Subject: Re: SimpleXpathAPI
and //. expression                                          
                      us.ibm.com>

 

                      10/09/2002 08:54

                      AM

                      Please respond to

                      xalan-dev

 

 









Yes "//." is equivalent to "//self::node().  I don't have a problem with
self::node() using 1.4.  Are you sure it doesn't work?

//. definitely doesn't work, so I'll take a look and see what's going on.

Dave




                      "Pitt, Esmond"

                      <[EMAIL PROTECTED]>          To:
[EMAIL PROTECTED]

                                               cc:      (bcc: David N
Bertoni/Cambridge/IBM)
                      10/08/2002 10:37         Subject: SimpleXpathAPI and
//. expression
                      PM

                      Please respond

                      to xalan-dev






The Xalan 1.4 SimpleXPathAPI.exe doesn't appear to accept the XPath
expressions //. or //self:node() as its 3rd parameter (throwing a
XalanParserException).
These are equivalent, and one or the other is required to support XML-DSIG.

Or am I dreaming?

TIA

EJP








Reply via email to