diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-10-19 20:31:56 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-10-19 20:31:56 +0200 |
commit | 6ae98bfdd390638c1b020cbc576a590504fe24cf (patch) | |
tree | 69836a90b3d48d4f31f1f779591ba7657cc81d7d /xml/test/units.xml | |
parent | 55255f2ce3a2234850249efcabd9ba32d0a89a9c (diff) | |
download | pcitool-6ae98bfdd390638c1b020cbc576a590504fe24cf.tar.gz pcitool-6ae98bfdd390638c1b020cbc576a590504fe24cf.tar.bz2 pcitool-6ae98bfdd390638c1b020cbc576a590504fe24cf.tar.xz pcitool-6ae98bfdd390638c1b020cbc576a590504fe24cf.zip |
Support multiple XML files per folder
Diffstat (limited to 'xml/test/units.xml')
-rw-r--r-- | xml/test/units.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/xml/test/units.xml b/xml/test/units.xml new file mode 100644 index 0000000..74ab9f7 --- /dev/null +++ b/xml/test/units.xml @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <unit name="C"> + <transform unit="K" transform="$value+273.15"/> + <transform unit="F" transform="$value*(9./5)+32"/> + </unit> + <unit name="K"> + <transform unit="C" transform="$value-273.15"/> + <transform unit="F" transform="($value-273.15)*(9./5)+32"/> + </unit> + <unit name="F"> + <transform unit="C" transform="($value-32)*5./9"/> + <transform unit="K" transform="($value+273.15-32)*5./9"/> + </unit> + <unit name="s"> + <transform unit="ms" transform="$value*1000"/> + <transform unit="us" transform="$value*1000000"/> + <transform unit="ns" transform="$value*1000000000"/> + </unit> + <unit name="ms"> + <transform unit="s" transform="$value/1000"/> + <transform unit="us" transform="$value*1000"/> + <transform unit="ns" transform="$value*1000000"/> + </unit> + <unit name="us"> + <transform unit="s" transform="$value/1000000"/> + <transform unit="ms" transform="$value/1000"/> + <transform unit="ns" transform="$value*1000"/> + </unit> + <unit name="ns"> + <transform unit="s" transform="$value/1000000000"/> + <transform unit="ms" transform="$value/1000000"/> + <transform unit="us" transform="$value/1000"/> + </unit> +</model> |