Ok  xsl:outputs makes me possible to generate non well-formed html

but how can I include the html file from the xsl file.

I've tried with document() function:

<xsl:value-of disable-output-escaping="yes"
select="document('Index.html')"/>

but it goes wrong, because index.html insn't a well formed document.

I've tried to envolve the content of Index.html in a CDATA element, but the
document
function don't return the text from CDATA elements

> --- Sergio <[EMAIL PROTECTED]> wrote:
> > hi
> >
> > how can I, include a file into an xsp.xsl file??
> >
> > I want include a part of code into the xsl file.
> > I don't want include a tree with its nodes. My idea
> > is include
> > a part of an .html file, and this part not is a well
> > formed XML document.


From: "Olga Agady" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Sergio" <[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 6:22 PM
Subject: Re: include html file into .xsl


> Hi,
>
> Look at the element <xsl:output>. it allows to include
> not wel-formed HTML code in xsl file.
>
> Regards
>
>


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

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

Reply via email to