<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 <[EMAIL PROTECTED]>
GPG key http://bohm.snv.jussieu.fr/~rousse/gpgkey.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to