R. Mark Volkmann wrote:
> 
> Can you provide a little more detail?  I went through all that documentation and
> nothing jumped out at me as a way of executing the Ruby script in the current
> buffer.

and also see this page:

   http://www.pinkjuice.com/vim/

which also includes

   http://www.pinkjuice.com/howto/vimxml/


James