General description about this:
msdn.microsoft.com/en-us/library/aa662311(office.11).aspx
Own comments:
(1) the wsf file needs the following frame:
<job id="MyJob"><script language="JScript">
[script content from the article above]
</script></job>
(2) the xpath expressions (of the fields) in the xsl file are cannot be used as they are generated: replace them with absolute pathes, eg.: replace
<xsl:apply-templates select="ns2:Field_1" mode="_1"/>
with
<xsl:apply-templates select="ns2:myFields/ns2:NodeGroup/ns2:Field_1" mode="_1"/>
Egy kicsit más, de súrolja az említett témát, és sokat segíthet (ez magyarul): http://balassy.spaces.live.com/blog/cns!8742D9F327180554!505.entry