#ifndef _SYSTEM_XML_INTERFACES_ #define _SYSTEM_XML_INTERFACES_ #include #include #include using namespace System::Collections::Generic; namespace System { namespace Xml { class XmlNode; /// /// Enables a class to return an System::Xml::XmlNode from the current context or position. /// interface IHasXmlNode { public: virtual XmlNode GetNode()=0; }; /// /// Provides an interface to enable a class to return line and position information. /// interface IXmlLineInfo { public: virtual bool HasLineInfo()=0; virtual int LineNumber(); virtual int LinePosition(); }; /// /// Provides read-only access to a set of prefix and namespace mappings. /// interface IXmlNamespaceResolver { public: virtual IDictionary* GetNamespacesInScope(XmlNamespaceScope_t scope)=0; virtual char* LookupNamespace(char* prefix)=0; virtual char* LookupPrefix(char* namespaceName)=0; }; } } #endif //_SYSTEM_XML_INTERFACES_