The . (dot) selector

To access the current node, or the template root, you need to use the . (dot) selector

var directive = {
  'li' : {
    'player <- players' : {
      '.' : 'player.name' 
  }
}

See it used at the bottom on that page

To access the attribute of the current node or an attribute of the template root
you can use the '@attr'

var directive = {
  'li' : {
    'player <- players' : {
      '@id' : 'player.id'
  }
}

The code above will add an id attribute to the LI tag.

Here is an example: