createPcxEncoder () : nodeset

The method serves for transforming a picture into the PCX picture format and is used as in the following example.

<xsl:stylesheet xmlns:xsl="" xmlns:ise="" xmlns:is="" xmlns:b="" xmlns:onion="" version="1.0">
<xsl:output method="xml" omit-xml-declaration="yes" indent="no" />
<xsl:template match="/resource">
<xsl:variable name="workspace" select="is:createWorkspace(@src, true())" />
<xsl:variable name="doWrite" select="is:writeWorkspace($workspace, ise:createPcxEncoder())" />
<b:output mimeType="image/psx">
<b:webResponse expires="60" />
Example of PCX encoder

Here, a picture is loaded into the main memory and then output with the PCX picture format.