Enumeration Casesoto-core 7.4.0SotoXML
text
XML.swift:27case text
case text
import SotoXML
enum Kind
XML node type
enum XML
Implemented to replace the XML Foundation classes. This was initially required as there is no implementation of the Foundation XMLNode classes in iOS. This is also here because the implementation of XMLNode in Linux Swift 4.2 was causing crashes. Whenever an XMLDocument was deleted all the underlying CoreFoundation objects were deleted. This meant if you still had a reference to a XMLElement from that document, while it was still valid the underlying CoreFoundation object had been deleted.
class Node
base class for all types of XML.Node
case document
case element
case attribute
case namespace
case comment