Implement xslate proper, so you can now do

    x := xslate.New()
    output, err := x.Render(reader,vars)