Read/Write simple XML

Discussion in 'Java' started by Jo, Apr 8, 2004.

  1. Jo

    Jo Guest

    I have the following very simple XML file:

    <settings>
    <john>10</john>
    <paul>10</paul>
    <steve>8</steve>
    </settings>

    How do I read in and update the john, paul or steve nodes?
     
    Jo, Apr 8, 2004
    #1
    1. Advertising

  2. Jo wrote:

    > I have the following very simple XML file:
    >
    > <settings>
    > <john>10</john>
    > <paul>10</paul>
    > <steve>8</steve>
    > </settings>
    >
    > How do I read in and update the john, paul or steve nodes?


    Have you tried reading the tutorial yet?

    http://java.sun.com/xml/tutorial_intro.html

    --
    Kind regards,
    Christophe Vanfleteren
     
    Christophe Vanfleteren, Apr 8, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Isaac
    Replies:
    0
    Views:
    2,482
    Isaac
    Jul 10, 2003
  2. Trans
    Replies:
    3
    Views:
    181
    Trans
    Dec 21, 2005
  3. Erik Wasser
    Replies:
    5
    Views:
    533
    Peter J. Holzer
    Mar 5, 2006
  4. sahm
    Replies:
    4
    Views:
    723
  5. Tim Chase
    Replies:
    0
    Views:
    110
    Tim Chase
    Dec 16, 2013
Loading...

Share This Page