XmlAttribute
Overview
XML node to hold an XML attribute (a='test')
Location
-
Reference:
- Elements.dll .NET, .NET Core 6.0, .NET Standard 2.0
- elements.jar Cooper
- Elements.fx Island, ToffeeV2
- libElements.fx Toffee
- Namespace: RemObjects.Elements.RTL
- Platforms: .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, Toffee, ToffeeV2
- Ancestry: XmlNode | XmlAttribute
constructor (declared in XmlNode)
constructor
XmlAttribute()
init()
XmlAttribute()
Sub New()
constructor (not nullable String, nullable XmlNamespace, not nullable String)
constructor(aLocalName: not nullable String; aNamespace: nullable XmlNamespace; aValue: not nullable String)
XmlAttribute(String! aLocalName, XmlNamespace? aNamespace, String! aValue)
// Toffee
init(_ aLocalName: String, _ aNamespace: XmlNamespace, _ aValue: String)
// ToffeeV2
init(_ aLocalName: String, _ aNamespace: XmlNamespace?, _ aValue: String)
XmlAttribute(String aLocalName, XmlNamespace aNamespace, String aValue)
Sub New(aLocalName As String, aNamespace As XmlNamespace?, aValue As String)
Parameters:
- aLocalName:
- aNamespace:
- aValue:
constructor withParent(XmlElement): InstanceType
Create a new xml attribute, and add it to the parent node.
constructor withParent(aParent: XmlElement := nil)
XmlAttribute withParent(XmlElement aParent = null)
init(parent aParent: XmlElement = nil)
XmlAttribute withParent(XmlElement aParent)
Sub New withParent(aParent As XmlElement = Null)
Parameters:
- aParent:
Document (declared in XmlNode)
Gets the document this node is in.
property Document: nullable XmlDocument read write;
XmlDocument? Document { get; set; }
// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var Document: XmlDocument? { get{} set{} }
// Toffee
var Document: XmlDocument { get{} set{} }
XmlDocument Document { __get; __set; }
Property Document() As XmlDocument?
FullName
Returns the full name of the attribute, including namespace if present.
property FullName: not nullable String read;
String! FullName { get; }
var FullName: String { get{} }
String FullName { __get; }
ReadOnly Property FullName() As String
LocalName
Returns the local name of this attribute without namespace.
property LocalName: not nullable String read write;
String! LocalName { get; set; }
var LocalName: String { get{} set{} }
String LocalName { __get; __set; }
Property LocalName() As String
Namespace
Returns the namespace for this attribute.
property Namespace: XmlNamespace read write;
XmlNamespace Namespace { get; set; }
var Namespace: XmlNamespace { get{} set{} }
XmlNamespace Namespace { __get; __set; }
Property Namespace() As XmlNamespace
NodeRange (declared in XmlNode)
Returns the original range of this node during parsing.
property NodeRange: XmlRange read write;
XmlRange NodeRange { get; set; }
var NodeRange: XmlRange { get{} set{} }
XmlRange NodeRange { __get; __set; }
Property NodeRange() As XmlRange
NodeType (declared in XmlNode)
Contains the type of this node.
property NodeType: XmlNodeType read;
XmlNodeType NodeType { get; }
var NodeType: XmlNodeType { get{} }
XmlNodeType NodeType { __get; }
ReadOnly Property NodeType() As XmlNodeType
Parent (declared in XmlNode)
Returns the parent element.
property Parent: nullable XmlElement read;
XmlElement? Parent { get; }
// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var Parent: XmlElement? { get{} }
// Toffee
var Parent: XmlElement { get{} }
XmlElement Parent { __get; }
ReadOnly Property Parent() As XmlElement?
toString Cooper
method toString: PlatformString
PlatformString toString()
func toString() -> PlatformString
PlatformString toString()
Function toString() As PlatformString
ToString override .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
Gets this attribute as string.
method ToString: PlatformString
PlatformString ToString()
func ToString() -> String
Function ToString() As PlatformString
ToString (Boolean, XmlFormattingOptions): String
Gets this attribute as string.
// .NET, .NET Core 6.0, .NET Standard 2.0
method ToString(aFormatInsideTags: Boolean; aFormatOptions: XmlFormattingOptions := nil): String
// Island
method ToString(aFormatInsideTags: Boolean; aFormatOptions: XmlFormattingOptions): String
// .NET, .NET Core 6.0, .NET Standard 2.0
String ToString(Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions = null)
// Island
String ToString(Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions)
func ToString(_ aFormatInsideTags: Boolean, _ aFormatOptions: XmlFormattingOptions) -> String
String ToString(Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions)
// .NET, .NET Core 6.0, .NET Standard 2.0
Function ToString(aFormatInsideTags As Boolean, aFormatOptions As XmlFormattingOptions = Null) As String
// Island
Function ToString(aFormatInsideTags As Boolean, aFormatOptions As XmlFormattingOptions) As String
Parameters:
- aFormatInsideTags:
- aFormatOptions:
ToString (Boolean, Boolean, XmlFormattingOptions): String virtual (declared in XmlNode)
Convert this node to a string.
// .NET, .NET Core 6.0, .NET Standard 2.0
method ToString(aSaveFormatted: Boolean; aFormatInsideTags: Boolean; aFormatOptions: XmlFormattingOptions := nil): String
// Island
method ToString(aSaveFormatted: Boolean; aFormatInsideTags: Boolean; aFormatOptions: XmlFormattingOptions): String
// .NET, .NET Core 6.0, .NET Standard 2.0
String ToString(Boolean aSaveFormatted, Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions = null)
// Island
String ToString(Boolean aSaveFormatted, Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions)
func ToString(_ aSaveFormatted: Boolean, _ aFormatInsideTags: Boolean, _ aFormatOptions: XmlFormattingOptions) -> String
String ToString(Boolean aSaveFormatted, Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions)
// .NET, .NET Core 6.0, .NET Standard 2.0
Function ToString(aSaveFormatted As Boolean, aFormatInsideTags As Boolean, aFormatOptions As XmlFormattingOptions = Null) As String
// Island
Function ToString(aSaveFormatted As Boolean, aFormatInsideTags As Boolean, aFormatOptions As XmlFormattingOptions) As String
Parameters:
- aSaveFormatted:
- aFormatInsideTags:
- aFormatOptions:
UniqueCopy override
Clone this node.
method UniqueCopy: not nullable XmlNode
XmlNode! UniqueCopy()
func UniqueCopy() -> XmlNode
XmlNode UniqueCopy()
Function UniqueCopy() As XmlNode
Value
Returns the value of this tatribute.
property Value: not nullable String read write;
String! Value { get; set; }
var Value: String { get{} set{} }
String Value { __get; __set; }
Property Value() As String
ValueRange
Returns the position in the file from parsing.
property ValueRange: XmlRange read write;
XmlRange ValueRange { get; set; }
var ValueRange: XmlRange { get{} set{} }
XmlRange ValueRange { __get; __set; }
Property ValueRange() As XmlRange
Document (declared in XmlNode)
Gets the document this node is in.
property Document: nullable XmlDocument read write;
XmlDocument? Document { get; set; }
// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var Document: XmlDocument? { get{} set{} }
// Toffee
var Document: XmlDocument { get{} set{} }
XmlDocument Document { __get; __set; }
Property Document() As XmlDocument?
FullName
Returns the full name of the attribute, including namespace if present.
property FullName: not nullable String read;
String! FullName { get; }
var FullName: String { get{} }
String FullName { __get; }
ReadOnly Property FullName() As String
LocalName
Returns the local name of this attribute without namespace.
property LocalName: not nullable String read write;
String! LocalName { get; set; }
var LocalName: String { get{} set{} }
String LocalName { __get; __set; }
Property LocalName() As String
Namespace
Returns the namespace for this attribute.
property Namespace: XmlNamespace read write;
XmlNamespace Namespace { get; set; }
var Namespace: XmlNamespace { get{} set{} }
XmlNamespace Namespace { __get; __set; }
Property Namespace() As XmlNamespace
NodeRange (declared in XmlNode)
Returns the original range of this node during parsing.
property NodeRange: XmlRange read write;
XmlRange NodeRange { get; set; }
var NodeRange: XmlRange { get{} set{} }
XmlRange NodeRange { __get; __set; }
Property NodeRange() As XmlRange
NodeType (declared in XmlNode)
Contains the type of this node.
property NodeType: XmlNodeType read;
XmlNodeType NodeType { get; }
var NodeType: XmlNodeType { get{} }
XmlNodeType NodeType { __get; }
ReadOnly Property NodeType() As XmlNodeType
Parent (declared in XmlNode)
Returns the parent element.
property Parent: nullable XmlElement read;
XmlElement? Parent { get; }
// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var Parent: XmlElement? { get{} }
// Toffee
var Parent: XmlElement { get{} }
XmlElement Parent { __get; }
ReadOnly Property Parent() As XmlElement?
Value
Returns the value of this tatribute.
property Value: not nullable String read write;
String! Value { get; set; }
var Value: String { get{} set{} }
String Value { __get; __set; }
Property Value() As String
ValueRange
Returns the position in the file from parsing.
property ValueRange: XmlRange read write;
XmlRange ValueRange { get; set; }
var ValueRange: XmlRange { get{} set{} }
XmlRange ValueRange { __get; __set; }
Property ValueRange() As XmlRange
constructor (declared in XmlNode)
constructor
XmlAttribute()
init()
XmlAttribute()
Sub New()
constructor (not nullable String, nullable XmlNamespace, not nullable String)
constructor(aLocalName: not nullable String; aNamespace: nullable XmlNamespace; aValue: not nullable String)
XmlAttribute(String! aLocalName, XmlNamespace? aNamespace, String! aValue)
// Toffee
init(_ aLocalName: String, _ aNamespace: XmlNamespace, _ aValue: String)
// ToffeeV2
init(_ aLocalName: String, _ aNamespace: XmlNamespace?, _ aValue: String)
XmlAttribute(String aLocalName, XmlNamespace aNamespace, String aValue)
Sub New(aLocalName As String, aNamespace As XmlNamespace?, aValue As String)
Parameters:
- aLocalName:
- aNamespace:
- aValue:
constructor withParent(XmlElement): InstanceType
Create a new xml attribute, and add it to the parent node.
constructor withParent(aParent: XmlElement := nil)
XmlAttribute withParent(XmlElement aParent = null)
init(parent aParent: XmlElement = nil)
XmlAttribute withParent(XmlElement aParent)
Sub New withParent(aParent As XmlElement = Null)
Parameters:
- aParent:
toString Cooper
method toString: PlatformString
PlatformString toString()
func toString() -> PlatformString
PlatformString toString()
Function toString() As PlatformString
ToString override .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2
Gets this attribute as string.
method ToString: PlatformString
PlatformString ToString()
func ToString() -> String
Function ToString() As PlatformString
ToString (Boolean, XmlFormattingOptions): String
Gets this attribute as string.
// .NET, .NET Core 6.0, .NET Standard 2.0
method ToString(aFormatInsideTags: Boolean; aFormatOptions: XmlFormattingOptions := nil): String
// Island
method ToString(aFormatInsideTags: Boolean; aFormatOptions: XmlFormattingOptions): String
// .NET, .NET Core 6.0, .NET Standard 2.0
String ToString(Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions = null)
// Island
String ToString(Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions)
func ToString(_ aFormatInsideTags: Boolean, _ aFormatOptions: XmlFormattingOptions) -> String
String ToString(Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions)
// .NET, .NET Core 6.0, .NET Standard 2.0
Function ToString(aFormatInsideTags As Boolean, aFormatOptions As XmlFormattingOptions = Null) As String
// Island
Function ToString(aFormatInsideTags As Boolean, aFormatOptions As XmlFormattingOptions) As String
Parameters:
- aFormatInsideTags:
- aFormatOptions:
ToString (Boolean, Boolean, XmlFormattingOptions): String virtual (declared in XmlNode)
Convert this node to a string.
// .NET, .NET Core 6.0, .NET Standard 2.0
method ToString(aSaveFormatted: Boolean; aFormatInsideTags: Boolean; aFormatOptions: XmlFormattingOptions := nil): String
// Island
method ToString(aSaveFormatted: Boolean; aFormatInsideTags: Boolean; aFormatOptions: XmlFormattingOptions): String
// .NET, .NET Core 6.0, .NET Standard 2.0
String ToString(Boolean aSaveFormatted, Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions = null)
// Island
String ToString(Boolean aSaveFormatted, Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions)
func ToString(_ aSaveFormatted: Boolean, _ aFormatInsideTags: Boolean, _ aFormatOptions: XmlFormattingOptions) -> String
String ToString(Boolean aSaveFormatted, Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions)
// .NET, .NET Core 6.0, .NET Standard 2.0
Function ToString(aSaveFormatted As Boolean, aFormatInsideTags As Boolean, aFormatOptions As XmlFormattingOptions = Null) As String
// Island
Function ToString(aSaveFormatted As Boolean, aFormatInsideTags As Boolean, aFormatOptions As XmlFormattingOptions) As String
Parameters:
- aSaveFormatted:
- aFormatInsideTags:
- aFormatOptions:
UniqueCopy override
Clone this node.
method UniqueCopy: not nullable XmlNode
XmlNode! UniqueCopy()
func UniqueCopy() -> XmlNode
XmlNode UniqueCopy()
Function UniqueCopy() As XmlNode