Skip to content

Commit

Permalink
cleanup orgnames too
Browse files Browse the repository at this point in the history
  • Loading branch information
leifj committed Mar 9, 2015
1 parent e0cc3f2 commit a3b32e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pyff/xslt/tidy.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
<xsl:template match="@validUntil"/>
<xsl:template match="@cacheDuration"/>
<xsl:template match="@xml:base"/>
<xsl:template match="md:OrganizationName|md:OrganizationURL|md:OrganizationDisplayName">
<xsl:if test="normalize-space(text()) != ''">
<xsl:copy><xsl:apply-templates select="node()|@*"/></xsl:copy>
</xsl:if>
</xsl:template>

<xsl:template match="text()|comment()|@*">
<xsl:copy/>
Expand Down

0 comments on commit a3b32e0

Please sign in to comment.