Hi

> However, you haven't specified any namespace prefix in the match 
> attribute, so it will only match a publication element with no 
> namespace (despite the default namespace you set in the XSL file) 
> while the element in your source document has a namespace.  As a 
> result, the default template of <xsl:apply-templates/> will be used 
> instead of the rest of your code, resulting in the output of the text
>  nodes from your document i.e. "foobar".  In the XSL file you need to
>  map some prefix to your "http://test"; namespace and use that in the
>  match expression e.g. <xsl:template match="n:publication" 
> xmlns:n="http://test";>

Doh. :-( Thanks a lot. It now works. Next time will check the xslt prior
searching the problem in cocoon.

cu
        Mathias

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to