You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Guillaume Rousse <ro...@ccr.jussieu.fr> on 2001/08/22 18:24:34 UTC

xpath error

<key name="fooKey">
  <selector xpath="model:foos/*/model:foo"/>
  <field xpath="@id"/>
</key>

<key name="fooKey">
  <selector xpath="model:foos/descendant::model:foo"/>
  <field xpath="@id"/>
</key>
      
I'm trying to catch all foo element at different nesting level. However, 
first solution only match for level >=1, not base level, and solution 2 
returns: Schema error: token not supported: "EXPRTOKEN_AXISNAME_DESCENDANT".

So what can i do ?
-- 
Guillaume Rousse <ro...@ccr.jussieu.fr>
GPG key http://bohm.snv.jussieu.fr/~rousse/gpgkey.html

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org