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: 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

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