Learn R Programming

RBaseX (version 0.2.4)

Full: Title Full

Description

Executes a query and returns a vector with all resulting items as strings, prefixed by the 'XDM' (Xpath Data Model) Meta Data <https://www.xdm.org/>. Meta Data and results are seaparated by a '|'.

Usage

Full(query_obj)

Arguments

query_obj

QueryClass instance-ID

Examples

Run this code
# NOT RUN {
query_txt <- "collection('TestDB/Test.xml')"
query_obj <- Query(Session, query_txt)

print(Full(query_obj))
## Return "0d" "/TestDB/Test.xml <Line_1 line=\"1\">Content 1</Line_1>"
          "0d" "/TestDB/Test.xml <Line_2 line=\"2\">Content 2</Line_2>"

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab