| 1 |
# parse_attr (protected) |
| 2 |
|
| 3 |
```php |
| 4 |
parse_attr ( object $node, string $name, array &$space ) |
| 5 |
``` |
| 6 |
|
| 7 |
Parses a single attribute starting at the current parsing position in the document. |
| 8 |
|
| 9 |
| Parameter | Description |
| 10 |
| --------- | ----------- |
| 11 |
| `node` | The current element (node). |
| 12 |
| `name` | The attribute name. |
| 13 |
| `space` | An array of whitespace sorounding the current attribute (see [](../definitions/#attribute-whitespaceAttribute Whitespace](../definitions/#attribute-whitespace](../definitions/#attribute-whitespace)). |