---
title: "has_attribute_ns method"
url: "https://reference.aspose.com/finance/python-net/aspose.finance.xbrl.dom.html/htmlnoscriptelement/has_attribute_ns/"
product: "Aspose.Finance for Python via .NET API References"
---


## has_attribute_ns(namespace_uri, local_name) {#str-str}

Returns true when an attribute with a given local name and namespace URI is specified on this element or has a default value, false otherwise.

### Returns 


True if has attribute with the namespace URI and local name; otherwise, false.


```python
def has_attribute_ns(self, namespace_uri, local_name):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| namespace_uri | str | The attribute namespace URI. |
| local_name | str | The attribute local name. |



### See Also
* module [aspose.finance.xbrl.dom.html](../../)
* class [HTMLNoScriptElement](/finance/python-net/aspose.finance.xbrl.dom.html/htmlnoscriptelement)
