mono-xmltool
SYNOPSIS
mono-xmltool --validate [*.rng | *.rnc | *.nvdl | *.xsd] [instances]
mono-xmltool --validate-rng relax-ng-grammar-xml [instances]
mono-xmltool --validate-rnc relax-ng-compact-grammar-file [instances]
mono-xmltool --validate-nvdl nvdl-script-xml [instances]
mono-xmltool --validate-xsd xml-schema [instances]
mono-xmltool --transform stylesheet instance-xml
mono-xmltool --prettyprint [source [result]]
DESCRIPTION
mono-xmltool is a command line front end for various functions avail-
able in the Mono XML class libraries. It currently it offers validation
with various different kinds of schemas, xslt transformations and
pretty printing.
XML VALIDATION
mono-xmltool can validate a given set of XML files (the instances
parameter) using the given schema file. Currently supported schema
files include Relax NG (*.rng), Compact Relax NG (*.rnc), Namespace-
based Validation Dispatching Language (*.nvdl) and XML Schema (*.xsd).
If invoked with the --validate argument, Mono will use the filename
extension to guess the kind of validation required. The --validate-xxx
flags would force a specific kind of validation.
The following lists the flags and the actual class that implements them
in Mono:
--validate-rng
Commons.Xml.Relaxng.RelaxNgPattern as the schema, and Com-
mons.Xml.Relaxng.RelaxngValidatingReader validator.
--validate-rnc
Commons.Xml.Relaxng.RncParser as the schema, and Com-
mons.Xml.Relaxng.RelaxngValidatingReader validator.
--validate-nvdl
Commons.Xml.Nvdl as the schema and Commons.Xml.NvdlValidatin-
gReader validator.
--validate-xsd
System.Xml.Schema.XmlSchema as the schema and uses Sys-
tem.Xml.XmlValidatingReader as the validator.
TRANSFORMATIONS
WEB SITE
http://www.mono-project.com
SEE ALSO
mono(1),mcs(1).
mono-xmltool(Mono 1.0)
Man Pages Copyright Respective Owners. Site Copyright (C) 1994 - 2012
Hurricane Electric.
All Rights Reserved.