escape_entities: XML Entities Protection

View source: R/xml_utils.R

escape_entitiesR Documentation

XML Entities Protection

Description

Helper to escape xml entities.

Usage

escape_entities(text)

Arguments

text

value return by xml2::as_list. Default is 5.

Details

entities will be replaced by:
-& to "&"
-> to ">"
-< to "&lt;"
-' to "&apos;"
-" to "&quot;"

Value

a character vector where xml entities have been escaped.


gitdemont/IFC documentation built on Feb. 20, 2025, 12:55 a.m.