Windows command : How to pass param ??
Could any tell the windows command for converting xml to .txt file by passing the parameter to xsl file.
[u]XSLT processor: </u>
Xalan-C_1_8_0-windows_2000-msvc_60
xerces-c_2_5_0-windows_nt-msvc_60
$xalan file.xml file.xsl output.txt ( working )
$xalan file.xml file.xsl -p 'EN' output.txt ( Not working ) getting the output as follows
Xalan version 1.8.0.
Xerces version 2.5.0.
Usage: Xalan [options] source stylesheet
Options:
-a Use xml-stylesheet PI, not the 'stylesheet' argument
-e encoding Force the specified encoding for the output.
-i integer Indent the specified amount.
-m Omit the META tag in HTML output.
-o filename Write output to the specified file.
-p name expression Sets a stylesheet parameter.
-t Display timing information.
-u Disable escaping of URLs in HTML output.
-? Display this message.
-v Validates source documents.
- A dash as the 'source' argument reads from stdin.
('-' cannot be used for both arguments.)
|