Read and Write XML structure

Hi everyone!

I´m converting a vb6 project into xojo.
The problem came out with the “selectSingleNode” function. In xojo it does not exist.
I read it could be done using xql query, but i am not so familiar with xpath.

The xml is the following:

<?xml version=""1.0"" encoding=""utf-8""?> <soapenv:Envelope xmlns:soapenv=""http://schemas.xmlsoap.org/soap/envelope/"" xmlns:tem=""http://tempuri.org/""> <soapenv:Header/> <soapenv:Body>" <tem:TimbrarCFDI> <tem:usuario>string</tem:usuario> <tem:password>string</tem:password> <tem:cadenaXML>string</tem:cadenaXML> <tem:referencia>Prueba1</tem:referencia> </tem:TimbrarCFDI> </soapenv:Body> </soapenv:Envelope>

The code for writing in vb6 is:

oParser.selectSingleNode("/soapenv:Envelope/soapenv:Body/tem:CancelarCFDI/tem:usuario").Text = "FAC120614464"

The code for reading in vb6 is:

Dim Respuesta1 As String Respuesta1 = oParser.selectSingleNode("s:Envelope/s:Body/TimbrarCFDIResponse/TimbrarCFDIResult/a:CodigoRespuesta").Text

Does anyone know how to do this reading and writing with xpath/xql?
Thank you for reading/posting in advance.

take a look here maybe help…?
XMLNode.XQL
and here XMLNode