Click here to Skip to main content
16,013,642 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Using Invoke with a Timer control Pin
Dave Kreskowiak28-May-07 16:19
mveDave Kreskowiak28-May-07 16:19 
Questioninvoke event handlers Pin
Maddie from Dartford28-May-07 4:05
Maddie from Dartford28-May-07 4:05 
AnswerRe: invoke event handlers Pin
Taylor Kobani28-May-07 8:02
Taylor Kobani28-May-07 8:02 
QuestionAutomate Word from VB6 Pin
Carter Langley28-May-07 3:47
Carter Langley28-May-07 3:47 
AnswerRe: Automate Word from VB6 Pin
ips_sun31-May-07 23:59
ips_sun31-May-07 23:59 
QuestionHow to create CSV file by using data from a table? Pin
virendra_00728-May-07 3:28
virendra_00728-May-07 3:28 
AnswerRe: How to create CSV file by using data from a table? Pin
Christian Graus28-May-07 12:59
protectorChristian Graus28-May-07 12:59 
Questionreading xmlvalue Pin
balakpn28-May-07 2:03
balakpn28-May-07 2:03 
hi i am trying to read the following xml file
<sessionrequest schemalocation="\WEB-INF\xml\schema\Application.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<requesttype>APPLICATION
<token>
<requestarguments>
<application>
<companyid>TT0010001
<requesttype>APPLICATION
<application>FUNDS.TRANSFER
<version>,BM
<function>I
<operation>PROCESS
<transactionid>NEW<compscreen>MAIN
<message>
<field>
<fieldname>TRANSACTION.TYPE
<value>AC

<field>
<fieldname>DEBIT.ACCT.NO
<value>0110000020000005

<field>
<fieldname>DEBIT.CURRENCY
<value>USD

<field>
<fieldname>DEBIT.AMOUNT
<value>78





using the following code

Dim readx As XmlReader = XmlReader.Create("C:\Documents and Settings\gurubala\Desktop\1-1.t24txn.xml")
While readx.Read
If readx.NodeType = XmlNodeType.Element Then
MsgBox(readx.Name.ToString & " : " & readx.ReadString)
End If
End While

the problem here is it reads the nodes and values but starts to skip firstnode <message><field> ... it leaves <fieldname> element and reads <value>
why this happens how to avoid this

thanks

with regards
Balagurunathan.B

Answerxml file is here for the above question Pin
balakpn28-May-07 2:10
balakpn28-May-07 2:10 
QuestionImage to and from database Pin
Dileep_Vickey28-May-07 1:15
Dileep_Vickey28-May-07 1:15 
QuestionDatagrid problem Pin
Yogesh Kumar Chauhan28-May-07 1:00
Yogesh Kumar Chauhan28-May-07 1:00 
AnswerRe: Datagrid problem Pin
Christian Graus28-May-07 1:04
protectorChristian Graus28-May-07 1:04 
QuestionRandom display of items Pin
samerh28-May-07 0:36
samerh28-May-07 0:36 
AnswerRe: Random display of items Pin
Christian Graus28-May-07 0:45
protectorChristian Graus28-May-07 0:45 
GeneralRe: Random display of items Pin
samerh28-May-07 1:44
samerh28-May-07 1:44 
GeneralRe: Random display of items Pin
Christian Graus28-May-07 11:07
protectorChristian Graus28-May-07 11:07 
AnswerRe: Random display of items Pin
CPallini28-May-07 1:47
mveCPallini28-May-07 1:47 
GeneralRe: Random display of items Pin
Christian Graus28-May-07 11:07
protectorChristian Graus28-May-07 11:07 
Questionprogress bar Pin
charchabil0328-May-07 0:05
charchabil0328-May-07 0:05 
AnswerRe: progress bar Pin
Christian Graus28-May-07 0:10
protectorChristian Graus28-May-07 0:10 
AnswerRe: progress bar Pin
Xandip28-May-07 0:23
Xandip28-May-07 0:23 
GeneralRe: progress bar Pin
charchabil0328-May-07 0:59
charchabil0328-May-07 0:59 
GeneralRe: progress bar Pin
Christian Graus28-May-07 1:03
protectorChristian Graus28-May-07 1:03 
GeneralRe: progress bar Pin
charchabil0328-May-07 1:11
charchabil0328-May-07 1:11 
GeneralRe: progress bar Pin
Christian Graus28-May-07 1:24
protectorChristian Graus28-May-07 1:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.