3 .\" (C) 2003 Ximian, Inc.
4 .\" (C) 2004-2005 Novell, Inc.
6 .\" Miguel de Icaza (miguel@gnu.org)
8 .de Sp \" Vertical space (when we can't use .PP)
12 .TH mono-xmltool "Mono 1.0"
14 mono-xmltool \- Mono XML validation and transformation tool.
17 .B mono-xmltool --validate [*.rng | *.rnc | *.nvdl | *.xsd] [instances]
19 .B mono-xmltool --validate-rng relax-ng-grammar-xml [instances]
21 .B mono-xmltool --validate-rnc relax-ng-compact-grammar-file [instances]
23 .B mono-xmltool --validate-nvdl nvdl-script-xml [instances]
25 .B mono-xmltool --validate-xsd xml-schema [instances]
27 .B mono-xmltool --transform stylesheet instance-xml
29 .B mono-xmltool --prettyprint [source [result]]
32 \fImono-xmltool\fP is a command line front end for various functions
33 available in the Mono XML class libraries. It currently it offers
34 validation with various different kinds of schemas, xslt
35 transformations and pretty printing.
38 mono-xmltool can validate a given set of XML files (the instances
39 parameter) using the given schema file. Currently supported schema
40 files include Relax NG (*.rng), Compact Relax NG (*.rnc),
41 Namespace-based Validation Dispatching Language (*.nvdl) and XML
44 If invoked with the --validate argument, Mono will use the filename
45 extension to guess the kind of validation required. The
46 --validate-xxx flags would force a specific kind of validation.
48 The following lists the flags and the actual class that implements
53 Commons.Xml.Relaxng.RelaxNgPattern as the schema, and
54 Commons.Xml.Relaxng.RelaxngValidatingReader validator.
57 Commons.Xml.Relaxng.RncParser as the schema, and
58 Commons.Xml.Relaxng.RelaxngValidatingReader validator.
62 Commons.Xml.Nvdl as the schema and Commons.Xml.NvdlValidatingReader
66 System.Xml.Schema.XmlSchema as the schema and uses
67 System.Xml.XmlValidatingReader as the validator.
69 This does an XSLT transformation. The stylesheet must be an XSLT file,
70 the instance-xml is the document to be processed. Output it sent to
73 Produces a pretty-print rendering of the
76 specified it reads the standard input. If
78 is not specified, the output is sent to the standard output.
80 Mailing lists are listed at the
81 http://www.mono-project.com/Mailing_Lists
83 http://www.mono-project.com