ml_doc</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">elements</span>[<span class="ruby-node">&quot;team/player[@id=#{pid}]&quot;</span>]
    <span class="ruby-identifier">init</span>(<span class="ruby-identifier">pelement</span>, <span class="ruby-identifier">gid</span>)
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>