cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volkm@r" <plsdontre...@arcor.de>
Subject Re: Source Write Transformer and Namespace
Date Wed, 06 Apr 2005 14:22:59 GMT
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


Mime
View raw message