- From: Guillaume Rousse <rousse@ccr.jussieu.fr>
- Date: Sat, 1 Sep 2001 11:52:46 +0200
- To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
I have a bunch of nested foo under foos element i would like to identify <key name="fooKey"> <selector xpath="foos/descendant::foo"/> <field xpath="@id"/> </key> Using descendant axis in selector xpath seems to be not allowed, so this is not possible <key name="fooKey"> <selector xpath="foos/*/foo"/> <field xpath="@id"/> </key> This one matches only first nesting level (not top-level, nor sublevels) <element name="foos"> [..] <key name="fooKey"> <selector xpath=".//foo"/> <field xpath="@id"/> </key> </element> This one (i'm not even sure it's correct) makes fooKey locale to foos element, and not available elsewhere. So, what can i do for this ? -- Guillaume Rousse <rousse@ccr.jussieu.fr> GPG key http://bohm.snv.jussieu.fr/~rousse/gpgkey.html
Received on Saturday, 1 September 2001 05:54:18 UTC