You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Andrei Lunjov <an...@alpitek.com> on 2004/03/23 21:32:02 UTC

namespaces and XPathDirectory Generator in Cocoon 2.1.4

Please explain me what I'm doing wrong, or is it a bug? What should I do?

using xpath
/map:sitemap/map:pipelines/map:pipeline/map:match/@pattern
I got nothing

using
/sitemap/pipelines/pipeline/match/@pattern
I go the value

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


Re: namespaces and XPathDirectory Generator in Cocoon 2.1.4

Posted by Andrei Lunjov <an...@alpitek.com>.
I found next solution in older list messages:
/*[local-name()='sitemap']/*[local-name()='pipelines']/*[local-name()='pipeline']/*[local-name()='match']
works.

> Please explain me what I'm doing wrong, or is it a bug? What should I do?
>
> using xpath
> /map:sitemap/map:pipelines/map:pipeline/map:match/@pattern
> I got nothing
>
> using
> /sitemap/pipelines/pipeline/match/@pattern
> I go the value
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


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