Hello community
I have the following query. I'm working with a PROYECO made in visual basic, using visual studio 2008.
The project is to run a web service, which I receive in response a string in XML format
Within the data cycles to bring in a bill the following line.
<FechaXML xmlns = "xxxx: //xxx.xxxxxxxxx.xx/xxxxxx"> 2014-10-30T17: 01: 49 </ FechaXML> <document ID = "6078729" xmlns="xxxx://xxx.xxxxxxxxx.xxx/xxxxxx"><LineasFactSinOc></LineasFactSinOc><Encabezado><IdDoc><TipoDoc>FC</TipoDoc><NumDoc>3257</NumDoc><FolioUnico>0101-368247</FolioUnico><FchTransaccion>2014-05-30T19:23:08</FchTransaccion><FchEmis>2014-01-09</FchEmis><FchVenc>2014-04-12</FchVenc><FchRecepcion>2014-01-21</FchRecepcion><FchEstimadaPago>2014-02-21</FchEstimadaPago><Comentarios>Nombre User: SARANCIBIAA Number ...
It is a part of xml text, to explain the fact that I want to extract
I use the follwing code to Get That part
documentoXML.LoadXml(testxml.InnerXml)
NodeLista = documentoXML.FirstChild.FirstChild.FirstChild.ChildNodes
For Each Nodo In NodeLista
Cuenta = Cuenta + 1
CuentaNodo = CuentaNodo + 1
Dim Resultado As String
If Nodo.LocalName = "ICDoc" Then
Resultado = Nodo.InnerXml.Substring(83, 23)
MsgBox(Resultado
The xml text is assigned to the variable "Resultado".
How do I can get the Document ID part = "6078729" only the value that is in quotes? that this value changes increase or decrease the number of digits, can be "12", "10000" ... is there any way to count the digits from the first to the second quote?
if information needed to understand the problem please notify or consult thanks