nl_tokens: nodes
pl_tokens: function prepareNodes ( xml ) { var elements = xml . getElementsByTagName ( 'node' ) ; // ensure all node elements have id attributes for ( var i = 0 ; i < elements . <mask> ; i ++ ) { var element = elements [ i ] ; if ( element . hasAttribute ( 'id' ) === false ) { element . setAttribute ( 'id' , generateId ( ) ) ; } } }