ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
RE: [xml-dev] Simple xpath software request
by Michael Brennan other posts by this author
Mar 1 2002 12:32AM messages near this date
Re: RE: [xml-dev] REST & types | RE: [xml-dev] MS thinks HTTP Needs Replacing???
>  From: Christian Nentwich [mailto:c.nentwich@[...].uk]

<snip/> 

>  For example, the path id('foo')/bar/baz cannot be checked 
>  since you cannot
>  be certain that the element with id 'foo' will be an element 
>  that has 'bar'
>  as a child.

But you could probably identify from the schema whether it's possible in a
valid instance to have an element with an attribute of type ID and a child
called "bar" that itself has a child called "baz", couldn't you? It seems
like there is still utility, though not a panacea. It could catch a typo
like "id('foo')/baz/bar".

This sounds cool to me.

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org> 

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl> 

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved