Hi, I have the follwing XML:
<?xml version="1.0" encoding="utf-8" ?>
<configuracoes>
<gerais>
<atualizacoes>
<tipo>automática</tipo>
<frequencia>diária</frequencia>
</atualizacoes>
</gerais>
</configuracoes>
And the code:
Dim xPathNavigator As XPathNavigator
Dim xPathNodeIterator As XPathNodeIterator
xPathNavigator = Me.XML.CreateNavigator()
xPathNodeIterator = xPathNavigator.Select("/configuracoes/gerais/atualizacoes")
While (xPathNodeIterator.MoveNext())
Dim xPathNavigatorInterno As XPathNavigator = xPathNodeIterator.Current
MsgBox(xPathNavigatorInterno.Value) 'It Shows "automáticadiária" instead of "automática" and then "diária" in the next iteration...
End While
I want to get in the first iteration "automática" and then, in the last one "diária". What's wrong? How could I solve that? Thank you.