Skip to content

Commit

Permalink
Add hint for empty XML namespaces
Browse files Browse the repository at this point in the history
See also #51
  • Loading branch information
mganss authored Jan 9, 2019
1 parent 2d2aecf commit 6c3880b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<a name="nullables"></a>
---------------------------------

Expand Down

0 comments on commit 6c3880b

Please sign in to comment.