Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Oct 2002
    Location
    Bangalore,India
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Appending a Child

    Hi All,
    I am facing problem while adding a Child in the XML. If I add a Child under the Root Node Then it is Working fine. If I try to add the New Child Under the same XML file in Level x. Then It is giving some problem. Any Solution for this.
    Will it Work If I use the selectNodes() from the Script. I have used like

    x=XMLDoc.documentElement.selectNodes()
    x[0].appendChild(oNode)?


    Will it work. Its not working .
    Can u pls explain me.

  • #2
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,460
    Thanks
    1
    Thanked 23 Times in 21 Posts
    I've never heard of the selectNodes() method. It's not part of the standard...

    Can you give us your full source code, or a link?
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog


  •  

    Posting Permissions

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