You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Zbigniew Bomert OP <zb...@dominikanie.pl> on 2005/05/28 22:11:37 UTC

jxpath and namespaces

In many places one can use jxpath expressions, but I didn't find, how
one can define namespace prefix for use in jxpath, for instance:

	#{data/m:mods/...}

Is there realy no mean to do it? It would be large limitation...

I know, I can use local-name() function:

	#{data/*[local-name()='mods']/...}

but with longer paths it's ... well, not elegant. Any suggestions?

Zbigniew Bomert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org