#' getPointerOfXML xml2::read_xml(x = file_xml)
#'
#' @param file_xml
#'
#' @return pointer to xml file
#'
#'
#' @export
getPointerOfXML <- function(file_xml = "") {
readit <- NULL
if (!is.character(file_xml)|is.na(file_xml)) {
stop("You have to pass path to xml file")
} else {
readit <- xml2::read_xml(x = file_xml)
}
return(readit)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.