diff --git a/generator/types_tmpl.go b/generator/types_tmpl.go index a2d8e38..e2549c0 100644 --- a/generator/types_tmpl.go +++ b/generator/types_tmpl.go @@ -40,6 +40,8 @@ var typesTmpl = ` {{template "SimpleContent" .SimpleContent}} {{ else }} {{template "Elements" .Sequence.Elements}} + {{template "Elements" .Choice}} + {{template "Elements" .All}} {{template "Attributes" .Attributes}} {{end}} } @@ -55,6 +57,8 @@ var typesTmpl = ` {{template "SimpleContent" .SimpleContent}} {{ else }} {{template "Elements" .Sequence.Elements}} + {{template "Elements" .Choice}} + {{template "Elements" .All}} {{template "Attributes" .Attributes}} {{end}} }