Phil Blake wrote:
...
> Then a second stylesheet named BluePage.xsl imports StandardPage.xsl. It 
> overrides only one template - match="/*" mode="pageBody"

There are a few more differences, namely
 >     xmlns:psi="http://prescience.org/logicsheets/app/2.0";
and, most odd:
 >     version="2.0">
This means the processor should use XSLT v 2.0, which
is probably something the processor does not like.
It's somewhat strage that you get  the typical result
of default templates kicking in (all text copied, tags
stripped), instead of an error.

Your StandardPage.xsl is a bit strange too,
no XSL version on the document element, which is usually
a fatal error, and:
>     <xsl:template match="/" mode="page">
...
>                      <xsl:value-of select="title"/>
I'm surprised you get a title.

What processor are you using? Xalan? Which release?

Try to change version="1.0" in your blue style sheet,
this could be enough to fix the problem.

J.Pietschman


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to