---
title: shouldProcessNamespaces
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/xmlparser/shouldprocessnamespaces
---

# shouldProcessNamespaces

A Boolean value that determines whether the parser reports the namespaces and qualified names of elements.

## Declaration

```swift
var shouldProcessNamespaces: Bool { get set }
```

## Discussion

Discussion true if the parser reports namespace and qualified name, false otherwise. The parser reports element names with the delegate methods parser(_:didStartElement:namespaceURI:qualifiedName:attributes:) and parser(_:didEndElement:namespaceURI:qualifiedName:).

## See Also

### Managing Parser Behavior

- [shouldReportNamespacePrefixes](foundation/xmlparser/shouldreportnamespaceprefixes.md)
- [shouldResolveExternalEntities](foundation/xmlparser/shouldresolveexternalentities.md)
