cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MORÁVEK Peter <mora...@pobox.sk>
Subject RE: two XSLT processings
Date Mon, 15 May 2000 08:58:27 GMT
I have these tree files (included as attachment):

index.xml (main xml file)
index.xsl (first xslt processing)
other.xsl (second xslt processing)

the only output I receive is an error message:
org.apache.xalan.xslt.XSLProcessorException: Warning: can't output text
before document element!  Ignoring...

Please help ... thanks

Peter

> -----Original Message-----
> From: Robin Green [mailto:greenrd@hotmail.com]
> Sent: Monday, May 15, 2000 11:47 AM
> To: cocoon-users@xml.apache.org
> Subject: Re: two XSLT processings
> 
> 
> Stylesheets strip processing instructions by default. Thus you need 
> something like this in your first-applied stylesheet:
> 
> <xsl:template match="processing-instruction()">
>   <xsl:copy/>
> </xsl:template>
> 
> 


Mime
View raw message