Perhaps others who read this list in 98/99 can help,
#but I thought that if the input file to xt was a directory,
then each .xml file in that directory was processed?
regards DaveP
My question is how to read all the xml files in one
directory as input
files to my XSL file?
Why not do this in Perl, and let Perl call the XSLT engine
for every file?
Or do you need to do XSLT over all files simultaneously?
Below a little Perl to only process files in the current
directory who start
with the content of the -f commandline variable. Instead of print "+";
you can place the command to XSLT one file using whatever XSLT
engine supporting commandline running.
Cas
if ( $option{f} ) { # -f = only files starting with
print "... Converting $option{f} procedures to HTML:\n";
@filestodo = <$option{f}*>;
print "@filestodo \n";
foreach $file (@filestodo) {
print "+";
}
print "\n--> Found " . scalar(@filestodo) . " files to do.\n";
return \(_at_)filestodo;
}
--
The information contained in this communication and any
attachments is confidential and may be privileged, and is for
the sole use of the intended recipient(s). Any unauthorized
review, use, disclosure or distribution is prohibited. If you
are not the intended recipient, please notify the sender
immediately by replying to this message and destroy all
copies of this message and any attachments. ASML is neither
liable for the proper and complete transmission of the
information contained in this communication, nor for any
delay in its receipt.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
-
NOTICE: The information contained in this email and any attachments is
confidential and may be legally privileged. If you are not the
intended recipient you are hereby notified that you must not use,
disclose, distribute, copy, print or rely on this email's content. If
you are not the intended recipient, please notify the sender
immediately and then delete the email and any attachments from your
system.
RNIB has made strenuous efforts to ensure that emails and any
attachments generated by its staff are free from viruses. However, it
cannot accept any responsibility for any viruses which are
transmitted. We therefore recommend you scan all attachments.
Please note that the statements and views expressed in this email
and any attachments are those of the author and do not necessarily
represent those of RNIB.
RNIB Registered Charity Number: 226227
Website: http://www.rnib.org.uk
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list