powered by
Creates a new query instance and returns its id.
Query(session, query_string)
BasexClient instance-ID
query string
Query_ID
# NOT RUN { query_txt <- "for $i in 1 to 2 return <xml>Text { $i }</xml>" query_obj <- Query(Session, query_txt) print(Execute(query_obj)) # } # NOT RUN { # }
Run the code above in your browser using DataLab