UseStylesheetParam What it does: Performs a transformation using top-level stylesheet parameters. There are three supported types of parameters. One is a text string. A second is a number of type double. A nodeset or parsed document can also be used.
You can run it from the UseStylesheetParam subdirectory with UseStylesheetParam xmlfile stylesheet outfile [options] where the options are: -s key "'String-Value'" -n key Number -d key "Document-URL" Using the sample program: UseStylesheetParam foo.xml foo.xslt foo.out \ -s stringA "'This is a test string value'" \ -n numberA 123.012345 \ -d parmA "parmA.xml" \ -d parmB "parmB.xml" The (parmA.xml) and (parmB.xml) are parsed and converted to nodesets. The stylesheet (foo.xslt) merges the contents of (foo.xml) and the parameters into the (foo.out) file. The source sample is implemented in C++. Another example is implemented in 'C' using the XalanCAPI library (TestCAPIparm.c). The usage interface for both is the same. See also: Setting stylesheet parameters. [The Current Subversion: XALAN-C for 1.11]