diff options
Diffstat (limited to 'mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/SequenceType.cs')
-rwxr-xr-x | mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/SequenceType.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/SequenceType.cs b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/SequenceType.cs index dadaeb8b8f0..55cb7113ace 100755 --- a/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/SequenceType.cs +++ b/mcs/class/Mono.Xml.Ext/Mono.Xml.XPath2/SequenceType.cs @@ -370,7 +370,7 @@ namespace Mono.Xml.XPath2 static XPathAxis child, descendant, attribute, self, descendantOrSelf, followingSibling, following, parent, ancestor, precedingSibling, preceding, - ancestorOrSelf; + ancestorOrSelf, namespaceAxis; static XPathAxis () { @@ -386,6 +386,7 @@ namespace Mono.Xml.XPath2 precedingSibling = new XPathAxis (XPathAxisType.PrecedingSibling); preceding = new XPathAxis (XPathAxisType.Preceding); ancestorOrSelf = new XPathAxis (XPathAxisType.AncestorOrSelf); + namespaceAxis = new XPathAxis (XPathAxisType.Namespace); } public static XPathAxis Child { @@ -416,6 +417,10 @@ namespace Mono.Xml.XPath2 get { return following; } } + public static XPathAxis NamespaceAxis { + get { return namespaceAxis; } + } + public static XPathAxis Parent { get { return parent; } } |