|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Multiple output files
Thank you both for your help. I'm sure you must be right, because when I went
back in and poked around some more, I did find an about-dak.html file in my input directory -- I thought sure I had already looked there, but apparently not. However, now that I try to repeat the behavior, I again don't seem to be producing the file, at least not in the place where I found it before or in the directory I actually hope to put it in (or in my home directory, the directory where the xslt files are, the directory where xalan.jar is located, etc.). I'd like to put it in the same directory as my main output file, and that seems to be the default, if I'm reading the following correctly from http://xml.apache.org/xalan-j/apidocs/org/apache/xalan/lib/Redirect.html : "Calls can take a 'file' attribute and/or a 'select' attribute in order to get the filename. If a select attribute is encountered, it will evaluate that expression for a string that indicates the filename. If the string evaluates to empty, it will attempt to use the 'file' attribute as a default. Filenames can be relative or absolute. If they are relative, the base directory will be the same as the base directory for the output document. This is obtained by calling getOutputTarget() on the TransformerImpl. You can set this base directory by calling TransformerImpl.setOutputTarget() or it is automatically set when using the two argument form of transform() or transformNode(). " I'm reading this to say that the file should be placed in the same directory as the file I specify with the "-out" switch, which is where I want it to be anyway. The file I found was placed in the directory I specified with the "-in" switch instead, but that doesn't seem to be happening again either. One of my experiments must have done something, but I seem to be off-track again. Does any of this information help? Thanks! At 03:01 PM 3/5/03, you wrote: 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. --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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








