File: xml_type.Rd

package info (click to toggle)
r-cran-xml2 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 976 kB
  • sloc: cpp: 1,826; xml: 333; javascript: 238; ansic: 178; sh: 71; makefile: 6
file content (19 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/xml_type.R
\name{xml_type}
\alias{xml_type}
\title{Determine the type of a node.}
\usage{
xml_type(x)
}
\arguments{
\item{x}{A document, node, or node set.}
}
\description{
Determine the type of a node.
}
\examples{
x <- read_xml("<foo> a <b /> <![CDATA[ blah]]></foo>")
xml_type(x)
xml_type(xml_contents(x))
}