Menu

Aaron, HELP!!!!

2003-06-30
2003-07-03
  • Gerry Tucker

    Gerry Tucker - 2003-06-30

    Aaron,

    Need you help.

    Need to create a message in the format:

    <message id="1" type="1">
       <header>
          <vendor>1234567890</vendorid>
          <version>1.0</version>
          <date>2003-07-10</date>
       </header>
    </message>

    I have no problems adding the 'header' element to root element 'message' but can't seem to work out how to add the 'vendor', 'version' & 'date' elements to the header node.

    Your help would be greatly appreciated.

    Regards,

    Gerry

     
    • Gerry Tucker

      Gerry Tucker - 2003-07-01

      Aaron,

      Please ignore that request, I was being an idiot.  Realised I was deleting the 'header' element before trying to append the other elements to it.  Was therefore getting pointer errors.

      Gerry

       
      • Aaron Bartell

        Aaron Bartell - 2003-07-03

        D'oh!  I hate it when that happens.

        Hope everything is going well with your parsing otherwise.

        Aaron Bartell
        Project Lead

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.