Skip to content

Commit

Permalink
Added namespace support
Browse files Browse the repository at this point in the history
  • Loading branch information
MichielCM committed Aug 18, 2017
1 parent 6f7d0c4 commit 81c960b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html2xml.xsl
Expand Up @@ -30,7 +30,7 @@
<xsl:template match="*[@data-xsd2html2xml-type='element' and not(@style)]">
<xsl:if test="not(ancestor::*[@style])">
<xsl:if test="not(ancestor::*[@data-xsd2html2xml-choice]) or ancestor::*[@data-xsd2html2xml-choice]/preceding-sibling::*[1]/xhtml:input[@checked]">
<xsl:element name="{@data-xsd2html2xml-name}">
<xsl:element name="{@data-xsd2html2xml-name}" namespace="{@data-xsd2html2xml-namespace}">
<xsl:for-each select="*[@data-xsd2html2xml-type='attribute']">
<xsl:choose>
<xsl:when test="xhtml:input[@type='checkbox']/@checked">
Expand Down

0 comments on commit 81c960b

Please sign in to comment.