From 50b387ccf278047ebf49bfa3ec59d348f8080439 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L de Mello" Date: Fri, 16 May 2025 15:13:38 -0300 Subject: [PATCH] feat(ipub,ast): Body Element definition --- ipub/ast/section.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ipub/ast/section.go 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 +} +