[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> schreef: 
> Hi,
> 
> Firstly, I don't understand why you are using the namespace <xmlns:i>
> if you want to use the cinclude transformer as this uses the
> <xmlns:cinclude>  

It doesn't matter if you use cinclude or i as prefix, as long as the
real namespace is the right one.

For example (also taking the opportunity to show how to use the
include transformer in xsl):

<xsl:stylesheet version="1.0" 
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
  xmlns:i="http://apache.org/cocoon/include/1.0"; 
  xmlns:cinclude="http://apache.org/cocoon/include/1.0";>

<xsl:template name="foo">
  <i:include src="cocoon://bar"/>
</xsl:template>

<xsl:template name="baz">
  <cinclude:include src="cocoon://bar"/>
</xsl:template>

foo and baz do exactly the same thing here.


mcv.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to