Next {RBaseX} | R Documentation |
Next
Description
Returns the next result when iterating over a query
Usage
Next(query_obj)
Arguments
query_obj |
QueryClass instance-ID |
Examples
## Not run:
Query_1 <- Query(Session, "collection('TestDB/Test.xml')")
iterResult <- c()
while (More(Query_1)) {
iterResult <- c(iterResult, Next(Query_1))
}
print(iterResult)
[[1]]
[1] "0d" "<Line_1 line=\"1\">Content 1</Line_1>"
[[2]]
[1] "0d" "<Line_2 line=\"2\">Content 2</Line_2>"
## End(Not run)
[Package RBaseX version 1.1.2 Index]