C# Class Felinesoft.UmbracoCodeFirst.DataTypes.XPathItem

Show file Open project: DanMannMann/UmbracoCodeFirst

Protected Methods

Method Description
GetAttribute ( XPathNodeIterator iterator, string attributeName ) : string

Gets an attribute value from an XML node

GetCData ( XPathNodeIterator iterator, string xpath ) : string

Gets a CData value from an XML node as specified by an xpath

Method Details

GetAttribute() protected method

Gets an attribute value from an XML node
protected GetAttribute ( XPathNodeIterator iterator, string attributeName ) : string
iterator System.Xml.XPath.XPathNodeIterator The node iterator to get the node from
attributeName string The attribute of the node to get
return string

GetCData() protected method

Gets a CData value from an XML node as specified by an xpath
protected GetCData ( XPathNodeIterator iterator, string xpath ) : string
iterator System.Xml.XPath.XPathNodeIterator The node iterator to get the node from
xpath string The path to the node
return string