XmlElement
Overview
Location
- Reference: Sugar
- Namespace: Sugar.Xml
- Ancestry: XmlNode | XmlElement
constructor
constructor(aNode: XObject)
XmlElement(XObject aNode)
init(_ aNode: XObject)
XmlElement(XObject aNode)
Sub New(aNode As XObject)
Parameters:
- aNode:
AddChild
method AddChild(aNode: XmlNode)
void AddChild(XmlNode aNode)
func AddChild(_ aNode: XmlNode)
void AddChild(XmlNode aNode)
Sub AddChild(aNode As XmlNode)
Parameters:
- aNode:
Attributes
property Attributes[aName: String]: XmlAttribute read;
XmlAttribute Attributes[String aName] { get; }
subscript Attributes(_ aName: String) -> XmlAttribute { get{} }
XmlAttribute Attributes[String aName] { __get; }
ReadOnly Property Attributes(aName As String) As XmlAttribute
ChildCount (declared in XmlNode)
property ChildCount: Int32 read;
Int32 ChildCount { get; }
var ChildCount: Int32 { get{} }
Int32 ChildCount { __get; }
ReadOnly Property ChildCount() As Int32
ChildNodes (declared in XmlNode)
property ChildNodes: array of XmlNode read;
XmlNode[] ChildNodes { get; }
var ChildNodes: XmlNode... { get{} }
XmlNode[] ChildNodes { __get; }
ReadOnly Property ChildNodes() As XmlNode()
CreateCompatibleNode protected (declared in XmlNode)
class method CreateCompatibleNode(Node: XNode): XmlNode
static XmlNode CreateCompatibleNode(XNode Node)
static func CreateCompatibleNode(_ Node: XNode) -> XmlNode
static XmlNode CreateCompatibleNode(XNode Node)
Shared Function CreateCompatibleNode(Node As XNode) As XmlNode
Parameters:
- Node:
Document (declared in XmlNode)
property Document: XmlDocument read;
XmlDocument Document { get; }
var Document: XmlDocument { get{} }
XmlDocument Document { __get; }
ReadOnly Property Document() As XmlDocument
Equals (declared in XmlNode)
Parameters:
- obj:
FirstChild (declared in XmlNode)
property FirstChild: XmlNode read;
XmlNode FirstChild { get; }
var FirstChild: XmlNode { get{} }
XmlNode FirstChild { __get; }
ReadOnly Property FirstChild() As XmlNode
Parameters:
- aName:
Parameters:
- aLocalName:
- NamespaceUri:
GetAttributeNode (String): XmlAttribute
method GetAttributeNode(aName: String): XmlAttribute
XmlAttribute GetAttributeNode(String aName)
func GetAttributeNode(_ aName: String) -> XmlAttribute
XmlAttribute GetAttributeNode(String aName)
Function GetAttributeNode(aName As String) As XmlAttribute
Parameters:
- aName:
GetAttributeNode (String, String): XmlAttribute
method GetAttributeNode(aLocalName: String; NamespaceUri: String): XmlAttribute
XmlAttribute GetAttributeNode(String aLocalName, String NamespaceUri)
func GetAttributeNode(_ aLocalName: String, _ NamespaceUri: String) -> XmlAttribute
XmlAttribute GetAttributeNode(String aLocalName, String NamespaceUri)
Function GetAttributeNode(aLocalName As String, NamespaceUri As String) As XmlAttribute
Parameters:
- aLocalName:
- NamespaceUri:
GetAttributes
method GetAttributes: array of XmlAttribute
XmlAttribute[] GetAttributes()
func GetAttributes() -> XmlAttribute...
XmlAttribute[] GetAttributes()
Function GetAttributes() As XmlAttribute()
GetElementsByTagName (String): array of XmlElement
method GetElementsByTagName(aName: String): array of XmlElement
XmlElement[] GetElementsByTagName(String aName)
func GetElementsByTagName(_ aName: String) -> XmlElement...
XmlElement[] GetElementsByTagName(String aName)
Function GetElementsByTagName(aName As String) As XmlElement()
Parameters:
- aName:
GetElementsByTagName (String, String): array of XmlElement
method GetElementsByTagName(aLocalName: String; NamespaceUri: String): array of XmlElement
XmlElement[] GetElementsByTagName(String aLocalName, String NamespaceUri)
func GetElementsByTagName(_ aLocalName: String, _ NamespaceUri: String) -> XmlElement...
XmlElement[] GetElementsByTagName(String aLocalName, String NamespaceUri)
Function GetElementsByTagName(aLocalName As String, NamespaceUri As String) As XmlElement()
Parameters:
- aLocalName:
- NamespaceUri:
GetFirstElementWithName
method GetFirstElementWithName(aName: String): XmlElement
XmlElement GetFirstElementWithName(String aName)
func GetFirstElementWithName(_ aName: String) -> XmlElement
XmlElement GetFirstElementWithName(String aName)
Function GetFirstElementWithName(aName As String) As XmlElement
Parameters:
- aName:
Parameters:
- aName:
Parameters:
- aLocalName:
- NamespaceUri:
Item (declared in XmlNode)
LastChild (declared in XmlNode)
property LastChild: XmlNode read;
XmlNode LastChild { get; }
var LastChild: XmlNode { get{} }
XmlNode LastChild { __get; }
ReadOnly Property LastChild() As XmlNode
LocalName
property LocalName: String read;
String LocalName { get; }
var LocalName: String { get{} }
String LocalName { __get; }
ReadOnly Property LocalName() As String
Name
property Name: String read;
String Name { get; }
var Name: String { get{} }
String Name { __get; }
ReadOnly Property Name() As String
NextSibling (declared in XmlNode)
property NextSibling: XmlNode read;
XmlNode NextSibling { get; }
var NextSibling: XmlNode { get{} }
XmlNode NextSibling { __get; }
ReadOnly Property NextSibling() As XmlNode
Node protected (declared in XmlNode)
property Node: XObject read;
XObject Node { get; }
var Node: XObject { get{} }
XObject Node { __get; }
ReadOnly Property Node() As XObject
NodeType
property NodeType: XmlNodeType read;
XmlNodeType NodeType { get; }
var NodeType: XmlNodeType { get{} }
XmlNodeType NodeType { __get; }
ReadOnly Property NodeType() As XmlNodeType
OwnerDocument (declared in XmlNode)
property OwnerDocument: XmlDocument read;
XmlDocument OwnerDocument { get; }
var OwnerDocument: XmlDocument { get{} }
XmlDocument OwnerDocument { __get; }
ReadOnly Property OwnerDocument() As XmlDocument
Parent (declared in XmlNode)
property Parent: XmlNode read;
XmlNode Parent { get; }
var Parent: XmlNode { get{} }
XmlNode Parent { __get; }
ReadOnly Property Parent() As XmlNode
PreviousSibling (declared in XmlNode)
property PreviousSibling: XmlNode read;
XmlNode PreviousSibling { get; }
var PreviousSibling: XmlNode { get{} }
XmlNode PreviousSibling { __get; }
ReadOnly Property PreviousSibling() As XmlNode
RemoveAttribute (String)
method RemoveAttribute(aName: String)
void RemoveAttribute(String aName)
func RemoveAttribute(_ aName: String)
void RemoveAttribute(String aName)
Sub RemoveAttribute(aName As String)
Parameters:
- aName:
Parameters:
- aLocalName:
- NamespaceUri:
RemoveAttributeNode
method RemoveAttributeNode(Node: XmlAttribute)
void RemoveAttributeNode(XmlAttribute Node)
func RemoveAttributeNode(_ Node: XmlAttribute)
void RemoveAttributeNode(XmlAttribute Node)
Sub RemoveAttributeNode(Node As XmlAttribute)
Parameters:
- Node:
RemoveChild
method RemoveChild(aNode: XmlNode)
void RemoveChild(XmlNode aNode)
func RemoveChild(_ aNode: XmlNode)
void RemoveChild(XmlNode aNode)
Sub RemoveChild(aNode As XmlNode)
Parameters:
- aNode:
ReplaceChild
Parameters:
- aNode:
- WithNode:
Parameters:
- aName:
- aValue:
Parameters:
- aLocalName:
- NamespaceUri:
- aValue:
SetAttributeNode
method SetAttributeNode(Node: XmlAttribute)
void SetAttributeNode(XmlAttribute Node)
func SetAttributeNode(_ Node: XmlAttribute)
void SetAttributeNode(XmlAttribute Node)
Sub SetAttributeNode(Node As XmlAttribute)
Parameters:
- Node:
ToString (declared in XmlNode)
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Value
Attributes
property Attributes[aName: String]: XmlAttribute read;
XmlAttribute Attributes[String aName] { get; }
subscript Attributes(_ aName: String) -> XmlAttribute { get{} }
XmlAttribute Attributes[String aName] { __get; }
ReadOnly Property Attributes(aName As String) As XmlAttribute
ChildCount (declared in XmlNode)
property ChildCount: Int32 read;
Int32 ChildCount { get; }
var ChildCount: Int32 { get{} }
Int32 ChildCount { __get; }
ReadOnly Property ChildCount() As Int32
ChildNodes (declared in XmlNode)
property ChildNodes: array of XmlNode read;
XmlNode[] ChildNodes { get; }
var ChildNodes: XmlNode... { get{} }
XmlNode[] ChildNodes { __get; }
ReadOnly Property ChildNodes() As XmlNode()
Document (declared in XmlNode)
property Document: XmlDocument read;
XmlDocument Document { get; }
var Document: XmlDocument { get{} }
XmlDocument Document { __get; }
ReadOnly Property Document() As XmlDocument
FirstChild (declared in XmlNode)
property FirstChild: XmlNode read;
XmlNode FirstChild { get; }
var FirstChild: XmlNode { get{} }
XmlNode FirstChild { __get; }
ReadOnly Property FirstChild() As XmlNode
Item (declared in XmlNode)
LastChild (declared in XmlNode)
property LastChild: XmlNode read;
XmlNode LastChild { get; }
var LastChild: XmlNode { get{} }
XmlNode LastChild { __get; }
ReadOnly Property LastChild() As XmlNode
LocalName
property LocalName: String read;
String LocalName { get; }
var LocalName: String { get{} }
String LocalName { __get; }
ReadOnly Property LocalName() As String
Name
property Name: String read;
String Name { get; }
var Name: String { get{} }
String Name { __get; }
ReadOnly Property Name() As String
NextSibling (declared in XmlNode)
property NextSibling: XmlNode read;
XmlNode NextSibling { get; }
var NextSibling: XmlNode { get{} }
XmlNode NextSibling { __get; }
ReadOnly Property NextSibling() As XmlNode
Node protected (declared in XmlNode)
property Node: XObject read;
XObject Node { get; }
var Node: XObject { get{} }
XObject Node { __get; }
ReadOnly Property Node() As XObject
NodeType
property NodeType: XmlNodeType read;
XmlNodeType NodeType { get; }
var NodeType: XmlNodeType { get{} }
XmlNodeType NodeType { __get; }
ReadOnly Property NodeType() As XmlNodeType
OwnerDocument (declared in XmlNode)
property OwnerDocument: XmlDocument read;
XmlDocument OwnerDocument { get; }
var OwnerDocument: XmlDocument { get{} }
XmlDocument OwnerDocument { __get; }
ReadOnly Property OwnerDocument() As XmlDocument
Parent (declared in XmlNode)
property Parent: XmlNode read;
XmlNode Parent { get; }
var Parent: XmlNode { get{} }
XmlNode Parent { __get; }
ReadOnly Property Parent() As XmlNode
PreviousSibling (declared in XmlNode)
property PreviousSibling: XmlNode read;
XmlNode PreviousSibling { get; }
var PreviousSibling: XmlNode { get{} }
XmlNode PreviousSibling { __get; }
ReadOnly Property PreviousSibling() As XmlNode
Value
CreateCompatibleNode protected (declared in XmlNode)
class method CreateCompatibleNode(Node: XNode): XmlNode
static XmlNode CreateCompatibleNode(XNode Node)
static func CreateCompatibleNode(_ Node: XNode) -> XmlNode
static XmlNode CreateCompatibleNode(XNode Node)
Shared Function CreateCompatibleNode(Node As XNode) As XmlNode
Parameters:
- Node:
constructor
constructor(aNode: XObject)
XmlElement(XObject aNode)
init(_ aNode: XObject)
XmlElement(XObject aNode)
Sub New(aNode As XObject)
Parameters:
- aNode:
AddChild
method AddChild(aNode: XmlNode)
void AddChild(XmlNode aNode)
func AddChild(_ aNode: XmlNode)
void AddChild(XmlNode aNode)
Sub AddChild(aNode As XmlNode)
Parameters:
- aNode:
Equals (declared in XmlNode)
Parameters:
- obj:
Parameters:
- aName:
Parameters:
- aLocalName:
- NamespaceUri:
GetAttributeNode (String): XmlAttribute
method GetAttributeNode(aName: String): XmlAttribute
XmlAttribute GetAttributeNode(String aName)
func GetAttributeNode(_ aName: String) -> XmlAttribute
XmlAttribute GetAttributeNode(String aName)
Function GetAttributeNode(aName As String) As XmlAttribute
Parameters:
- aName:
GetAttributeNode (String, String): XmlAttribute
method GetAttributeNode(aLocalName: String; NamespaceUri: String): XmlAttribute
XmlAttribute GetAttributeNode(String aLocalName, String NamespaceUri)
func GetAttributeNode(_ aLocalName: String, _ NamespaceUri: String) -> XmlAttribute
XmlAttribute GetAttributeNode(String aLocalName, String NamespaceUri)
Function GetAttributeNode(aLocalName As String, NamespaceUri As String) As XmlAttribute
Parameters:
- aLocalName:
- NamespaceUri:
GetAttributes
method GetAttributes: array of XmlAttribute
XmlAttribute[] GetAttributes()
func GetAttributes() -> XmlAttribute...
XmlAttribute[] GetAttributes()
Function GetAttributes() As XmlAttribute()
GetElementsByTagName (String): array of XmlElement
method GetElementsByTagName(aName: String): array of XmlElement
XmlElement[] GetElementsByTagName(String aName)
func GetElementsByTagName(_ aName: String) -> XmlElement...
XmlElement[] GetElementsByTagName(String aName)
Function GetElementsByTagName(aName As String) As XmlElement()
Parameters:
- aName:
GetElementsByTagName (String, String): array of XmlElement
method GetElementsByTagName(aLocalName: String; NamespaceUri: String): array of XmlElement
XmlElement[] GetElementsByTagName(String aLocalName, String NamespaceUri)
func GetElementsByTagName(_ aLocalName: String, _ NamespaceUri: String) -> XmlElement...
XmlElement[] GetElementsByTagName(String aLocalName, String NamespaceUri)
Function GetElementsByTagName(aLocalName As String, NamespaceUri As String) As XmlElement()
Parameters:
- aLocalName:
- NamespaceUri:
GetFirstElementWithName
method GetFirstElementWithName(aName: String): XmlElement
XmlElement GetFirstElementWithName(String aName)
func GetFirstElementWithName(_ aName: String) -> XmlElement
XmlElement GetFirstElementWithName(String aName)
Function GetFirstElementWithName(aName As String) As XmlElement
Parameters:
- aName:
Parameters:
- aName:
Parameters:
- aLocalName:
- NamespaceUri:
RemoveAttribute (String)
method RemoveAttribute(aName: String)
void RemoveAttribute(String aName)
func RemoveAttribute(_ aName: String)
void RemoveAttribute(String aName)
Sub RemoveAttribute(aName As String)
Parameters:
- aName:
Parameters:
- aLocalName:
- NamespaceUri:
RemoveAttributeNode
method RemoveAttributeNode(Node: XmlAttribute)
void RemoveAttributeNode(XmlAttribute Node)
func RemoveAttributeNode(_ Node: XmlAttribute)
void RemoveAttributeNode(XmlAttribute Node)
Sub RemoveAttributeNode(Node As XmlAttribute)
Parameters:
- Node:
RemoveChild
method RemoveChild(aNode: XmlNode)
void RemoveChild(XmlNode aNode)
func RemoveChild(_ aNode: XmlNode)
void RemoveChild(XmlNode aNode)
Sub RemoveChild(aNode As XmlNode)
Parameters:
- aNode:
ReplaceChild
Parameters:
- aNode:
- WithNode:
Parameters:
- aName:
- aValue:
Parameters:
- aLocalName:
- NamespaceUri:
- aValue:
SetAttributeNode
method SetAttributeNode(Node: XmlAttribute)
void SetAttributeNode(XmlAttribute Node)
func SetAttributeNode(_ Node: XmlAttribute)
void SetAttributeNode(XmlAttribute Node)
Sub SetAttributeNode(Node As XmlAttribute)
Parameters:
- Node:
ToString (declared in XmlNode)