feat(ipub,ast): Body Element definition

This commit is contained in:
Guz
2025-05-16 15:13:38 -03:00
parent f1912240a0
commit 50b387ccf2

20
ipub/ast/section.go Normal file
View File

@@ -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
}