[LAD] [ANN] XSL stylesheets for converting specimen banks to petri-foo banks

David Robillard d at drobilla.net
Mon Feb 3 06:12:23 UTC 2014


On Sun, 2014-02-02 at 16:07 +0100, Thomas Mayer wrote:
> Hi,
> 
> I have just finished two XSL stylesheets for converting specimen banks
> to the save format used by petri-foo, so a user can easily switch to
> petri-foo:
> 
> https://github.com/residuum/specimen2petri-foo
> 
> There are two stylesheets, depending on your locale settings, i.e. if
> your locale uses comma or dot as decimal separator (if 1/2 is saved as
> 0.5 or 0,5 on your system).

Eeck.  XML documents should really be using the standard XSD types for
numeric literals, e.g. xsd:decimal[1], which are not locale dependent
(they use "." for a decimal separator).

[1] http://www.w3.org/TR/xmlschema-2#decimal

-- 
dr




More information about the Linux-audio-dev mailing list