• + 2 comments

    puts doc.elements["collection/movie[@title='Trigun']/@title"] this is for the example. This is for the code submission: puts doc.elements["collection/movie[contains(/description,'bit')]/@title"]