logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mono-xmltool - Mono XML validation and transformation tool.

Description

mono-xmltool is a command line front end for various functions available in the Mono XML class libraries.
       It  currently  it  offers  validation  with  various different kinds of schemas, xslt transformations and
       pretty printing.

Mailing Lists

Name

       mono-xmltool - Mono XML validation and transformation tool.

Pretty Printing

       Produces a pretty-print rendering of the source file.  If it is  not  specified  it  reads  the  standard
       input.   If result is not specified, the output is sent to the standard output.

See Also

mono(1),mcs(1).

                                                                                              Mono(mono-xmltool)

Synopsis

mono-xmltool--validate[*.rng|*.rnc|*.nvdl|*.xsd][instances]mono-xmltool--validate-rngrelax-ng-grammar-xml[instances]mono-xmltool--validate-rncrelax-ng-compact-grammar-file[instances]mono-xmltool--validate-nvdlnvdl-script-xml[instances]mono-xmltool--validate-xsdxml-schema[instances]mono-xmltool--transformstylesheetinstance-xmlmono-xmltool--prettyprint[source[result]]

Transformations

       This  does  an XSLT transformation. The stylesheet must be an XSLT file, the instance-xml is the document
       to be processed.  Output it sent to the standard output.

Web Site

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  Commons.Xml.Relaxng.RelaxngValidatingReader
              validator.

       --validate-rnc
              Commons.Xml.Relaxng.RncParser   as  the  schema,  and  Commons.Xml.Relaxng.RelaxngValidatingReader
              validator.

       --validate-nvdl

              Commons.Xml.Nvdl as the schema and Commons.Xml.NvdlValidatingReader validator.

       --validate-xsd
              System.Xml.Schema.XmlSchema  as  the  schema  and  uses  System.Xml.XmlValidatingReader   as   the
              validator.

See Also