You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sylvain Wallez <sy...@anyware-tech.com> on 2001/01/02 11:07:49 UTC
Re: Include XSL Dynamically
> "Typrowicz, Jim" a écrit :
>
> Under the Cocoon FAQ there is a section called Site Architecture
> Issues. In there is a note on how to include an XSL dynamically. The
> first is the XSP way and second is the XSLT way. I tried the XSLT
> example as is and I get an error:
>
> Warning: can't output text before document element! Ignoring...
>
> Anyone know why or how to fix this? I'm using Cocoon 1.7.4.
>
> Thank you.
This error means your XSL tries to output some text before the first tag
of the document.
This often arises when you do not have a <template match="/"> in your
stylesheet.
Hope this helps
--
Sylvain Wallez
Anyware Technologies