R: Converts XML attributes.

.attributeToString {readMzXmlData} | R Documentation

## Converts XML attributes.

### Description

This function converts a XML attribute to `character`.

### Usage

    .attributeToString(attributes, attributeName, required = FALSE)

### Arguments

`attributes` | `character`, XML attributes
`attributeName` | `character`, name XML attributes of attribute to convert
`required` | `logical`, throw an error if an required attribute is missing.

### Value

`character`, attribute string

### Author(s)

Sebastian Gibb mail@sebastiangibb.de

### See Also

`.attributeToDouble`, `.attributeTimeToDouble`

[Package readMzXmlData version 2.8.1 Index]