Method | Description | |
---|---|---|
BoolToXmlText ( bool value ) : string |
Gives us a culture invariant true/false text for XML
|
|
CreateTableauXmlNamespaceManager ( string prefix ) : XmlNamespaceManager |
Creates a namespace manager needed for XML XPath queries
|
|
GetAttributeValue ( XmlNode xmlNode, string nodeName, string attributeName, bool searchSiblings, bool &found ) : string |
Recursive search for first matching node, returning attribute
|
|
RequiredParseXmlAttribute ( XmlNode xNode, string attributeName ) : string |
Gets the attribute or returns a default value
|
|
SafeParseXmlAttribute ( XmlNode xNode, string attributeName, string defaultValue ) : string |
Gets the attribute or returns a default value
|
|
SafeParseXmlAttribute_Bool ( XmlNode xNode, string attributeName, bool defaultValue ) : bool | ||
WriteBooleanAttribute ( XmlWriter xmlWriter, string attributeName, bool value ) : void |
Writes out a true/false attribute value
|
Method | Description | |
---|---|---|
ReadBooleanAttribute ( XmlNode xNode, string attributeName, bool defaultValue ) : bool |
Reads a true/false value
|
|
ReadTextAttribute ( XmlNode xNode, string attributeName, string defaultValue = "" ) : string |
Reads a true/false value
|
|
WriteValueElement ( XmlWriter xmlWriter, string elementName, bool value ) : void |
Write a simple name/value pair as an XML element
|
|
WriteValueElement ( XmlWriter xmlWriter, string elementName, string value ) : void |
Write a simple name/value pair as an XML element
|
public static BoolToXmlText ( bool value ) : string | ||
value | bool | |
return | string |
public static CreateTableauXmlNamespaceManager ( string prefix ) : XmlNamespaceManager | ||
prefix | string | |
return | XmlNamespaceManager |
public static GetAttributeValue ( XmlNode xmlNode, string nodeName, string attributeName, bool searchSiblings, bool &found ) : string | ||
xmlNode | XmlNode | |
nodeName | string | |
attributeName | string | |
searchSiblings | bool | |
found | bool | |
return | string |
public static RequiredParseXmlAttribute ( XmlNode xNode, string attributeName ) : string | ||
xNode | XmlNode | |
attributeName | string | |
return | string |
public static SafeParseXmlAttribute ( XmlNode xNode, string attributeName, string defaultValue ) : string | ||
xNode | XmlNode | |
attributeName | string | |
defaultValue | string | |
return | string |
public static SafeParseXmlAttribute_Bool ( XmlNode xNode, string attributeName, bool defaultValue ) : bool | ||
xNode | XmlNode | |
attributeName | string | |
defaultValue | bool | |
return | bool |
public static WriteBooleanAttribute ( XmlWriter xmlWriter, string attributeName, bool value ) : void | ||
xmlWriter | XmlWriter | |
attributeName | string | |
value | bool | |
return | void |