W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2001

Re: one more question about xpath & Schema

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 20 Jun 2001 15:01:19 +0100
To: "Uwe Zeise" <uwezeise@yahoo.de>
Cc: <www-xml-schema-comments@w3.org>
Message-ID: <f5bbsnj8d3k.fsf@cogsci.ed.ac.uk>
"Uwe Zeise" <uwezeise@yahoo.de> writes:

> Hi again,
> 
> is there a difference between the following expressions : ?
> 
> <selector xpath="firstChild//allItsChildren">
> <selector xpath="./firstChild//allItsChildren">

No, but neither is a valid selector

> Can I leave "./" at the beginning out ?

./a

and

a

are the same

.//a

is allowed, but

//a is not.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
Received on Wednesday, 20 June 2001 10:01:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:50 GMT