Skip to content

Commit

Permalink
polystat#13 fixed xml formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mnj2kk committed Jul 14, 2022
1 parent da979f7 commit 7de6bf0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
24 changes: 11 additions & 13 deletions src/main/resources/org/polystat/far/cleanup-expressions.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" id="cleanup-expressions" version="2.0">
<!--
This XSL deletes all <input> elements, which have at least
one variable with \perp value. It's obvious, that such a
situation is impossible: \perp can't come in as a value.
<!--
This XSL deletes all <b> elements.
-->
<xsl:strip-space elements="*"/>
<xsl:template match="b">
<!-- just delete it -->
</xsl:template>
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>
<xsl:strip-space elements="*"/>
<xsl:template match="b">
<!-- just delete it -->
</xsl:template>
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
2 changes: 1 addition & 1 deletion src/main/resources/org/polystat/far/cleanup-perps.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SOFTWARE.
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" id="cleanup-perps" version="2.0">
<!--
This XSL deletes all <input> elements, which have at least
This XSL deletes all <opt> elements, which have at least
one variable with \perp value. It's obvious, that such a
situation is impossible: \perp can't come in as a value.
-->
Expand Down

0 comments on commit 7de6bf0

Please sign in to comment.