<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet>
<!--
=======================================
FORCE SELF CLOSING
For use with XHTML doctype XSLs that must output as HTML5 without doctype decleration.
=======================================
03/17/2016  -   added
-->
<xsl:stylesheet version="3.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:ou="http://omniupdate.com/XSL/Variables"
    xmlns:fn="http://omniupdate.com/XSL/Functions"
    xmlns:ouc="http://omniupdate.com/XSL/Variables"
    xmlns="http://www.w3.org/1999/xhtml"
    exclude-result-prefixes="xsl xs ou fn ouc">

    <xsl:template match="hr|br|img|input">
        <xsl:text disable-output-escaping="yes">&lt;</xsl:text><xsl:value-of select="name()"/><xsl:text> </xsl:text><xsl:apply-templates select="attribute()" mode="text"/><xsl:text disable-output-escaping="yes">/&gt;</xsl:text>
    </xsl:template>

    <xsl:template match="attribute()" mode="text">
        <xsl:value-of select="name()"/><xsl:text>="</xsl:text><xsl:value-of select="."/><xsl:text>" </xsl:text>
    </xsl:template>

</xsl:stylesheet>
