[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: [ANN] dir to xml command line script
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
|
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
|