txx_wrap_tag: Turn text into an XML tag

Description Usage Arguments Value

View source: R/txx_wrap_tag.R

Description

Turns some text into an XML tag sanitizing the text to be suitable for use as an XML tag, then wrapping it in < and >.

Usage

1
txx_wrap_tag(tag, split_character = "¬", start = "<", end = ">")

Arguments

tag

The text to turn into a tag

split_character

For use in the structuring process. Should be a character that is not seen in the document.

start

The first character to wrap the text in

end

The last character to wrap the text in

Value

A character string of the text as an XML tag


michael-ccccc/textured documentation built on Dec. 21, 2021, 5:56 p.m.