tr:remove-ns-decl-and-xml-base remove-ns-decl-and-xml-base

xproc-util/remove-ns-decl-and-xml-base/xpl/remove-ns-decl-and-xml-base.xpl

Import URI: http://transpect.io/xproc-util/remove-ns-decl-and-xml-base/xpl/remove-ns-decl-and-xml-base.xpl

tr:remove-ns-decl-and-xml-base

The purpose of this identity transformation is to remove all namespace declarations. The step prevents that XProc writes all prefixes declared in the pipeline are written into the output.

Output Ports

NameDocumentationConnections

result

Subpipeline

StepInputsOutputsOptions

p:xslt d153e12

source
parameters

p:empty

stylesheet

 <xsl:stylesheet version="2.0">
   <xsl:template match="* | @* | processing-instruction() | comment()">
     <xsl:copy copy-namespaces="no">
       <xsl:apply-templates select="@*, node()"/>
     </xsl:copy>
   </xsl:template>
   <xsl:template match="@xml:base"/>
 </xsl:stylesheet>

result