![]() ![]() The setting -dtd:off (which is the default) Requires an XML parser that supports validation. Setting -dtd:on requests DTD-based validation of the source file and of any files read using the document()įunction. That implements the net.sf.saxon.CollectionURIResolver interface. ![]() ![]() The CollectionURIResolver is a user-defined class Use the specified CollectionURIResolver to process collection URIs passed to the On the command line override options specified in the configuration file. Indicates that configuration information should be taken from the supplied Used in a source document, stylesheet, or schema are to be redirected, typically to resources available The files are OASIS XML catalogs used to define how public identifiers and system identifiers (URIs) The stylesheet argument must not be present on the command line.įilenames is either a file name or a list of file names separated by semicolons Use the xml-stylesheet processing instruction in the source document The options are as follows (in any order): Or other plug-in components such as parsers or URI resolvers. It will therefore not work if your stylesheet uses extension functions Note, however, that this does not work if you need to load user-written extension functions or Is for the Home Edition): java -jar dir/saxon9he.jar If you are are not using any additional Java libraries, you can use the simpler form of command (this example Installation for details of how to set up the classpath. The options must come first, then the file names if present, then the parameters.įor this to work, all the necessary Java components must be available on the classpath. (for backwards compatibility) the source filename and/or stylesheet filename, then a number of parameters provided as More generally, the arguments consist of a number of options prefixed with "-", then optionally Provided that the source document and the stylesheet are the last two options before any keyword=value Java platform only) use the alternate entry point .įor more details see Schema-Aware Transformations.įor backwards compatibility with previous releases, the prefixes "-s:" and "-xsl:" can be omitted NET platform, the command is simply: Transform -s: source -xsl: stylesheet -o: outputįor a schema-aware transformation, specify the option -sa, or (on the Where source, stylesheet, and output are the source XML file, the XSLT stylesheet,Bįor the. On the Java platform, use the command: java net.sf.saxon.Transform -s: source -xsl: stylesheet -o: output A command is available to apply a given stylesheet to a given source XML document. ![]()
0 Comments
Leave a Reply. |