cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Hunsberger <>
Subject Re: [CForms] Stylesheets incompatible with Saxon 8
Date Tue, 12 Jul 2005 17:47:41 GMT
On 7/12/05, Ugo Cei <> wrote:

> I tried changing includes to imports in forms-samples-styling.xsl but
> this breaks the samples. I couldn't spot where the difference was
> between the two outputs, but the layout of the form1 sample is wrong
> and tabs disappeared.

That's going to be due to the results of the differences between
apply-templates and apply-imports.  Somewhere the former needs to be
changed to the latter.  If you've got access to Stylus Studio it will
identify these spots pretty quickly: run the current stylesheets,
select the resultant output and examine the back trace up through the
template invocation order. (Other tools may also provide similar

Alternatively, you may be able to spot these by eye, just by examining
the importing stylesheet for locations where it does an
apply-templates and there is no obvious candidate target in the
current stylesheet....


Peter Hunsberger

View raw message