- Timestamp:
- 04/24/08 12:26:10 (9 months ago)
- Location:
- trunk/xml
- Files:
-
- 3 added
- 1 modified
-
lgt2txt.js (added)
-
lgt2txt.sh (added)
-
lgttxt.xsl (added)
-
NOTES.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xml/NOTES.txt
r4205 r4220 78 78 Edit the file if you use a different encoding. 79 79 80 lgttxt.xsl 81 82 XSLT file to output simple text files from the XML files. UTF-8 encoding 83 is assumed. Edit the file if you use a different encoding. 80 84 81 85 lgtpdf.xsl … … 218 222 219 223 224 lgt2txt.sh 225 (bash shell script) 226 lgt2txt.js 227 (JScript command-line script for Windows; requires WSH 5.6 or 228 later version) 229 230 Sample scripts to batch convert XML files to text files. 231 232 These scripts assumes that the LOGTALKHOME and LOGTALKUSER environment 233 variables are defined. 234 235 The scripts should be called from the directory containing the XML files 236 you wish to convert. Call the scripts with the help option for a description 237 of the available optional parameters (type "cscript lgt2txt.js help" or 238 "lgt2txt.sh -h"; depending on your Logtalk installation, you may simply 239 need to type "lgt2txt" in order to run the script). 240 241 220 242 Note that you can write other XSL files for converting the XML files to 221 243 other formats besides PDF or (X)HTML. You can also write alternative CSS
