getNodeKind: Functions for working with zorba::Item objects

Description Usage Arguments Author(s) References See Also Examples

Description

These functions provide the R-level access to the C++-level methods in an zorba::Item object.

Usage

1

Arguments

item

the zorba::Item object which is a reference to the C++-level object.

...

additional parameters for methods

Author(s)

Duncan Temple Lang

References

http://www.zorba-xquery.com/doc/zorba-latest/cxx/html/classzorba_1_1Item.html

See Also

http://www.zorba-xquery.com/doc/zorba-latest/cxx/html/classzorba_1_1Item.html

Examples

1
2
3
4
5
6
7
8
library(RXQuery)
doc = loadDocument(system.file("sampleDocs", "bills", "s11.xml", package = "RXQuery"))
getNodeKind(doc[[1]])
isNode(doc[[1]])
top = getChildren(doc[[1]])[[1]]
getNodeKind(top)
getNodeName(top)
isAtomic(top)

omegahat/RXQuery documentation built on May 24, 2019, 1:55 p.m.