class Nokogiri::XSLT::Stylesheet
information.
See Nokogiri::XSLT::Stylesheet#transform for more transformation
puts xslt.transform(doc)
xslt = Nokogiri::XSLT(File.read(‘some_transformer.xslt’))
doc = Nokogiri::XML(File.read(‘some_file.xml’))
an XML::Document with a Stylesheet:
is done through Nokogiri.XSLT. Here is an example of transforming
A Stylesheet represents an XSLT Stylesheet object. Stylesheet creation
##
def apply_to(document, params = [])
+params+ is an array of strings used as XSLT parameters.
Apply an XSLT stylesheet to an XML::Document.
##
def apply_to(document, params = []) serialize(transform(document, params)) end