ESRI.ArcGIS.ADF.Core
XmlHelper Class Methods
See Also  Send comments on this topic.
ESRI.ArcGIS.ADF Namespace : XmlHelper Class




For a list of all members of this type, see XmlHelper members.

Public Methods

 NameDescription
Public MethodCreateComment Creates and adds a comment before the given node. If root node, or null, the comment node is Appended to the tree.  
Public MethodCreateNodeAttribute Create a new attribute given an XmlElement (XmlNode) target  
Public MethodCreateNodeElement Create an Element under the given parent based on the name and value pair.  
Public MethodCreateXmlDeclaration Used to create an Xml declaration  
Public MethodDecode Internal method used to ensure that HTML and XML tags are decoded for display in other systems  
Public MethodDeleteNodeAttribute Delete an attribute from the given target node.  
Public MethodDeleteNodeElement Delete an XmlNode from the tree  
Public MethodEncode Internal method used to ensure that HTML and XML tags are encoded within their values  
Public MethodGenerateSchema GenerateSchema a schema file from a given target file  
Public MethodGenerateSchemaAsString GenerateSchemaAsString based on the currently loaded Xml  
Public MethodGetAttributeBooleanValue Get the Attribute boolean value from a given XmlNode  
Public MethodGetAttributeDoubleValue Get the Attribute double value from a given XmlNode  
Public MethodGetAttributeFloatValue Get the Attribute floating point/Single value from a given XmlNode  
Public MethodGetAttributeInt32Value Get the Attribute int32 (int) value from a given XmlNode  
Public MethodGetAttributeValue Get the Attribute value from a given XmlNode  
Public MethodGetChildElementBooleanValue Get the Child Element boolean value from a given XmlNode and ElementName  
Public MethodGetChildElementDoubleValue Get the Child Element double value from a given XmlNode and ElementName  
Public MethodGetChildElementFloatValue Get the Child Element floating point/single value from a given XmlNode and ElementName  
Public MethodGetChildElementInt32Value Get the Child Element int32 value from a given XmlNode and ElementName  
Public MethodGetChildElementValue Get the first Child Element value from a given XmlNode  
Public MethodGetChildNodesFromCriteria Gets an ArrayList of XmlNode children using an xPath expression  
Public MethodGetChildNodesFromRoot Returns an XmlNodeList of child nodes matching this element name  
Public MethodGetElementBooleanValue Get the Element Boolean value from a given XmlNode  
Public MethodGetElementDateTimeValue Get the Element Boolean value from a given XmlNode  
Public MethodGetElementDoubleValue Get the Element Double value from a given XmlNode  
Public MethodGetElementFloatValue Get the Element float/single floating point value from a given XmlNode  
Public MethodGetElementInt32Value Get the Element Int32 value from a given XmlNode  
Public MethodGetElementValue Get the Element value from a given XmlNode  
Public MethodGetFirstChildNodeFromCriteria Get first child node given an XPath expression  
Public MethodGetFirstChildXmlNode Returns the first XmlNode object matching this element name NOTE: this doesn't seem to work if parent is Root. Use GetFirstChildXmlNodeFromRoot  
Public MethodGetFirstChildXmlNodeFromRoot Returns the first XmlNode object matching this element name  
Public MethodGetRecursiveChildNodesFromParent Returns an ArrayList (boxed XmlNode objects) of child nodes matching this element name This function is recursive in that it will find ALL the children, even if their in sub folders (sub child nodes)  
Public MethodGetUrlContent Helper method to get string content from a URL - not necessarily XML, but probably  
Public MethodLoadXML Easy way to load XML from a file or URL  
Public MethodModifyNodeAttributeValue Modify an attribute value to a new value  
Public MethodModifyNodeElementValue Modify an XmlNode elment with a new value.  
Public MethodMoveToRoot Helper function if navigation is used to ensure we're at the root node.  
Public MethodSaveToFile Save the XML to a target file.  
Public MethodToStringOverridden.  Easy way to get the entire Xml string  
Top

See Also

© 2010 All Rights Reserved.