genxs(1) General Commands Manual genxs(1) (NAME) genxs - XML (Mono) (SYNOPSIS) genxs configurationFile [destinationFolder] (DESCRIPTION) genxs XML . configurationFile (namespace) (hooks) . . destinationFolder . : (Mono) . (CONFIGURATION FILE FORMAT) XML ( <> <<*>> ): * name ? name ? name ? name ? ? * ? * <> . : * class : ( ). * assembly : ( ). : * reader : (reader). * noReader : "true" . * writer : (writer). * baseSerializer : XML ( .). * implementation : ( .). * noWriter : "true" . * namespace : . * generateAsInternal : "true" internal . * outFileName : . * readerHooks : . * writerHooks : . (SPECIFYING HOOKS) . : source code ? source code ? source code ? <> : * attributes : . * elements : . * unknownAttribute : . * unknownElement : . * member : . * type : (type) . < System.Xml.Schema.XmlSchema $OBJECT = System.Xml.Schema.XmlSchema.Read (Reader, null); XmlSchema : $OBJECT.Write (Writer); "MyClass" : Console.WriteLine ("Serializing MyClass"); Console.WriteLine ("MyClass serialized"); Console.WriteLine ("Serialized member $MEMBER"); "MyAttribute" : Writer.WriteStartElement ("privateData"); Writer.WriteString ($OBJECT.PrivateData); Writer.WriteEndElement (); (CONFIGURATION FILE EXAMPLE) ServiceDescription : ServiceDescriptionReaderBase ServiceDescriptionWriterBase System.Web.Services.Description ServiceDescriptionSerializerBase.cs ServiceDescription.ReadExtension (Reader, $OBJECT); $OBJECT = System.Xml.Schema.XmlSchema.Read (Reader, null); ServiceDescription.WriteExtensions (Writer, $OBJECT); $OBJECT.Write (Writer); (AUTHORS) Lluis Sanchez Gual (lluis@ximian.com) (LICENSE) GenXS (GNU GPL) . (SEE ALSO) mono(1), mcs(1), sgen(1) genxs(1)