HOME COMMUNITY BLOG

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleSource XML
linenumberstrue
languagehtml/xml
 <ROOT><ROOT>
    <test number="3.1415927"/>
</ROOT>
Code Block
titleStylesheet
linenumberstrue
languagehtml/xml
 <<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
    xmlns:AS="http://schema.advantages.cz/AsapFunctions"
    xmlns:date="http://exslt.org/dates-and-times" exclude-result-prefixes="AS date">
    <xsl:template match="/">
        <test test="AS:NormalRound(/ROOT/test/@number, 2)"/>
    </xsl:template>
</xsl:stylesheet>