OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: XSL print StyleSheets


Bob Stayton writes:
 > I think Norm is keeping this experimental feature separate
 > at this point because it makes use of the XSL extension
 > xt:document implemented only in Clark's XT (hence the name
 > xtchunk).  Not everyone uses XT as their XSLT processor.
 > 

the saxon, xalan and lotusxsl XSLT processors also support a similar
extension, and Oracle will do any day now. you just have to write your
XSLT code a little more defensively using fallback. here is an example 
from my TEI XSLT stylesheets

  <xt:document method="html" href="{concat($ident,'.html')}">
  <xsl:call-template name="docOut"/>
  <xsl:fallback>
    <saxon:output  method="html" file="{concat($ident,'.html')}">
    <xsl:call-template name="docOut"/>
      <xsl:fallback>
         <xalan:write file="{concat($ident,'.html')}">
             <xsl:call-template name="docOut"/>
           <xsl:fallback>
             <xsl:call-template name="docOut"/>
          </xsl:fallback>  
         </xalan:write>
      </xsl:fallback>  
    </saxon:output>
  </xsl:fallback>
 </xt:document>

there are other techniques you can use as well

sebastian


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC