XMLNodeType

public typealias XMLNodeType = xmlElementType

Define a Swifty typealias for libxml’s node type enum

  • Element

    Declaration

    Swift

    public static var Element: xmlElementType       { return XML_ELEMENT_NODE }
  • Attribute

    Declaration

    Swift

    public static var Attribute: xmlElementType     { return XML_ATTRIBUTE_NODE }
  • Text

    Declaration

    Swift

    public static var Text: xmlElementType          { return XML_TEXT_NODE }
  • CData Section

    Declaration

    Swift

    public static var CDataSection: xmlElementType  { return XML_CDATA_SECTION_NODE }
  • Entity Reference

    Declaration

    Swift

    public static var EntityRef: xmlElementType     { return XML_ENTITY_REF_NODE }
  • Entity

    Declaration

    Swift

    public static var Entity: xmlElementType        { return XML_ENTITY_NODE }
  • Pi

    Pi

    Declaration

    Swift

    public static var Pi: xmlElementType            { return XML_PI_NODE }
  • Comment

    Declaration

    Swift

    public static var Comment: xmlElementType       { return XML_COMMENT_NODE }
  • Document

    Declaration

    Swift

    public static var Document: xmlElementType      { return XML_DOCUMENT_NODE }
  • Document Type

    Declaration

    Swift

    public static var DocumentType: xmlElementType  { return XML_DOCUMENT_TYPE_NODE }
  • Document Fragment

    Declaration

    Swift

    public static var DocumentFrag: xmlElementType  { return XML_DOCUMENT_FRAG_NODE }
  • Notation

    Declaration

    Swift

    public static var Notation: xmlElementType      { return XML_NOTATION_NODE }
  • HTML Document

    Declaration

    Swift

    public static var HtmlDocument: xmlElementType  { return XML_HTML_DOCUMENT_NODE }
  • DTD

    DTD

    Declaration

    Swift

    public static var DTD: xmlElementType           { return XML_DTD_NODE }
  • Element Declaration

    Declaration

    Swift

    public static var ElementDecl: xmlElementType   { return XML_ELEMENT_DECL }
  • Attribute Declaration

    Declaration

    Swift

    public static var AttributeDecl: xmlElementType { return XML_ATTRIBUTE_DECL }
  • Entity Declaration

    Declaration

    Swift

    public static var EntityDecl: xmlElementType    { return XML_ENTITY_DECL }
  • Namespace Declaration

    Declaration

    Swift

    public static var NamespaceDecl: xmlElementType { return XML_NAMESPACE_DECL }
  • XInclude Start

    Declaration

    Swift

    public static var XIncludeStart: xmlElementType { return XML_XINCLUDE_START }
  • XInclude End

    Declaration

    Swift

    public static var XIncludeEnd: xmlElementType   { return XML_XINCLUDE_END }
  • DocbDocument

    Declaration

    Swift

    public static var DocbDocument: xmlElementType  { return XML_DOCB_DOCUMENT_NODE }