cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Langham" <>
Subject XSL Problems (off topic)
Date Wed, 20 Dec 2000 09:54:52 GMT
Hi XSL gurus,

Sorry - off topic but I really am stuck.

I am stuck on a Stylesheet problem - perhaps someone with more XSL karma can
give me a hint what is wrong.

Using the org.apache.cocoon.generation.HTMLGenerator I get the following

<?xml version="1.0" encoding="UTF-8"?>
<meta name="generator" content="HTML Tidy, see"/>
<meta name="robots" content="noindex"/>
<script type="text/javascript" language="JavaScript" xml:space="preserve">


</head><body text="000000" bgcolor="c0c0c0">
<form method="get" enctype="application/x-www-form-urlencoded">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">

Now I want to write a stylesheet to manipulate the XHTML. My test-stylesheet
looks like this:

<xsl:stylesheet version="1.0"

<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>

<xsl:template match="text()|@*"><xsl:value-of select="."/></xsl:template>

<xsl:template match="html">


So basically I just want to match on the incoming "html" tag and then do
something. This stylesheet works fine when I test the whole thing in
Execelon Stylus - however not in Cocoon! Everything is configured ok - but
the match="html" is never triggered! Any ideas?


Open Source Group               sunShine - Lighting up e:Business
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel: +49-5251-1581-30   [ -]

View raw message