[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSL stylesheets for TEI XML documents

Subject: Re: XSL stylesheets for TEI XML documents
From: "Sebastian Rahtz" <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 10 Dec 1999 20:27:51 +0000 (GMT)
tei xml editor
Patrice Bonhomme writes:

 > This is quite annoying if we have to handle each of the 
 > XSLT implementations. It should be nice to specify a common
 > architecture for managing some more
 > processing/implmentation things.

Actually, I think it is premature. We currently have just one XSLT
processor that claims to be 100% conformant to the spec, and I think
we should wait for the others to catch up. When 

 a) we have 3 or 4 conformant processors
 b) we have more experience with extensions like xt:node-set

then someone can start firming up the extensions. 

 >     <xslx:call name="writeTo"> 
 >       <xslx:param name="method" value="html"/>
 >       <xslx:param name="file" value="{concat($masterFile,'.html')}"/>
 >       <xsl:...>...
 >     </xslx:call>

you can do _something_ like this already with named templates

 <xsl:call template name="output">
 <xsl:param name="file">
 <xsl:param name="contents">
  IF XT then
   xt:document
  ELSIF SAXON then
   saxon:output
  ELSE
   panic
 </xsl:call-template>

its a mild pain stuffing everything in a variable to pass to the
template (which is why I didn't do it), but its not that bad. the
nested xsl:fallbacks I used are not that bad either.

by the way, if we compare extensions, I see that Xalan implements
separate opening and closing of files, and thus templates can append
to an output stream. i wonder whether this is important?

sebastian


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.