---
title: "IXPathNamespace.OwnerElement"
url: "https://reference.aspose.com/html/net/aspose.html.dom.xpath/ixpathnamespace/ownerelement/"
product: "Aspose.HTML for .NET API Reference"
description: "IXPathNamespace OwnerElement property. The Element on which the namespace was in scope when it was requested. This does not change on a returned namespace node even if the document changes such that the namespace goes out of scope on that element and this node is no longer found there by XPath"
---

## IXPathNamespace.OwnerElement property

The [`Element`](../../../aspose.html.dom/element/) on which the namespace was in scope when it was requested. This does not change on a returned namespace node even if the document changes such that the namespace goes out of scope on that element and this node is no longer found there by XPath.

```csharp
public Element OwnerElement { get; }
```

### See Also

* class [Element](../../../aspose.html.dom/element/)
* interface [IXPathNamespace](../)
* namespace [Aspose.Html.Dom.XPath](../../../aspose.html.dom.xpath/)
* assembly [Aspose.HTML](../../../)
