Method | Description | |
---|---|---|
AddAttribute ( this xmlElement, string attributeName, string value ) : void |
Creates an attribute via the owner document of xmlElement , sets its value and appends it to
|
|
AddElement ( this node, string name ) : |
Creates an XmlElement and appends it as child to the XmlNode
|
|
GetAttributeValue ( this xmlElement, string attributeName ) : string |
Gets the value of an attribute. If the attribute does not exists, null is returned.
|
|
GetBoolAttributeValue ( this xmlElement, string attributeName ) : bool? | ||
GetDoubleAttributeValue ( this xmlElement, string attributeName ) : double? | ||
GetGuid ( this xmlElement ) : System.Guid | ||
GetGuid ( this xmlElement, String attributeName ) : System.Guid | ||
GetIntAttributeValue ( this xmlElement, string attributeName ) : int? | ||
GetName ( this xmlElement ) : string | ||
GetOADate ( this element, string attributeName = "date" ) : DateTime? | ||
GetSingleElement ( this doc, string tagName ) : |
||
IsAttributeSet ( this xmlElement, ISessionObject session, string attributeName ) : bool | ||
IsContainingOk ( this xmlDoc ) : bool | ||
NodeToString ( this xmlElement ) : string |
Creates a string representation of an XmlNode
|
|
SetAttributeValue ( this xmlElement, string attributeName, string value ) : void |
Sets an attribute to a value. If no fitting XmlAttribute exists, a new one is created/appended and its value set.
|
|
ToOADate ( this value ) : System.DateTime | ||
TryGetGuid ( this xmlElement, System.Guid &guid ) : bool | ||
TryGetGuid ( this xmlElement, string attributeName, System.Guid &guid ) : bool |
public static AddAttribute ( this xmlElement, string attributeName, string value ) : void | ||
xmlElement | this | The node, the attribute gets added to |
attributeName | string | Name of the attribute |
value | string | Value of the attribute |
return | void |
public static AddElement ( this node, string name ) : |
||
node | this | The parent node |
name | string | Name of the newly created element |
return |
public static GetAttributeValue ( this xmlElement, string attributeName ) : string | ||
xmlElement | this | The node |
attributeName | string | Name of the attribute |
return | string |
public static GetBoolAttributeValue ( this xmlElement, string attributeName ) : bool? | ||
xmlElement | this | |
attributeName | string | |
return | bool? |
public static GetDoubleAttributeValue ( this xmlElement, string attributeName ) : double? | ||
xmlElement | this | |
attributeName | string | |
return | double? |
public static GetGuid ( this xmlElement ) : System.Guid | ||
xmlElement | this | |
return | System.Guid |
public static GetGuid ( this xmlElement, String attributeName ) : System.Guid | ||
xmlElement | this | |
attributeName | String | |
return | System.Guid |
public static GetIntAttributeValue ( this xmlElement, string attributeName ) : int? | ||
xmlElement | this | |
attributeName | string | |
return | int? |
public static GetName ( this xmlElement ) : string | ||
xmlElement | this | |
return | string |
public static GetOADate ( this element, string attributeName = "date" ) : DateTime? | ||
element | this | |
attributeName | string | |
return | DateTime? |
public static GetSingleElement ( this doc, string tagName ) : |
||
doc | this | |
tagName | string | |
return |
public static IsAttributeSet ( this xmlElement, ISessionObject session, string attributeName ) : bool | ||
xmlElement | this | |
session | ISessionObject | |
attributeName | string | |
return | bool |
public static IsContainingOk ( this xmlDoc ) : bool | ||
xmlDoc | this | |
return | bool |
public static NodeToString ( this xmlElement ) : string | ||
xmlElement | this | The node |
return | string |
public static SetAttributeValue ( this xmlElement, string attributeName, string value ) : void | ||
xmlElement | this | The node |
attributeName | string | Name of the attribute |
value | string | Value to set the attribute to |
return | void |
public static ToOADate ( this value ) : System.DateTime | ||
value | this | |
return | System.DateTime |
public static TryGetGuid ( this xmlElement, System.Guid &guid ) : bool | ||
xmlElement | this | |
guid | System.Guid | |
return | bool |
public static TryGetGuid ( this xmlElement, string attributeName, System.Guid &guid ) : bool | ||
xmlElement | this | |
attributeName | string | |
guid | System.Guid | |
return | bool |