OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] Simple xpath software request

[ Lists Home | Date Index | Thread Index ]

> From: Christian Nentwich [mailto:c.nentwich@cs.ucl.ac.uk]


> 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.


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS