You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Volkm@r" <pl...@arcor.de> on 2005/04/06 16:22:59 UTC

Re: Source Write Transformer and Namespace

Matthieu Paindavoine wrote:
> Hello,
> 
> There was a thread just before Christmas on
> Sourcewriting using namespaces, but no real
> resolution.
> 
> I am experiencing the same problem with an insert (so
> I am not at liberty to remove the namespace), in that
> my transform is successful when the <source:path>
> doesn't contain namespaces, and fails otherwise.
> 
> Is anyone having success with
> <source:path>foo:bar/foo:qux</source:path> ?
> [...]

Could you give some more details about what you are trying?

In general, you can match any namespaced elements/paths by using xpath 
expressions

like         *[local-name()='bar']/*[local-name()='qux']
instead of   prefix:bar/prefix:qux


-- 
Volkm@r


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