Copies the current stylesheet into the new stylesheet. Used to
create the transformer.
Parameters: stylesheet - the new stylesheet which will contain the copied values.
Transforms the XML node to a new XML document based on this stylesheet.
Since Documents are DocumentFragments, calling functions can insert
the contents using appendChild.
Parameters: xml - source xml to convert Parameters: out - source xml to convert the converted document