DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 2 of 2

Thread: What is a node?

  1. Senior Droid
    droid15's Avatar
    Member #
    72735
    Join Date
    May 2010
    Posts
    167
    Phone
    droid
    #1

    What is a node?

    I am doing this tutorial but can't figure out what a node is... Don't give me a link to google because if an easy enough explanation was on Google when I searched it then I wouldn't be making this thread.
  2.  
     
     
     
  3. Senior Droid
    SixStringTheory's Avatar
    Member #
    81359
    Join Date
    Jun 2010
    Posts
    129
    Phone
    DROID
    #2
    Well depending on context it can be anything.

    Buuut since he's talking about .xml files, specifically strings.xml it's everything in the xml document... anything in a .xml is a node, and is a node of another node, etc... just a big tree of nodes. Just like trees have branches with other branches on them that have branches coming out of them, xml has nodes with nodes inside nodes inside other nodes.

    So in that xml document you have

    <Resources>
    ....
    </resources>

    That whole thing is a node. But in that node you have some
    <string>...</string>
    each one of those is a node.

    So in the resources node there's 3 string nodes.

    Make sense? If not..

    Code:
    <node 1>
        <node 2>.....</node 2>
        <node 3>.....</node 3>
    </node 1>
    should make more sense.
    Last edited by SixStringTheory; 08-06-2010 at 02:37 PM.

Links

Posting Permissions

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

Search tags for this page

"what is a node in xml?"

,

droid ?=? xml node

,

droid x as node

,

droidx node

,

what is unlimited nodes

Click on a term to search our site for related topics.
Find us on Google+