cocoon-dev mailing list archives

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

<snip/>
> 
> 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
capabilities.)

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....

<snip/>

-- 
Peter Hunsberger

Mime
View raw message