diff --git a/ipub/ast/section.go b/ipub/ast/section.go new file mode 100644 index 0000000..10d5228 --- /dev/null +++ b/ipub/ast/section.go @@ -0,0 +1,20 @@ +package ast + +import ( + "encoding/xml" +) + +type Section struct { + Body Body `xml:"body"` +} + +type Body struct { + BaseElement +} + +var KindBody = NewElementKind("body", &Body{}) + +func (n *Body) Kind() ElementKind { + return KindBody +} +