getting root data in item node
i am created 2 nodes . They are root node and item as subnode.
Initially i entered root data then i went to item data ,here i want to read the root data .
How i can read the root data in item node. ???
ex: root node and item node i am having emp_id field.. here once i enter the root data emp id ,then i go to item node here emp_id filled by default with emp id entered in root node.
through determination i am trying to read the root data. in item level..
can anyone give me the code to read the root data in item node..?