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

RE: [ANN] dir to xml command line script

Subject: RE: [ANN] dir to xml command line script
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Sat, 22 Jul 2000 16:12:05 +0100
dir to xml
I created a use for the output of dirTOxml.js which creates an ftp script.
http://www.bayes.co.uk/xml/index.xml?/xml/utils/xmltoftp.xml
One possible use is to publish a web from the command line with the help of
translate.js
http://www.bayes.co.uk/xml/index.xml?/xml/utils/translate.xml (at the bottom
of the page)

cscript dirTOxml.js c:\webshare\webroot tmp.xml
cscript translate.js tmp.xml dirtoftp.xslt tmp.fcf remoteroot=/usr/home/web
host=ftp.host.co.uk password=password username=username
ftp -s:tmp.fcf

or if you want to use saxon

cscript dirTOxml.js c:\webshare\webroot tmp.xml
saxon -o tmp.fcf tmp.xml dirtoftp.xslt remoteroot=/usr/home/web
host=ftp.host.co.uk password=password username=username
ftp -s:tmp.fcf

or xt

cscript dirTOxml.js c:\webshare\webroot tmp.xml
xt tmp.xml dirtoftp.xslt tmp.fcf remoteroot=/usr/home/web
host=ftp.host.co.uk password=password username=username
ftp -s:tmp.fcf

Rather nicely it is the fastest way I have found to publish a web. If you
were to use xcopy /d:[date] to a temporary folder you can publish only
changed files.

xcopy /d:christmas c:\webshare\webroot c:\temp\web
cscript dirTOxml.js c:\temp\web tmp.xml
cscript translate.js tmp.xml dirtoftp.xslt tmp.fcf remoteroot=/usr/home/web
host=ftp.host.co.uk password=password username=username
ftp -s:tmp.fcf


 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.