get_xml_closing_tag: Get the XML closing tag

View source: R/get_xml_closing_tag.R

get_xml_closing_tagR Documentation

Get the XML closing tag

Description

Get the XML closing tag

Usage

get_xml_closing_tag(text)

Arguments

text

lines of XML to extract the XML closing tag from

Value

the closing tag if found, else NA

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

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

# Will return NA
get_xml_closing_tag("<my_tag text=something/>")
get_xml_closing_tag("no_xml")

check_empty_beautier_folder()

richelbilderbeek/beastscriptr documentation built on April 9, 2024, 2:28 p.m.