(self, event="xforms-ready", ref=None)
<orx:pollsensor event="xforms-ready" ref="/data/meta/location" />
        <bind nodeset="/data/meta/location" type="geopoint"/>
<orx:pollsensor event="xforms-ready" ref="/data/meta/location" />
        <bind nodeset="/data/meta/location" type="geopoint"/>
<orx : pollsensor event = xforms - ready ref = / data / meta / location / > <bind nodeset = / data / meta / location type = geopoint / >
def _add_pollsensor(self, event="xforms-ready", ref=None):
        """
        <orx:pollsensor event="xforms-ready" ref="/data/meta/location" />
        <bind nodeset="/data/meta/location" type="geopoint"/>
        """
        if ref:
            self.model_node.append(_make_elem('{orx}pollsensor',
                                              {'event': event, 'ref': ref}))
            self.add_bind(nodeset=ref, type="geopoint")
        else:
            self.model_node.append(_make_elem('{orx}pollsensor', {'event': event}))
def _add_pollsensor ( self , event = "xforms-ready" , ref = None ) : if ref : self . model_node . append ( _make_elem ( '{orx}pollsensor' , { 'event' : event , 'ref' : ref } ) ) self . add_bind ( nodeset = ref , type = "geopoint" ) else : self . model_node . append ( _make_elem ( '{orx}pollsensor' , { 'event' : event } ) )