Types
XmlNode = ref object case kind*: XmlNodeKind of ElementNode: tag*: string attributes*: XmlAttributes children*: seq[XmlNode] of TextNode: content*: string
- Source Edit
XmlNodeKind = enum ElementNode, TextNode
- Source Edit
XmlNode = ref object case kind*: XmlNodeKind of ElementNode: tag*: string attributes*: XmlAttributes children*: seq[XmlNode] of TextNode: content*: string
XmlNodeKind = enum ElementNode, TextNode