• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Insert in nested xml

C

Christiano

#1
I have this xml:

<?xml version="1.0" encoding="utf-8"?>
<GRLog xmlns="http://www.digiexpress.com.br/grlog">
<Dados>
<Empresa>00.000.000/0000-00</Empresa>
</Dados>
<Viagens>
<Viagem uID="0" QtViagens="0" FrmAberto="False" />
</Viagens>
<GridAcomp>
<Colunas Nome="ImagIgni" Index="0" Visivel="True" Tamanho="40"
/>
<Colunas Nome="ImagIgni" Index="1" Visivel="True" Tamanho="40"
/>
<Colunas Nome="ImagOcor" Index="2" Visivel="True" Tamanho="40"
/>
<Colunas Nome="ImagAtra" Index="3" Visivel="True" Tamanho="40"
/>
<Colunas Nome="ImagSina" Index="4" Visivel="True" Tamanho="40"
/>
<Colunas Nome="FormPosi" Index="5" Visivel="True" Tamanho="50"
/>
<Colunas Nome="VeicPlac" Index="6" Visivel="True" Tamanho="70"
/>
<Colunas Nome="CarrPlac" Index="7" Visivel="True" Tamanho="70"
/>
<Colunas Nome="TiVeDesc" Index="8" Visivel="True" Tamanho="70"
/>
<Colunas Nome="MotoNome" Index="9" Visivel="True" Tamanho="200"
/>
<Colunas Nome="ClieNome" Index="10" Visivel="True" Tamanho="200"
/>
</GridAcomp>
</GRLog>

I need to insert a new line into the "Viagens" group...
How could I do that??? I've been struggling with it for hours now...



Tks...
 

My Computer

Users Who Are Viewing This Thread (Users: 1, Guests: 0)