Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. How to convert (string -> xml) with window mobile?

How to convert (string -> xml) with window mobile?

Scheduled Pinned Locked Moved Mobile
questionphpmysqlxmltutorial
3 Posts 3 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    YochangSong
    wrote on last edited by
    #1

    I make code for read in web based mySql. my php code able to read mySql and push to string. $yoResult = iconv("EUC-KR", "UTF-8", $outxml); echo $yoResult; $yoResult is... bla bla my window mobile code read that data string. But i don't know How to handle that data! How do I approach that data?

    J 1 Reply Last reply
    0
    • Y YochangSong

      I make code for read in web based mySql. my php code able to read mySql and push to string. $yoResult = iconv("EUC-KR", "UTF-8", $outxml); echo $yoResult; $yoResult is... bla bla my window mobile code read that data string. But i don't know How to handle that data! How do I approach that data?

      J Offline
      J Offline
      Joel Ivory Johnson
      wrote on last edited by
      #2

      You might want to check out the XmlTextReader class or the ReadXml method of the DataSet object (Depending on what you are doing).

      Joel Ivory Johnson

      Meet my dev team: RDA Architecture Evangelist Team Blog

      My site: J2i.net

      Twitter: J2iNet

      J 1 Reply Last reply
      0
      • J Joel Ivory Johnson

        You might want to check out the XmlTextReader class or the ReadXml method of the DataSet object (Depending on what you are doing).

        Joel Ivory Johnson

        Meet my dev team: RDA Architecture Evangelist Team Blog

        My site: J2i.net

        Twitter: J2iNet

        J Offline
        J Offline
        Jabbar_espania
        wrote on last edited by
        #3

        I give you here complete example for xml in windows mobile : It would show you in listbox all title and link of xml > using System.Net; using System.IO; using System.Xml; XmlTextReader reader = new XmlTextReader(filename ); while (reader.Read()) // if stream readed { XmlNodeType nodetype = reader.NodeType; // checking nodes every type if (nodetype == XmlNodeType.Element) { if (reader.Name == "title") { listBox1.Items.Add("........................"); listBox1.Items.Add(reader.ReadString()); } if (reader.Name == "link") { listBox1.Items.Add(reader.ReadString()); } } } reder.Close(); xml : Newgame http:........... Newpc http:...........

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups