This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Another website.dtd experience! boundary




> Changing it to something like
> 
> <xsl:template name="write.chunk">
>   <xsl:param name="filename" select="''"/>
>   <xsl:param name="content" select="''"/>
>   <xsl:param name="method" select="'html'"/>
> 
>   <xalanredirect:write file="{$filename}">
>     <xsl:copy-of select="$content"/>
>     <xsl:fallback>
>       <saxon:output method="{$method}" file="{$filename}"
>       encoding="ISO-8859-1">
>         <xsl:copy-of select="$content"/>
>         <xsl:fallback>
>           <xsl:copy-of select="$content"/>
>         </xsl:fallback>
>       </saxon:output>
>     </xsl:fallback>
>   </xalanredirect:write>
> </xsl:template>
> 
> should help. I think that Norm already recognized this
> unpleasant feature, and he will fix it in future release.
> 

Hi Again!

I've tried this but now I get this error message:

At saxon:output on line 578 of file:/C:/development/
PB4 User Documentation/stylesheets/docbook/html/chunk-common.xsl: 
Variable method has not been declared.

Did I forgett something?


Ciao,

Ali :-)
-- 
------------------------------------------------------------------------------
PIRONET NDH
Dipl.-Ing. Ali Saffari - Junior Consultant - SBU Software
Josef-Lammerting-Allee 14-18 - 50933 Cologne - Germany
Tel.: +49 (0)221 770-1853 - Fax: +49 (0)221 770-1005
mailto:asaffari@pironet.com - http://www.pironet.com
------------------------------------------------------------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]