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

RE: Multiple output files

Subject: RE: Multiple output files
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 5 Mar 2003 20:01:56 -0000
xalan output multiple files
My guess is that the about-dak.html file is being written, but not where
you expect. I'm not sure what Xalan's rules for this are.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Chris Loschen
> Sent: 05 March 2003 18:22
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Multiple output files
> 
> 
> Hi again!
> 
> I'm sure this must be a FAQ, but I don't seem to be finding 
> anything anywhere.
> 
> I'm trying to use <xalan:write> to redirect part of my XSLT 
> output to a 
> separate file.
> The stylesheet (in part) looks like this:
> 
> <?xml version="1.0" ?>
> <xsl:stylesheet version="1.0"
>          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> ...
>          xmlns:xalan="org.apache.xalan.xslt.extensions.Redirect"
>          extension-element-prefixes="xalan" ...>
> 
> <xsl:template match="wmeta">
>          <xalan:write file="about-dak.html">
>                  <div class="copyrights">
>                          <h1 
> class="logo"><b><xsl:text>AUTHOR</xsl:text></b></h1>
>                          <h3 
> class="logo"><xsl:text>TITLE</xsl:text></h3>
>                          <b><xsl:apply-templates select="tle" 
> /></b><br />
>                  <xsl:apply-templates select="ack" /><br />
>                  <hr class="half" /><a id="about"></a>
>                  <xsl:apply-templates select="about" /><br />
>                  <hr class="half" />
>                  <i><xsl:text>MS Reader for DAK ISBN 
> </xsl:text><xsl:apply-templates select="isbn" /></i><br />
>                  <xsl:apply-templates select="cpy" /><br />
>                  <xsl:apply-templates select="pubhistory" /><br />
>                  <hr class="half" />
>                  </div>
>          </xalan:write>
> </xsl:template>
> 
> The wmeta material is no longer appearing in my main output 
> file, which is 
> good, but I'm not seeing any
> "about-dak.html" file being created at all. My guess from 
> perusing the 
> xalan site is that it's supposed
> to show up in my output directory, but it's not there, nor do 
> I seem to be 
> able to find it anywhere else.
> I thought I was following the example from Michael Kay's invaluable 
> resource (2nd ed., p. 818) pretty
> exactly, but something isn't flying. Does anyone have a 
> suggestion? Thank 
> you so much!
> 
> 
> --Chris
> 
> --------------------------------------------------------------
> --------------------------
> Texterity ~ XML and PDF ePublishing Services
> --------------------------------------------------------------
> --------------------------
> Chris Loschen, XML Developer
> Texterity, Inc.
> 144 Turnpike Road
> Southborough, MA 01772 USA
> tel: +1.508.804.3033
> fax: +1.508.804.3110
> email: loschen@xxxxxxxxxxxxx
> http://www.texterity.com/ 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 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.