---
title: "getAttributeNS(_:localName:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/domelement/getattributens(_:localname:)"
---

# getAttributeNS(_:localName:)

## Declaration

```swift
func getAttributeNS(_ namespaceURI: String!, localName: String!) -> String!
```
