I often have to go back and look up these details; so, I decided to post a standard starting point for a new stylesheet.
In particular, this is about capturing the correct headers.
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dp="http://www.datapower.com/extensions" xmlns:dpfunc="http://www.datapower.com/extensions/functions" xmlns:dpconfig="http://www.datapower.com/param/config" xmlns:func="http://exslt.org/functions" extension-element-prefixes="dp func" exclude-result-prefixes="dp dpfunc dpconfig func">
<xsl:template match="/">
<!-Do something ->
</xsl:template>
</xsl:stylesheet>
There are many stylesheet examples in the store:/// directory of the DataPower file system.
Be sure to add the appropriate namespace definitions for extension functions and elements.