Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mono-xmltool(1) [suse man page]

mono-xmltool(Mono 1.0)													    mono-xmltool(Mono 1.0)

NAME
mono-xmltool - Mono XML validation and transformation tool. 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 available 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 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. 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. 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. MAILING LISTS
Mailing lists are listed at the http://www.mono-project.com/Mailing_Lists WEB SITE
http://www.mono-project.com SEE ALSO
mono(1),mcs(1). mono-xmltool(Mono 1.0)

Check Out this Related Man Page

xsd(1)																	    xsd(1)

NAME
xsd - Mono's utility for generating schema or class files SYNOPSIS
xsd <schema.xsd> /classes [options] xsd <schema.xsd> /dataset [options] xsd <assembly>.dll|<assembly>.exe [options] xsd <instance.xml> [<instance.xml> ...] [options] DESCRIPTION
xsd is a tool for intended to complement the XML serialization support of Mono. It can do the following tasks: Generate serializable classes From a given XML schema, generate a class that can be used to read and write xml documents that conform that schema (/classes option). Generate typed datasets From a given XML schema, generate a typed DataSet class that can be used to read and write xml documents that conform that schema (/dataset option). Generate XML schemas From a given assembly and an optional type name, generate an XML schema that can be used to validate the xml documents that can be obtained by serializing objects of that type. If no type is provided, xsd generates a schema for all types in the assembly. When specifying the assembly name do not include the file extension (.dll or .exe). xsd will look for the assembly using the standard assembly loading rules. Infer XML schemas From a given set of XML documents, infer the XML schema that can be used to validate those documents. OPTIONS
The following options are available: /element:name /e:name Specifies the name of the XML schema element for which a class or a dataset has to be generated. /namespace:name /n:name Specifies the namespace of the XML schema element for which a class or a dataset has to be generated. /language:name /l:name Specifies the programming language to use for the generated code. The only supported languages are CS (C#) and VB (Visual Basic.NET). /generator:type,assembly /g:type,assembly Indicates xsd.exe to use custom CodeDomProvider to generate code. The type name must be full name. Assembly name is a local file name that is going to be loaded. The specified Type must have the default constructor. /outputdir:path /o:path Specifies the directory where to generate the code or schemas. /type:name /t:name Specifies the full name of the type (including namespace) for which to generate the XML schema. /help /h Show usage help. AUTHORS
Lluis Sanchez Gual (lluis@ximian.com) Atsushi Enomoto (atsushi@ximian.com) LICENSE
xsd is released under the terms of the GNU GPL. SEE ALSO
disco(1), soapsuds(1), mono(1), mcs(1), wsdl(1) xsd(1)
Man Page