get_xml_opening_tag: Get the XML opening tag

View source: R/get_xml_opening_tag.R

get_xml_opening_tagR Documentation

Get the XML opening tag

Description

Get the XML opening tag

Usage

get_xml_opening_tag(text)

Arguments

text

text to be determined to be valid

Value

the opening tag if found, else NA

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

# my_tag
get_xml_opening_tag("<my_tag text=something/>")

# NA when there is no opening tag
get_xml_opening_tag("no_xml")

check_empty_beautier_folder()

beautier documentation built on Nov. 2, 2023, 5:08 p.m.