The XmlUtils type exposes the following members.
Methods
| Name | Description |
---|
  | AddAttributeValue(XmlNode, String, Boolean, XmlDocument) |
Creates and adds an attribute w. value to a xml node.
|
  | AddAttributeValue(XmlNode, String, DateTime, XmlDocument) |
Creates and adds an attribute w. value to a xml node.
|
  | AddAttributeValue(XmlNode, String, Double, XmlDocument) |
Creates and adds an attribute w. value to a xml node.
|
  | AddAttributeValue(XmlNode, String, Guid, XmlDocument) |
Creates and adds an attribute w. value to a xml node.
|
  | AddAttributeValue(XmlNode, String, Int32, XmlDocument) |
Creates and adds an attribute w. value to a xml node.
|
  | AddAttributeValue(XmlNode, String, String, XmlDocument) |
Creates and adds an attribute w. value to a xml node.
|
  | GetAttributeValue(String, XmlNode, Boolean, Boolean) | |
  | GetAttributeValue(String, XmlNode, DateTime, Boolean) |
Retrieves the value of a DateTime attribute that is stored in UTC time.
|
  | GetAttributeValue(String, XmlNode, DateTimeOffset, Boolean) | |
  | GetAttributeValue(String, XmlNode, Double, Boolean) | |
  | GetAttributeValue(String, XmlNode, Guid, Boolean) | |
  | GetAttributeValue(String, XmlNode, Int32, Boolean) | |
  | GetAttributeValue(String, XmlNode, String, Boolean) | |
  | GetAttributeValue(String, XmlNode, TimeSpan, Boolean) | |
  | XmlEscape | |
  | XPathEscape |
Method is to be used when building an xpath query.
For example, if you want to query for "Domino's Pizza" you normally get a problem.
The method applies the xpath function "convert" to solve the problem.
Example: Review[RestaurantName=concat("Domino","'","s Pizza")]
|
Top
See Also