dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: XML parser problem (VB6)

  1. #1
    Join Date
    Dec 2006
    Posts
    2

    XML parser problem (VB6)

    <Values>
    <Analog_Input1>61</Analog_Input1>
    <Analog_Input2>175</Analog_Input2>
    <Analog_Input3>53</Analog_Input3>
    <Analog_Input4>22</Analog_Input4>
    <Analog_Input5>61</Analog_Input5>
    <Analog_Input6>127</Analog_Input6>
    <Analog_Input7>127</Analog_Input7>
    <Experimenter>User</Experimenter>
    </Values>
    ************************************************
    how to create the XSL stylesheet so that the XML file can be viewed like below:

    ************************************************************************
    Digital Curemeter Data Acqusition and Display System

    Experimenter.............. qiqi
    Sampling Frequency........ miliseconds
    Start time................ start_datetime
    End time.................. end_datetime
    Total number of Data...... lbl_listcount.Caption
    Tag Name.................. Text2.Text
    Units..................... Text7.Text
    ************************************************************************

    COLLECTION OF DATA (Analog Input of 8 Channel)

    No CHN 1 CHN 2 CHN 3 CHN 4 CHN 5 CHN 6 CHN 7 CHN 8
    ------------------------------------------------------------------------
    00001 60 125 130 53 56 166 165 118
    00002 198 183 46 140 197 49 107 22
    00003 200 136 4 116 21 21 160 57
    00004 10 60 77 61 190 196 81 56
    00005 33 33 130 83 83 143 66 127
    00006 42 38 117 17 92 182 53 158
    00007 76 58 184 127 126 86 20 113
    Last edited by chxxangie; 02-22-2007 at 04:52 AM.

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    I don't understand your question. How do you want the file to look?
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Dec 2006
    Posts
    2
    ********************************************************
    Digital Curemeter Data Acqusition and Display System

    Experimenter.................. User
    Sampling Frequency......... 50 miliseconds
    Start time...................... 2/22/2007 10:47:58 AM
    End time........................ 2/22/2007 10:47:59 AM
    Total number of Data....... 12
    Tag Name...................... AVAR1
    Units............................. mV
    ********************************************************

    COLLECTION OF DATA (Analog Input of 8 Channel)

    No CHN 1 CHN 2 CHN 3 CHN 4 CHN 5 CHN 6 CHN 7 CHN 8
    ------------------------------------------------------------------------
    00001 61 155 3 153 163 142 10 83
    00002 175 12 190 73 105 154 11 119
    00003 53 56 166 165 118 198 183 46
    00004 22 200 136 4 116 21 21 160
    00005 61 190 196 81 56 33 33 130
    00006 127 42 38 117 17 92 182 53
    00007 127 126 86 20 113 139 183 167
    00008 136 101 103 93 71 81 54 12
    00009 73 98 32 95 52 126 109 32
    00010 22 157 92 151 120 167 4 43
    00011 1 108 132 109 166 17 39 136
    00012 186 107 18 152 81 93 99 42

    *******************************************************
    can make the output file view like that? just example.......
    whatever the output file look, i do not want the <tag>!
    my lecturer tell me that can use XML Parser, but i do not know to use it.....

  4. #4
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Replies: 2
    Last Post: 02-16-2007, 11:48 AM
  2. XML publishing problem
    By Ant_Magma in forum VB Classic
    Replies: 0
    Last Post: 07-09-2005, 02:16 PM
  3. Problem parsing xml in Flash: HELP
    By prada in forum Web
    Replies: 0
    Last Post: 06-25-2005, 09:30 AM
  4. Problem Converting ADO Recordset to XML
    By CHRISTOS STAVRINOU in forum Database
    Replies: 0
    Last Post: 11-16-2000, 05:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center