From 6c3880bef37d91f9ad7782c1ed97f2dd12372351 Mon Sep 17 00:00:00 2001 From: Michael Ganss Date: Wed, 9 Jan 2019 12:26:47 +0100 Subject: [PATCH] Add hint for empty XML namespaces See also #51 --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index c1d01b65..0351c34d 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,16 @@ Using the optional `|` syntax of the `-n` command line option you can map indivi dotnet-xscgen.exe -n "|a.xsd=Example.NamespaceA" -n "|b.xsd=Example.NamespaceB" a.xsd b.xsd ``` +#### Mapping empty XML namespaces + +In order to provide a C# namespace name for an empty XML namespace you can specify it on the command line like this: + +``` +XmlSchemaClassGenerator.Console.exe -n =Example example.xsd +``` + +Note the space between `-n` and `=Example`. + Nullables ---------------------------------