Hi,
I am using saxon 8 within Cocoon 2.1.9. I have a sitemap in cocoon like so:

<map:generate type="newjx" src="jx/{2}.xml"/>
<map:transform type="xslt-saxon" src="style/{2}.xsl"/>                             <map:transform src="template-style/forms-samples-styling.xsl "/>

Don't worry, you don't need to understand cocoon to follow this. This is a straight forward, God willing!, transformation issue

What is happening is that when my xml page hits style/{2}.xsl and is transformed, all the fi: parts of the tags are stripped out!!! So we go from:

<fi:form-template action="login.kont" ajax="true" name="Form1" method="POST">
<fi:continuation-id>3e1d50522826841983526b05063d32576c1f1e5e</fi:continuation-id>

    <fi:group>
<fi:styling type="tabs"/>

    <fi:state>

    <fi:field id="activetab" state="active" required="false">
.....

to:

<form-template action="login.kont" ajax="true" name="Form1" method="POST">
<continuation-id>3e1d50522826841983526b05063d32576c1f1e5e</continuation-id>

    <group>
<styling type="tabs"/>

    <state>

    <field id="activetab" state="active" required="false">
......

after the transformation. This I do not want to happen.

So,  how do I stop all fi: parts of the tags from being stripped out? In my stylesheet I am using the following command to read in the element 'form' from the xml document:

<xsl:apply-templates select="//form"/>

What I want is a command which brings in the contents but but does not process it, so that the contents are left as is!!! Is there such a thing in xsl?:

<xsl:apply-templates select-but-do-not-process="//form"/>

The reason I want this to happen is because the final xsl sheet, forms-samples-styling.xsl, expects to see those tags intact for it to process them.

regards

Andrew