1Mono(mono-xmltool) Mono(mono-xmltool)
2
3
4
6 mono-xmltool - Mono XML validation and transformation tool.
7
9 mono-xmltool --validate [*.rng | *.rnc | *.nvdl | *.xsd] [instances]
10
11 mono-xmltool --validate-rng relax-ng-grammar-xml [instances]
12
13 mono-xmltool --validate-rnc relax-ng-compact-grammar-file [instances]
14
15 mono-xmltool --validate-nvdl nvdl-script-xml [instances]
16
17 mono-xmltool --validate-xsd xml-schema [instances]
18
19 mono-xmltool --transform stylesheet instance-xml
20
21 mono-xmltool --prettyprint [source [result]]
22
24 mono-xmltool is a command line front end for various functions avail‐
25 able in the Mono XML class libraries. It currently it offers validation
26 with various different kinds of schemas, xslt transformations and
27 pretty printing.
28
30 mono-xmltool can validate a given set of XML files (the instances
31 parameter) using the given schema file. Currently supported schema
32 files include Relax NG (*.rng), Compact Relax NG (*.rnc), Namespace-
33 based Validation Dispatching Language (*.nvdl) and XML Schema (*.xsd).
34
35 If invoked with the --validate argument, Mono will use the filename
36 extension to guess the kind of validation required. The --validate-xxx
37 flags would force a specific kind of validation.
38
39 The following lists the flags and the actual class that implements them
40 in Mono:
41
42 --validate-rng
43
44 Commons.Xml.Relaxng.RelaxNgPattern as the schema, and Com‐
45 mons.Xml.Relaxng.RelaxngValidatingReader validator.
46
47 --validate-rnc
48 Commons.Xml.Relaxng.RncParser as the schema, and Com‐
49 mons.Xml.Relaxng.RelaxngValidatingReader validator.
50
51 --validate-nvdl
52
53 Commons.Xml.Nvdl as the schema and Commons.Xml.NvdlValidatin‐
54 gReader validator.
55
56 --validate-xsd
57 System.Xml.Schema.XmlSchema as the schema and uses Sys‐
58 tem.Xml.XmlValidatingReader as the validator.
59
61 This does an XSLT transformation. The stylesheet must be an XSLT file,
62 the instance-xml is the document to be processed. Output it sent to
63 the standard output.
64
66 Produces a pretty-print rendering of the source file. If it is not
67 specified it reads the standard input. If result is not specified,
68 the output is sent to the standard output.
69
71 Mailing lists are listed at the http://www.mono-project.com/commu‐
72 nity/help/mailing-lists/
73
75 http://www.mono-project.com
76
78 mono(1),[22mmcs(1).
79
80
81
82 Mono(mono-xmltool)