http://onionworks.net/2006/imageservice/encoders
createWmfEncoder () : nodeset
With this method, pictures can be converted into the Wmf picture format. The use of the method is shown in the following example.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ise="http://onionworks.net/2006/imageservice/encoders" xmlns:is="http://onionworks.net/2006/imageservice" xmlns:b="http://onionworks.net/2004/renderengine/binary" xmlns:onion="http://onionworks.net/2004/data" version="1.0">
<xsl:output method="xml" omit-xml-declaration="yes" indent="no" />
<xsl:template match="/resource">
</xsl:stylesheet><xsl:variable name="workspace" select="is:createWorkspace(@src, true())" />
<xsl:variable name="doWrite" select="is:writeWorkspace($workspace, ise:createWmfEncoder())" />
<b:output mimeType="image/wmf">
</xsl:template><b:webResponse expires="60" dispositionType="attachment" filename="WmfEncoderBeispiel" />
</b:output>Example of WMF Encoder
Here, a picture is loaded into the main memory and then output with the WMF picture format.