KitWest Posted June 12, 2006 Share Posted June 12, 2006 The following, found on http://www.w3schools.com/xpath/xpath_nodes.asp, doesn't make sense to me:"Atomic values are nodes with no children or parent....Items are atomic values or nodes."Doesn't this simply mean that Items are nodes? Link to comment Share on other sites More sharing options...
justsomeguy Posted June 12, 2006 Share Posted June 12, 2006 Items are either atomic values, or nodes. Atomic means that you can't break it down any further, it's the basic value. Numbers and character strings are atomic values (also called 'scalar' values). This is opposed to objects like arrays or lists. Lists are typically organized into nodes, where each node has a parent (the node that came before it, or is up one level) and one or more children (the nodes that come after it, or are down one level). So if there is a node that doesn't have a child or a parent, it's just a standalone node, they refer to that as atomic. Logically, the statement you quoted says that items are nodes, but they want to specify that the node can either be an atomic node, or it can be connected to other nodes. Link to comment Share on other sites More sharing options...
smiles Posted June 13, 2006 Share Posted June 13, 2006 "Atomic values are nodes with no children or parent....Items are atomic values or nodes."Doesn't this simply mean that Items are nodes?<{POST_SNAPBACK}> Atomic values are nodesItems are atomic valuesso ... Items are nodes ( Aristote Law ) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now