Building a XML DOM tree

Discussion in 'JavaScript' started by DP128, May 9, 2011.

  1. #1
    I need help developing javascript code that will run through a webpage and recreate the DOM tree structure of the page in text form. I've been told to use a recursive function. I don't really know any javascript.

    At each node I need the node name and the node type.

    Any help? :confused:
     
    DP128, May 9, 2011 IP
  2. Jan Novak

    Jan Novak Peon

    Messages:
    121
    Likes Received:
    5
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Jan Novak, May 9, 2011 IP