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

RE: Command Line XSLT programs

Subject: RE: Command Line XSLT programs
From: roger.day@xxxxxxxxxxxxxxxxxx
Date: Wed, 13 Mar 2002 18:36:11 +0000
command line xslt
This is (almost) what I do - except I use the cygwin shell on Win2000 and gnu
Makefile's to run a python script which uses the pyana module which uses XSLTC+

The script can even regenerate the makefiles for you if your're canny enough.

Roger.

At 13/03/2002 18:27:05, "Diamond, Jason" <Jason.Diamond@xxxxxxx> wrote:
#  Isn't this what Makefiles are for? Create an inference rule from .xml to
#  .html, add your list of files, and let 'er rip. The Windows shell even has
#  enough scriptability to generate the list of files in a directory from the
#  command line. I do this to make Makefiles for whole diretories of XML files
#  that need to be transformed. You only have to regenerate the Makefile when
#  you add or remove a file.
#
#  Jason
#
#  > -----Original Message-----
#  > From: Michael Kay [mailto:michael.h.kay@xxxxxxxxxxxx]
#  > Sent: Wednesday, March 13, 2002 10:11 AM
#  > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
#  > Subject: RE:  Command Line XSLT programs
#  >
#  >
#  > >
#  > > Does anyone know if it is possible to apply an XSLT to
#  > > multiple XML docs at
#  > > the same time. My company has a "document-base" in XML that
#  > they want
#  > > converted into HTML. So instead of me doing them one by one
#  > > with MSXSL and
#  > > MSXML 4.0.
#  > >
#  > Sure. It's probably best in this scenario to script it
#  > yourself: for MSXML
#  > this would probably be JavaScript, for other processors it
#  > would be Java.
#  > Look up the API documentation for your processor. Compile the
#  > stylesheet
#  > once, then use it repeatedly to process a list of source documents.
#  >
#  > You can process multiple source documents from within a
#  > single stylesheet
#  > execution, by using the document() function, but that's
#  > probably not the
#  > right approach here.
#  >
#  > Doing it as a command-line script, processing the stylesheet
#  > from scratch
#  > each time, would be a lot less efficient. MSXML does have a
#  > command-line
#  > interface, but you don't really want it here.
#  >
#  > Michael Kay
#  > Software AG
#  > home: Michael.H.Kay@xxxxxxxxxxxx
#  > work: Michael.Kay@xxxxxxxxxxxxxx
#  >
#  >
#  >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
#  >
#
#   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.