Documentation ¶
Index ¶
- type XmlNode
- func (n *XmlNode) AddChild(newNode *XmlNode) *XmlNode
- func (n *XmlNode) MapAttributesRecur()
- func (n *XmlNode) Marshal() []byte
- func (n *XmlNode) SetAttr(name string, value string) *XmlNode
- func (n *XmlNode) SetAttrs(a map[string]string) *XmlNode
- func (n *XmlNode) SetContent(s string) *XmlNode
- func (n *XmlNode) SetName(name string) *XmlNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XmlNode ¶
type XmlNode struct { XMLName xml.Name Attrs []xml.Attr `xml:",any,attr"` Content []byte `xml:",innerxml"` Nodes []*XmlNode `xml:",any"` Attributes map[string]string `xml:"-"` }
func CreateNodeFromFile ¶
func CreateNodeFromXML ¶
func (*XmlNode) MapAttributesRecur ¶
func (n *XmlNode) MapAttributesRecur()
func (*XmlNode) SetContent ¶
Click to show internal directories.
Click to hide internal directories.