/* * call-seq: * apply_to(document, params) * * Apply an XSLT stylesheet to an XML::Document. * +params+ is an array of strings used as XSLT parameters. * returns serialized document */ static VALUE apply_to(int argc, VALUE* argv, VALUE self) { return rb_funcall(self, rb_intern("serialize"), 1, transform(argc, argv, self)); }