Method | Description | |
---|---|---|
ApplyXSLTransform ( this document, string transform ) : string |
Transforms an XML document using the given XSL template.
|
|
Format ( this element ) : object |
Formats the contents of an XML element and returns the result. The format to be used is determined by the |
|
GetAttributeValue ( this node, string name ) : string |
Safely gets or sets an XML node's attribute. If you get an attribute that does not exist, null will be returned. |
|
GetDataSet ( this xmlData ) : |
Gets a data set object from an XML data set formatted as a String.
|
|
GetXmlNode ( this xmlDoc, string xpath ) : |
Gets an XML node from given path, creating the entire path if it does not exist. This overload just allows the start of the given XML document by using its root element. |
|
GetXmlNode ( this xmlDoc, string xpath, bool &isDirty ) : |
Gets an XML node from given path, creating the entire path if it does not exist. This overload just allows the start of the given XML document by using its root element. Note that the isDirty parameter will be set to True if any items were added to the tree. |
|
SetAttributeValue ( this node, string name, string value ) : void |
Safely sets an XML node's attribute. If you assign a value to an attribute that does not exist, the attribute will be created. |
Method | Description | |
---|---|---|
TransformAll ( this document, System.Xml.Linq.XName name, Func |
||
TransformAll ( this document, System.Xml.Linq.XName name, object>.Func |
public static ApplyXSLTransform ( this document, string transform ) : string | ||
document | this | The document to be transformed. |
transform | string | The template that defines how the data should be transformed. |
return | string |
public static Format ( this element ) : object | ||
element | this | The elements whose contents are to be formatted. |
return | object |
public static GetAttributeValue ( this node, string name ) : string | ||
node | this | A |
name | string | A |
return | string |
public static GetDataSet ( this xmlData ) : |
||
xmlData | this | XML data string in standard DataSet format. |
return |
public static GetXmlNode ( this xmlDoc, string xpath ) : |
||
xmlDoc | this | An |
xpath | string | A |
return |
public static GetXmlNode ( this xmlDoc, string xpath, bool &isDirty ) : |
||
xmlDoc | this | An |
xpath | string | A |
isDirty | bool | A |
return |
public static SetAttributeValue ( this node, string name, string value ) : void | ||
node | this | An |
name | string | A |
value | string | A |
return | void |