W3C home > Mailing lists > Public > www-xpath-comments@w3.org > July to September 1999

AW: Definition of step

From: Weichel Bernhard (K3/EMW4) * <Bernhard.Weichel@de.bosch.com>
Date: Fri, 16 Jul 1999 15:54:20 +0200
Message-ID: <9FB009071AEFD111B5F80000F8FE7F83018243B8@simail7.si.bosch.de>
To: "'www-xpath-comments@w3.org'" <www-xpath-comments@w3.org>



> -----Ursprüngliche Nachricht-----
> Von:	James Clark [SMTP:jjc@jclark.com]
> Gesendet am:	Dienstag, 13. Juli 1999 18:53
> An:	Weichel Bernhard (K3/EMW4) *
> Cc:	'www-xpath-comments@w3.org'
> Betreff:	Re: Definition of step
> 
> Thanks for your comment.  I think it's unlikely that the WG would want
> to consider a major redesign at this stage.
	[wl]  This is a decision of the WG.
>  
> Also this suggestion seems to lose the convenience of the
> abbreviations.  For example, being able to use simply
> 
>   foo
> 
> to select all foo children, or
> 
>  foo/bar
> 
> 
	what is 

	   child

	selct all children of all children with GID=child


	[wl]  Well this is true. But isn't abbreviation a syntax of its own?
In XML we have overcome omittag and shorttag because of all the problems
occuring with such abbreviaions.

	As a consequence, i think there should be some indicator turning
into abbreviated - or expaded mode. Obviously, abbreviated mode does not
support all details. The indicator could for example be the step separator.
"/" is abbreviation, "." is explicit syntax.

	then one can write 

	/foo/bar:3

	.child[?foo].child[?bar]:3

	you could even use

	/foo .child[?bar &@myatt==="foobar"]/nextfoo/nextbar

	It could be that there must be spaces to isolate the operators from
valid XML names.

[wl]  

Regards/Mit freundlichen Gruessen
===================================================================
Bernhard Weichel              Phone:  (49) 711 811 8322
Robert Bosch GmbH               Fax:  (49) 711 811 260073
Dept. K3/EMW4                 eMail:  bernhard.weichel@de.bosch.com
P.O. Box 30 02 40                     
D-70442 Stuttgart
	Germany 
Received on Friday, 16 July 1999 09:53:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:05:53 GMT