Results 1 to 3 of 3

Thread: asp.net/xml

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2002
    Location
    London
    Posts
    678

    asp.net/xml

    Here is my xml file. Please see below.
    I am not sure how standalone="yes"? got there.

    <?xml version="1.0" standalone="yes"?>
    <users xmlns="http://tempuri.org/ctcUsers.xsd">
    <user>
    <firstname>farshad</firstname>
    <surname>mardani</surname>
    <age>32</age>
    <phone>0044 07944 896 088</phone>
    <email>[email protected]</email>
    <\user>
    ...

    </users>

    And each time I save a new user into the xml, it adds <user xmlns="">
    instead of just <user>

    Therefore my code will not pick up the new user added. But if I manually take the xmlns="" out then the code will pick up the new user.
    Any thoughts please?
    Thanks

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    How are you adding nodes to the xml file?

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2002
    Location
    London
    Posts
    678
    I have solved the problem.
    It was to to with the .xsd
    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width