diff --git a/R/xml_text.R b/R/xml_text.R index bad8d1f9..0aad2974 100644 --- a/R/xml_text.R +++ b/R/xml_text.R @@ -17,8 +17,7 @@ #' x <- read_xml("

Some text

") #' xml_text(x, trim = TRUE) #' -#' # xml_double() and xml_integer() are useful for extracting numeric -#' attributes +#' # xml_double() and xml_integer() are useful for extracting numeric attributes #' x <- read_xml("") #' xml_integer(xml_find_all(x, "//@x")) #' @export diff --git a/man/xml_text.Rd b/man/xml_text.Rd index 655d56a3..825b4c95 100644 --- a/man/xml_text.Rd +++ b/man/xml_text.Rd @@ -44,8 +44,7 @@ xml_text(xml_find_all(x, "//x")) x <- read_xml("

Some text

") xml_text(x, trim = TRUE) -# xml_double() and xml_integer() are useful for extracting numeric -attributes +# xml_double() and xml_integer() are useful for extracting numeric attributes x <- read_xml("") xml_integer(xml_find_all(x, "//@x")) }