---
title: CFXMLEntityTypeCode
framework: Core Foundation
role: symbol
role_heading: Enumeration
path: corefoundation/cfxmlentitytypecode
---

# CFXMLEntityTypeCode

The entity type identification codes that the parser uses to describe XML entities.

## Declaration

```swift
enum CFXMLEntityTypeCode
```

## Overview

Overview These codes are used with the CFXMLEntityInfo and CFXMLEntityReferenceInfo structures.

## Topics

### Constants

- [CFXMLEntityTypeCode.parameter](corefoundation/cfxmlentitytypecode/parameter.md)
- [CFXMLEntityTypeCode.parsedInternal](corefoundation/cfxmlentitytypecode/parsedinternal.md)
- [CFXMLEntityTypeCode.parsedExternal](corefoundation/cfxmlentitytypecode/parsedexternal.md)
- [CFXMLEntityTypeCode.unparsed](corefoundation/cfxmlentitytypecode/unparsed.md)
- [CFXMLEntityTypeCode.character](corefoundation/cfxmlentitytypecode/character.md)

### Initializers

- [init(rawValue:)](corefoundation/cfxmlentitytypecode/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Constants

- [Node Current Version](corefoundation/1443311-node-current-version.md)
- [CFXMLNodeTypeCode](corefoundation/cfxmlnodetypecode.md)
