Schema languages like XBRL (the Extensible Business Reporting Language) can
define the structure of a financial statement, and the data itself can be
saved as an XML instance of the schema. The data is often processed further
using formulas; for example, to verify balances and derive data for financial
analysis. This processing is traditionally done in a non-XML application, but
staying in the world of XML, I ask: How well can XSLT (the Extensible
Stylesheet Transformation Language) do these calculations and what are the
advantages? Using this language to create data is called Computational XSLT
and it opens the way to distributing financial formulas as a set of
equivalent XSLT functions that are readable and run on any XSLT processor. No
new standard is proposed but a new role for XSLT 1.0/2.0 or XQuery1.0 (the
XML Query Language) is suggested, and this role is com... (more)