From 375b2999565781e33e20e8613607ae2f70090193 Mon Sep 17 00:00:00 2001
From: infojunkie <karim.ratib@gmail.com>
Date: Sun, 27 Oct 2024 20:28:24 -0700
Subject: [PATCH] Tests and more supported elements

---
 .github/workflows/test.yml               |   22 +
 .gitignore                               |    2 +-
 README.md                                |    5 +-
 build/lib-musicxml.sef.json              |    1 +
 build/mscx.sef.json                      |    1 +
 package-lock.json                        |    8 +
 package.json                             |    7 +-
 src/instruments.xml                      |    1 +
 src/lib-musicxml.xsl                     |   17 +
 src/mscx.xsl                             |  178 +-
 test/data/9-20-special.musicxml          |   48 +-
 test/mscx.spec.mjs                       |   50 +
 test/{data => }/output/.gitkeep          |    0
 test/output/9-20-special.mscx            | 1910 ++++++++++++++++++++++
 test/output/tutorial-apres-un-reve.mscx  | 1037 ++++++++++++
 test/output/tutorial-chopin-prelude.mscx |  340 ++++
 16 files changed, 3547 insertions(+), 80 deletions(-)
 create mode 100644 .github/workflows/test.yml
 create mode 100644 build/lib-musicxml.sef.json
 create mode 100644 build/mscx.sef.json
 create mode 120000 src/instruments.xml
 create mode 100644 test/mscx.spec.mjs
 rename test/{data => }/output/.gitkeep (100%)
 create mode 100644 test/output/9-20-special.mscx
 create mode 100644 test/output/tutorial-apres-un-reve.mscx
 create mode 100644 test/output/tutorial-chopin-prelude.mscx

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..b2ee8bf
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,22 @@
+name: Test
+
+on: [push]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+
+    strategy:
+      matrix:
+        node-version: [18, 20, 22]
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: Use Node.js ${{ matrix.node-version }}
+      uses: actions/setup-node@v1
+      with:
+        node-version: ${{ matrix.node-version }}
+    - run: npm install
+    - run: npm test
+      env:
+        CI: true
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index 3e549bb..504fc4c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,4 +3,4 @@ test/data/output/*
 cache/*
 !.gitkeep
 *.log
-instruments.xml
\ No newline at end of file
+.mscbackup
diff --git a/README.md b/README.md
index 4c5ea60..c011b0d 100644
--- a/README.md
+++ b/README.md
@@ -3,5 +3,8 @@ musicxml-mscx
 
 MusicXML to MuseScore converter and back.
 
+![GitHub Build Status](https://github.com/infojunkie/musicxml-mscx/workflows/Test/badge.svg)
+
 # Usage
-- `npm run --silent convert:mscx /path/to/score.musicxml instrumentsFile=/path/to/MuseScore/share/instruments/instruments.xml`
+- `npm install && npm test`
+- `npm run --silent convert:mscx /path/to/score.musicxml instrumentsFile=/path/to/MuseScore/share/instruments/instruments.xml styleFile=/path/to/MuseScore/stylesheet.mss`
diff --git a/build/lib-musicxml.sef.json b/build/lib-musicxml.sef.json
new file mode 100644
index 0000000..1bf6c1d
--- /dev/null
+++ b/build/lib-musicxml.sef.json
@@ -0,0 +1 @@
+{"N":"package","version":"30","packageVersion":"1","saxonVersion":"SaxonJS 2.7","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"false","buildDateTime":"2024-10-27T20:21:17.927-07:00","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"co","id":"0","vis":"PRIVATE","ex:uniform":"true","binds":"10","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}accumulatorBefore","as":"* ","slots":"202","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","flags":"muu","sig":"1F r[* ] a[* ,* ] ","sType":"1F r[* ] a[* ,* ] ","line":"34","C":[{"N":"arg","slot":"0","name":"Q{}accumulator","as":"* ","sType":"* "},{"N":"arg","slot":"1","name":"Q{}node","as":"* ","sType":"* "},{"N":"applyT","sType":"* ","line":"38","mode":"Q{}accumulatorBefore","role":"body","bSlot":"0","C":[{"N":"varRef","name":"Q{}node","slot":"1","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"38"},{"N":"withParam","name":"Q{}accumulator","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}accumulator","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"39"}]}]}]}]},{"N":"co","id":"1","vis":"PRIVATE","ex:uniform":"true","binds":"11","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}accumulatorAfter","as":"* ","slots":"202","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","flags":"muu","sig":"1F r[* ] a[* ,* ] ","sType":"1F r[* ] a[* ,* ] ","line":"43","C":[{"N":"arg","slot":"0","name":"Q{}accumulator","as":"* ","sType":"* "},{"N":"arg","slot":"1","name":"Q{}node","as":"* ","sType":"* "},{"N":"applyT","sType":"* ","line":"47","mode":"Q{}accumulatorAfter","role":"body","bSlot":"0","C":[{"N":"varRef","name":"Q{}node","slot":"1","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"47"},{"N":"withParam","name":"Q{}accumulator","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}accumulator","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"48"}]}]}]}]},{"N":"co","id":"2","vis":"PRIVATE","ex:uniform":"true","binds":"12","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}measureDuration","as":"1AO ","slots":"201","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[* ] ","sType":"1F r[1AO ] a[* ] ","line":"199","C":[{"N":"arg","slot":"0","name":"Q{}measure","as":"* ","sType":"* "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}measureDuration()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}measureDuration()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}measureDuration()","role":"body","C":[{"N":"data","sType":"*A ","role":"body","C":[{"N":"applyT","sType":"* ","mode":"Q{}measureDuration","role":"body","bSlot":"0","C":[{"N":"varRef","name":"Q{}measure","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"92"}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"3","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs","as":"1AO ","slots":"203","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","line":"210","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"arg","slot":"2","name":"Q{}tempo","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"arith","op":"div","calc":"a/a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"214","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"60000"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}tempo","slot":"2"}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"4","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks","as":"1AO ","slots":"202","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ] ","line":"220","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"fn","name":"round","sType":"?A m[AO,AD,AF]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"223","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||round","C":[{"N":"check","card":"?","diag":"0|0||round","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||round","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"192"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"5","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}precedingMeasureElements","as":"*NE ","slots":"201","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","flags":"muu","sig":"1F r[*NE ] a[* ] ","sType":"1F r[*NE ] a[* ] ","line":"229","C":[{"N":"arg","slot":"0","name":"Q{}note","as":"* ","sType":"* "},{"N":"docOrder","sType":"*NE","role":"body","line":"231","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"fn","name":"reverse","C":[{"N":"filter","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE"},{"N":"and","C":[{"N":"fn","name":"not","C":[{"N":"compareToString","op":"eq","val":"note","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]}]},{"N":"filter","C":[{"N":"first","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]},{"N":"vc","op":"eq","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"generate-id","C":[{"N":"dot"}]},{"N":"fn","name":"generate-id","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"6","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}followingMeasureElements","as":"*NE ","slots":"201","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","flags":"muu","sig":"1F r[*NE ] a[* ] ","sType":"1F r[*NE ] a[* ] ","line":"234","C":[{"N":"arg","slot":"0","name":"Q{}note","as":"* ","sType":"* "},{"N":"docOrder","sType":"*NE","role":"body","line":"236","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE"},{"N":"and","C":[{"N":"fn","name":"not","C":[{"N":"compareToString","op":"eq","val":"note","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]}]},{"N":"fn","name":"reverse","C":[{"N":"filter","C":[{"N":"first","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]},{"N":"vc","op":"eq","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"generate-id","C":[{"N":"dot"}]},{"N":"fn","name":"generate-id","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"7","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}defaultScalingMillimeters","sType":"* ","slots":"200","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","as":"","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"dec","val":"7","sType":"1AD","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"19"}]}]},{"N":"co","binds":"","id":"8","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}defaultScalingTenths","sType":"* ","slots":"200","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","as":"","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"40","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"20"}]}]},{"N":"co","binds":"","id":"9","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"3","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","line":"242","module":"lib-musicxml.xsl","expand-text":"false","match":"*","prio":"-0.5","matches":"NE","C":[{"N":"p.nodeTest","role":"match","test":"NE","sType":"1NE","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ "},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","role":"action","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"["}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"fn","name":"name","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"3","C":[{"N":"dot"}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"] Unhandled element"}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]}]}]}]},{"N":"co","binds":"","id":"10","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}accumulatorBefore","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"0","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","line":"26","module":"lib-musicxml.xsl","expand-text":"false","match":"node()","prio":"-0.5","matches":"N u[NT,NP,NC,NE]","C":[{"N":"p.nodeTest","role":"match","test":"N u[NT,NP,NC,NE]","sType":"1N u[NT,NP,NC,NE]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"param","name":"Q{}accumulator","slot":"0","sType":"* ","as":"* ","flags":"","line":"27","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"28","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"fn","sType":"*","name":"accumulator-before","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"28","C":[{"N":"treat","as":"AS","diag":"0|0||accumulator-before","C":[{"N":"check","card":"1","diag":"0|0||accumulator-before","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||accumulator-before","C":[{"N":"check","card":"1","diag":"0|0||accumulator-before","C":[{"N":"data","diag":"0|0||accumulator-before","C":[{"N":"varRef","name":"Q{}accumulator","slot":"0"}]}]}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]},{"N":"co","binds":"","id":"11","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}accumulatorAfter","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"1","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","line":"30","module":"lib-musicxml.xsl","expand-text":"false","match":"node()","prio":"-0.5","matches":"N u[NT,NP,NC,NE]","C":[{"N":"p.nodeTest","role":"match","test":"N u[NT,NP,NC,NE]","sType":"1N u[NT,NP,NC,NE]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"param","name":"Q{}accumulator","slot":"0","sType":"* ","as":"* ","flags":"","line":"31","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"32","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"fn","sType":"*","name":"accumulator-after","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"32","C":[{"N":"treat","as":"AS","diag":"0|0||accumulator-after","C":[{"N":"check","card":"1","diag":"0|0||accumulator-after","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||accumulator-after","C":[{"N":"check","card":"1","diag":"0|0||accumulator-after","C":[{"N":"data","diag":"0|0||accumulator-after","C":[{"N":"varRef","name":"Q{}accumulator","slot":"0"}]}]}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]},{"N":"co","binds":"","id":"12","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}measureDuration","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"2","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","line":"203","module":"lib-musicxml.xsl","expand-text":"false","match":"measure","prio":"0","matches":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ "},{"N":"valueOf","flags":"l","sType":"1NT ","role":"action","line":"204","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"arith","sType":"1AO","op":"div","calc":"d/d","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"204","C":[{"N":"arith","op":"*","calc":"d*d","C":[{"N":"arith","op":"*","calc":"d*d","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]},{"N":"fn","name":"number","C":[{"N":"check","card":"?","diag":"0|0||number","C":[{"N":"data","diag":"0|0||number","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beats,NE nQ{http://www.w3.org/1999/xhtml}beats]"}]}]}]}]}]}]},{"N":"convert","to":"AO","flags":"","C":[{"N":"int","val":"4"}]}]},{"N":"fn","name":"number","C":[{"N":"check","card":"?","diag":"0|0||number","C":[{"N":"data","diag":"0|0||number","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]"}]}]}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"overridden"},{"N":"output","C":[{"N":"property","name":"Q{http://saxon.sf.net/}stylesheet-version","value":"30"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}divisions","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"56"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"child","nodeTest":"*NT","sType":"*NT","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"57"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}tempo","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","C":[{"N":"int","val":"120","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"63"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo","sType":"*NA nQ{}tempo","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"64"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}metronome","as":"element()*","ex:asJ":"*NE ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","C":[{"N":"empty","sType":"0E","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"70"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}metronome,NE nQ{http://www.w3.org/1999/xhtml}metronome]"}]}]},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"dot","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"71"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}time","as":"element()*","ex:asJ":"*NE ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","C":[{"N":"empty","sType":"0E","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"77"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"78"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}clef","as":"element()*","ex:asJ":"*NE ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","C":[{"N":"empty","sType":"0E","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"84"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"85"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}key","as":"element()*","ex:asJ":"*NE ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","C":[{"N":"empty","sType":"0E","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"91"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"92"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}harmony","as":"element()*","ex:asJ":"*NE ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","C":[{"N":"empty","sType":"0E","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"98"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"dot","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"99"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1FM","slots":"5","name":"Q{}measureIndex","as":"map(*)","ex:asJ":"FM k[1AS ] v[1ADI ] ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}_new","sType":"1FM","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"105"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"FM k[1AS ] v[1ADI ] ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"choose","sType":"1FM","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"106","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}contains","C":[{"N":"treat","as":"FM","diag":"0|0||map:contains","C":[{"N":"check","card":"1","diag":"0|0||map:contains","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:contains","C":[{"N":"attVal","name":"Q{}number"}]}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}get","C":[{"N":"treat","as":"FM","diag":"0|0||map:get","C":[{"N":"check","card":"1","diag":"0|0||map:get","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:get","C":[{"N":"attVal","name":"Q{}number"}]}]}]},{"N":"true"},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}size","C":[{"N":"treat","as":"FM","diag":"0|0||map:size","C":[{"N":"check","card":"1","diag":"0|0||map:size","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","sType":"1ADI","binds":"2","slots":"5","name":"Q{}measureDuration","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"112"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"113"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","sType":"1NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"114","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","sType":"1NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"-","calc":"a-a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"115","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"117","C":[{"N":"docOrder","sType":"*NE u[NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord],NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]]","line":"118","C":[{"N":"union","op":"|","sType":"*NE u[NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord],NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]"}]}]},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"45"},{"N":"filter","sType":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"119","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}measure"},{"N":"str","val":"yes"}]}]},{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}measureDuration","coId":"2","sType":"1AO","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"120","bSlot":"0","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"49","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureOnset","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"130"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"131"}]}]}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"132","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureDuration"}]}]}]}]}]}]}]}]},{"N":"accumulator","sType":"1ADI","binds":"2","slots":"5","name":"Q{}noteDuration","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"138"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"140","C":[{"N":"docOrder","sType":"*NE u[NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord],NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]]","line":"141","C":[{"N":"union","op":"|","sType":"*NE u[NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord],NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]"}]}]},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"57"},{"N":"filter","sType":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"142","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}measure"},{"N":"str","val":"yes"}]}]},{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}measureDuration","coId":"2","sType":"1AO","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"143","bSlot":"0","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"filter","sType":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"145","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"stop"}]}]},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"61","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]},{"N":"true"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","sType":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"63"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","sType":"1ADI","binds":"2","slots":"5","name":"Q{}noteOnset","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"154"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"155"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","sType":"1NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"156","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","sType":"1NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"-","calc":"a-a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"157","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"159","C":[{"N":"docOrder","sType":"*NE u[NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord],NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]]","line":"160","C":[{"N":"union","op":"|","sType":"*NE u[NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord],NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]"}]}]},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"71"},{"N":"filter","sType":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"161","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}measure"},{"N":"str","val":"yes"}]}]},{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}measureDuration","coId":"2","sType":"1AO","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"162","bSlot":"0","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"75","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}harmonyDuration","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"175"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"176"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"177"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"179","C":[{"N":"docOrder","sType":"*NE u[NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord],NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]]","line":"180","C":[{"N":"union","op":"|","sType":"*NE u[NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord],NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]"}]}]},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"82"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"84","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","sType":"* ","binds":"7","slots":"5","name":"Q{}scalingMillimeters","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","C":[{"N":"gVarRef","name":"Q{}defaultScalingMillimeters","bSlot":"0","sType":"* ","role":"init","line":"189"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}scaling,NE nQ{http://www.w3.org/1999/xhtml}scaling]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}scaling,NE nQ{http://www.w3.org/1999/xhtml}scaling]"},{"N":"p.withUpper","axis":"ancestor","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}defaults,NE nQ{http://www.w3.org/1999/xhtml}defaults]"},{"N":"p.nodeTest","test":"ND"}]}]},{"N":"fn","name":"number","sType":"1AO","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"190","C":[{"N":"check","card":"?","diag":"0|0||number","C":[{"N":"data","diag":"0|0||number","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}millimeters,NE nQ{http://www.w3.org/1999/xhtml}millimeters]"}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","sType":"* ","binds":"8","slots":"5","name":"Q{}scalingTenths","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","C":[{"N":"gVarRef","name":"Q{}defaultScalingTenths","bSlot":"0","sType":"* ","role":"init","line":"192"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}scaling,NE nQ{http://www.w3.org/1999/xhtml}scaling]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}scaling,NE nQ{http://www.w3.org/1999/xhtml}scaling]"},{"N":"p.withUpper","axis":"ancestor","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}defaults,NE nQ{http://www.w3.org/1999/xhtml}defaults]"},{"N":"p.nodeTest","test":"ND"}]}]},{"N":"fn","name":"number","sType":"1AO","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"193","C":[{"N":"check","card":"?","diag":"0|0||number","C":[{"N":"data","diag":"0|0||number","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tenths,NE nQ{http://www.w3.org/1999/xhtml}tenths]"}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"decimalFormat"}],"Σ":"fab8d407"}
\ No newline at end of file
diff --git a/build/mscx.sef.json b/build/mscx.sef.json
new file mode 100644
index 0000000..c5ca7e7
--- /dev/null
+++ b/build/mscx.sef.json
@@ -0,0 +1 @@
+{"N":"package","version":"10","packageVersion":"1","saxonVersion":"SaxonJS 2.7","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"false","buildDateTime":"2024-10-27T20:21:19.098-07:00","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"co","id":"0","uniform":"true","binds":"31 26 32","C":[{"N":"template","flags":"os","module":"mscx.xsl","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","name":"Q{}vbox","line":"212","expand-text":"false","sType":"? ","C":[{"N":"choose","sType":"? ","role":"body","line":"213","C":[{"N":"or","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"213","C":[{"N":"slash","op":"/","C":[{"N":"gVarRef","name":"Q{}root","bSlot":"0"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}credit,NE nQ{http://www.w3.org/1999/xhtml}credit]"}]},{"N":"and","C":[{"N":"gVarRef","name":"Q{}defaultVBox","bSlot":"1"},{"N":"or","C":[{"N":"slash","op":"/","C":[{"N":"gVarRef","name":"Q{}root","bSlot":"0"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}movement-title,NE nQ{http://www.w3.org/1999/xhtml}movement-title]"}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"gVarRef","name":"Q{}root","bSlot":"0"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}work,NE nQ{http://www.w3.org/1999/xhtml}work]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}work-title,NE nQ{http://www.w3.org/1999/xhtml}work-title]"}]}]}]}]}]},{"N":"elem","name":"VBox","sType":"1NE nQ{}VBox ","nsuri":"","namespaces":"","line":"214","C":[{"N":"sequence","sType":"* ","C":[{"N":"elem","name":"height","sType":"1NE nQ{}height ","nsuri":"","namespaces":"","line":"215","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"10"}]}]},{"N":"choose","sType":"* ","type":"item()*","line":"216","C":[{"N":"docOrder","sType":"*NE","line":"217","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"gVarRef","name":"Q{}root","bSlot":"0"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}credit,NE nQ{http://www.w3.org/1999/xhtml}credit]"}]}]},{"N":"applyT","sType":"* ","line":"218","mode":"#unnamed","bSlot":"2","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"218","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"gVarRef","name":"Q{}root","bSlot":"0"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}credit,NE nQ{http://www.w3.org/1999/xhtml}credit]"}]}]}]},{"N":"true"},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"221","C":[{"N":"docOrder","sType":"*NE","line":"221","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"gVarRef","name":"Q{}root","bSlot":"0"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}movement-title,NE nQ{http://www.w3.org/1999/xhtml}movement-title]"}]}]},{"N":"elem","name":"Text","sType":"1NE nQ{}Text ","nsuri":"","namespaces":"","line":"222","C":[{"N":"sequence","sType":"*NE ","C":[{"N":"elem","name":"style","sType":"1NE nQ{}style ","nsuri":"","namespaces":"","line":"223","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"Title"}]}]},{"N":"elem","name":"text","sType":"1NE nQ{}text ","nsuri":"","namespaces":"","line":"224","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"229","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"gVarRef","name":"Q{}root","bSlot":"0"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}movement-title,NE nQ{http://www.w3.org/1999/xhtml}movement-title]"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"? ","line":"227","C":[{"N":"docOrder","sType":"*NE","line":"227","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"gVarRef","name":"Q{}root","bSlot":"0"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}work,NE nQ{http://www.w3.org/1999/xhtml}work]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}work-title,NE nQ{http://www.w3.org/1999/xhtml}work-title]"}]}]}]},{"N":"elem","name":"Text","sType":"1NE nQ{}Text ","nsuri":"","namespaces":"","line":"228","C":[{"N":"sequence","sType":"*NE ","C":[{"N":"elem","name":"style","sType":"1NE nQ{}style ","nsuri":"","namespaces":"","line":"229","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"Title"}]}]},{"N":"elem","name":"text","sType":"1NE nQ{}text ","nsuri":"","namespaces":"","line":"230","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"234","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"gVarRef","name":"Q{}root","bSlot":"0"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}work,NE nQ{http://www.w3.org/1999/xhtml}work]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}work-title,NE nQ{http://www.w3.org/1999/xhtml}work-title]"}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"? ","line":"233","C":[{"N":"docOrder","sType":"*NE","line":"233","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"gVarRef","name":"Q{}root","bSlot":"0"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}identification,NE nQ{http://www.w3.org/1999/xhtml}identification]"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}creator,NE nQ{http://www.w3.org/1999/xhtml}creator]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"str","val":"composer"}]}]}]}]}]},{"N":"elem","name":"Text","sType":"1NE nQ{}Text ","nsuri":"","namespaces":"","line":"234","C":[{"N":"sequence","sType":"*NE ","C":[{"N":"elem","name":"style","sType":"1NE nQ{}style ","nsuri":"","namespaces":"","line":"235","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"Composer"}]}]},{"N":"elem","name":"text","sType":"1NE nQ{}text ","nsuri":"","namespaces":"","line":"236","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"239","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"gVarRef","name":"Q{}root","bSlot":"0"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}identification,NE nQ{http://www.w3.org/1999/xhtml}identification]"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}creator,NE nQ{http://www.w3.org/1999/xhtml}creator]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"str","val":"composer"}]}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]},{"N":"co","id":"1","uniform":"true","binds":"1","C":[{"N":"template","flags":"os","module":"mscx.xsl","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","name":"Q{}text","line":"822","expand-text":"false","sType":"* ","C":[{"N":"sequence","role":"body","sType":"* ","C":[{"N":"param","name":"Q{}node","slot":"0","sType":"* ","as":"* ","flags":"","line":"823","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"param","name":"Q{}exclude-attributes","slot":"1","sType":"* ","as":"* ","flags":"","line":"824","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"1","sType":"* "}]},{"N":"choose","sType":"* ","type":"item()*","line":"825","C":[{"N":"and","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"826","C":[{"N":"fn","name":"not","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"str","val":"font-size"},{"N":"varRef","name":"Q{}exclude-attributes","slot":"1"}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}node","slot":"0"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}font-size"}]}]}]},{"N":"sequence","sType":"* ","C":[{"N":"elem","name":"font","sType":"1NE nQ{}font ","nsuri":"","namespaces":"","line":"827","C":[{"N":"att","name":"size","sType":"1NA ","line":"828","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"valueOf","sType":"1NT ","flags":"l","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NA nQ{}font-size","role":"select","line":"681","C":[{"N":"docOrder","sType":"*NA nQ{}font-size","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}node","slot":"0"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}font-size"}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}text","line":"830","C":[{"N":"withParam","name":"Q{}node","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}node","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"831"}]},{"N":"withParam","name":"Q{}exclude-attributes","slot":"1","sType":"*","C":[{"N":"sequence","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"832","C":[{"N":"varRef","name":"Q{}exclude-attributes","slot":"1"},{"N":"str","val":"font-size"}]}]}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"835","C":[{"N":"fn","name":"not","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"str","val":"font-family"},{"N":"varRef","name":"Q{}exclude-attributes","slot":"1"}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}node","slot":"0"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}font-family"}]}]}]},{"N":"sequence","sType":"* ","C":[{"N":"elem","name":"font","sType":"1NE nQ{}font ","nsuri":"","namespaces":"","line":"836","C":[{"N":"att","name":"face","sType":"1NA ","line":"837","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"valueOf","sType":"1NT ","flags":"l","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NA nQ{}font-family","role":"select","line":"688","C":[{"N":"docOrder","sType":"*NA nQ{}font-family","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}node","slot":"0"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}font-family"}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}text","line":"839","C":[{"N":"withParam","name":"Q{}node","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}node","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"840"}]},{"N":"withParam","name":"Q{}exclude-attributes","slot":"1","sType":"*","C":[{"N":"sequence","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"841","C":[{"N":"varRef","name":"Q{}exclude-attributes","slot":"1"},{"N":"str","val":"font-family"}]}]}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"844","C":[{"N":"fn","name":"not","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"str","val":"font-weight"},{"N":"varRef","name":"Q{}exclude-attributes","slot":"1"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}node","slot":"0"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}font-weight"}]}]},{"N":"str","val":"bold"}]}]},{"N":"elem","name":"b","sType":"1NE nQ{}b ","nsuri":"","namespaces":"","line":"845","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}text","line":"846","C":[{"N":"withParam","name":"Q{}node","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}node","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"847"}]},{"N":"withParam","name":"Q{}exclude-attributes","slot":"1","sType":"*","C":[{"N":"sequence","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"848","C":[{"N":"varRef","name":"Q{}exclude-attributes","slot":"1"},{"N":"str","val":"font-weight"}]}]}]}]},{"N":"and","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"852","C":[{"N":"fn","name":"not","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"str","val":"font-style"},{"N":"varRef","name":"Q{}exclude-attributes","slot":"1"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}node","slot":"0"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}font-style"}]}]},{"N":"str","val":"italic"}]}]},{"N":"elem","name":"i","sType":"1NE nQ{}i ","nsuri":"","namespaces":"","line":"853","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}text","line":"854","C":[{"N":"withParam","name":"Q{}node","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}node","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"855"}]},{"N":"withParam","name":"Q{}exclude-attributes","slot":"1","sType":"*","C":[{"N":"sequence","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"856","C":[{"N":"varRef","name":"Q{}exclude-attributes","slot":"1"},{"N":"str","val":"font-style"}]}]}]}]},{"N":"true"},{"N":"valueOf","flags":"l","sType":"1NT ","line":"861","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NT","role":"select","line":"861","C":[{"N":"docOrder","sType":"*NT","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}node","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NT"}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]},{"N":"co","id":"2","uniform":"true","binds":"5","C":[{"N":"template","flags":"os","module":"mscx.xsl","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","name":"Q{}location","line":"869","expand-text":"false","sType":"* ","C":[{"N":"sequence","role":"body","sType":"* ","C":[{"N":"param","name":"Q{}start","slot":"0","sType":"* ","as":"* ","flags":"","line":"870","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"param","name":"Q{}end","slot":"1","sType":"* ","as":"* ","flags":"","line":"871","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"1","sType":"* "}]},{"N":"param","name":"Q{}sign","slot":"2","sType":"ADI ","as":"ADI ","flags":"","line":"872","C":[{"N":"check","card":"1","sType":"1ADI ","diag":"2|0|XTTE0570|xsl:param name=\"Q{}sign\"","role":"select","C":[{"N":"treat","as":"ADI ","diag":"2|0|XTTE0570|xsl:param name=\"Q{}sign\"","role":"select","C":[{"N":"check","card":"1","diag":"2|0|XTTE0570|xsl:param name=\"Q{}sign\"","role":"select","C":[{"N":"cvUntyped","to":"ADI","sType":"*A ","diag":"2|0|XTTE0570|xsl:param name=\"Q{}sign\"","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"empty","sType":"0 ","role":"select"}]}]}]}]}]},{"N":"check","card":"1","sType":"1ADI ","diag":"2|1|XTTE0590|xsl:param name=\"Q{}sign\"","role":"conversion","C":[{"N":"treat","as":"ADI ","diag":"2|1|XTTE0590|xsl:param name=\"Q{}sign\"","role":"conversion","C":[{"N":"check","card":"1","diag":"2|1|XTTE0590|xsl:param name=\"Q{}sign\"","role":"conversion","C":[{"N":"cvUntyped","to":"ADI","sType":"*A ","diag":"2|1|XTTE0590|xsl:param name=\"Q{}sign\"","role":"conversion","C":[{"N":"data","sType":"*A ","role":"conversion","C":[{"N":"supplied","role":"conversion","slot":"2","sType":"* "}]}]}]}]}]}]},{"N":"param","name":"Q{}fraction","slot":"3","sType":"AB ","as":"AB ","flags":"","line":"873","C":[{"N":"check","card":"1","sType":"1AB ","diag":"2|0|XTTE0570|xsl:param name=\"Q{}fraction\"","role":"select","C":[{"N":"treat","as":"AB ","diag":"2|0|XTTE0570|xsl:param name=\"Q{}fraction\"","role":"select","C":[{"N":"check","card":"1","diag":"2|0|XTTE0570|xsl:param name=\"Q{}fraction\"","role":"select","C":[{"N":"cvUntyped","to":"AB","sType":"*A ","diag":"2|0|XTTE0570|xsl:param name=\"Q{}fraction\"","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"empty","sType":"0 ","role":"select"}]}]}]}]}]},{"N":"check","card":"1","sType":"1AB ","diag":"2|1|XTTE0590|xsl:param name=\"Q{}fraction\"","role":"conversion","C":[{"N":"treat","as":"AB ","diag":"2|1|XTTE0590|xsl:param name=\"Q{}fraction\"","role":"conversion","C":[{"N":"check","card":"1","diag":"2|1|XTTE0590|xsl:param name=\"Q{}fraction\"","role":"conversion","C":[{"N":"cvUntyped","to":"AB","sType":"*A ","diag":"2|1|XTTE0590|xsl:param name=\"Q{}fraction\"","role":"conversion","C":[{"N":"data","sType":"*A ","role":"conversion","C":[{"N":"supplied","role":"conversion","slot":"3","sType":"* "}]}]}]}]}]}]},{"N":"elem","name":"location","sType":"1NE nQ{}location ","nsuri":"","namespaces":"","line":"874","C":[{"N":"choose","sType":"* ","type":"item()*","line":"875","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"876","C":[{"N":"fn","name":"generate-id","C":[{"N":"first","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}end","slot":"1"}]},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]}]},{"N":"fn","name":"generate-id","C":[{"N":"first","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}start","slot":"0"}]},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]}]}]},{"N":"sequence","sType":"* ","C":[{"N":"elem","name":"measures","sType":"1NE nQ{}measures ","nsuri":"","namespaces":"","line":"877","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"878","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}sign","slot":"2","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"878"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"choose","sType":"* ","line":"880","C":[{"N":"varRef","name":"Q{}fraction","slot":"3","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"880"},{"N":"let","var":"Q{}notes","slot":"4","sType":"*NE ","line":"884","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"884","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}end","slot":"1"}]},{"N":"fn","name":"reverse","C":[{"N":"filter","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"fn","name":"reverse","C":[{"N":"filter","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"generate-id","C":[{"N":"dot"}]},{"N":"fn","name":"generate-id","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}start","slot":"0"}]}]}]}]}]}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"generate-id","C":[{"N":"dot"}]},{"N":"fn","name":"generate-id","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}start","slot":"0"}]}]}]}]}]}]}]}]}]}]}]},{"N":"elem","name":"fractions","sType":"1NE nQ{}fractions ","nsuri":"","namespaces":"","line":"885","C":[{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"886","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"arith10","sType":"?AO","op":"*","calc":"d*d","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"886","C":[{"N":"atomSing","diag":"1|0||arith","card":"?","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}sign","slot":"2"}]}]},{"N":"fn","name":"sum","C":[{"N":"data","diag":"0|0||sum","C":[{"N":"fn","name":"for-each","C":[{"N":"varRef","name":"Q{}notes","slot":"4"},{"N":"inlineFn","arity":"1","name":"inline","as":"*","sType":"1F a[*] r[*]","C":[{"N":"arg","name":"note","asCode":"*","slot":"21"},{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}accumulatorAfter","coId":"5","role":"body","bSlot":"0","C":[{"N":"str","val":"noteDuration"},{"N":"varRef","name":"Q{}note","slot":"21"}]}]}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"/"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"888","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"*","name":"Q{http://www.w3.org/2021/06/musicxml40}accumulatorAfter","coId":"5","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"888","bSlot":"0","C":[{"N":"str","val":"measureDuration"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}start","slot":"0"}]},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]},{"N":"true"},{"N":"let","var":"Q{}ms","slot":"4","sType":"* ","line":"893","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"893","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}start","slot":"0"}]},{"N":"sequence","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]}]}]},{"N":"let","var":"Q{}me","slot":"5","sType":"* ","line":"894","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"894","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}end","slot":"1"}]},{"N":"sequence","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]}]}]}]},{"N":"sequence","sType":"* ","C":[{"N":"elem","name":"measures","sType":"1NE nQ{}measures ","nsuri":"","namespaces":"","line":"895","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"896","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"arith10","sType":"?AO","op":"*","calc":"d*d","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"896","C":[{"N":"atomSing","diag":"1|0||arith","card":"?","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}sign","slot":"2"}]}]},{"N":"fn","name":"count","C":[{"N":"filter","C":[{"N":"varRef","name":"Q{}ms","slot":"4"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"count","C":[{"N":"union","op":"|","C":[{"N":"treat","as":"N","diag":"1|0||union","C":[{"N":"dot"}]},{"N":"docOrder","C":[{"N":"treat","as":"N","diag":"1|1||union","C":[{"N":"varRef","name":"Q{}me","slot":"5"}]}]}]}]},{"N":"fn","name":"count","C":[{"N":"varRef","name":"Q{}me","slot":"5"}]}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"choose","sType":"* ","line":"898","C":[{"N":"varRef","name":"Q{}fraction","slot":"3","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"898"},{"N":"let","var":"Q{}notesStart","slot":"6","sType":"*NE ","line":"899","C":[{"N":"sequence","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"899","C":[{"N":"filter","C":[{"N":"varRef","name":"Q{}start","slot":"0"},{"N":"axis","name":"self","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}start","slot":"0"}]},{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]}]}]},{"N":"let","var":"Q{}notesEnd","slot":"7","sType":"*NE ","line":"900","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"900","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}end","slot":"1"}]},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]}]}]}]},{"N":"elem","name":"fractions","sType":"1NE nQ{}fractions ","nsuri":"","namespaces":"","line":"901","C":[{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"902","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"arith10","sType":"?AO","op":"*","calc":"d*d","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"902","C":[{"N":"atomSing","diag":"1|0||arith","card":"?","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}sign","slot":"2"}]}]},{"N":"fn","name":"sum","C":[{"N":"data","diag":"0|0||sum","C":[{"N":"fn","name":"for-each","C":[{"N":"sequence","C":[{"N":"varRef","name":"Q{}notesStart","slot":"6"},{"N":"varRef","name":"Q{}notesEnd","slot":"7"}]},{"N":"inlineFn","arity":"1","name":"inline","as":"*","sType":"1F a[*] r[*]","C":[{"N":"arg","name":"note","asCode":"*","slot":"24"},{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}accumulatorAfter","coId":"5","role":"body","bSlot":"0","C":[{"N":"str","val":"noteDuration"},{"N":"varRef","name":"Q{}note","slot":"24"}]}]}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"/"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"904","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"*","name":"Q{http://www.w3.org/2021/06/musicxml40}accumulatorAfter","coId":"5","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"904","bSlot":"0","C":[{"N":"str","val":"measureDuration"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}end","slot":"1"}]},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]}]}]}]}]},{"N":"co","id":"3","uniform":"true","binds":"19 29 13 27","C":[{"N":"template","flags":"os","module":"mscx.xsl","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","name":"Q{}style","line":"915","expand-text":"false","sType":"*NE ","C":[{"N":"choose","sType":"*NE ","type":"item()*","role":"body","line":"916","C":[{"N":"gc10","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"917","C":[{"N":"gVarRef","name":"Q{}styleFile","bSlot":"0"},{"N":"str","val":""}]},{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=http://ns.saxonica.com/xslt/export","line":"918","sType":"*NE","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"918","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"gVarRef","name":"Q{}style","bSlot":"1"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}Style,NE nQ{http://www.w3.org/1999/xhtml}Style]"}]}]}]},{"N":"true"},{"N":"elem","name":"Style","sType":"1NE nQ{}Style ","nsuri":"","namespaces":"","line":"921","C":[{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"922","C":[{"N":"docOrder","sType":"*NE","line":"922","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}defaults,NE nQ{http://www.w3.org/1999/xhtml}defaults]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}page-layout,NE nQ{http://www.w3.org/1999/xhtml}page-layout]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}page-width,NE nQ{http://www.w3.org/1999/xhtml}page-width]"}]}]}]},{"N":"elem","name":"pageWidth","sType":"1NE nQ{}pageWidth ","nsuri":"","namespaces":"","line":"923","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"fn","name":"format-number","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"740","C":[{"N":"ufCall","name":"Q{http://musescore.org}tenthsToInches","coId":"13","bSlot":"2","C":[{"N":"fn","name":"number","C":[{"N":"atomSing","diag":"0|0||number","card":"?","C":[{"N":"first","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}defaults,NE nQ{http://www.w3.org/1999/xhtml}defaults]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}page-layout,NE nQ{http://www.w3.org/1999/xhtml}page-layout]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}page-width,NE nQ{http://www.w3.org/1999/xhtml}page-width]"}]}]}]}]}]}]},{"N":"str","val":"0.00"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"? ","line":"925","C":[{"N":"docOrder","sType":"*NE","line":"925","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}defaults,NE nQ{http://www.w3.org/1999/xhtml}defaults]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}page-layout,NE nQ{http://www.w3.org/1999/xhtml}page-layout]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}page-height,NE nQ{http://www.w3.org/1999/xhtml}page-height]"}]}]}]},{"N":"elem","name":"pageHeight","sType":"1NE nQ{}pageHeight ","nsuri":"","namespaces":"","line":"926","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"fn","name":"format-number","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"743","C":[{"N":"ufCall","name":"Q{http://musescore.org}tenthsToInches","coId":"13","bSlot":"2","C":[{"N":"fn","name":"number","C":[{"N":"atomSing","diag":"0|0||number","card":"?","C":[{"N":"first","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}defaults,NE nQ{http://www.w3.org/1999/xhtml}defaults]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}page-layout,NE nQ{http://www.w3.org/1999/xhtml}page-layout]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}page-height,NE nQ{http://www.w3.org/1999/xhtml}page-height]"}]}]}]}]}]}]},{"N":"str","val":"0.00"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"elem","name":"pagePrintableWidth","sType":"1NE nQ{}pagePrintableWidth ","nsuri":"","namespaces":"","line":"929","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"7.5"}]}]},{"N":"elem","name":"pageEvenLeftMargin","sType":"1NE nQ{}pageEvenLeftMargin ","nsuri":"","namespaces":"","line":"930","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0.5"}]}]},{"N":"elem","name":"pageOddLeftMargin","sType":"1NE nQ{}pageOddLeftMargin ","nsuri":"","namespaces":"","line":"931","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0.5"}]}]},{"N":"elem","name":"pageEvenTopMargin","sType":"1NE nQ{}pageEvenTopMargin ","nsuri":"","namespaces":"","line":"932","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0.5"}]}]},{"N":"elem","name":"pageEvenBottomMargin","sType":"1NE nQ{}pageEvenBottomMargin ","nsuri":"","namespaces":"","line":"933","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0.5"}]}]},{"N":"elem","name":"pageOddTopMargin","sType":"1NE nQ{}pageOddTopMargin ","nsuri":"","namespaces":"","line":"934","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0.5"}]}]},{"N":"elem","name":"pageOddBottomMargin","sType":"1NE nQ{}pageOddBottomMargin ","nsuri":"","namespaces":"","line":"935","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0.5"}]}]},{"N":"elem","name":"pageTwosided","sType":"1NE nQ{}pageTwosided ","nsuri":"","namespaces":"","line":"936","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0"}]}]},{"N":"elem","name":"staffDistance","sType":"1NE nQ{}staffDistance ","nsuri":"","namespaces":"","line":"937","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8"}]}]},{"N":"elem","name":"minSystemDistance","sType":"1NE nQ{}minSystemDistance ","nsuri":"","namespaces":"","line":"938","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"12.7"}]}]},{"N":"elem","name":"chordSymbolAFontSize","sType":"1NE nQ{}chordSymbolAFontSize ","nsuri":"","namespaces":"","line":"939","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"chordSymbolBFontSize","sType":"1NE nQ{}chordSymbolBFontSize ","nsuri":"","namespaces":"","line":"940","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"nashvilleNumberFontSize","sType":"1NE nQ{}nashvilleNumberFontSize ","nsuri":"","namespaces":"","line":"941","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"tupletFontSize","sType":"1NE nQ{}tupletFontSize ","nsuri":"","namespaces":"","line":"942","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"fingeringFontSize","sType":"1NE nQ{}fingeringFontSize ","nsuri":"","namespaces":"","line":"943","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"lhGuitarFingeringFontSize","sType":"1NE nQ{}lhGuitarFingeringFontSize ","nsuri":"","namespaces":"","line":"944","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"rhGuitarFingeringFontSize","sType":"1NE nQ{}rhGuitarFingeringFontSize ","nsuri":"","namespaces":"","line":"945","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"stringNumberFontSize","sType":"1NE nQ{}stringNumberFontSize ","nsuri":"","namespaces":"","line":"946","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"longInstrumentFontSize","sType":"1NE nQ{}longInstrumentFontSize ","nsuri":"","namespaces":"","line":"947","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"shortInstrumentFontSize","sType":"1NE nQ{}shortInstrumentFontSize ","nsuri":"","namespaces":"","line":"948","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"partInstrumentFontSize","sType":"1NE nQ{}partInstrumentFontSize ","nsuri":"","namespaces":"","line":"949","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"dynamicsFontSize","sType":"1NE nQ{}dynamicsFontSize ","nsuri":"","namespaces":"","line":"950","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"expressionFontSize","sType":"1NE nQ{}expressionFontSize ","nsuri":"","namespaces":"","line":"951","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"tempoFontSize","sType":"1NE nQ{}tempoFontSize ","nsuri":"","namespaces":"","line":"952","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"metronomeFontSize","sType":"1NE nQ{}metronomeFontSize ","nsuri":"","namespaces":"","line":"953","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"measureNumberFontSize","sType":"1NE nQ{}measureNumberFontSize ","nsuri":"","namespaces":"","line":"954","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"mmRestRangeFontSize","sType":"1NE nQ{}mmRestRangeFontSize ","nsuri":"","namespaces":"","line":"955","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"translatorFontSize","sType":"1NE nQ{}translatorFontSize ","nsuri":"","namespaces":"","line":"956","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"systemFontSize","sType":"1NE nQ{}systemFontSize ","nsuri":"","namespaces":"","line":"957","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"staffFontSize","sType":"1NE nQ{}staffFontSize ","nsuri":"","namespaces":"","line":"958","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"rehearsalMarkFontSize","sType":"1NE nQ{}rehearsalMarkFontSize ","nsuri":"","namespaces":"","line":"959","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"repeatLeftFontSize","sType":"1NE nQ{}repeatLeftFontSize ","nsuri":"","namespaces":"","line":"960","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"repeatRightFontSize","sType":"1NE nQ{}repeatRightFontSize ","nsuri":"","namespaces":"","line":"961","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"frameFontSize","sType":"1NE nQ{}frameFontSize ","nsuri":"","namespaces":"","line":"962","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"glissandoFontSize","sType":"1NE nQ{}glissandoFontSize ","nsuri":"","namespaces":"","line":"963","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"bendFontSize","sType":"1NE nQ{}bendFontSize ","nsuri":"","namespaces":"","line":"964","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"headerFontSize","sType":"1NE nQ{}headerFontSize ","nsuri":"","namespaces":"","line":"965","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"footerFontSize","sType":"1NE nQ{}footerFontSize ","nsuri":"","namespaces":"","line":"966","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"instrumentChangeFontSize","sType":"1NE nQ{}instrumentChangeFontSize ","nsuri":"","namespaces":"","line":"967","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"stickingFontSize","sType":"1NE nQ{}stickingFontSize ","nsuri":"","namespaces":"","line":"968","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"user1FontSize","sType":"1NE nQ{}user1FontSize ","nsuri":"","namespaces":"","line":"969","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"user2FontSize","sType":"1NE nQ{}user2FontSize ","nsuri":"","namespaces":"","line":"970","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"user3FontSize","sType":"1NE nQ{}user3FontSize ","nsuri":"","namespaces":"","line":"971","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"user4FontSize","sType":"1NE nQ{}user4FontSize ","nsuri":"","namespaces":"","line":"972","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"user5FontSize","sType":"1NE nQ{}user5FontSize ","nsuri":"","namespaces":"","line":"973","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"user6FontSize","sType":"1NE nQ{}user6FontSize ","nsuri":"","namespaces":"","line":"974","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"user7FontSize","sType":"1NE nQ{}user7FontSize ","nsuri":"","namespaces":"","line":"975","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"user8FontSize","sType":"1NE nQ{}user8FontSize ","nsuri":"","namespaces":"","line":"976","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"user9FontSize","sType":"1NE nQ{}user9FontSize ","nsuri":"","namespaces":"","line":"977","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"user10FontSize","sType":"1NE nQ{}user10FontSize ","nsuri":"","namespaces":"","line":"978","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"user11FontSize","sType":"1NE nQ{}user11FontSize ","nsuri":"","namespaces":"","line":"979","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"user12FontSize","sType":"1NE nQ{}user12FontSize ","nsuri":"","namespaces":"","line":"980","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8.25"}]}]},{"N":"elem","name":"Spatium","sType":"1NE nQ{}Spatium ","nsuri":"","namespaces":"","line":"981","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}defaultSpatium","bSlot":"3","role":"select","line":"797"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]}]}]},{"N":"co","id":"4","vis":"PRIVATE","ex:uniform":"true","binds":"33","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}accumulatorBefore","as":"* ","slots":"202","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","flags":"muu","sig":"1F r[* ] a[* ,* ] ","sType":"1F r[* ] a[* ,* ] ","line":"34","C":[{"N":"arg","slot":"0","name":"Q{}accumulator","as":"* ","sType":"* "},{"N":"arg","slot":"1","name":"Q{}node","as":"* ","sType":"* "},{"N":"applyT","sType":"* ","line":"38","mode":"Q{}accumulatorBefore","role":"body","bSlot":"0","C":[{"N":"varRef","name":"Q{}node","slot":"1","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"38"},{"N":"withParam","name":"Q{}accumulator","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}accumulator","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"39"}]}]}]}]},{"N":"co","id":"5","vis":"PRIVATE","ex:uniform":"true","binds":"34","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}accumulatorAfter","as":"* ","slots":"202","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","flags":"muu","sig":"1F r[* ] a[* ,* ] ","sType":"1F r[* ] a[* ,* ] ","line":"43","C":[{"N":"arg","slot":"0","name":"Q{}accumulator","as":"* ","sType":"* "},{"N":"arg","slot":"1","name":"Q{}node","as":"* ","sType":"* "},{"N":"applyT","sType":"* ","line":"47","mode":"Q{}accumulatorAfter","role":"body","bSlot":"0","C":[{"N":"varRef","name":"Q{}node","slot":"1","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"47"},{"N":"withParam","name":"Q{}accumulator","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}accumulator","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"48"}]}]}]}]},{"N":"co","id":"6","vis":"PRIVATE","ex:uniform":"true","binds":"35","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}measureDuration","as":"1AO ","slots":"201","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[* ] ","sType":"1F r[1AO ] a[* ] ","line":"199","C":[{"N":"arg","slot":"0","name":"Q{}measure","as":"* ","sType":"* "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}measureDuration()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}measureDuration()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}measureDuration()","role":"body","C":[{"N":"data","sType":"*A ","role":"body","C":[{"N":"applyT","sType":"* ","mode":"Q{}measureDuration","role":"body","bSlot":"0","C":[{"N":"varRef","name":"Q{}measure","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"92"}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"7","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs","as":"1AO ","slots":"203","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ,1AO ] ","line":"210","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"arg","slot":"2","name":"Q{}tempo","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMillisecs()","role":"body","C":[{"N":"arith","op":"div","calc":"a/a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"214","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"60000"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}tempo","slot":"2"}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"8","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks","as":"1AO ","slots":"202","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ,1AO ] ","sType":"1F r[1AO ] a[1AO ,1AO ] ","line":"220","C":[{"N":"arg","slot":"0","name":"Q{}time","as":"AO ","sType":"AO "},{"N":"arg","slot":"1","name":"Q{}divisions","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","flags":"p","role":"body","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XTTE0780|function Q{http://www.w3.org/2021/06/musicxml40}timeToMIDITicks()","role":"body","C":[{"N":"fn","name":"round","sType":"?A m[AO,AD,AF]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"body","line":"223","C":[{"N":"treat","as":"A m[AO,AD,AF]","diag":"0|0||round","C":[{"N":"check","card":"?","diag":"0|0||round","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||round","C":[{"N":"arith","op":"div","calc":"a/a","C":[{"N":"arith","op":"*","calc":"a*a","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}time","slot":"0"}]}]},{"N":"int","val":"192"}]},{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"varRef","name":"Q{}divisions","slot":"1"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"9","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}precedingMeasureElements","as":"*NE ","slots":"201","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","flags":"muu","sig":"1F r[*NE ] a[* ] ","sType":"1F r[*NE ] a[* ] ","line":"229","C":[{"N":"arg","slot":"0","name":"Q{}note","as":"* ","sType":"* "},{"N":"docOrder","sType":"*NE","role":"body","line":"231","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"fn","name":"reverse","C":[{"N":"filter","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE"},{"N":"and","C":[{"N":"fn","name":"not","C":[{"N":"compareToString","op":"eq","val":"note","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]}]},{"N":"filter","C":[{"N":"first","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]},{"N":"vc","op":"eq","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"generate-id","C":[{"N":"dot"}]},{"N":"fn","name":"generate-id","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"10","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://www.w3.org/2021/06/musicxml40}followingMeasureElements","as":"*NE ","slots":"201","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","flags":"muu","sig":"1F r[*NE ] a[* ] ","sType":"1F r[*NE ] a[* ] ","line":"234","C":[{"N":"arg","slot":"0","name":"Q{}note","as":"* ","sType":"* "},{"N":"docOrder","sType":"*NE","role":"body","line":"236","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"filter","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE"},{"N":"and","C":[{"N":"fn","name":"not","C":[{"N":"compareToString","op":"eq","val":"note","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]}]},{"N":"fn","name":"reverse","C":[{"N":"filter","C":[{"N":"first","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]},{"N":"vc","op":"eq","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","C":[{"N":"fn","name":"generate-id","C":[{"N":"dot"}]},{"N":"fn","name":"generate-id","C":[{"N":"treat","as":"N","diag":"0|0||generate-id","C":[{"N":"check","card":"?","diag":"0|0||generate-id","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"11","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://musescore.org}toCamelCase","as":"1AS ","slots":"201","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","module":"mscx.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","flags":"muu","sig":"1F r[1AS ] a[1AS ] ","sType":"1F r[1AS ] a[1AS ] ","line":"990","C":[{"N":"arg","slot":"0","name":"Q{}text","as":"AS ","sType":"AS "},{"N":"check","card":"1","sType":"1AS ","diag":"2|0|XTTE0780|function Q{http://musescore.org}toCamelCase()","role":"body","C":[{"N":"let","var":"Q{}caps","slot":"1","sType":"*AS ","line":"992","role":"body","C":[{"N":"fn","name":"string-join","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"992","C":[{"N":"for","name":"Q{}t","slot":"17","C":[{"N":"fn","name":"tokenize","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}text","slot":"0"}]}]},{"N":"str","val":"-"}]},{"N":"fn","name":"concat","C":[{"N":"fn","name":"upper-case","C":[{"N":"fn","name":"substring","C":[{"N":"varRef","name":"Q{}t","slot":"17"},{"N":"fn","name":"number","C":[{"N":"int","val":"1"}]},{"N":"fn","name":"number","C":[{"N":"int","val":"1"}]}]}]},{"N":"fn","name":"substring","C":[{"N":"varRef","name":"Q{}t","slot":"17"},{"N":"fn","name":"number","C":[{"N":"int","val":"2"}]}]}]}]},{"N":"str","val":""}]},{"N":"fn","name":"concat","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"993","C":[{"N":"fn","name":"lower-case","C":[{"N":"fn","name":"substring","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}caps","slot":"1"}]}]},{"N":"fn","name":"number","C":[{"N":"int","val":"1"}]},{"N":"fn","name":"number","C":[{"N":"int","val":"1"}]}]}]},{"N":"fn","name":"substring","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}caps","slot":"1"}]}]},{"N":"fn","name":"number","C":[{"N":"int","val":"2"}]}]}]}]}]}]}]},{"N":"co","id":"12","vis":"PRIVATE","ex:uniform":"true","binds":"5 31","C":[{"N":"function","name":"Q{http://musescore.org}tenthsToMillimeters","as":"1AO ","slots":"201","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","module":"mscx.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ] ","sType":"1F r[1AO ] a[1AO ] ","line":"999","C":[{"N":"arg","slot":"0","name":"Q{}value","as":"AO ","sType":"AO "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://musescore.org}tenthsToMillimeters()","role":"body","C":[{"N":"arith10","op":"div","calc":"d/d","sType":"?AO","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"body","line":"1001","C":[{"N":"arith10","op":"*","calc":"d*d","C":[{"N":"atomSing","diag":"1|0||arith","card":"?","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"atomSing","diag":"1|1||arith","card":"?","C":[{"N":"first","C":[{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}accumulatorAfter","coId":"5","bSlot":"0","C":[{"N":"str","val":"scalingMillimeters"},{"N":"gVarRef","name":"Q{}root","bSlot":"1"}]}]}]}]},{"N":"atomSing","diag":"1|1||arith","card":"?","C":[{"N":"first","C":[{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}accumulatorAfter","coId":"5","bSlot":"0","C":[{"N":"str","val":"scalingTenths"},{"N":"gVarRef","name":"Q{}root","bSlot":"1"}]}]}]}]}]}]}]},{"N":"co","id":"13","vis":"PRIVATE","ex:uniform":"true","binds":"12","C":[{"N":"function","name":"Q{http://musescore.org}tenthsToInches","as":"1AO ","slots":"201","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","module":"mscx.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","flags":"muu","sig":"1F r[1AO ] a[1AO ] ","sType":"1F r[1AO ] a[1AO ] ","line":"1003","C":[{"N":"arg","slot":"0","name":"Q{}value","as":"AO ","sType":"AO "},{"N":"arith10","op":"div","calc":"d/d","sType":"1AO","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"body","line":"1005","C":[{"N":"ufCall","name":"Q{http://musescore.org}tenthsToMillimeters","coId":"12","bSlot":"0","C":[{"N":"fn","name":"number","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]}]},{"N":"dec","val":"25.4"}]}]}]},{"N":"co","binds":"","id":"14","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://musescore.org}noteToTpc","as":"1AO ","slots":"201","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","module":"mscx.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","flags":"muu","sig":"1F r[1AO ] a[* ] ","sType":"1F r[1AO ] a[* ] ","line":"1011","C":[{"N":"arg","slot":"0","name":"Q{}note","as":"* ","sType":"* "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://musescore.org}noteToTpc()","role":"body","C":[{"N":"let","var":"Q{}step","slot":"1","sType":"*AO ","line":"1013","role":"body","C":[{"N":"docOrder","sType":"*NE u[NE u[NE nQ{}root-step,NE nQ{http://www.w3.org/1999/xhtml}root-step],NE u[NE nQ{}step,NE nQ{http://www.w3.org/1999/xhtml}step]]","role":"select","line":"1013","C":[{"N":"choose","sType":"*NE u[NE u[NE nQ{}root-step,NE nQ{http://www.w3.org/1999/xhtml}root-step],NE u[NE nQ{}step,NE nQ{http://www.w3.org/1999/xhtml}step]]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root-step,NE nQ{http://www.w3.org/1999/xhtml}root-step]"}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root-step,NE nQ{http://www.w3.org/1999/xhtml}root-step]"}]}]},{"N":"true"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}step,NE nQ{http://www.w3.org/1999/xhtml}step]"}]}]}]}]},{"N":"let","var":"Q{}alter","slot":"2","sType":"*AO ","line":"1014","C":[{"N":"docOrder","sType":"*NE u[NE u[NE nQ{}root-alter,NE nQ{http://www.w3.org/1999/xhtml}root-alter],NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]]","role":"select","line":"1014","C":[{"N":"choose","sType":"*NE u[NE u[NE nQ{}root-alter,NE nQ{http://www.w3.org/1999/xhtml}root-alter],NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root-alter,NE nQ{http://www.w3.org/1999/xhtml}root-alter]"}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root-alter,NE nQ{http://www.w3.org/1999/xhtml}root-alter]"}]}]},{"N":"true"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]}]}]},{"N":"let","var":"Q{}tpc","slot":"3","sType":"*AO ","line":"1015","C":[{"N":"check","card":"1","sType":"1ADI ","diag":"2|0|XTTE0570|xsl:variable name=\"Q{}tpc\"","C":[{"N":"treat","as":"ADI ","diag":"2|0|XTTE0570|xsl:variable name=\"Q{}tpc\"","C":[{"N":"check","card":"1","diag":"2|0|XTTE0570|xsl:variable name=\"Q{}tpc\"","C":[{"N":"cvUntyped","to":"ADI","sType":"*A ","diag":"2|0|XTTE0570|xsl:variable name=\"Q{}tpc\"","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"? ","type":"item()*","line":"1016","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"1017","C":[{"N":"varRef","name":"Q{}step","slot":"1"},{"N":"str","val":"C"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"14"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"1018","C":[{"N":"varRef","name":"Q{}step","slot":"1"},{"N":"str","val":"D"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"16"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"1019","C":[{"N":"varRef","name":"Q{}step","slot":"1"},{"N":"str","val":"E"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"18"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"1020","C":[{"N":"varRef","name":"Q{}step","slot":"1"},{"N":"str","val":"F"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"13"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"1021","C":[{"N":"varRef","name":"Q{}step","slot":"1"},{"N":"str","val":"G"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"15"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"1022","C":[{"N":"varRef","name":"Q{}step","slot":"1"},{"N":"str","val":"A"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"17"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"1023","C":[{"N":"varRef","name":"Q{}step","slot":"1"},{"N":"str","val":"B"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"19"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]}]},{"N":"arith10","op":"+","calc":"d+d","sType":"?AO","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"1026","C":[{"N":"atomSing","diag":"1|0||arith","card":"?","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}tpc","slot":"3"}]}]},{"N":"arith10","op":"*","calc":"d*d","C":[{"N":"int","val":"7"},{"N":"fn","name":"floor","C":[{"N":"fn","name":"number","C":[{"N":"atomSing","diag":"0|0||number","card":"?","C":[{"N":"first","C":[{"N":"choose","C":[{"N":"varRef","name":"Q{}alter","slot":"2"},{"N":"varRef","name":"Q{}alter","slot":"2"},{"N":"true"},{"N":"int","val":"0"}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"15","vis":"PRIVATE","ex:uniform":"true","C":[{"N":"function","name":"Q{http://musescore.org}noteToPitch","as":"1AO ","slots":"201","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","module":"mscx.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","flags":"muu","sig":"1F r[1AO ] a[* ] ","sType":"1F r[1AO ] a[* ] ","line":"1032","C":[{"N":"arg","slot":"0","name":"Q{}note","as":"* ","sType":"* "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XTTE0780|function Q{http://musescore.org}noteToPitch()","role":"body","C":[{"N":"let","var":"Q{}pitch","slot":"1","sType":"*AO ","line":"1034","role":"body","C":[{"N":"check","card":"1","sType":"1ADI ","diag":"2|0|XTTE0570|xsl:variable name=\"Q{}pitch\"","C":[{"N":"treat","as":"ADI ","diag":"2|0|XTTE0570|xsl:variable name=\"Q{}pitch\"","C":[{"N":"check","card":"1","diag":"2|0|XTTE0570|xsl:variable name=\"Q{}pitch\"","C":[{"N":"cvUntyped","to":"ADI","sType":"*A ","diag":"2|0|XTTE0570|xsl:variable name=\"Q{}pitch\"","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"? ","type":"item()*","line":"1035","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"1036","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}step,NE nQ{http://www.w3.org/1999/xhtml}step]"}]}]},{"N":"str","val":"C"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"1037","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}step,NE nQ{http://www.w3.org/1999/xhtml}step]"}]}]},{"N":"str","val":"D"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"2"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"1038","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}step,NE nQ{http://www.w3.org/1999/xhtml}step]"}]}]},{"N":"str","val":"E"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"4"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"1039","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}step,NE nQ{http://www.w3.org/1999/xhtml}step]"}]}]},{"N":"str","val":"F"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"5"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"1040","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}step,NE nQ{http://www.w3.org/1999/xhtml}step]"}]}]},{"N":"str","val":"G"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"7"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"1041","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}step,NE nQ{http://www.w3.org/1999/xhtml}step]"}]}]},{"N":"str","val":"A"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"9"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"1042","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}step,NE nQ{http://www.w3.org/1999/xhtml}step]"}]}]},{"N":"str","val":"B"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"11"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]}]},{"N":"arith10","op":"+","calc":"d+d","sType":"?AO","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"1045","C":[{"N":"arith10","op":"+","calc":"d+d","C":[{"N":"atomSing","diag":"1|0||arith","card":"?","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}pitch","slot":"1"}]}]},{"N":"arith10","op":"*","calc":"d*d","C":[{"N":"int","val":"12"},{"N":"arith10","op":"+","calc":"d+d","C":[{"N":"atomSing","diag":"1|0||arith","card":"?","C":[{"N":"first","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}octave,NE nQ{http://www.w3.org/1999/xhtml}octave]"}]}]}]}]},{"N":"int","val":"1"}]}]}]},{"N":"fn","name":"floor","C":[{"N":"fn","name":"number","C":[{"N":"atomSing","diag":"0|0||number","card":"?","C":[{"N":"first","C":[{"N":"choose","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}note","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}alter,NE nQ{http://www.w3.org/1999/xhtml}alter]"}]}]},{"N":"true"},{"N":"int","val":"0"}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"16","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}defaultScalingMillimeters","sType":"* ","slots":"200","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","as":"","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"dec","val":"7","sType":"1AD","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"19"}]}]},{"N":"co","binds":"","id":"17","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}defaultScalingTenths","sType":"* ","slots":"200","module":"lib-musicxml.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","as":"","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"40","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"20"}]}]},{"N":"co","binds":"","id":"18","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}instrumentsFile","sType":"* ","slots":"200","module":"mscx.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","as":"","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"str","val":"instruments.xml","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"23"}]}]},{"N":"co","binds":"","id":"19","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}styleFile","sType":"* ","slots":"200","module":"mscx.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","as":"","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"str","sType":"1AS ","val":"","role":"select"}]}]},{"N":"co","binds":"","id":"20","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}museScoreVersion","sType":"* ","slots":"200","module":"mscx.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","as":"","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"str","val":"3.02","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"25"}]}]},{"N":"co","binds":"","id":"21","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}divisions","sType":"* ","slots":"200","module":"mscx.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","as":"","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"int","val":"480","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"26"}]}]},{"N":"co","binds":"","id":"22","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}showInvisible","sType":"* ","slots":"200","module":"mscx.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","as":"","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"27"}]}]},{"N":"co","binds":"","id":"23","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}showUnprintable","sType":"* ","slots":"200","module":"mscx.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","as":"","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"28"}]}]},{"N":"co","binds":"","id":"24","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}showFrames","sType":"* ","slots":"200","module":"mscx.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","as":"","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"29"}]}]},{"N":"co","binds":"","id":"25","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}showMargins","sType":"* ","slots":"200","module":"mscx.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","as":"","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"30"}]}]},{"N":"co","binds":"","id":"26","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}defaultVBox","sType":"* ","slots":"200","module":"mscx.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","as":"","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"true","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"31"}]}]},{"N":"co","binds":"","id":"27","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalParam","name":"Q{}defaultSpatium","sType":"* ","slots":"200","module":"mscx.xsl","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","as":"","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"dec","val":"1.5875","sType":"1AD","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"32"}]}]},{"N":"co","id":"28","vis":"PUBLIC","ex:uniform":"true","binds":"18","C":[{"N":"globalVariable","name":"Q{}instruments","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","module":"mscx.xsl","slots":"200","sType":"?ND","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","C":[{"N":"fn","name":"doc","sType":"?ND","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"37","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"gVarRef","name":"Q{}instrumentsFile","bSlot":"0"}]}]}]}]}]},{"N":"co","id":"29","vis":"PUBLIC","ex:uniform":"true","binds":"19","C":[{"N":"globalVariable","name":"Q{}style","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","module":"mscx.xsl","slots":"200","sType":"?ND","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","C":[{"N":"choose","sType":"?ND","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"42","C":[{"N":"gVarRef","name":"Q{}styleFile","bSlot":"0"},{"N":"fn","name":"doc","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"gVarRef","name":"Q{}styleFile","bSlot":"0"}]}]}]},{"N":"true"},{"N":"empty"}]}]}]},{"N":"co","id":"30","vis":"PUBLIC","ex:uniform":"true","binds":"19 29 27","C":[{"N":"globalVariable","name":"Q{}spatium","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","module":"mscx.xsl","slots":"200","sType":"*","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","C":[{"N":"choose","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"43","C":[{"N":"gVarRef","name":"Q{}styleFile","bSlot":"0"},{"N":"slash","op":"/","C":[{"N":"gVarRef","name":"Q{}style","bSlot":"1"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}Spatium,NE nQ{http://www.w3.org/1999/xhtml}Spatium]"}]},{"N":"true"},{"N":"gVarRef","name":"Q{}defaultSpatium","bSlot":"2"}]}]}]},{"N":"co","binds":"","id":"31","vis":"PUBLIC","ex:uniform":"true","C":[{"N":"globalVariable","name":"Q{}root","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","module":"mscx.xsl","slots":"200","sType":"?N","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","C":[{"N":"slash","role":"select","simple":"1","sType":"?N","line":"48","C":[{"N":"treat","as":"N","diag":"13|0|XTTE0510|","C":[{"N":"dot"}]},{"N":"root","sType":"?N","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "}]}]}]},{"N":"co","id":"32","binds":"15 14 2 1 12 30 32 37 0 31 28 11 20 21 3 22 23 24 25","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"24","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"597","module":"mscx.xsl","expand-text":"false","match":"sound[@tempo]","prio":"0.5","matches":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]},{"N":"elem","name":"Tempo","sType":"1NE nQ{}Tempo ","nsuri":"","namespaces":"","role":"action","line":"598","C":[{"N":"sequence","sType":"*NE ","C":[{"N":"elem","name":"tempo","sType":"1NE nQ{}tempo ","nsuri":"","namespaces":"","line":"599","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"arith10","sType":"?AO","op":"div","calc":"d/d","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"4","C":[{"N":"atomSing","diag":"1|0||arith","card":"?","C":[{"N":"first","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]}]},{"N":"int","val":"60"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"followText","sType":"1NE nQ{}followText ","nsuri":"","namespaces":"","line":"600","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"1"}]}]},{"N":"elem","name":"visible","sType":"1NE nQ{}visible ","nsuri":"","namespaces":"","line":"601","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0"}]}]}]}]}]},{"N":"templateRule","rank":"1","prec":"0","seq":"22","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"568","module":"mscx.xsl","expand-text":"false","match":"sound[@dynamics]","prio":"0.5","matches":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}dynamics"}]},{"N":"elem","name":"Dynamic","sType":"1NE nQ{}Dynamic ","nsuri":"","namespaces":"","role":"action","line":"569","C":[{"N":"elem","name":"velocity","sType":"1NE nQ{}velocity ","nsuri":"","namespaces":"","line":"570","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"fn","sType":"?A m[AO,AD,AF]","name":"round","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"4","C":[{"N":"arith10","op":"div","calc":"d/d","C":[{"N":"arith10","op":"*","calc":"d*d","C":[{"N":"fn","name":"number","C":[{"N":"atomSing","diag":"0|0||number","card":"?","C":[{"N":"first","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}dynamics"}]}]}]},{"N":"int","val":"90"}]},{"N":"int","val":"100"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"templateRule","rank":"2","prec":"0","seq":"31","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"764","module":"mscx.xsl","expand-text":"false","match":"accidental","prio":"0","matches":"NE u[NE nQ{}accidental,NE nQ{http://www.w3.org/1999/xhtml}accidental]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}accidental,NE nQ{http://www.w3.org/1999/xhtml}accidental]","sType":"1NE u[NE nQ{}accidental,NE nQ{http://www.w3.org/1999/xhtml}accidental]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "},{"N":"elem","name":"Accidental","sType":"1NE nQ{}Accidental ","nsuri":"","namespaces":"","role":"action","line":"765","C":[{"N":"choose","sType":"? ","type":"item()*","line":"766","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}smufl","sType":"*NA nQ{}smufl","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"767"},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}smufl","name":"attribute","nodeTest":"*NA nQ{}smufl","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"6"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"768","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"sharp"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalSharp"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"769","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"natural"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalNatural"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"770","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"flat"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalFlat"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"771","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"double-sharp"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalDoubleSharp"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"772","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"sharp-sharp"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalDoubleSharp"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"773","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"flat-flat"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalDoubleFlat"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"774","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"natural-sharp"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalNaturalSharp"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"775","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"natural-flat"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalNaturalFlat"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"776","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"quarter-flat"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalQuarterToneFlatStein"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"777","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"quarter-sharp"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalQuarterToneSharpStein"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"778","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"three-quarters-flat"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalThreeQuarterTonesFlatZimmermann"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"779","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"three-quarters-sharp"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalThreeQuarterTonesSharpStein"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"780","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"sharp-down"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalQuarterToneSharpArrowDown"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"781","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"sharp-up"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalThreeQuarterTonesSharpArrowUp"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"782","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"natural-down"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalQuarterToneFlatNaturalArrowDown"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"783","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"natural-up"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalQuarterToneFlatNaturalArrowUp"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"784","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"flat-down"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalThreeQuarterTonesFlatArrowDown"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"785","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"flat-up"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalQuarterToneFlatArrowUp"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"786","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"double-sharp-down"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalThreeQuarterTonesSharpArrowDown"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"787","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"double-sharp-up"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalFiveQuarterTonesSharpArrowUp"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"788","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"flat-flat-down"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalFiveQuarterTonesFlatArrowDown"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"789","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"flat-flat-up"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalThreeQuarterTonesFlatArrowUp"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"790","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"arrow-down"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalArrowDown"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"791","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"arrow-up"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalArrowUp"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"792","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"triple-sharp"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalTripleSharp"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"793","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"triple-flat"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalTripleFlat"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"794","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"slash-quarter-sharp"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalKucukMucennebSharp"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"795","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"slash-sharp"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalBuyukMucennebSharp"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"796","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"slash-flat"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalBakiyeFlat"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"797","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"double-slash-flat"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalBuyukMucennebFlat"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"798","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"sharp-1"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidental1CommaSharp"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"799","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"sharp-2"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidental2CommaSharp"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"800","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"sharp-3"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidental3CommaSharp"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"801","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"sharp-5"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidental5CommaSharp"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"802","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"flat-1"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidental1CommaFlat"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"803","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"flat-2"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidental2CommaFlat"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"804","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"flat-3"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidental3CommaFlat"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"805","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"flat-4"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidental4CommaFlat"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"806","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"sori"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalSori"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"807","C":[{"N":"axis","name":"child","nodeTest":"*NT"},{"N":"str","val":"koron"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"accidentalKoron"}]}]},{"N":"true"},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[accidental] Unhandled value '"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NT","name":"child","nodeTest":"*NT","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"89"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"'"}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]}]}]}]},{"N":"templateRule","rank":"3","prec":"0","seq":"30","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"749","module":"mscx.xsl","expand-text":"false","match":"pitch","prio":"0","matches":"NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]","sType":"1NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "},{"N":"sequence","role":"action","sType":"*NE ","C":[{"N":"elem","name":"pitch","sType":"1NE nQ{}pitch ","nsuri":"","namespaces":"","line":"750","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"1AO","name":"Q{http://musescore.org}noteToPitch","coId":"15","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"3","bSlot":"0","C":[{"N":"dot"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"tpc","sType":"1NE nQ{}tpc ","nsuri":"","namespaces":"","line":"751","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"1AO","name":"Q{http://musescore.org}noteToTpc","coId":"14","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"5","bSlot":"1","C":[{"N":"dot"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"templateRule","rank":"4","prec":"0","seq":"29","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"691","module":"mscx.xsl","expand-text":"false","match":"slur | tied","prio":"0","matches":"NE u[NE nQ{}slur,NE nQ{http://www.w3.org/1999/xhtml}slur]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}slur,NE nQ{http://www.w3.org/1999/xhtml}slur]","sType":"1NE u[NE nQ{}slur,NE nQ{http://www.w3.org/1999/xhtml}slur]"},{"N":"elem","name":"Spanner","sType":"1NE nQ{}Spanner ","nsuri":"","namespaces":"","role":"action","line":"692","C":[{"N":"sequence","sType":"* ","C":[{"N":"att","name":"type","sType":"1NA ","line":"693","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"choose","sType":"? ","type":"item()*","line":"694","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"695","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"slur"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"Slur"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"696","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"tied"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"Tie"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"choose","sType":"* ","type":"item()*","line":"699","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"700","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"str","val":"start"}]},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","type":"item()*","line":"701","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"702","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"slur"}]},{"N":"elem","name":"Slur","sType":"1NE nQ{}Slur ","nsuri":"","namespaces":"","line":"703","C":[{"N":"elem","name":"up","sType":"1NE nQ{}up ","nsuri":"","namespaces":"","line":"704","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"choose","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"13","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}placement,NE nQ{http://www.w3.org/1999/xhtml}placement]"},{"N":"str","val":"below"}]},{"N":"str","val":"down"},{"N":"true"},{"N":"str","val":"up"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"707","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"tied"}]},{"N":"elem","name":"Tie","sType":"1NE nQ{}Tie ","nsuri":"","namespaces":"","line":"708","C":[{"N":"empty","sType":"0 "}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"elem","name":"next","sType":"1NE nQ{}next ","nsuri":"","namespaces":"","line":"711","C":[{"N":"let","var":"Q{}end","slot":"0","sType":"* ","line":"716","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"((ancestor::measure, ancestor::measure/following-sibling::measure)/note[               (staff = current()/ancestor::note/staff or not(staff)) and               (voice = current()/ancestor::note/voice or not(voice)) and               (notations/*[name() = local-name() and @type = 'stop' and (not(@number) or @number = current()/@number)])             ])[1]","loc":"xsl:variable/@select","line":"716","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","role":"select","BC":"true","sType":"?NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","C":[{"N":"dot"},{"N":"first","sType":"?NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"sequence","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"and","C":[{"N":"and","C":[{"N":"or","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"}]}]},{"N":"or","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}notations,NE nQ{http://www.w3.org/1999/xhtml}notations]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"and","C":[{"N":"and","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"name","C":[{"N":"dot"}]},{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"str","val":"stop"}]}]},{"N":"or","C":[{"N":"fn","name":"not","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"},{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"callT","bSlot":"2","sType":"* ","name":"Q{}location","line":"717","C":[{"N":"withParam","name":"Q{}start","slot":"0","sType":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","C":[{"N":"fn","name":"reverse","sType":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"718","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]}]},{"N":"withParam","name":"Q{}end","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}end","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"719"}]},{"N":"withParam","name":"Q{}sign","as":"xs:integer","slot":"0","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"720"}]},{"N":"withParam","name":"Q{}fraction","as":"xs:boolean","slot":"0","C":[{"N":"true","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"721"}]}]}]}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"725","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"str","val":"stop"}]},{"N":"elem","name":"prev","sType":"1NE nQ{}prev ","nsuri":"","namespaces":"","line":"726","C":[{"N":"let","var":"Q{}start","slot":"0","sType":"* ","line":"731","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"((ancestor::measure, ancestor::measure/preceding-sibling::measure)/note[               (staff = current()/ancestor::note/staff or not(staff)) and               (voice = current()/ancestor::note/voice or not(voice)) and               (notations/*[name() = local-name() and @type = 'start' and (not(@number) or @number = current()/@number)])             ])[last()]","loc":"xsl:variable/@select","line":"731","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","role":"select","BC":"true","sType":"?NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","C":[{"N":"dot"},{"N":"lastOf","sType":"?NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"sequence","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"and","C":[{"N":"and","C":[{"N":"or","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"}]}]},{"N":"or","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}notations,NE nQ{http://www.w3.org/1999/xhtml}notations]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"and","C":[{"N":"and","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"name","C":[{"N":"dot"}]},{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"str","val":"start"}]}]},{"N":"or","C":[{"N":"fn","name":"not","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"},{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"callT","bSlot":"2","sType":"* ","name":"Q{}location","line":"732","C":[{"N":"withParam","name":"Q{}start","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}start","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"733"}]},{"N":"withParam","name":"Q{}end","slot":"0","sType":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","C":[{"N":"fn","name":"reverse","sType":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"734","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]}]},{"N":"withParam","name":"Q{}sign","as":"xs:integer","slot":"0","C":[{"N":"int","val":"-1","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"735"}]},{"N":"withParam","name":"Q{}fraction","as":"xs:boolean","slot":"0","C":[{"N":"true","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"736"}]}]}]}]},{"N":"true"},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"["}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"fn","name":"local-name","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"33","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"] Unhandled type '"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}type","name":"attribute","nodeTest":"*NA nQ{}type","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"34"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"'."}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]}]}]}]}]},{"N":"templateRule","rank":"5","prec":"0","seq":"29","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"691","module":"mscx.xsl","expand-text":"false","match":"slur | tied","prio":"0","matches":"NE u[NE nQ{}tied,NE nQ{http://www.w3.org/1999/xhtml}tied]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}tied,NE nQ{http://www.w3.org/1999/xhtml}tied]","sType":"1NE u[NE nQ{}tied,NE nQ{http://www.w3.org/1999/xhtml}tied]"},{"N":"elem","name":"Spanner","sType":"1NE nQ{}Spanner ","nsuri":"","namespaces":"","role":"action","line":"692","C":[{"N":"sequence","sType":"* ","C":[{"N":"att","name":"type","sType":"1NA ","line":"693","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"choose","sType":"? ","type":"item()*","line":"694","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"695","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"slur"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"Slur"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"696","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"tied"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"Tie"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"choose","sType":"* ","type":"item()*","line":"699","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"700","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"str","val":"start"}]},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","type":"item()*","line":"701","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"702","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"slur"}]},{"N":"elem","name":"Slur","sType":"1NE nQ{}Slur ","nsuri":"","namespaces":"","line":"703","C":[{"N":"elem","name":"up","sType":"1NE nQ{}up ","nsuri":"","namespaces":"","line":"704","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"choose","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"13","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}placement,NE nQ{http://www.w3.org/1999/xhtml}placement]"},{"N":"str","val":"below"}]},{"N":"str","val":"down"},{"N":"true"},{"N":"str","val":"up"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"707","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"tied"}]},{"N":"elem","name":"Tie","sType":"1NE nQ{}Tie ","nsuri":"","namespaces":"","line":"708","C":[{"N":"empty","sType":"0 "}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"elem","name":"next","sType":"1NE nQ{}next ","nsuri":"","namespaces":"","line":"711","C":[{"N":"let","var":"Q{}end","slot":"0","sType":"* ","line":"716","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"((ancestor::measure, ancestor::measure/following-sibling::measure)/note[               (staff = current()/ancestor::note/staff or not(staff)) and               (voice = current()/ancestor::note/voice or not(voice)) and               (notations/*[name() = local-name() and @type = 'stop' and (not(@number) or @number = current()/@number)])             ])[1]","loc":"xsl:variable/@select","line":"716","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","role":"select","BC":"true","sType":"?NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","C":[{"N":"dot"},{"N":"first","sType":"?NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"sequence","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"and","C":[{"N":"and","C":[{"N":"or","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"}]}]},{"N":"or","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}notations,NE nQ{http://www.w3.org/1999/xhtml}notations]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"and","C":[{"N":"and","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"name","C":[{"N":"dot"}]},{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"str","val":"stop"}]}]},{"N":"or","C":[{"N":"fn","name":"not","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"},{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"callT","bSlot":"2","sType":"* ","name":"Q{}location","line":"717","C":[{"N":"withParam","name":"Q{}start","slot":"0","sType":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","C":[{"N":"fn","name":"reverse","sType":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"718","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]}]},{"N":"withParam","name":"Q{}end","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}end","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"719"}]},{"N":"withParam","name":"Q{}sign","as":"xs:integer","slot":"0","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"720"}]},{"N":"withParam","name":"Q{}fraction","as":"xs:boolean","slot":"0","C":[{"N":"true","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"721"}]}]}]}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"725","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"str","val":"stop"}]},{"N":"elem","name":"prev","sType":"1NE nQ{}prev ","nsuri":"","namespaces":"","line":"726","C":[{"N":"let","var":"Q{}start","slot":"0","sType":"* ","line":"731","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"((ancestor::measure, ancestor::measure/preceding-sibling::measure)/note[               (staff = current()/ancestor::note/staff or not(staff)) and               (voice = current()/ancestor::note/voice or not(voice)) and               (notations/*[name() = local-name() and @type = 'start' and (not(@number) or @number = current()/@number)])             ])[last()]","loc":"xsl:variable/@select","line":"731","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","role":"select","BC":"true","sType":"?NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","C":[{"N":"dot"},{"N":"lastOf","sType":"?NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"sequence","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"and","C":[{"N":"and","C":[{"N":"or","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"}]}]},{"N":"or","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}notations,NE nQ{http://www.w3.org/1999/xhtml}notations]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE"},{"N":"and","C":[{"N":"and","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"name","C":[{"N":"dot"}]},{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"str","val":"start"}]}]},{"N":"or","C":[{"N":"fn","name":"not","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"},{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"callT","bSlot":"2","sType":"* ","name":"Q{}location","line":"732","C":[{"N":"withParam","name":"Q{}start","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}start","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"733"}]},{"N":"withParam","name":"Q{}end","slot":"0","sType":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","C":[{"N":"fn","name":"reverse","sType":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"734","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]}]},{"N":"withParam","name":"Q{}sign","as":"xs:integer","slot":"0","C":[{"N":"int","val":"-1","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"735"}]},{"N":"withParam","name":"Q{}fraction","as":"xs:boolean","slot":"0","C":[{"N":"true","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"736"}]}]}]}]},{"N":"true"},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"["}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"fn","name":"local-name","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"33","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"] Unhandled type '"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}type","name":"attribute","nodeTest":"*NA nQ{}type","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"34"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"'."}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]}]}]}]}]},{"N":"templateRule","rank":"6","prec":"0","seq":"27","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"637","module":"mscx.xsl","expand-text":"false","match":"lyric","prio":"0","matches":"NE u[NE nQ{}lyric,NE nQ{http://www.w3.org/1999/xhtml}lyric]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}lyric,NE nQ{http://www.w3.org/1999/xhtml}lyric]","sType":"1NE u[NE nQ{}lyric,NE nQ{http://www.w3.org/1999/xhtml}lyric]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "},{"N":"elem","name":"Lyrics","sType":"1NE nQ{}Lyrics ","nsuri":"","namespaces":"","role":"action","line":"638","C":[{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"639","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number","sType":"*NA nQ{}number","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"639"},{"N":"elem","name":"no","sType":"1NE nQ{}no ","nsuri":"","namespaces":"","line":"640","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"arith10","sType":"1AO","op":"-","calc":"d-d","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"5","C":[{"N":"fn","name":"number","C":[{"N":"atomSing","diag":"0|0||number","card":"?","C":[{"N":"first","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]},{"N":"int","val":"1"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"elem","name":"syllabic","sType":"1NE nQ{}syllabic ","nsuri":"","namespaces":"","line":"642","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}syllabic,NE nQ{http://www.w3.org/1999/xhtml}syllabic]","name":"child","nodeTest":"*NE u[NE nQ{}syllabic,NE nQ{http://www.w3.org/1999/xhtml}syllabic]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"7"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"text","sType":"1NE nQ{}text ","nsuri":"","namespaces":"","line":"643","C":[{"N":"callT","bSlot":"3","sType":"* ","name":"Q{}text","C":[{"N":"withParam","name":"Q{}node","slot":"0","sType":"*NE u[NE nQ{}text,NE nQ{http://www.w3.org/1999/xhtml}text]","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}text,NE nQ{http://www.w3.org/1999/xhtml}text]","sType":"*NE u[NE nQ{}text,NE nQ{http://www.w3.org/1999/xhtml}text]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"10"}]}]}]}]}]}]},{"N":"templateRule","rank":"7","prec":"0","seq":"20","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"552","module":"mscx.xsl","expand-text":"false","match":"notehead","prio":"0","matches":"NE u[NE nQ{}notehead,NE nQ{http://www.w3.org/1999/xhtml}notehead]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}notehead,NE nQ{http://www.w3.org/1999/xhtml}notehead]","sType":"1NE u[NE nQ{}notehead,NE nQ{http://www.w3.org/1999/xhtml}notehead]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "},{"N":"elem","name":"head","sType":"1NE nQ{}head ","nsuri":"","namespaces":"","role":"action","line":"553","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NT","name":"child","nodeTest":"*NT","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"3"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"templateRule","rank":"8","prec":"0","seq":"14","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"369","module":"mscx.xsl","expand-text":"false","match":"barline","prio":"0","matches":"NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]","sType":"1NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "},{"N":"elem","name":"BarLine","sType":"1NE nQ{}BarLine ","nsuri":"","namespaces":"","role":"action","line":"370","C":[{"N":"choose","sType":"? ","type":"item()*","line":"371","C":[{"N":"and","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"372","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}location"},{"N":"str","val":"left"}]}]},{"N":"elem","name":"visible","sType":"1NE nQ{}visible ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"373","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]"},{"N":"str","val":"dashed"}]},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[barline] Unhandled bar style '"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"8"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"'"}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"374","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]"},{"N":"str","val":"dotted"}]},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[barline] Unhandled bar style '"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"11"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"'"}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"375","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]"},{"N":"str","val":"heavy"}]},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[barline] Unhandled bar style '"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"14"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"'"}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"376","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]"},{"N":"str","val":"heavy-heavy"}]},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[barline] Unhandled bar style '"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"17"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"'"}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"377","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]"},{"N":"str","val":"heavy-light"}]},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[barline] Unhandled bar style '"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"20"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"'"}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"378","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]"},{"N":"str","val":"light-heavy"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"end"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"379","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]"},{"N":"str","val":"light-light"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"double"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"380","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]"},{"N":"str","val":"none"}]},{"N":"elem","name":"visible","sType":"1NE nQ{}visible ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"381","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]"},{"N":"str","val":"regular"}]},{"N":"empty","sType":"0 "},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"382","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]"},{"N":"str","val":"short"}]},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[barline] Unhandled bar style '"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"30"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"'"}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"383","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]"},{"N":"str","val":"tick"}]},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[barline] Unhandled bar style '"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"33"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"'"}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]},{"N":"true"},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[barline] Unhandled bar style '"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]","name":"child","nodeTest":"*NE u[NE nQ{}bar-style,NE nQ{http://www.w3.org/1999/xhtml}bar-style]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"36"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"'"}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]}]}]}]},{"N":"templateRule","rank":"9","prec":"0","seq":"13","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"353","module":"mscx.xsl","expand-text":"false","match":"time","prio":"0","matches":"NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "},{"N":"elem","name":"TimeSig","sType":"1NE nQ{}TimeSig ","nsuri":"","namespaces":"","role":"action","line":"354","C":[{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","type":"item()*","line":"355","C":[{"N":"or","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"356","C":[{"N":"fn","name":"not","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}symbol"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}symbol"},{"N":"str","val":"normal"}]}]},{"N":"empty","sType":"0 "},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"357","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}symbol"},{"N":"str","val":"common"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"1"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"358","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}symbol"},{"N":"str","val":"cut"}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"2"}]}]},{"N":"true"},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[clef] Unhandled time symbol '"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}symbol","name":"attribute","nodeTest":"*NA nQ{}symbol","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"11"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"'"}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]}]},{"N":"elem","name":"sigN","sType":"1NE nQ{}sigN ","nsuri":"","namespaces":"","line":"361","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}beats,NE nQ{http://www.w3.org/1999/xhtml}beats]","name":"child","nodeTest":"*NE u[NE nQ{}beats,NE nQ{http://www.w3.org/1999/xhtml}beats]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"13"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"sigD","sType":"1NE nQ{}sigD ","nsuri":"","namespaces":"","line":"362","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]","name":"child","nodeTest":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"15"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]},{"N":"templateRule","rank":"10","prec":"0","seq":"12","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"342","module":"mscx.xsl","expand-text":"false","match":"key","prio":"0","matches":"NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "},{"N":"elem","name":"KeySig","sType":"1NE nQ{}KeySig ","nsuri":"","namespaces":"","role":"action","line":"343","C":[{"N":"sequence","sType":"*NE ","C":[{"N":"elem","name":"accidental","sType":"1NE nQ{}accidental ","nsuri":"","namespaces":"","line":"344","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]","name":"child","nodeTest":"*NE u[NE nQ{}fifths,NE nQ{http://www.w3.org/1999/xhtml}fifths]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"4"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=http://ns.saxonica.com/xslt/export","line":"345","sType":"*NE u[NE nQ{}mode,NE nQ{http://www.w3.org/1999/xhtml}mode]","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}mode,NE nQ{http://www.w3.org/1999/xhtml}mode]","sType":"*NE u[NE nQ{}mode,NE nQ{http://www.w3.org/1999/xhtml}mode]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"345"}]}]}]}]},{"N":"templateRule","rank":"11","prec":"0","seq":"11","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"321","module":"mscx.xsl","expand-text":"false","match":"clef","prio":"0","matches":"NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "},{"N":"let","var":"Q{}clefType","slot":"0","sType":"*NE ","line":"322","role":"action","C":[{"N":"doc","sType":"1ND ","base":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","role":"select","C":[{"N":"choose","sType":"* ","type":"item()*","line":"323","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"324","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sign,NE nQ{http://www.w3.org/1999/xhtml}sign]"},{"N":"str","val":"jianpu"}]},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"valueOf","sType":"1NT ","role":"select","C":[{"N":"str","sType":"1AS ","val":"[clef] Unhandled sign 'jianpu'."}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"325","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sign,NE nQ{http://www.w3.org/1999/xhtml}sign]"},{"N":"str","val":"percussion"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"PERC"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"326","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sign,NE nQ{http://www.w3.org/1999/xhtml}sign]"},{"N":"str","val":"none"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"G"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"327","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sign,NE nQ{http://www.w3.org/1999/xhtml}sign]"},{"N":"str","val":"C"}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}sign,NE nQ{http://www.w3.org/1999/xhtml}sign]","name":"child","nodeTest":"*NE u[NE nQ{}sign,NE nQ{http://www.w3.org/1999/xhtml}sign]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"9"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"choose","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"10","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}line,NE nQ{http://www.w3.org/1999/xhtml}line]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}line,NE nQ{http://www.w3.org/1999/xhtml}line]"},{"N":"true"},{"N":"int","val":"3"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"328","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}clef-octave-change,NE nQ{http://www.w3.org/1999/xhtml}clef-octave-change]"},{"N":"int","val":"1"}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}sign,NE nQ{http://www.w3.org/1999/xhtml}sign]","name":"child","nodeTest":"*NE u[NE nQ{}sign,NE nQ{http://www.w3.org/1999/xhtml}sign]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"12"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8va"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"329","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}clef-octave-change,NE nQ{http://www.w3.org/1999/xhtml}clef-octave-change]"},{"N":"int","val":"-1"}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}sign,NE nQ{http://www.w3.org/1999/xhtml}sign]","name":"child","nodeTest":"*NE u[NE nQ{}sign,NE nQ{http://www.w3.org/1999/xhtml}sign]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"14"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"8vb"}]}]},{"N":"true"},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}sign,NE nQ{http://www.w3.org/1999/xhtml}sign]","name":"child","nodeTest":"*NE u[NE nQ{}sign,NE nQ{http://www.w3.org/1999/xhtml}sign]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"16"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"elem","name":"Clef","sType":"1NE nQ{}Clef ","nsuri":"","namespaces":"","line":"333","C":[{"N":"sequence","sType":"*NE ","C":[{"N":"elem","name":"concertClefType","sType":"1NE nQ{}concertClefType ","nsuri":"","namespaces":"","line":"334","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}clefType","slot":"0","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"19"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"transposingClefType","sType":"1NE nQ{}transposingClefType ","nsuri":"","namespaces":"","line":"335","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"varRef","sType":"*","name":"Q{}clefType","slot":"0","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"21"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]}]},{"N":"templateRule","rank":"12","prec":"0","seq":"10","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"265","module":"mscx.xsl","expand-text":"false","match":"measure","prio":"0","matches":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"param","name":"Q{}staff","slot":"0","sType":"* ","as":"* ","flags":"","line":"266","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"choose","sType":"? ","line":"267","C":[{"N":"gc10","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"267","C":[{"N":"fn","name":"number","C":[{"N":"atomSing","diag":"0|0||number","card":"?","C":[{"N":"first","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"dot"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}system-layout,NE nQ{http://www.w3.org/1999/xhtml}system-layout]"}]},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}left-margin,NE nQ{http://www.w3.org/1999/xhtml}left-margin]"}]}]}]}]}]},{"N":"int","val":"0"}]},{"N":"elem","name":"HBox","sType":"1NE nQ{}HBox ","nsuri":"","namespaces":"","line":"268","C":[{"N":"elem","name":"width","sType":"1NE nQ{}width ","nsuri":"","namespaces":"","line":"269","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"270","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"fn","name":"format-number","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"270","C":[{"N":"arith10","op":"div","calc":"d/d","C":[{"N":"ufCall","name":"Q{http://musescore.org}tenthsToMillimeters","coId":"12","bSlot":"4","C":[{"N":"fn","name":"number","C":[{"N":"atomSing","diag":"0|0||number","card":"?","C":[{"N":"first","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"dot"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}system-layout,NE nQ{http://www.w3.org/1999/xhtml}system-layout]"}]},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}left-margin,NE nQ{http://www.w3.org/1999/xhtml}left-margin]"}]}]}]}]}]}]},{"N":"atomSing","diag":"1|1||arith","card":"?","C":[{"N":"first","C":[{"N":"gVarRef","name":"Q{}spatium","bSlot":"5"}]}]}]},{"N":"str","val":"0.00"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"elem","name":"Measure","sType":"1NE nQ{}Measure ","nsuri":"","namespaces":"","line":"274","C":[{"N":"sequence","sType":"* ","C":[{"N":"att","name":"number","sType":"1NA ","line":"275","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"valueOf","sType":"1NT ","flags":"l","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}number","name":"attribute","nodeTest":"*NA nQ{}number","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"9"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"choose","sType":"? ","line":"276","C":[{"N":"docOrder","sType":"*NE","line":"276","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"first","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}print,NE nQ{http://www.w3.org/1999/xhtml}print]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}new-system"},{"N":"str","val":"yes"}]}]}]}]},{"N":"elem","name":"LayoutBreak","sType":"1NE nQ{}LayoutBreak ","nsuri":"","namespaces":"","line":"277","C":[{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","line":"278","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"line"}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"let","var":"Q{}measure","slot":"1","sType":"* ","line":"281","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"current()","loc":"xsl:variable/@select","line":"281","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","role":"select","BC":"true","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"dot"},{"N":"varRef","name":"fn-current","slot":"199","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"282","C":[{"N":"docOrder","sType":"*NE","line":"282","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}direction"},{"N":"str","val":"forward"}]}]}]}]},{"N":"elem","name":"startRepeat","sType":"1NE nQ{}startRepeat ","nsuri":"","namespaces":"","line":"283","C":[{"N":"empty","sType":"0 "}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"? ","line":"285","C":[{"N":"docOrder","sType":"*NE","line":"285","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}direction"},{"N":"str","val":"backward"}]}]}]}]},{"N":"elem","name":"endRepeat","sType":"1NE nQ{}endRepeat ","nsuri":"","namespaces":"","line":"286","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NA nQ{}times","role":"select","line":"18","C":[{"N":"docOrder","sType":"*NA nQ{}times","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}repeat,NE nQ{http://www.w3.org/1999/xhtml}repeat]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}direction"},{"N":"str","val":"backward"}]}]}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}times"}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"forEach","sType":"*NE ","line":"288","C":[{"N":"fn","name":"distinct-values","sType":"*A","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"288","C":[{"N":"data","diag":"0|0||distinct-values","C":[{"N":"slash","op":"/","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"or","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"},{"N":"varRef","name":"Q{}staff","slot":"0"}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"}]}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]},{"N":"let","var":"Q{}voice","slot":"2","sType":"*NE ","line":"289","C":[{"N":"dot","sType":"1A","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"289"},{"N":"elem","name":"voice","sType":"1NE nQ{}voice ","nsuri":"","namespaces":"","line":"290","C":[{"N":"sequence","sType":"* ","C":[{"N":"applyT","sType":"* ","line":"291","mode":"#unnamed","bSlot":"6","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"291","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}measure","slot":"1"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}location"},{"N":"str","val":"left"}]}]}]}]}]}]},{"N":"choose","sType":"* ","line":"292","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"292","C":[{"N":"fn","name":"position"},{"N":"int","val":"1"}]},{"N":"sequence","sType":"* ","C":[{"N":"applyT","sType":"* ","line":"293","mode":"#unnamed","bSlot":"6","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"293","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}measure","slot":"1"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]"},{"N":"or","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"},{"N":"varRef","name":"Q{}staff","slot":"0"}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]}]}]},{"N":"applyT","sType":"* ","line":"294","mode":"#unnamed","bSlot":"6","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"294","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}measure","slot":"1"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]"},{"N":"or","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"},{"N":"varRef","name":"Q{}staff","slot":"0"}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]}]}]},{"N":"applyT","sType":"* ","line":"295","mode":"#unnamed","bSlot":"6","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"295","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}measure","slot":"1"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]"},{"N":"or","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"},{"N":"varRef","name":"Q{}staff","slot":"0"}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"applyT","sType":"* ","line":"301","mode":"Q{}chord","bSlot":"7","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"301","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}measure","slot":"1"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"and","C":[{"N":"and","C":[{"N":"or","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"},{"N":"varRef","name":"Q{}staff","slot":"0"}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"},{"N":"varRef","name":"Q{}voice","slot":"2"}]}]},{"N":"or","C":[{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]},{"N":"gc10","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"reverse","C":[{"N":"first","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"}]},{"N":"varRef","name":"Q{}staff","slot":"0"}]}]}]}]}]}]}]},{"N":"withParam","name":"Q{}staff","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}staff","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"302"}]},{"N":"withParam","name":"Q{}voice","slot":"2","sType":"*","C":[{"N":"varRef","name":"Q{}voice","slot":"2","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"303"}]}]},{"N":"applyT","sType":"* ","line":"305","mode":"#unnamed","bSlot":"6","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"305","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}measure","slot":"1"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}location"},{"N":"str","val":"right"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"choose","sType":"? ","line":"309","C":[{"N":"gc10","op":"!=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"309","C":[{"N":"fn","name":"number","C":[{"N":"atomSing","diag":"0|0||number","card":"?","C":[{"N":"first","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"dot"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}system-layout,NE nQ{http://www.w3.org/1999/xhtml}system-layout]"}]},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}right-margin,NE nQ{http://www.w3.org/1999/xhtml}right-margin]"}]}]}]}]}]},{"N":"int","val":"0"}]},{"N":"elem","name":"HBox","sType":"1NE nQ{}HBox ","nsuri":"","namespaces":"","line":"310","C":[{"N":"elem","name":"width","sType":"1NE nQ{}width ","nsuri":"","namespaces":"","line":"311","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"312","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"fn","name":"format-number","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"312","C":[{"N":"arith10","op":"div","calc":"d/d","C":[{"N":"ufCall","name":"Q{http://musescore.org}tenthsToMillimeters","coId":"12","bSlot":"4","C":[{"N":"fn","name":"number","C":[{"N":"atomSing","diag":"0|0||number","card":"?","C":[{"N":"first","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"dot"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}system-layout,NE nQ{http://www.w3.org/1999/xhtml}system-layout]"}]},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}right-margin,NE nQ{http://www.w3.org/1999/xhtml}right-margin]"}]}]}]}]}]}]},{"N":"atomSing","diag":"1|1||arith","card":"?","C":[{"N":"first","C":[{"N":"gVarRef","name":"Q{}spatium","bSlot":"5"}]}]}]},{"N":"str","val":"0.00"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]},{"N":"templateRule","rank":"13","prec":"0","seq":"9","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"248","module":"mscx.xsl","expand-text":"false","match":"credit","prio":"0","matches":"NE u[NE nQ{}credit,NE nQ{http://www.w3.org/1999/xhtml}credit]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}credit,NE nQ{http://www.w3.org/1999/xhtml}credit]","sType":"1NE u[NE nQ{}credit,NE nQ{http://www.w3.org/1999/xhtml}credit]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "},{"N":"elem","name":"Text","sType":"1NE nQ{}Text ","nsuri":"","namespaces":"","role":"action","line":"249","C":[{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"250","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}credit-type,NE nQ{http://www.w3.org/1999/xhtml}credit-type]","sType":"*NE u[NE nQ{}credit-type,NE nQ{http://www.w3.org/1999/xhtml}credit-type]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"250"},{"N":"elem","name":"style","sType":"1NE nQ{}style ","nsuri":"","namespaces":"","line":"251","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"fn","name":"concat","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"5","C":[{"N":"fn","name":"upper-case","C":[{"N":"fn","name":"substring","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}credit-type,NE nQ{http://www.w3.org/1999/xhtml}credit-type]"}]}]},{"N":"fn","name":"number","C":[{"N":"int","val":"1"}]},{"N":"fn","name":"number","C":[{"N":"int","val":"1"}]}]}]},{"N":"fn","name":"substring","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}credit-type,NE nQ{http://www.w3.org/1999/xhtml}credit-type]"}]}]},{"N":"fn","name":"number","C":[{"N":"int","val":"2"}]}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"elem","name":"text","sType":"1NE nQ{}text ","nsuri":"","namespaces":"","line":"253","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"3","sType":"* ","name":"Q{}text","line":"254","C":[{"N":"withParam","name":"Q{}node","slot":"0","sType":"*NE u[NE nQ{}credit-words,NE nQ{http://www.w3.org/1999/xhtml}credit-words]","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}credit-words,NE nQ{http://www.w3.org/1999/xhtml}credit-words]","sType":"*NE u[NE nQ{}credit-words,NE nQ{http://www.w3.org/1999/xhtml}credit-words]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"8"}]}]},{"N":"choose","sType":"? ","line":"255","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}credit-symbol,NE nQ{http://www.w3.org/1999/xhtml}credit-symbol]","sType":"*NE u[NE nQ{}credit-symbol,NE nQ{http://www.w3.org/1999/xhtml}credit-symbol]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"255"},{"N":"elem","name":"sym","sType":"1NE nQ{}sym ","nsuri":"","namespaces":"","line":"256","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}credit-symbol,NE nQ{http://www.w3.org/1999/xhtml}credit-symbol]","name":"child","nodeTest":"*NE u[NE nQ{}credit-symbol,NE nQ{http://www.w3.org/1999/xhtml}credit-symbol]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"11"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]}]},{"N":"templateRule","rank":"14","prec":"0","seq":"8","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"193","module":"mscx.xsl","expand-text":"false","match":"part","prio":"0","matches":"NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]","sType":"1NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "},{"N":"let","var":"Q{}part","slot":"0","sType":"*NE ","line":"194","role":"action","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"current()","loc":"xsl:variable/@select","line":"194","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","role":"select","BC":"true","sType":"1NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]","C":[{"N":"dot"},{"N":"varRef","name":"fn-current","slot":"199","sType":"1NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]"}]},{"N":"forEach","sType":"*NE ","line":"195","C":[{"N":"ifCall","name":"Q{http://saxon.sf.net/}apply","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"195","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}staffIds"}]},{"N":"arrayBlock","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}id"}]}]},{"N":"let","var":"Q{}staff","slot":"1","sType":"*NE ","line":"196","C":[{"N":"fn","name":"position","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"196"},{"N":"elem","name":"Staff","sType":"1NE nQ{}Staff ","nsuri":"","namespaces":"","line":"197","C":[{"N":"sequence","sType":"* ","C":[{"N":"att","name":"id","sType":"1NA ","line":"198","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"valueOf","sType":"1NT ","flags":"l","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"dot","sType":"1","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"7"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"choose","sType":"* ","line":"199","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"199","C":[{"N":"varRef","name":"Q{}staff","slot":"1"},{"N":"int","val":"1"}]},{"N":"callT","bSlot":"8","sType":"* ","name":"Q{}vbox","line":"200"},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"applyT","sType":"* ","line":"202","mode":"#unnamed","bSlot":"6","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"202","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}part","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]},{"N":"withParam","name":"Q{}staff","slot":"1","sType":"*","C":[{"N":"varRef","name":"Q{}staff","slot":"1","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"203"}]}]}]}]}]}]}]}]},{"N":"templateRule","rank":"15","prec":"0","seq":"7","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"179","module":"mscx.xsl","expand-text":"false","match":"Instrument","prio":"0","matches":"NE u[NE nQ{}Instrument,NE nQ{http://www.w3.org/1999/xhtml}Instrument]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}Instrument,NE nQ{http://www.w3.org/1999/xhtml}Instrument]","sType":"1NE u[NE nQ{}Instrument,NE nQ{http://www.w3.org/1999/xhtml}Instrument]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "},{"N":"elem","name":"Instrument","sType":"1NE nQ{}Instrument ","nsuri":"","namespaces":"","role":"action","line":"180","C":[{"N":"sequence","sType":"*N ","C":[{"N":"copyOf","flags":"c","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=http://ns.saxonica.com/xslt/export","line":"181","sType":"*N u[N u[N u[N u[N u[NA nQ{}id,NE u[NE nQ{}longName,NE nQ{http://www.w3.org/1999/xhtml}longName]],NE u[NE nQ{}shortName,NE nQ{http://www.w3.org/1999/xhtml}shortName]],NE u[NE nQ{}trackName,NE nQ{http://www.w3.org/1999/xhtml}trackName]],NE u[NE nQ{}Channel,NE nQ{http://www.w3.org/1999/xhtml}Channel]],NE u[NE nQ{}Articulation,NE nQ{http://www.w3.org/1999/xhtml}Articulation]]","C":[{"N":"docOrder","sType":"*N u[N u[N u[N u[N u[NA nQ{}id,NE u[NE nQ{}longName,NE nQ{http://www.w3.org/1999/xhtml}longName]],NE u[NE nQ{}shortName,NE nQ{http://www.w3.org/1999/xhtml}shortName]],NE u[NE nQ{}trackName,NE nQ{http://www.w3.org/1999/xhtml}trackName]],NE u[NE nQ{}Channel,NE nQ{http://www.w3.org/1999/xhtml}Channel]],NE u[NE nQ{}Articulation,NE nQ{http://www.w3.org/1999/xhtml}Articulation]]","role":"select","line":"181","C":[{"N":"union","op":"|","sType":"*N u[N u[N u[N u[N u[NA nQ{}id,NE u[NE nQ{}longName,NE nQ{http://www.w3.org/1999/xhtml}longName]],NE u[NE nQ{}shortName,NE nQ{http://www.w3.org/1999/xhtml}shortName]],NE u[NE nQ{}trackName,NE nQ{http://www.w3.org/1999/xhtml}trackName]],NE u[NE nQ{}Channel,NE nQ{http://www.w3.org/1999/xhtml}Channel]],NE u[NE nQ{}Articulation,NE nQ{http://www.w3.org/1999/xhtml}Articulation]]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}id"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}longName,NE nQ{http://www.w3.org/1999/xhtml}longName]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}shortName,NE nQ{http://www.w3.org/1999/xhtml}shortName]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}trackName,NE nQ{http://www.w3.org/1999/xhtml}trackName]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}Channel,NE nQ{http://www.w3.org/1999/xhtml}Channel]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}Articulation,NE nQ{http://www.w3.org/1999/xhtml}Articulation]"}]}]}]},{"N":"elem","name":"instrumentId","sType":"1NE nQ{}instrumentId ","nsuri":"","namespaces":"","line":"182","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}musicXMLid,NE nQ{http://www.w3.org/1999/xhtml}musicXMLid]","name":"child","nodeTest":"*NE u[NE nQ{}musicXMLid,NE nQ{http://www.w3.org/1999/xhtml}musicXMLid]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"5"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"minPitchP","sType":"1NE nQ{}minPitchP ","nsuri":"","namespaces":"","line":"183","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"first","sType":"?AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"7","C":[{"N":"fn","name":"tokenize","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pPitchRange,NE nQ{http://www.w3.org/1999/xhtml}pPitchRange]"}]}]},{"N":"str","val":"-"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"maxPitchP","sType":"1NE nQ{}maxPitchP ","nsuri":"","namespaces":"","line":"184","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"subscript","flags":"p","sType":"?AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"9","C":[{"N":"fn","name":"tokenize","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pPitchRange,NE nQ{http://www.w3.org/1999/xhtml}pPitchRange]"}]}]},{"N":"str","val":"-"}]},{"N":"int","val":"2"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"minPitchA","sType":"1NE nQ{}minPitchA ","nsuri":"","namespaces":"","line":"185","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"first","sType":"?AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"11","C":[{"N":"fn","name":"tokenize","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}aPitchRange,NE nQ{http://www.w3.org/1999/xhtml}aPitchRange]"}]}]},{"N":"str","val":"-"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"maxPitchA","sType":"1NE nQ{}maxPitchA ","nsuri":"","namespaces":"","line":"186","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"subscript","flags":"p","sType":"?AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"13","C":[{"N":"fn","name":"tokenize","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}aPitchRange,NE nQ{http://www.w3.org/1999/xhtml}aPitchRange]"}]}]},{"N":"str","val":"-"}]},{"N":"int","val":"2"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]},{"N":"templateRule","rank":"16","prec":"0","seq":"6","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"137","module":"mscx.xsl","expand-text":"false","match":"score-part","prio":"0","matches":"NE u[NE nQ{}score-part,NE nQ{http://www.w3.org/1999/xhtml}score-part]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}score-part,NE nQ{http://www.w3.org/1999/xhtml}score-part]","sType":"1NE u[NE nQ{}score-part,NE nQ{http://www.w3.org/1999/xhtml}score-part]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "},{"N":"elem","name":"Part","sType":"1NE nQ{}Part ","nsuri":"","namespaces":"","role":"action","line":"138","C":[{"N":"let","var":"Q{}part","slot":"0","sType":"* ","line":"139","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"current()","loc":"xsl:variable/@select","line":"139","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","role":"select","BC":"true","sType":"1NE u[NE nQ{}score-part,NE nQ{http://www.w3.org/1999/xhtml}score-part]","C":[{"N":"dot"},{"N":"varRef","name":"fn-current","slot":"199","sType":"1NE u[NE nQ{}score-part,NE nQ{http://www.w3.org/1999/xhtml}score-part]"}]},{"N":"let","var":"Q{}staffIds","slot":"1","sType":"* ","line":"140","C":[{"N":"ifCall","name":"Q{http://saxon.sf.net/}apply","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"140","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}staffIds"}]},{"N":"arrayBlock","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}id"}]}]},{"N":"sequence","sType":"* ","C":[{"N":"forEach","sType":"*NE ","line":"141","C":[{"N":"varRef","name":"Q{}staffIds","slot":"1","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"141"},{"N":"let","var":"Q{}staff","slot":"2","sType":"*NE ","line":"142","C":[{"N":"fn","name":"position","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"142"},{"N":"elem","name":"Staff","sType":"1NE nQ{}Staff ","nsuri":"","namespaces":"","line":"143","C":[{"N":"sequence","sType":"* ","C":[{"N":"att","name":"id","sType":"1NA ","line":"144","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"valueOf","sType":"1NT ","flags":"l","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"dot","sType":"1","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"9"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"elem","name":"StaffType","sType":"1NE nQ{}StaffType ","nsuri":"","namespaces":"","line":"145","C":[{"N":"sequence","sType":"* ","C":[{"N":"att","name":"group","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"pitched"}]},{"N":"elem","name":"name","sType":"1NE nQ{}name ","nsuri":"","namespaces":"","line":"146","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"stdNormal"}]}]},{"N":"choose","sType":"? ","line":"147","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"147","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"gVarRef","name":"Q{}root","bSlot":"9"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}id"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}part","slot":"0"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}id"}]}]}]}]}]},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}print-object"}]}]},{"N":"str","val":"no"}]},{"N":"elem","name":"clef","sType":"1NE nQ{}clef ","nsuri":"","namespaces":"","line":"148","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"? ","line":"150","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"150","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"gVarRef","name":"Q{}root","bSlot":"9"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}id"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}part","slot":"0"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}id"}]}]}]}]}]},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}print-object"}]}]},{"N":"str","val":"no"}]},{"N":"elem","name":"timesig","sType":"1NE nQ{}timesig ","nsuri":"","namespaces":"","line":"151","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"? ","line":"153","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"153","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"gVarRef","name":"Q{}root","bSlot":"9"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}id"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}part","slot":"0"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}id"}]}]}]}]}]},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff-details,NE nQ{http://www.w3.org/1999/xhtml}staff-details]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff-lines,NE nQ{http://www.w3.org/1999/xhtml}staff-lines]"}]}]},{"N":"int","val":"0"}]},{"N":"elem","name":"invisible","sType":"1NE nQ{}invisible ","nsuri":"","namespaces":"","line":"154","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"1"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"? ","line":"156","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"156","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"gVarRef","name":"Q{}root","bSlot":"9"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}id"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}part","slot":"0"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}id"}]}]}]}]}]},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}print-object"}]}]},{"N":"str","val":"no"}]},{"N":"elem","name":"keysig","sType":"1NE nQ{}keysig ","nsuri":"","namespaces":"","line":"157","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]},{"N":"choose","sType":"* ","line":"160","C":[{"N":"and","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"160","C":[{"N":"gc10","op":">","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"count","C":[{"N":"varRef","name":"Q{}staffIds","slot":"1"}]},{"N":"int","val":"1"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"varRef","name":"Q{}staff","slot":"2"},{"N":"int","val":"1"}]}]},{"N":"sequence","sType":"*NE ","C":[{"N":"elem","name":"bracket","sType":"1NE nQ{}bracket ","nsuri":"","namespaces":"","line":"161","C":[{"N":"sequence","sType":"*NA ","C":[{"N":"att","name":"type","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"1"}]},{"N":"att","name":"col","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"1"}]},{"N":"att","name":"span","sType":"1NA ","line":"162","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"fn","sType":"1ADI","name":"count","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"162","C":[{"N":"varRef","name":"Q{}staffIds","slot":"1"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"elem","name":"barLineSpan","sType":"1NE nQ{}barLineSpan ","nsuri":"","namespaces":"","line":"164","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"fn","sType":"1ADI","name":"count","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"24","C":[{"N":"varRef","name":"Q{}staffIds","slot":"1"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"? ","line":"166","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"166","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"gVarRef","name":"Q{}root","bSlot":"9"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}id"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}part","slot":"0"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}id"}]}]}]}]}]},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff-details,NE nQ{http://www.w3.org/1999/xhtml}staff-details]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff-lines,NE nQ{http://www.w3.org/1999/xhtml}staff-lines]"}]}]},{"N":"int","val":"0"}]},{"N":"elem","name":"invisible","sType":"1NE nQ{}invisible ","nsuri":"","namespaces":"","line":"167","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"1"}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]},{"N":"elem","name":"trackName","sType":"1NE nQ{}trackName ","nsuri":"","namespaces":"","line":"171","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}part-name,NE nQ{http://www.w3.org/1999/xhtml}part-name]","name":"child","nodeTest":"*NE u[NE nQ{}part-name,NE nQ{http://www.w3.org/1999/xhtml}part-name]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"28"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"applyT","sType":"* ","line":"172","mode":"#unnamed","bSlot":"6","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"$instruments//Instrument[trackName=current()/part-name]","loc":"xsl:apply-templates/@select","line":"172","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","role":"select","BC":"true","sType":"*NE","C":[{"N":"dot"},{"N":"docOrder","sType":"*NE","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"gVarRef","name":"Q{}instruments","bSlot":"10"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}Instrument,NE nQ{http://www.w3.org/1999/xhtml}Instrument]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}trackName,NE nQ{http://www.w3.org/1999/xhtml}trackName]"},{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}part-name,NE nQ{http://www.w3.org/1999/xhtml}part-name]"}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"templateRule","rank":"17","prec":"0","seq":"5","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"115","module":"mscx.xsl","expand-text":"false","match":"creator | rights | source | work-title | work-number | movement-number | movement-title","prio":"0","matches":"NE u[NE nQ{}creator,NE nQ{http://www.w3.org/1999/xhtml}creator]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}creator,NE nQ{http://www.w3.org/1999/xhtml}creator]","sType":"1NE u[NE nQ{}creator,NE nQ{http://www.w3.org/1999/xhtml}creator]"},{"N":"elem","name":"metaTag","sType":"1NE nQ{}metaTag ","nsuri":"","namespaces":"","role":"action","line":"116","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"name","sType":"1NA ","line":"117","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"choose","sType":"?NT ","type":"item()*","line":"118","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"119","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"creator"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"120","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}type","name":"attribute","nodeTest":"*NA nQ{}type","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"120"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"122","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"rights"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"copyright"}]},{"N":"true"},{"N":"valueOf","flags":"l","sType":"1NT ","line":"126","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"ufCall","name":"Q{http://musescore.org}toCamelCase","coId":"11","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"126","bSlot":"11","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"130","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"dot","sType":"1NE u[NE nQ{}creator,NE nQ{http://www.w3.org/1999/xhtml}creator]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"130"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"templateRule","rank":"18","prec":"0","seq":"5","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"115","module":"mscx.xsl","expand-text":"false","match":"creator | rights | source | work-title | work-number | movement-number | movement-title","prio":"0","matches":"NE u[NE nQ{}rights,NE nQ{http://www.w3.org/1999/xhtml}rights]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}rights,NE nQ{http://www.w3.org/1999/xhtml}rights]","sType":"1NE u[NE nQ{}rights,NE nQ{http://www.w3.org/1999/xhtml}rights]"},{"N":"elem","name":"metaTag","sType":"1NE nQ{}metaTag ","nsuri":"","namespaces":"","role":"action","line":"116","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"name","sType":"1NA ","line":"117","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"choose","sType":"?NT ","type":"item()*","line":"118","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"119","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"creator"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"120","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}type","name":"attribute","nodeTest":"*NA nQ{}type","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"120"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"122","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"rights"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"copyright"}]},{"N":"true"},{"N":"valueOf","flags":"l","sType":"1NT ","line":"126","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"ufCall","name":"Q{http://musescore.org}toCamelCase","coId":"11","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"126","bSlot":"11","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"130","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"dot","sType":"1NE u[NE nQ{}rights,NE nQ{http://www.w3.org/1999/xhtml}rights]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"130"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"templateRule","rank":"19","prec":"0","seq":"5","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"115","module":"mscx.xsl","expand-text":"false","match":"creator | rights | source | work-title | work-number | movement-number | movement-title","prio":"0","matches":"NE u[NE nQ{}source,NE nQ{http://www.w3.org/1999/xhtml}source]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}source,NE nQ{http://www.w3.org/1999/xhtml}source]","sType":"1NE u[NE nQ{}source,NE nQ{http://www.w3.org/1999/xhtml}source]"},{"N":"elem","name":"metaTag","sType":"1NE nQ{}metaTag ","nsuri":"","namespaces":"","role":"action","line":"116","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"name","sType":"1NA ","line":"117","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"choose","sType":"?NT ","type":"item()*","line":"118","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"119","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"creator"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"120","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}type","name":"attribute","nodeTest":"*NA nQ{}type","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"120"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"122","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"rights"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"copyright"}]},{"N":"true"},{"N":"valueOf","flags":"l","sType":"1NT ","line":"126","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"ufCall","name":"Q{http://musescore.org}toCamelCase","coId":"11","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"126","bSlot":"11","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"130","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"dot","sType":"1NE u[NE nQ{}source,NE nQ{http://www.w3.org/1999/xhtml}source]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"130"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"templateRule","rank":"20","prec":"0","seq":"5","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"115","module":"mscx.xsl","expand-text":"false","match":"creator | rights | source | work-title | work-number | movement-number | movement-title","prio":"0","matches":"NE u[NE nQ{}work-title,NE nQ{http://www.w3.org/1999/xhtml}work-title]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}work-title,NE nQ{http://www.w3.org/1999/xhtml}work-title]","sType":"1NE u[NE nQ{}work-title,NE nQ{http://www.w3.org/1999/xhtml}work-title]"},{"N":"elem","name":"metaTag","sType":"1NE nQ{}metaTag ","nsuri":"","namespaces":"","role":"action","line":"116","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"name","sType":"1NA ","line":"117","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"choose","sType":"?NT ","type":"item()*","line":"118","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"119","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"creator"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"120","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}type","name":"attribute","nodeTest":"*NA nQ{}type","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"120"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"122","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"rights"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"copyright"}]},{"N":"true"},{"N":"valueOf","flags":"l","sType":"1NT ","line":"126","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"ufCall","name":"Q{http://musescore.org}toCamelCase","coId":"11","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"126","bSlot":"11","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"130","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"dot","sType":"1NE u[NE nQ{}work-title,NE nQ{http://www.w3.org/1999/xhtml}work-title]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"130"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"templateRule","rank":"21","prec":"0","seq":"5","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"115","module":"mscx.xsl","expand-text":"false","match":"creator | rights | source | work-title | work-number | movement-number | movement-title","prio":"0","matches":"NE u[NE nQ{}work-number,NE nQ{http://www.w3.org/1999/xhtml}work-number]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}work-number,NE nQ{http://www.w3.org/1999/xhtml}work-number]","sType":"1NE u[NE nQ{}work-number,NE nQ{http://www.w3.org/1999/xhtml}work-number]"},{"N":"elem","name":"metaTag","sType":"1NE nQ{}metaTag ","nsuri":"","namespaces":"","role":"action","line":"116","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"name","sType":"1NA ","line":"117","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"choose","sType":"?NT ","type":"item()*","line":"118","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"119","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"creator"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"120","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}type","name":"attribute","nodeTest":"*NA nQ{}type","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"120"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"122","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"rights"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"copyright"}]},{"N":"true"},{"N":"valueOf","flags":"l","sType":"1NT ","line":"126","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"ufCall","name":"Q{http://musescore.org}toCamelCase","coId":"11","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"126","bSlot":"11","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"130","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"dot","sType":"1NE u[NE nQ{}work-number,NE nQ{http://www.w3.org/1999/xhtml}work-number]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"130"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"templateRule","rank":"22","prec":"0","seq":"5","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"115","module":"mscx.xsl","expand-text":"false","match":"creator | rights | source | work-title | work-number | movement-number | movement-title","prio":"0","matches":"NE u[NE nQ{}movement-number,NE nQ{http://www.w3.org/1999/xhtml}movement-number]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}movement-number,NE nQ{http://www.w3.org/1999/xhtml}movement-number]","sType":"1NE u[NE nQ{}movement-number,NE nQ{http://www.w3.org/1999/xhtml}movement-number]"},{"N":"elem","name":"metaTag","sType":"1NE nQ{}metaTag ","nsuri":"","namespaces":"","role":"action","line":"116","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"name","sType":"1NA ","line":"117","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"choose","sType":"?NT ","type":"item()*","line":"118","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"119","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"creator"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"120","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}type","name":"attribute","nodeTest":"*NA nQ{}type","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"120"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"122","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"rights"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"copyright"}]},{"N":"true"},{"N":"valueOf","flags":"l","sType":"1NT ","line":"126","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"ufCall","name":"Q{http://musescore.org}toCamelCase","coId":"11","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"126","bSlot":"11","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"130","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"dot","sType":"1NE u[NE nQ{}movement-number,NE nQ{http://www.w3.org/1999/xhtml}movement-number]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"130"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"templateRule","rank":"23","prec":"0","seq":"5","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"115","module":"mscx.xsl","expand-text":"false","match":"creator | rights | source | work-title | work-number | movement-number | movement-title","prio":"0","matches":"NE u[NE nQ{}movement-title,NE nQ{http://www.w3.org/1999/xhtml}movement-title]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}movement-title,NE nQ{http://www.w3.org/1999/xhtml}movement-title]","sType":"1NE u[NE nQ{}movement-title,NE nQ{http://www.w3.org/1999/xhtml}movement-title]"},{"N":"elem","name":"metaTag","sType":"1NE nQ{}metaTag ","nsuri":"","namespaces":"","role":"action","line":"116","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"name","sType":"1NA ","line":"117","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"choose","sType":"?NT ","type":"item()*","line":"118","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"119","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"creator"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"120","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}type","name":"attribute","nodeTest":"*NA nQ{}type","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"120"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"122","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"rights"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"copyright"}]},{"N":"true"},{"N":"valueOf","flags":"l","sType":"1NT ","line":"126","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"ufCall","name":"Q{http://musescore.org}toCamelCase","coId":"11","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"126","bSlot":"11","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"130","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"dot","sType":"1NE u[NE nQ{}movement-title,NE nQ{http://www.w3.org/1999/xhtml}movement-title]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"130"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"templateRule","rank":"24","prec":"0","seq":"4","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"85","module":"mscx.xsl","expand-text":"false","match":"score-partwise","prio":"0","matches":"NE u[NE nQ{}score-partwise,NE nQ{http://www.w3.org/1999/xhtml}score-partwise]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}score-partwise,NE nQ{http://www.w3.org/1999/xhtml}score-partwise]","sType":"1NE u[NE nQ{}score-partwise,NE nQ{http://www.w3.org/1999/xhtml}score-partwise]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "},{"N":"elem","name":"museScore","sType":"1NE nQ{}museScore ","nsuri":"","namespaces":"","role":"action","line":"86","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"version","sType":"1NA ","line":"87","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"valueOf","sType":"1NT ","flags":"l","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}museScoreVersion","bSlot":"12","role":"select","line":"4"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"elem","name":"Score","sType":"1NE nQ{}Score ","nsuri":"","namespaces":"","line":"88","C":[{"N":"sequence","sType":"* ","C":[{"N":"elem","name":"LayerTag","sType":"1NE nQ{}LayerTag ","nsuri":"","namespaces":"","line":"89","C":[{"N":"sequence","sType":"*NA ","C":[{"N":"att","name":"id","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"0"}]},{"N":"att","name":"tag","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"default"}]}]}]},{"N":"elem","name":"currentLayer","sType":"1NE nQ{}currentLayer ","nsuri":"","namespaces":"","line":"90","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"0"}]}]},{"N":"elem","name":"Division","sType":"1NE nQ{}Division ","nsuri":"","namespaces":"","line":"91","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"choose","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"9","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]"}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]"}]}]}]},{"N":"true"},{"N":"gVarRef","name":"Q{}divisions","bSlot":"13"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"callT","bSlot":"14","sType":"* ","name":"Q{}style","line":"92"},{"N":"elem","name":"showInvisible","sType":"1NE nQ{}showInvisible ","nsuri":"","namespaces":"","line":"93","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}showInvisible","bSlot":"15","role":"select","line":"12"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"showUnprintable","sType":"1NE nQ{}showUnprintable ","nsuri":"","namespaces":"","line":"94","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}showUnprintable","bSlot":"16","role":"select","line":"14"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"showFrames","sType":"1NE nQ{}showFrames ","nsuri":"","namespaces":"","line":"95","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}showFrames","bSlot":"17","role":"select","line":"16"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"showMargins","sType":"1NE nQ{}showMargins ","nsuri":"","namespaces":"","line":"96","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"gVarRef","sType":"* ","name":"Q{}showMargins","bSlot":"18","role":"select","line":"18"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"applyT","sType":"* ","line":"105","mode":"#unnamed","bSlot":"6","C":[{"N":"docOrder","sType":"*NE u[NE u[NE u[NE u[NE u[NE u[NE u[NE nQ{}creator,NE nQ{http://www.w3.org/1999/xhtml}creator],NE u[NE nQ{}rights,NE nQ{http://www.w3.org/1999/xhtml}rights]],NE u[NE nQ{}source,NE nQ{http://www.w3.org/1999/xhtml}source]],NE u[NE nQ{}work-title,NE nQ{http://www.w3.org/1999/xhtml}work-title]],NE u[NE nQ{}work-number,NE nQ{http://www.w3.org/1999/xhtml}work-number]],NE u[NE nQ{}movement-number,NE nQ{http://www.w3.org/1999/xhtml}movement-number]],NE u[NE nQ{}movement-title,NE nQ{http://www.w3.org/1999/xhtml}movement-title]]","role":"select","line":"105","C":[{"N":"union","op":"|","sType":"*NE u[NE u[NE u[NE u[NE u[NE u[NE u[NE nQ{}creator,NE nQ{http://www.w3.org/1999/xhtml}creator],NE u[NE nQ{}rights,NE nQ{http://www.w3.org/1999/xhtml}rights]],NE u[NE nQ{}source,NE nQ{http://www.w3.org/1999/xhtml}source]],NE u[NE nQ{}work-title,NE nQ{http://www.w3.org/1999/xhtml}work-title]],NE u[NE nQ{}work-number,NE nQ{http://www.w3.org/1999/xhtml}work-number]],NE u[NE nQ{}movement-number,NE nQ{http://www.w3.org/1999/xhtml}movement-number]],NE u[NE nQ{}movement-title,NE nQ{http://www.w3.org/1999/xhtml}movement-title]]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"union","op":"|","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}identification,NE nQ{http://www.w3.org/1999/xhtml}identification]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}creator,NE nQ{http://www.w3.org/1999/xhtml}creator]"}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}identification,NE nQ{http://www.w3.org/1999/xhtml}identification]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}rights,NE nQ{http://www.w3.org/1999/xhtml}rights]"}]}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}identification,NE nQ{http://www.w3.org/1999/xhtml}identification]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}source,NE nQ{http://www.w3.org/1999/xhtml}source]"}]}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}work,NE nQ{http://www.w3.org/1999/xhtml}work]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}work-title,NE nQ{http://www.w3.org/1999/xhtml}work-title]"}]}]}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}work,NE nQ{http://www.w3.org/1999/xhtml}work]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}work-number,NE nQ{http://www.w3.org/1999/xhtml}work-number]"}]}]}]},{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}movement-number,NE nQ{http://www.w3.org/1999/xhtml}movement-number]"}]}]},{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}movement-title,NE nQ{http://www.w3.org/1999/xhtml}movement-title]"}]}]}]}]},{"N":"applyT","sType":"* ","line":"106","mode":"#unnamed","bSlot":"6","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"106","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}part-list,NE nQ{http://www.w3.org/1999/xhtml}part-list]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}score-part,NE nQ{http://www.w3.org/1999/xhtml}score-part]"}]}]}]}]},{"N":"applyT","sType":"* ","line":"107","mode":"#unnamed","bSlot":"6","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"107","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"root"},{"N":"axis","name":"descendant","nodeTest":"*NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]"}]}]}]}]}]}]}]}]},{"N":"templateRule","rank":"25","prec":"0","seq":"3","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","line":"242","module":"lib-musicxml.xsl","expand-text":"false","version":"3.0","match":"*","prio":"-0.5","matches":"NE","C":[{"N":"p.nodeTest","role":"match","test":"NE","sType":"1NE","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ "},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","role":"action","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"["}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"fn","name":"name","sType":"1AS","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"3","C":[{"N":"dot"}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"] Unhandled element"}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]}]}]}]},{"N":"co","binds":"","id":"33","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}accumulatorBefore","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"0","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","line":"26","module":"lib-musicxml.xsl","expand-text":"false","version":"3.0","match":"node()","prio":"-0.5","matches":"N u[NT,NP,NC,NE]","C":[{"N":"p.nodeTest","role":"match","test":"N u[NT,NP,NC,NE]","sType":"1N u[NT,NP,NC,NE]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"param","name":"Q{}accumulator","slot":"0","sType":"* ","as":"* ","flags":"","line":"27","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"28","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"fn","sType":"*","name":"accumulator-before","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"28","C":[{"N":"treat","as":"AS","diag":"0|0||accumulator-before","C":[{"N":"check","card":"1","diag":"0|0||accumulator-before","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||accumulator-before","C":[{"N":"check","card":"1","diag":"0|0||accumulator-before","C":[{"N":"data","diag":"0|0||accumulator-before","C":[{"N":"varRef","name":"Q{}accumulator","slot":"0"}]}]}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]},{"N":"co","binds":"","id":"34","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}accumulatorAfter","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"1","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","line":"30","module":"lib-musicxml.xsl","expand-text":"false","version":"3.0","match":"node()","prio":"-0.5","matches":"N u[NT,NP,NC,NE]","C":[{"N":"p.nodeTest","role":"match","test":"N u[NT,NP,NC,NE]","sType":"1N u[NT,NP,NC,NE]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"param","name":"Q{}accumulator","slot":"0","sType":"* ","as":"* ","flags":"","line":"31","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"32","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"fn","sType":"*","name":"accumulator-after","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"32","C":[{"N":"treat","as":"AS","diag":"0|0||accumulator-after","C":[{"N":"check","card":"1","diag":"0|0||accumulator-after","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||accumulator-after","C":[{"N":"check","card":"1","diag":"0|0||accumulator-after","C":[{"N":"data","diag":"0|0||accumulator-after","C":[{"N":"varRef","name":"Q{}accumulator","slot":"0"}]}]}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]},{"N":"co","binds":"","id":"35","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}measureDuration","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"2","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","line":"203","module":"lib-musicxml.xsl","expand-text":"false","version":"3.0","match":"measure","prio":"0","matches":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ "},{"N":"valueOf","flags":"l","sType":"1NT ","role":"action","line":"204","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"arith","sType":"1AO","op":"div","calc":"d/d","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"204","C":[{"N":"arith","op":"*","calc":"d*d","C":[{"N":"arith","op":"*","calc":"d*d","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}divisions"}]},{"N":"fn","name":"number","C":[{"N":"check","card":"?","diag":"0|0||number","C":[{"N":"data","diag":"0|0||number","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beats,NE nQ{http://www.w3.org/1999/xhtml}beats]"}]}]}]}]}]}]},{"N":"convert","to":"AO","flags":"","C":[{"N":"int","val":"4"}]}]},{"N":"fn","name":"number","C":[{"N":"check","card":"?","diag":"0|0||number","C":[{"N":"data","diag":"0|0||number","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]"}]}]}]}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"co","id":"36","binds":"2 1 5 14","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}noteSibling","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"28","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"650","module":"mscx.xsl","expand-text":"false","match":"direction[direction-type/wedge]","prio":"0.5","matches":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}wedge,NE nQ{http://www.w3.org/1999/xhtml}wedge]"}]}]},{"N":"elem","name":"Spanner","sType":"1NE nQ{}Spanner ","nsuri":"","namespaces":"","role":"action","line":"651","C":[{"N":"sequence","sType":"* ","C":[{"N":"att","name":"type","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"HairPin"}]},{"N":"choose","sType":"* ","type":"item()*","line":"652","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"653","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}wedge,NE nQ{http://www.w3.org/1999/xhtml}wedge]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"}]}]},{"N":"sequence","literal":"true","C":[{"N":"str","val":"crescendo"},{"N":"str","val":"diminuendo"}]}]},{"N":"sequence","sType":"*NE ","C":[{"N":"elem","name":"HairPin","sType":"1NE nQ{}HairPin ","nsuri":"","namespaces":"","line":"654","C":[{"N":"sequence","sType":"*NE ","C":[{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","line":"655","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"choose","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"7","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}wedge,NE nQ{http://www.w3.org/1999/xhtml}wedge]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"}]}]},{"N":"str","val":"crescendo"}]},{"N":"int","val":"0"},{"N":"true"},{"N":"int","val":"1"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"placement","sType":"1NE nQ{}placement ","nsuri":"","namespaces":"","line":"656","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}placement","name":"attribute","nodeTest":"*NA nQ{}placement","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"9"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"elem","name":"next","sType":"1NE nQ{}next ","nsuri":"","namespaces":"","line":"658","C":[{"N":"let","var":"Q{}end","slot":"0","sType":"* ","line":"661","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"((ancestor::measure, ancestor::measure/following-sibling::measure)/direction[               direction-type/wedge[@type = 'stop' and (not(@number) or @number = current()/direction-type/wedge/@number)]             ])[1]","loc":"xsl:variable/@select","line":"661","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","role":"select","BC":"true","sType":"?NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","C":[{"N":"dot"},{"N":"first","sType":"?NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"sequence","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}wedge,NE nQ{http://www.w3.org/1999/xhtml}wedge]"},{"N":"and","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"str","val":"stop"}]},{"N":"or","C":[{"N":"fn","name":"not","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}wedge,NE nQ{http://www.w3.org/1999/xhtml}wedge]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}location","line":"662","C":[{"N":"withParam","name":"Q{}start","slot":"0","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","C":[{"N":"dot","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"663"}]},{"N":"withParam","name":"Q{}end","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}end","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"664"}]},{"N":"withParam","name":"Q{}sign","as":"xs:integer","slot":"0","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"665"}]},{"N":"withParam","name":"Q{}fraction","as":"xs:boolean","slot":"0","C":[{"N":"true","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"666"}]}]}]}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"670","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}wedge,NE nQ{http://www.w3.org/1999/xhtml}wedge]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"}]}]},{"N":"str","val":"stop"}]},{"N":"elem","name":"prev","sType":"1NE nQ{}prev ","nsuri":"","namespaces":"","line":"671","C":[{"N":"let","var":"Q{}start","slot":"0","sType":"* ","line":"674","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"((ancestor::measure, ancestor::measure/preceding-sibling::measure)/direction[               direction-type/wedge[@type = ('crescendo', 'diminuendo') and (not(@number) or @number = current()/direction-type/wedge/@number)]             ])[last()]","loc":"xsl:variable/@select","line":"674","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","role":"select","BC":"true","sType":"?NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","C":[{"N":"dot"},{"N":"lastOf","sType":"?NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"sequence","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}wedge,NE nQ{http://www.w3.org/1999/xhtml}wedge]"},{"N":"and","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"sequence","literal":"true","C":[{"N":"str","val":"crescendo"},{"N":"str","val":"diminuendo"}]}]},{"N":"or","C":[{"N":"fn","name":"not","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}wedge,NE nQ{http://www.w3.org/1999/xhtml}wedge]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}location","line":"675","C":[{"N":"withParam","name":"Q{}start","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}start","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"676"}]},{"N":"withParam","name":"Q{}end","slot":"0","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","C":[{"N":"dot","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"677"}]},{"N":"withParam","name":"Q{}sign","as":"xs:integer","slot":"0","C":[{"N":"int","val":"-1","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"678"}]},{"N":"withParam","name":"Q{}fraction","as":"xs:boolean","slot":"0","C":[{"N":"true","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"679"}]}]}]}]},{"N":"true"},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[wedge] Unhandled type '"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NA nQ{}type","role":"select","line":"27","C":[{"N":"docOrder","sType":"*NA nQ{}type","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}wedge,NE nQ{http://www.w3.org/1999/xhtml}wedge]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"'."}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]}]}]}]}]},{"N":"templateRule","rank":"1","prec":"0","seq":"25","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"608","module":"mscx.xsl","expand-text":"false","match":"direction[direction-type/words]","prio":"0.5","matches":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}words,NE nQ{http://www.w3.org/1999/xhtml}words]"}]}]},{"N":"elem","name":"StaffText","sType":"1NE nQ{}StaffText ","nsuri":"","namespaces":"","role":"action","line":"609","C":[{"N":"elem","name":"text","sType":"1NE nQ{}text ","nsuri":"","namespaces":"","line":"610","C":[{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}text","C":[{"N":"withParam","name":"Q{}node","slot":"0","sType":"*NE","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"5","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}words,NE nQ{http://www.w3.org/1999/xhtml}words]"}]}]}]}]}]}]}]},{"N":"templateRule","rank":"2","prec":"0","seq":"23","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"577","module":"mscx.xsl","expand-text":"false","match":"direction[sound[@tempo]]","prio":"0.5","matches":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]}]},{"N":"elem","name":"Tempo","sType":"1NE nQ{}Tempo ","nsuri":"","namespaces":"","role":"action","line":"578","C":[{"N":"sequence","sType":"*NE ","C":[{"N":"elem","name":"tempo","sType":"1NE nQ{}tempo ","nsuri":"","namespaces":"","line":"579","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"arith10","sType":"?AO","op":"div","calc":"d/d","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"4","C":[{"N":"atomSing","diag":"1|0||arith","card":"?","C":[{"N":"first","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]}]}]},{"N":"int","val":"60"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"followText","sType":"1NE nQ{}followText ","nsuri":"","namespaces":"","line":"580","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"1"}]}]},{"N":"elem","name":"visible","sType":"1NE nQ{}visible ","nsuri":"","namespaces":"","line":"581","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"1"}]}]},{"N":"elem","name":"text","sType":"1NE nQ{}text ","nsuri":"","namespaces":"","line":"582","C":[{"N":"choose","sType":"* ","type":"item()*","line":"583","C":[{"N":"docOrder","sType":"*NE","line":"584","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}words,NE nQ{http://www.w3.org/1999/xhtml}words]"}]}]},{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}text","line":"585","C":[{"N":"withParam","name":"Q{}node","slot":"0","sType":"*NE","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"586","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}words,NE nQ{http://www.w3.org/1999/xhtml}words]"}]}]}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"589","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]"}]}]},{"N":"str","val":"8"}]},{"N":"sequence","sType":"*N ","C":[{"N":"elem","name":"sym","sType":"1NE nQ{}sym ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"metNote8thUp"}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" = "}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"arith10","sType":"?AO","op":"*","calc":"d*d","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"14","C":[{"N":"atomSing","diag":"1|0||arith","card":"?","C":[{"N":"first","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]}]},{"N":"int","val":"2"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"590","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]"}]}]},{"N":"str","val":"4"}]},{"N":"sequence","sType":"*N ","C":[{"N":"elem","name":"sym","sType":"1NE nQ{}sym ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"metNoteQuarterUp"}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" = "}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}tempo","name":"attribute","nodeTest":"*NA nQ{}tempo","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"17"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"591","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]"}]}]},{"N":"str","val":"2"}]},{"N":"sequence","sType":"*N ","C":[{"N":"elem","name":"sym","sType":"1NE nQ{}sym ","nsuri":"","namespaces":"","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"metNoteHalfUp"}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" = "}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"arith10","sType":"?AO","op":"div","calc":"d/d","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"20","C":[{"N":"atomSing","diag":"1|0||arith","card":"?","C":[{"N":"first","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]}]},{"N":"int","val":"2"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]},{"N":"templateRule","rank":"3","prec":"0","seq":"21","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"559","module":"mscx.xsl","expand-text":"false","match":"direction[sound[@dynamics]]","prio":"0.5","matches":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}dynamics"}]}]},{"N":"elem","name":"Dynamic","sType":"1NE nQ{}Dynamic ","nsuri":"","namespaces":"","role":"action","line":"560","C":[{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"561","C":[{"N":"docOrder","sType":"*NE","line":"561","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}dynamics,NE nQ{http://www.w3.org/1999/xhtml}dynamics]"}]}]},{"N":"elem","name":"subtype","sType":"1NE nQ{}subtype ","nsuri":"","namespaces":"","line":"562","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"slash","op":"/","sType":"*AS","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"5","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}dynamics,NE nQ{http://www.w3.org/1999/xhtml}dynamics]"}]},{"N":"fn","name":"local-name","C":[{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"*NE"}]}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"elem","name":"velocity","sType":"1NE nQ{}velocity ","nsuri":"","namespaces":"","line":"564","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"fn","sType":"?A m[AO,AD,AF]","name":"round","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"7","C":[{"N":"arith10","op":"div","calc":"d/d","C":[{"N":"arith10","op":"*","calc":"d*d","C":[{"N":"fn","name":"number","C":[{"N":"atomSing","diag":"0|0||number","card":"?","C":[{"N":"first","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}dynamics"}]}]}]}]},{"N":"int","val":"90"}]},{"N":"int","val":"100"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]},{"N":"templateRule","rank":"4","prec":"0","seq":"16","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"431","module":"mscx.xsl","expand-text":"false","match":"direction[direction-type/rehearsal]","prio":"0.5","matches":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}rehearsal,NE nQ{http://www.w3.org/1999/xhtml}rehearsal]"}]}]},{"N":"elem","name":"RehearsalMark","sType":"1NE nQ{}RehearsalMark ","nsuri":"","namespaces":"","role":"action","line":"432","C":[{"N":"elem","name":"text","sType":"1NE nQ{}text ","nsuri":"","namespaces":"","line":"433","C":[{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}text","line":"434","C":[{"N":"withParam","name":"Q{}node","slot":"0","sType":"*NE","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"435","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}rehearsal,NE nQ{http://www.w3.org/1999/xhtml}rehearsal]"}]}]}]}]}]}]}]},{"N":"templateRule","rank":"5","prec":"0","seq":"15","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"389","module":"mscx.xsl","expand-text":"false","match":"barline[ending]","prio":"0.5","matches":"NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]},{"N":"elem","name":"Spanner","sType":"1NE nQ{}Spanner ","nsuri":"","namespaces":"","role":"action","line":"390","C":[{"N":"sequence","sType":"* ","C":[{"N":"att","name":"type","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"Volta"}]},{"N":"choose","sType":"* ","type":"item()*","line":"391","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"392","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"}]},{"N":"str","val":"start"}]},{"N":"let","var":"Q{}end","slot":"0","sType":"*NE ","line":"395","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"((ancestor::measure, ancestor::measure/following-sibling::measure)/barline[             ending[@type = ('stop', 'discontinue') and @number = current()/ending/@number]           ])[1]","loc":"xsl:variable/@select","line":"395","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","role":"select","BC":"true","sType":"?NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]","C":[{"N":"dot"},{"N":"first","sType":"?NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"sequence","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"},{"N":"and","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"sequence","literal":"true","C":[{"N":"str","val":"stop"},{"N":"str","val":"discontinue"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]}]}]}]}]}]},{"N":"sequence","sType":"?NE ","C":[{"N":"elem","name":"Volta","sType":"1NE nQ{}Volta ","nsuri":"","namespaces":"","line":"396","C":[{"N":"sequence","sType":"*NE ","C":[{"N":"elem","name":"endHookType","sType":"1NE nQ{}endHookType ","nsuri":"","namespaces":"","line":"397","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"choose","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"8","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|slash","C":[{"N":"varRef","name":"Q{}end","slot":"0"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"}]}]},{"N":"str","val":"stop"}]},{"N":"int","val":"1"},{"N":"true"},{"N":"int","val":"0"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"beginText","sType":"1NE nQ{}beginText ","nsuri":"","namespaces":"","line":"398","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NT","role":"select","line":"10","C":[{"N":"slash","op":"/","sType":"*NT","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"},{"N":"axis","name":"child","nodeTest":"*NT"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"endings","sType":"1NE nQ{}endings ","nsuri":"","namespaces":"","line":"399","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NA nQ{}number","role":"select","line":"12","C":[{"N":"slash","op":"/","sType":"*NA nQ{}number","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"elem","name":"next","sType":"1NE nQ{}next ","nsuri":"","namespaces":"","line":"401","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}location","line":"402","C":[{"N":"withParam","name":"Q{}start","slot":"0","sType":"1NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]","C":[{"N":"dot","sType":"1NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"403"}]},{"N":"withParam","name":"Q{}end","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}end","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"404"}]},{"N":"withParam","name":"Q{}sign","as":"xs:integer","slot":"0","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"405"}]},{"N":"withParam","name":"Q{}fraction","as":"xs:boolean","slot":"0","C":[{"N":"false","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"406"}]}]}]}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"410","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"}]},{"N":"sequence","literal":"true","C":[{"N":"str","val":"stop"},{"N":"str","val":"discontinue"}]}]},{"N":"elem","name":"prev","sType":"1NE nQ{}prev ","nsuri":"","namespaces":"","line":"411","C":[{"N":"let","var":"Q{}start","slot":"0","sType":"* ","line":"414","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"((ancestor::measure, ancestor::measure/preceding-sibling::measure)/barline[               ending[@type = 'start' and @number = current()/ending/@number]             ])[last()]","loc":"xsl:variable/@select","line":"414","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","role":"select","BC":"true","sType":"?NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]","C":[{"N":"dot"},{"N":"lastOf","sType":"?NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"sequence","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"},{"N":"and","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"str","val":"start"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"},{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}number"}]}]}]}]}]}]}]}]}]}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}location","line":"415","C":[{"N":"withParam","name":"Q{}start","slot":"0","sType":"*","C":[{"N":"varRef","name":"Q{}start","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"416"}]},{"N":"withParam","name":"Q{}end","slot":"0","sType":"1NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]","C":[{"N":"dot","sType":"1NE u[NE nQ{}barline,NE nQ{http://www.w3.org/1999/xhtml}barline]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"417"}]},{"N":"withParam","name":"Q{}sign","as":"xs:integer","slot":"0","C":[{"N":"int","val":"-1","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"418"}]},{"N":"withParam","name":"Q{}fraction","as":"xs:boolean","slot":"0","C":[{"N":"false","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"419"}]}]}]}]},{"N":"true"},{"N":"message","sType":"0 ","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","C":[{"N":"sequence","role":"select","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"[ending] Unhandled type '"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NA nQ{}type","role":"select","line":"29","C":[{"N":"slash","op":"/","sType":"*NA nQ{}type","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}ending,NE nQ{http://www.w3.org/1999/xhtml}ending]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"'."}]}]},{"N":"str","sType":"1AS ","val":"false","role":"terminate"},{"N":"str","sType":"1AS ","val":"Q{http://www.w3.org/2005/xqt-errors}XTMM9000","role":"error"}]}]}]}]}]},{"N":"templateRule","rank":"6","prec":"0","seq":"26","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"619","module":"mscx.xsl","expand-text":"false","match":"backup | forward","prio":"0","matches":"NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","sType":"1NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]"},{"N":"choose","sType":"? ","role":"action","line":"620","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"620","C":[{"N":"slash","op":"/","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"lastOf","C":[{"N":"union","op":"|","C":[{"N":"docOrder","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]"}]}]},{"N":"docOrder","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]"}]}]}]}]}]}]},{"N":"fn","name":"generate-id","C":[{"N":"dot"}]}]},{"N":"fn","name":"generate-id","C":[{"N":"dot"}]}]},{"N":"elem","name":"location","sType":"1NE nQ{}location ","nsuri":"","namespaces":"","line":"621","C":[{"N":"elem","name":"fractions","sType":"1NE nQ{}fractions ","nsuri":"","namespaces":"","line":"622","C":[{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"623","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"fn","sType":"AO ","name":"accumulator-after","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"623","C":[{"N":"str","val":"Q{}noteOnset"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"/"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"625","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"*","name":"Q{http://www.w3.org/2021/06/musicxml40}accumulatorAfter","coId":"5","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"625","bSlot":"2","C":[{"N":"str","val":"measureDuration"},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]},{"N":"templateRule","rank":"7","prec":"0","seq":"26","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"619","module":"mscx.xsl","expand-text":"false","match":"backup | forward","prio":"0","matches":"NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","sType":"1NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]"},{"N":"choose","sType":"? ","role":"action","line":"620","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"620","C":[{"N":"slash","op":"/","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"lastOf","C":[{"N":"union","op":"|","C":[{"N":"docOrder","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]"}]}]},{"N":"docOrder","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]"}]}]}]}]}]}]},{"N":"fn","name":"generate-id","C":[{"N":"dot"}]}]},{"N":"fn","name":"generate-id","C":[{"N":"dot"}]}]},{"N":"elem","name":"location","sType":"1NE nQ{}location ","nsuri":"","namespaces":"","line":"621","C":[{"N":"elem","name":"fractions","sType":"1NE nQ{}fractions ","nsuri":"","namespaces":"","line":"622","C":[{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"623","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"fn","sType":"AO ","name":"accumulator-after","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"623","C":[{"N":"str","val":"Q{}noteOnset"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"/"}]},{"N":"valueOf","flags":"l","sType":"1NT ","line":"625","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"*","name":"Q{http://www.w3.org/2021/06/musicxml40}accumulatorAfter","coId":"5","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"625","bSlot":"2","C":[{"N":"str","val":"measureDuration"},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]},{"N":"templateRule","rank":"8","prec":"0","seq":"17","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"444","module":"mscx.xsl","expand-text":"false","match":"harmony","prio":"0","matches":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "},{"N":"elem","name":"Harmony","sType":"1NE nQ{}Harmony ","nsuri":"","namespaces":"","role":"action","line":"445","C":[{"N":"sequence","sType":"*NE ","C":[{"N":"elem","name":"root","sType":"1NE nQ{}root ","nsuri":"","namespaces":"","line":"446","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"ufCall","sType":"1AO","name":"Q{http://musescore.org}noteToTpc","coId":"14","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"4","bSlot":"3","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}root,NE nQ{http://www.w3.org/1999/xhtml}root]"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"name","sType":"1NE nQ{}name ","nsuri":"","namespaces":"","line":"447","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NA nQ{}text","role":"select","line":"6","C":[{"N":"slash","op":"/","sType":"*NA nQ{}text","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}kind,NE nQ{http://www.w3.org/1999/xhtml}kind]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}text"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]}]}]},{"N":"co","id":"37","binds":"36 10 9 38 32","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}chord","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"18","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"458","module":"mscx.xsl","expand-text":"false","match":"note","prio":"0","matches":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"param","name":"Q{}staff","slot":"0","sType":"* ","as":"* ","flags":"","line":"459","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"param","name":"Q{}voice","slot":"1","sType":"* ","as":"* ","flags":"","line":"460","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"1","sType":"* "}]},{"N":"choose","sType":"* ","line":"463","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"463","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]}]},{"N":"applyT","sType":"* ","line":"464","mode":"Q{}noteSibling","bSlot":"0","C":[{"N":"filter","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"464","C":[{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}followingMeasureElements","coId":"10","bSlot":"1","C":[{"N":"lastOf","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"fn","name":"reverse","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]}]}]}]}]}]},{"N":"fn","name":"not","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"attributes"}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"applyT","sType":"* ","line":"468","mode":"Q{}noteSibling","bSlot":"0","C":[{"N":"filter","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"468","C":[{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}precedingMeasureElements","coId":"9","bSlot":"2","C":[{"N":"dot"}]},{"N":"fn","name":"not","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"dot"}]},{"N":"str","val":"attributes"}]}]}]}]},{"N":"choose","sType":"? ","line":"471","C":[{"N":"docOrder","sType":"*NE","line":"471","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}notations,NE nQ{http://www.w3.org/1999/xhtml}notations]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tuplet,NE nQ{http://www.w3.org/1999/xhtml}tuplet]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"str","val":"start"}]}]}]}]},{"N":"elem","name":"Tuplet","sType":"1NE nQ{}Tuplet ","nsuri":"","namespaces":"","line":"472","C":[{"N":"sequence","sType":"*NE ","C":[{"N":"elem","name":"normalNotes","sType":"1NE nQ{}normalNotes ","nsuri":"","namespaces":"","line":"473","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"10","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}time-modification,NE nQ{http://www.w3.org/1999/xhtml}time-modification]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}normal-notes,NE nQ{http://www.w3.org/1999/xhtml}normal-notes]"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"actualNotes","sType":"1NE nQ{}actualNotes ","nsuri":"","namespaces":"","line":"474","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"12","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}time-modification,NE nQ{http://www.w3.org/1999/xhtml}time-modification]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}actual-notes,NE nQ{http://www.w3.org/1999/xhtml}actual-notes]"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"baseNote","sType":"1NE nQ{}baseNote ","nsuri":"","namespaces":"","line":"475","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}type,NE nQ{http://www.w3.org/1999/xhtml}type]","name":"child","nodeTest":"*NE u[NE nQ{}type,NE nQ{http://www.w3.org/1999/xhtml}type]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"14"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"Number","sType":"1NE nQ{}Number ","nsuri":"","namespaces":"","line":"476","C":[{"N":"sequence","sType":"*NE ","C":[{"N":"elem","name":"style","sType":"1NE nQ{}style ","nsuri":"","namespaces":"","line":"477","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"Tuplet"}]}]},{"N":"elem","name":"text","sType":"1NE nQ{}text ","nsuri":"","namespaces":"","line":"478","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"18","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}time-modification,NE nQ{http://www.w3.org/1999/xhtml}time-modification]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}actual-notes,NE nQ{http://www.w3.org/1999/xhtml}actual-notes]"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"?NE ","type":"item()*","line":"484","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]","sType":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"485"},{"N":"elem","name":"Rest","sType":"1NE nQ{}Rest ","nsuri":"","namespaces":"","line":"486","C":[{"N":"applyT","sType":"* ","line":"487","mode":"Q{}inner","bSlot":"3","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"current()","loc":"xsl:apply-templates/@select","line":"487","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","role":"select","BC":"true","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","C":[{"N":"dot"},{"N":"varRef","name":"fn-current","slot":"199","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]}]}]},{"N":"true"},{"N":"elem","name":"Chord","sType":"1NE nQ{}Chord ","nsuri":"","namespaces":"","line":"491","C":[{"N":"sequence","sType":"* ","C":[{"N":"applyT","sType":"* ","line":"492","mode":"#unnamed","bSlot":"4","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"492","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}notations,NE nQ{http://www.w3.org/1999/xhtml}notations]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}slur,NE nQ{http://www.w3.org/1999/xhtml}slur]"}]}]}]},{"N":"choose","sType":"? ","line":"493","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}stem,NE nQ{http://www.w3.org/1999/xhtml}stem]","sType":"*NE u[NE nQ{}stem,NE nQ{http://www.w3.org/1999/xhtml}stem]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"493"},{"N":"elem","name":"StemDirection","sType":"1NE nQ{}StemDirection ","nsuri":"","namespaces":"","line":"494","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}stem,NE nQ{http://www.w3.org/1999/xhtml}stem]","name":"child","nodeTest":"*NE u[NE nQ{}stem,NE nQ{http://www.w3.org/1999/xhtml}stem]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"28"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"applyT","sType":"* ","line":"496","mode":"Q{}inner","bSlot":"3","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"current()","loc":"xsl:apply-templates/@select","line":"496","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","role":"select","BC":"true","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","C":[{"N":"dot"},{"N":"varRef","name":"fn-current","slot":"199","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]},{"N":"withParam","name":"Q{}overrideChord","slot":"0","sType":"1AB","C":[{"N":"true","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"497"}]}]}]}]}]},{"N":"choose","sType":"? ","line":"504","C":[{"N":"docOrder","sType":"*NE","line":"504","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}notations,NE nQ{http://www.w3.org/1999/xhtml}notations]"},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tuplet,NE nQ{http://www.w3.org/1999/xhtml}tuplet]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"str","val":"stop"}]}]}]}]},{"N":"elem","name":"endTuplet","sType":"1NE nQ{}endTuplet ","nsuri":"","namespaces":"","line":"505","C":[{"N":"empty","sType":"0 "}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]}]},{"N":"co","id":"38","binds":"32 38","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}inner","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"19","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","line":"509","module":"mscx.xsl","expand-text":"false","match":"note","prio":"0","matches":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org "},{"N":"sequence","role":"action","sType":"* ","C":[{"N":"param","name":"Q{}overrideChord","slot":"0","sType":"* ","as":"* ","flags":"","line":"510","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"choose","sType":"* ","line":"513","C":[{"N":"or","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"513","C":[{"N":"varRef","name":"Q{}overrideChord","slot":"0"},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"}]}]},{"N":"sequence","sType":"* ","C":[{"N":"choose","sType":"? ","line":"514","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}dot,NE nQ{http://www.w3.org/1999/xhtml}dot]","sType":"*NE u[NE nQ{}dot,NE nQ{http://www.w3.org/1999/xhtml}dot]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"514"},{"N":"elem","name":"dots","sType":"1NE nQ{}dots ","nsuri":"","namespaces":"","line":"515","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"fn","sType":"1ADI","name":"count","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"6","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}dot,NE nQ{http://www.w3.org/1999/xhtml}dot]"}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"* ","type":"item()*","line":"517","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}type,NE nQ{http://www.w3.org/1999/xhtml}type]","sType":"*NE u[NE nQ{}type,NE nQ{http://www.w3.org/1999/xhtml}type]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"518"},{"N":"elem","name":"durationType","sType":"1NE nQ{}durationType ","nsuri":"","namespaces":"","line":"519","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NE u[NE nQ{}type,NE nQ{http://www.w3.org/1999/xhtml}type]","name":"child","nodeTest":"*NE u[NE nQ{}type,NE nQ{http://www.w3.org/1999/xhtml}type]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"10"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"filter","sType":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"521","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}measure"},{"N":"str","val":"yes"}]}]},{"N":"sequence","sType":"*NE ","C":[{"N":"elem","name":"durationType","sType":"1NE nQ{}durationType ","nsuri":"","namespaces":"","line":"522","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"measure"}]}]},{"N":"elem","name":"duration","sType":"1NE nQ{}duration ","nsuri":"","namespaces":"","line":"523","C":[{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"14","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beats,NE nQ{http://www.w3.org/1999/xhtml}beats]"}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"/"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"15","C":[{"N":"docOrder","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"slash","op":"/","C":[{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}time"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}beat-type,NE nQ{http://www.w3.org/1999/xhtml}beat-type]"}]}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"applyT","sType":"* ","line":"529","mode":"#unnamed","bSlot":"0","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}lyric,NE nQ{http://www.w3.org/1999/xhtml}lyric]","sType":"*NE u[NE nQ{}lyric,NE nQ{http://www.w3.org/1999/xhtml}lyric]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"529"}]},{"N":"choose","sType":"? ","line":"532","C":[{"N":"fn","name":"not","sType":"1AB","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","line":"532","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]"}]},{"N":"elem","name":"Note","sType":"1NE nQ{}Note ","nsuri":"","namespaces":"","line":"533","C":[{"N":"sequence","sType":"* ","C":[{"N":"applyT","sType":"* ","line":"534","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*NE","role":"select","line":"534","C":[{"N":"slash","op":"/","sType":"*NE","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}notations,NE nQ{http://www.w3.org/1999/xhtml}notations]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tied,NE nQ{http://www.w3.org/1999/xhtml}tied]"}]}]}]},{"N":"applyT","sType":"* ","line":"535","mode":"#unnamed","bSlot":"0","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]","sType":"*NE u[NE nQ{}pitch,NE nQ{http://www.w3.org/1999/xhtml}pitch]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"535"}]},{"N":"applyT","sType":"* ","line":"536","mode":"#unnamed","bSlot":"0","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}accidental,NE nQ{http://www.w3.org/1999/xhtml}accidental]","sType":"*NE u[NE nQ{}accidental,NE nQ{http://www.w3.org/1999/xhtml}accidental]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"536"}]},{"N":"applyT","sType":"* ","line":"537","mode":"#unnamed","bSlot":"0","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}notehead,NE nQ{http://www.w3.org/1999/xhtml}notehead]","sType":"*NE u[NE nQ{}notehead,NE nQ{http://www.w3.org/1999/xhtml}notehead]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"537"}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"applyT","sType":"* ","line":"546","mode":"Q{}inner","bSlot":"1","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"       following-sibling::note[1][chord and       (staff = current()/staff or not(staff)) and       (voice = current()/voice or not(voice))     ]","loc":"xsl:apply-templates/@select","line":"546","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","role":"select","BC":"true","sType":"?NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","C":[{"N":"dot"},{"N":"filter","sType":"?NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"first","C":[{"N":"axis","name":"following-sibling","nodeTest":"*NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]"}]},{"N":"and","C":[{"N":"and","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"},{"N":"or","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"},{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staff,NE nQ{http://www.w3.org/1999/xhtml}staff]"}]}]}]},{"N":"or","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"},{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]},{"N":"fn","name":"not","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}voice,NE nQ{http://www.w3.org/1999/xhtml}voice]"}]}]}]}]}]}]}]}]}]}]},{"N":"overridden"},{"N":"output","C":[{"N":"property","name":"Q{http://saxon.sf.net/}stylesheet-version","value":"10"},{"N":"property","name":"omit-xml-declaration","value":"no"},{"N":"property","name":"indent","value":"yes"},{"N":"property","name":"suppress-indentation","value":"Q{}text"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}divisions","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"1","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"56"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}divisions,NE nQ{http://www.w3.org/1999/xhtml}divisions]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"child","nodeTest":"*NT","sType":"*NT","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"57"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}tempo","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"120","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"63"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}sound,NE nQ{http://www.w3.org/1999/xhtml}sound]"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo"}]},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}tempo","sType":"*NA nQ{}tempo","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"64"}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}metronome","as":"element()*","ex:asJ":"*NE ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"70"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ ","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]"},{"N":"slash","op":"/","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}direction-type,NE nQ{http://www.w3.org/1999/xhtml}direction-type]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}metronome,NE nQ{http://www.w3.org/1999/xhtml}metronome]"}]}]},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"dot","sType":"1NE u[NE nQ{}direction,NE nQ{http://www.w3.org/1999/xhtml}direction]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"71"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}time","as":"element()*","ex:asJ":"*NE ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"77"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}time,NE nQ{http://www.w3.org/1999/xhtml}time]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"78"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}clef","as":"element()*","ex:asJ":"*NE ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"84"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}clef,NE nQ{http://www.w3.org/1999/xhtml}clef]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"85"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}key","as":"element()*","ex:asJ":"*NE ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"91"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]"},{"N":"p.withUpper","axis":"parent","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"},{"N":"p.nodeTest","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"dot","sType":"1NE u[NE nQ{}key,NE nQ{http://www.w3.org/1999/xhtml}key]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"92"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"0E","slots":"5","name":"Q{}harmony","as":"element()*","ex:asJ":"*NE ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"empty","sType":"0E","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"98"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"*NE ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"dot","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"99"}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1FM","slots":"5","name":"Q{}measureIndex","as":"map(*)","ex:asJ":"FM k[1AS ] v[1ADI ] ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}_new","sType":"1FM","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"105"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"FM k[1AS ] v[1ADI ] ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"choose","sType":"1FM","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"106","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}contains","C":[{"N":"treat","as":"FM","diag":"0|0||map:contains","C":[{"N":"check","card":"1","diag":"0|0||map:contains","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:contains","C":[{"N":"attVal","name":"Q{}number"}]}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}get","C":[{"N":"treat","as":"FM","diag":"0|0||map:get","C":[{"N":"check","card":"1","diag":"0|0||map:get","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:get","C":[{"N":"attVal","name":"Q{}number"}]}]}]},{"N":"true"},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"check","card":"1","diag":"0|1||map:put","C":[{"N":"attVal","name":"Q{}number"}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}size","C":[{"N":"treat","as":"FM","diag":"0|0||map:size","C":[{"N":"check","card":"1","diag":"0|0||map:size","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","sType":"1ADI","binds":"6","slots":"5","name":"Q{}measureDuration","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"112"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"113"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","sType":"1NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"114","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","sType":"1NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"-","calc":"a-a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"115","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"117","C":[{"N":"docOrder","sType":"*NE u[NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord],NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]]","line":"118","C":[{"N":"union","op":"|","sType":"*NE u[NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord],NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]"}]}]},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"45"},{"N":"filter","sType":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"119","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}measure"},{"N":"str","val":"yes"}]}]},{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}measureDuration","coId":"6","sType":"1AO","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"120","bSlot":"0","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"49","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}measureOnset","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"130"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"data","sType":"*A ","role":"select","C":[{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"131"}]}]}]}]}]}]},{"N":"post","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"132","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"fn","name":"accumulator-after","C":[{"N":"str","val":"Q{}measureDuration"}]}]}]}]}]}]}]}]},{"N":"accumulator","sType":"1ADI","binds":"6","slots":"5","name":"Q{}noteDuration","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"138"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"140","C":[{"N":"docOrder","sType":"*NE u[NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord],NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]]","line":"141","C":[{"N":"union","op":"|","sType":"*NE u[NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord],NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]"}]}]},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"57"},{"N":"filter","sType":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"142","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}measure"},{"N":"str","val":"yes"}]}]},{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}measureDuration","coId":"6","sType":"1AO","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"143","bSlot":"0","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"filter","sType":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"145","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tie,NE nQ{http://www.w3.org/1999/xhtml}tie]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"stop"}]}]},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"61","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]},{"N":"true"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","sType":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"63"}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","sType":"1ADI","binds":"6","slots":"5","name":"Q{}noteOnset","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"154"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"155"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","sType":"1NE u[NE nQ{}forward,NE nQ{http://www.w3.org/1999/xhtml}forward]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"156","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","sType":"1NE u[NE nQ{}backup,NE nQ{http://www.w3.org/1999/xhtml}backup]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"arith","op":"-","calc":"a-a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"157","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"159","C":[{"N":"docOrder","sType":"*NE u[NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord],NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]]","line":"160","C":[{"N":"union","op":"|","sType":"*NE u[NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord],NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]"}]}]},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"71"},{"N":"filter","sType":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","line":"161","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}rest,NE nQ{http://www.w3.org/1999/xhtml}rest]"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}measure"},{"N":"str","val":"yes"}]}]},{"N":"ufCall","name":"Q{http://www.w3.org/2021/06/musicxml40}measureDuration","coId":"6","sType":"1AO","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"162","bSlot":"0","C":[{"N":"fn","name":"reverse","C":[{"N":"axis","name":"ancestor","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]}]},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"75","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1ADI","slots":"5","name":"Q{}harmonyDuration","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"init","line":"175"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","sType":"1NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"176"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","sType":"1NE u[NE nQ{}harmony,NE nQ{http://www.w3.org/1999/xhtml}harmony]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","role":"select","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"int","val":"0","sType":"1ADI","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"177"}]}]}]},{"N":"accRule","valueType":"AO ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","sType":"1NE u[NE nQ{}note,NE nQ{http://www.w3.org/1999/xhtml}note]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"check","card":"1","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"convert","to":"AO","sType":"1AO ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","flags":"p","C":[{"N":"cvUntyped","to":"AO","sType":"*A ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","C":[{"N":"data","sType":"*A ","C":[{"N":"choose","sType":"* ","type":"item()*","line":"179","C":[{"N":"docOrder","sType":"*NE u[NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord],NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]]","line":"180","C":[{"N":"union","op":"|","sType":"*NE u[NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord],NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]]","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}chord,NE nQ{http://www.w3.org/1999/xhtml}chord]"},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}cue,NE nQ{http://www.w3.org/1999/xhtml}cue]"}]}]},{"N":"varRef","name":"Q{}value","slot":"0","sType":"*","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"82"},{"N":"true"},{"N":"arith","op":"+","calc":"a+a","sType":"?A","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"84","C":[{"N":"check","card":"?","diag":"1|0||arith","C":[{"N":"data","diag":"1|0||arith","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]},{"N":"cvUntyped","to":"AO","diag":"1|1|FORG0001|arith","C":[{"N":"check","card":"?","diag":"1|1||arith","C":[{"N":"data","diag":"1|1||arith","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}duration,NE nQ{http://www.w3.org/1999/xhtml}duration]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","sType":"* ","binds":"16","slots":"5","name":"Q{}scalingMillimeters","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"gVarRef","name":"Q{}defaultScalingMillimeters","bSlot":"0","sType":"* ","role":"init","line":"189"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}scaling,NE nQ{http://www.w3.org/1999/xhtml}scaling]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}scaling,NE nQ{http://www.w3.org/1999/xhtml}scaling]"},{"N":"p.withUpper","axis":"ancestor","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}defaults,NE nQ{http://www.w3.org/1999/xhtml}defaults]"},{"N":"p.nodeTest","test":"ND"}]}]},{"N":"fn","name":"number","sType":"1AO","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"190","C":[{"N":"check","card":"?","diag":"0|0||number","C":[{"N":"data","diag":"0|0||number","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}millimeters,NE nQ{http://www.w3.org/1999/xhtml}millimeters]"}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","sType":"* ","binds":"17","slots":"5","name":"Q{}scalingTenths","as":"xs:double","ex:asJ":"AO ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/lib-musicxml.xsl","ns":"xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~","C":[{"N":"gVarRef","name":"Q{}defaultScalingTenths","bSlot":"0","sType":"* ","role":"init","line":"192"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"AO ","slots":"5","prio":"0.5","C":[{"N":"p.withUpper","role":"match","axis":"parent","sType":"1NE u[NE nQ{}scaling,NE nQ{http://www.w3.org/1999/xhtml}scaling]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ ","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}scaling,NE nQ{http://www.w3.org/1999/xhtml}scaling]"},{"N":"p.withUpper","axis":"ancestor","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{}defaults,NE nQ{http://www.w3.org/1999/xhtml}defaults]"},{"N":"p.nodeTest","test":"ND"}]}]},{"N":"fn","name":"number","sType":"1AO","ns":"= xml=~ xsl=~ xs=~ musicxml=http://www.w3.org/2021/06/musicxml40 map=~ ","role":"select","line":"193","C":[{"N":"check","card":"?","diag":"0|0||number","C":[{"N":"data","diag":"0|0||number","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}tenths,NE nQ{http://www.w3.org/1999/xhtml}tenths]"}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1FM","slots":"5","name":"Q{}partIds","as":"map(*)","ex:asJ":"FM k[1AS ] v[1ADI ] ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}_new","sType":"1FM","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"init","line":"57"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"FM k[1AS ] v[1ADI ] ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}score-part,NE nQ{http://www.w3.org/1999/xhtml}score-part]","sType":"1NE u[NE nQ{}score-part,NE nQ{http://www.w3.org/1999/xhtml}score-part]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","sType":"1FM","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"select","line":"58","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]}]},{"N":"atomSing","diag":"0|1||map:put","C":[{"N":"first","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}id"}]}]},{"N":"arith10","op":"+","calc":"d+d","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}size","C":[{"N":"treat","as":"FM","diag":"0|0||map:size","C":[{"N":"check","card":"1","diag":"0|0||map:size","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]}]}]},{"N":"int","val":"1"}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"accumulator","binds":"","sType":"1FM","slots":"5","name":"Q{}staffIds","as":"map(*)","ex:asJ":"FM k[1AS ] v[*ADI ] ","baseUri":"file:///home/kratib/src/infojunkie/musicxml-mscx/src/mscx.xsl","C":[{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}_new","sType":"1FM","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","role":"init","line":"73"},{"N":"pre","slots":"0","C":[{"N":"accRule","valueType":"FM k[1AS ] v[*ADI ] ","slots":"5","prio":"0","C":[{"N":"p.nodeTest","role":"match","test":"NE u[NE nQ{}score-part,NE nQ{http://www.w3.org/1999/xhtml}score-part]","sType":"1NE u[NE nQ{}score-part,NE nQ{http://www.w3.org/1999/xhtml}score-part]","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ex=~ "},{"N":"check","card":"1","sType":"1FM k[1AS ] v[*ADI ] ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"treat","as":"FM k[1AS ] v[*ADI ] ","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"check","card":"1","diag":"2|0|XPTY0004|xsl:accumulator-rule/@select","role":"select","C":[{"N":"let","var":"fn-current","slot":"199","xpath":"       let $staves := xs:integer(number((//part[@id=current()/@id]/measure/attributes/staves/text(), '1')[1])),           $maxId := max((0, map:for-each($value, function($k, $ids) { $ids }))),           $staffIds := for-each(1 to $staves, function($staff) { xs:integer($maxId + $staff) })       return map:put($value, xs:string(@id), $staffIds)     ","loc":"xsl:accumulator-rule/@select","line":"79","ns":"xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org","role":"select","BC":"true","sType":"*","C":[{"N":"dot"},{"N":"let","name":"Q{}staves","slot":"17","sType":"*","ns":"= xml=~ xsl=~ xs=~ map=~ array=~ musicxml=http://www.w3.org/2021/06/musicxml40 mscx=http://musescore.org ","C":[{"N":"cast","flags":"ae","as":"ADI","C":[{"N":"fn","name":"number","C":[{"N":"atomSing","diag":"0|0||number","card":"?","C":[{"N":"first","C":[{"N":"sequence","C":[{"N":"docOrder","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant-or-self","nodeTest":"*N"}]},{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}part,NE nQ{http://www.w3.org/1999/xhtml}part]"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}id"},{"N":"slash","op":"/","C":[{"N":"varRef","name":"fn-current","slot":"199"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}id"}]}]}]}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}measure,NE nQ{http://www.w3.org/1999/xhtml}measure]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}attributes,NE nQ{http://www.w3.org/1999/xhtml}attributes]"}]},{"N":"axis","name":"child","nodeTest":"*NE u[NE nQ{}staves,NE nQ{http://www.w3.org/1999/xhtml}staves]"}]},{"N":"axis","name":"child","nodeTest":"*NT"}]}]},{"N":"str","val":"1"}]}]}]}]}]},{"N":"let","name":"Q{}maxId","slot":"18","C":[{"N":"fn","name":"max","C":[{"N":"data","diag":"0|0||max","C":[{"N":"sequence","C":[{"N":"int","val":"0"},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}for-each","C":[{"N":"treat","as":"FM","diag":"0|0||map:for-each","C":[{"N":"check","card":"1","diag":"0|0||map:for-each","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]}]},{"N":"inlineFn","arity":"2","name":"inline","as":"*","sType":"1F a[*,*] r[*]","C":[{"N":"arg","name":"k","asCode":"*","slot":"19"},{"N":"arg","name":"ids","asCode":"*","slot":"20"},{"N":"varRef","name":"Q{}ids","slot":"20","role":"body"}]}]}]}]},{"N":"str","val":"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]},{"N":"let","name":"Q{}staffIds","slot":"19","C":[{"N":"fn","name":"for-each","C":[{"N":"to","C":[{"N":"int","val":"1"},{"N":"treat","as":"ADI","diag":"1|1||to","C":[{"N":"check","card":"?","diag":"1|1||to","C":[{"N":"cvUntyped","to":"ADI","diag":"1|1||to","C":[{"N":"atomSing","diag":"1|1||to","card":"?","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}staves","slot":"17"}]}]}]}]}]}]},{"N":"inlineFn","arity":"1","name":"inline","as":"*","sType":"1F a[*] r[*]","C":[{"N":"arg","name":"staff","asCode":"*","slot":"20"},{"N":"cast","flags":"ae","as":"ADI","role":"body","C":[{"N":"arith10","op":"+","calc":"d+d","C":[{"N":"varRef","name":"Q{}maxId","slot":"18"},{"N":"atomSing","diag":"1|1||arith","card":"?","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}staff","slot":"20"}]}]}]}]}]}]},{"N":"ifCall","name":"Q{http://www.w3.org/2005/xpath-functions/map}put","C":[{"N":"treat","as":"FM","diag":"0|0||map:put","C":[{"N":"check","card":"1","diag":"0|0||map:put","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]}]},{"N":"atomSing","diag":"0|1||map:put","C":[{"N":"first","C":[{"N":"cast","flags":"ae","as":"AS","C":[{"N":"atomSing","diag":"0|0||xs:string","card":"?","C":[{"N":"first","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}id"}]}]}]}]}]},{"N":"varRef","name":"Q{}staffIds","slot":"19"}]}]}]}]}]}]}]}]}]}]},{"N":"post","slots":"0"}]},{"N":"decimalFormat"}],"Σ":"362a3ae5"}
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index c861bf0..c06d95d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -121,6 +121,14 @@
         "axios": "^1.5.1"
       }
     },
+    "node_modules/validate-with-xmllint": {
+      "version": "1.2.1",
+      "resolved": "https://registry.npmjs.org/validate-with-xmllint/-/validate-with-xmllint-1.2.1.tgz",
+      "integrity": "sha512-uJwzrq0/8RDrDkgHnTVnb34PAKCbnehQkNCvD7GUaA8Pm5TK+Fe4fKjwJS0G/P7uYhiOQmqQw9Dhuk9eB1E53Q==",
+      "dev": true,
+      "hasInstallScript": true,
+      "license": "MIT"
+    },
     "node_modules/xslt3": {
       "version": "2.7.0",
       "resolved": "https://registry.npmjs.org/xslt3/-/xslt3-2.7.0.tgz",
diff --git a/package.json b/package.json
index ff13240..e48b516 100644
--- a/package.json
+++ b/package.json
@@ -9,8 +9,11 @@
     "xslt3": "^2.6.0"
   },
   "scripts": {
-    "build:sef": "for xsl in src/*.xsl; do sef=$(basename \"$xsl\"); xslt3 -relocate:on -xsl:$xsl -export:build/${sef/.xsl/.sef.json} -nogo:1 -t -ns:##html5; done",
+    "build": "npm run build:sef",
+    "build:sef": "for xsl in src/*.xsl; do sef=$(basename \"$xsl\"); xslt3 -relocate:off -xsl:$xsl -export:build/${sef/.xsl/.sef.json} -nogo:1 -t -ns:##html5; done",
     "convert:mscx": "run() { xslt3 -xsl:src/mscx.xsl -s:\"$1\" ${@:2}; printf \"\n\"; }; run",
-    "debug:xpath": "run() { xslt3 -s:\"$1\" -xp:\"$2\"; printf \"\n\"; }; run"
+    "debug:xpath": "run() { xslt3 -s:\"$1\" -xp:\"$2\"; printf \"\n\"; }; run",
+    "test:spec": "node --test --test-name-pattern=\"${TEST:-.*}\"",
+    "test": "npm run build && npm run test:spec"
   }
 }
diff --git a/src/instruments.xml b/src/instruments.xml
new file mode 120000
index 0000000..a146a93
--- /dev/null
+++ b/src/instruments.xml
@@ -0,0 +1 @@
+/home/kratib/src/music/MuseScore/share/instruments/instruments.xml
\ No newline at end of file
diff --git a/src/lib-musicxml.xsl b/src/lib-musicxml.xsl
index f223d73..62871b4 100644
--- a/src/lib-musicxml.xsl
+++ b/src/lib-musicxml.xsl
@@ -12,6 +12,13 @@
   xmlns:map="http://www.w3.org/2005/xpath-functions/map"
   exclude-result-prefixes="#all"
 >
+
+  <!--
+    Global: Parameters.
+  -->
+  <xsl:param name="defaultScalingMillimeters" select="7.0"/>
+  <xsl:param name="defaultScalingTenths" select="40"/>
+
   <!--
     Template: Get accumulator value at node.
     Function: Get accumulator value at node.
@@ -176,6 +183,16 @@
     </xsl:accumulator-rule>
   </xsl:accumulator>
 
+  <!--
+    State: Defaults.
+  -->
+  <xsl:accumulator name="scalingMillimeters" as="xs:double" initial-value="$defaultScalingMillimeters">
+    <xsl:accumulator-rule match="//defaults/scaling" select="number(millimeters)"/>
+  </xsl:accumulator>
+  <xsl:accumulator name="scalingTenths" as="xs:double" initial-value="$defaultScalingTenths">
+    <xsl:accumulator-rule match="//defaults/scaling" select="number(tenths)"/>
+  </xsl:accumulator>
+
   <!--
     Function: Measure duration (as per current time signature).
   -->
diff --git a/src/mscx.xsl b/src/mscx.xsl
index b9afec0..f3bbe0d 100644
--- a/src/mscx.xsl
+++ b/src/mscx.xsl
@@ -18,19 +18,18 @@
   <xsl:output omit-xml-declaration="no" indent="yes" suppress-indentation="text"/>
 
   <!--
-    Global variables.
+    Global: Parameters.
   -->
   <xsl:param name="instrumentsFile" select="'instruments.xml'"/>
   <xsl:param name="styleFile"/>
   <xsl:param name="museScoreVersion" select="'3.02'"/>
   <xsl:param name="divisions" select="480"/>
-  <xsl:param name="scalingMillimeters" select="7.0"/>
-  <xsl:param name="scalingTenths" select="40"/>
   <xsl:param name="showInvisible" select="1"/>
   <xsl:param name="showUnprintable" select="1"/>
   <xsl:param name="showFrames" select="1"/>
   <xsl:param name="showMargins" select="0"/>
   <xsl:param name="defaultVBox" select="true()"/>
+  <xsl:param name="defaultSpatium" select="1.5875"/>
 
   <!--
     Global: MuseScore instruments file.
@@ -38,9 +37,10 @@
   <xsl:variable name="instruments" select="doc($instrumentsFile)"/>
 
   <!--
-    Global: MuseScore style file.
+    Global: MuseScore style file and parameters.
   -->
   <xsl:variable name="style" select="if ($styleFile) then doc($styleFile) else ()"/>
+  <xsl:variable name="spatium" select="if ($styleFile) then $style//Spatium else $defaultSpatium"/>
 
   <!--
     Global: Document root.
@@ -136,6 +136,7 @@
   -->
   <xsl:template match="score-part">
     <Part>
+      <xsl:variable name="part" select="current()"/>
       <xsl:variable name="staffIds" select="accumulator-after('staffIds')(@id)"/>
       <xsl:for-each select="$staffIds">
         <xsl:variable name="staff" select="position()"/>
@@ -143,6 +144,18 @@
           <xsl:attribute name="id"><xsl:value-of select="."/></xsl:attribute>
           <StaffType group="pitched">
             <name>stdNormal</name>
+            <xsl:if test="$root//part[@id = $part/@id]//attributes/clef/@print-object = 'no'">
+              <clef>0</clef>
+            </xsl:if>
+            <xsl:if test="$root//part[@id = $part/@id]//attributes/time/@print-object = 'no'">
+              <timesig>0</timesig>
+            </xsl:if>
+            <xsl:if test="$root//part[@id = $part/@id]//attributes/staff-details/staff-lines = 0">
+              <invisible>1</invisible>
+            </xsl:if>
+            <xsl:if test="$root//part[@id = $part/@id]//attributes/key/@print-object = 'no'">
+              <keysig>0</keysig>
+            </xsl:if>
           </StaffType>
           <xsl:if test="count($staffIds) &gt; 1 and $staff = 1">
             <bracket type="1" col="1">
@@ -150,6 +163,9 @@
             </bracket>
             <barLineSpan><xsl:value-of select="count($staffIds)"/></barLineSpan>
           </xsl:if>
+          <xsl:if test="$root//part[@id = $part/@id]//attributes/staff-details/staff-lines = 0">
+            <invisible>1</invisible>
+          </xsl:if>
         </Staff>
       </xsl:for-each>
       <trackName><xsl:value-of select="part-name"/></trackName>
@@ -194,7 +210,7 @@
     Template: Staff > VBox.
   -->
   <xsl:template name="vbox">
-    <xsl:if test="$root//credit or $defaultVBox">
+    <xsl:if test="$root//credit or ($defaultVBox and ($root//movement-title or $root//work/work-title))">
       <VBox>
         <height>10</height><!-- TODO -->
         <xsl:choose>
@@ -248,6 +264,13 @@
   -->
   <xsl:template match="measure">
     <xsl:param name="staff"/>
+    <xsl:if test="number(.//system-layout//left-margin) != 0">
+      <HBox>
+        <width>
+          <xsl:value-of select="format-number(mscx:tenthsToMillimeters(number(.//system-layout//left-margin)) div $spatium, '0.00')"/>
+        </width>
+      </HBox>
+    </xsl:if>
     <Measure>
       <xsl:attribute name="number"><xsl:value-of select="@number"/></xsl:attribute>
       <xsl:if test="following-sibling::measure[1]/print[@new-system = 'yes']">
@@ -265,12 +288,12 @@
       <xsl:for-each select="distinct-values(note[staff = $staff or not(staff)]/voice)">
         <xsl:variable name="voice" select="."/>
         <voice>
+          <xsl:apply-templates select="$measure/barline[@location = 'left']"/>
           <xsl:if test="position() = 1">
             <xsl:apply-templates select="$measure/attributes/clef[@number = $staff or not(@number)]"/>
             <xsl:apply-templates select="$measure/attributes/key[@number = $staff or not(@number)]"/>
             <xsl:apply-templates select="$measure/attributes/time[@number = $staff or not(@number)]"/>
           </xsl:if>
-          <xsl:apply-templates select="$measure/barline[@location = 'left']"/>
           <xsl:apply-templates select="$measure/note[
             (staff = $staff or not(staff)) and
             voice = $voice and
@@ -283,6 +306,13 @@
         </voice>
       </xsl:for-each>
     </Measure>
+    <xsl:if test="number(.//system-layout//right-margin) != 0">
+      <HBox>
+        <width>
+          <xsl:value-of select="format-number(mscx:tenthsToMillimeters(number(.//system-layout//right-margin)) div $spatium, '0.00')"/>
+        </width>
+      </HBox>
+    </xsl:if>
   </xsl:template>
 
   <!--
@@ -339,6 +369,7 @@
   <xsl:template match="barline">
     <BarLine>
       <xsl:choose>
+        <xsl:when test="repeat and @location = 'left'"><visible>0</visible></xsl:when>
         <xsl:when test="bar-style = 'dashed'"><xsl:message>[barline] Unhandled bar style '<xsl:value-of select="bar-style"/>'</xsl:message></xsl:when>
         <xsl:when test="bar-style = 'dotted'"><xsl:message>[barline] Unhandled bar style '<xsl:value-of select="bar-style"/>'</xsl:message></xsl:when>
         <xsl:when test="bar-style = 'heavy'"><xsl:message>[barline] Unhandled bar style '<xsl:value-of select="bar-style"/>'</xsl:message></xsl:when>
@@ -355,10 +386,49 @@
     </BarLine>
   </xsl:template>
 
+  <xsl:template match="barline[ending]" mode="noteSibling">
+    <Spanner type="Volta">
+      <xsl:choose>
+        <xsl:when test="ending/@type = 'start'">
+          <xsl:variable name="end" select="((ancestor::measure, ancestor::measure/following-sibling::measure)/barline[
+            ending[@type = ('stop', 'discontinue') and @number = current()/ending/@number]
+          ])[1]"/>
+          <Volta>
+            <endHookType><xsl:value-of select="if ($end/ending/@type = 'stop') then 1 else 0"/></endHookType>
+            <beginText><xsl:value-of select="ending/text()"/></beginText>
+            <endings><xsl:value-of select="ending/@number"/></endings>
+          </Volta>
+          <next>
+            <xsl:call-template name="location">
+              <xsl:with-param name="start" select="."/>
+              <xsl:with-param name="end" select="$end"/>
+              <xsl:with-param name="sign" select="1"/>
+              <xsl:with-param name="fraction" select="false()"/>
+            </xsl:call-template>
+          </next>
+        </xsl:when>
+        <xsl:when test="ending/@type = ('stop', 'discontinue')">
+          <prev>
+            <xsl:variable name="start" select="((ancestor::measure, ancestor::measure/preceding-sibling::measure)/barline[
+              ending[@type = 'start' and @number = current()/ending/@number]
+            ])[last()]"/>
+            <xsl:call-template name="location">
+              <xsl:with-param name="start" select="$start"/>
+              <xsl:with-param name="end" select="."/>
+              <xsl:with-param name="sign" select="-1"/>
+              <xsl:with-param name="fraction" select="false()"/>
+            </xsl:call-template>
+          </prev>
+        </xsl:when>
+        <xsl:otherwise><xsl:message>[ending] Unhandled type '<xsl:value-of select="ending/@type"/>'.</xsl:message></xsl:otherwise>
+      </xsl:choose>
+    </Spanner>
+  </xsl:template>
+
   <!--
     Template: Measure > Rehersal Mark.
   -->
-  <xsl:template match="direction[direction-type/rehearsal]">
+  <xsl:template match="direction[direction-type/rehearsal]" mode="noteSibling">
     <RehearsalMark>
       <text>
         <xsl:call-template name="text">
@@ -371,7 +441,7 @@
   <!--
     Template: Measure > Harmony.
   -->
-  <xsl:template match="harmony">
+  <xsl:template match="harmony" mode="noteSibling">
     <Harmony>
       <root><xsl:value-of select="mscx:noteToTpc(root)"/></root>
       <name><xsl:value-of select="kind/@text"/></name>
@@ -391,11 +461,11 @@
 
     <!-- Place previous measure's tailing directives at the head of this measure. -->
     <xsl:if test="not(preceding-sibling::note)">
-      <xsl:apply-templates select="musicxml:followingMeasureElements((ancestor::measure/preceding-sibling::measure/note[not(chord)])[last()])[not(local-name(.) = ('attributes', 'barline'))]"/>
+      <xsl:apply-templates select="musicxml:followingMeasureElements((ancestor::measure/preceding-sibling::measure/note[not(chord)])[last()])[not(local-name(.) = ('attributes'))]" mode="noteSibling"/>
     </xsl:if>
 
     <!-- Note directives. -->
-    <xsl:apply-templates select="musicxml:precedingMeasureElements(.)[not(local-name(.) = ('attributes', 'barline'))]"/>
+    <xsl:apply-templates select="musicxml:precedingMeasureElements(.)[not(local-name(.) = ('attributes'))]" mode="noteSibling"/>
 
     <!-- Tuplet -->
     <xsl:if test="notations/tuplet[@type = 'start']">
@@ -486,7 +556,7 @@
   <!--
     Template: Note > Dynamics.
   -->
-  <xsl:template match="direction[sound[@dynamics]]">
+  <xsl:template match="direction[sound[@dynamics]]" mode="noteSibling">
     <Dynamic>
       <xsl:if test="direction-type/dynamics">
         <subtype><xsl:value-of select="direction-type/dynamics/local-name(*[1])"/></subtype>
@@ -494,6 +564,7 @@
       <velocity><xsl:value-of select="round(number(sound/@dynamics) * 90 div 100)"/></velocity>
     </Dynamic>
   </xsl:template>
+
   <xsl:template match="sound[@dynamics]">
     <Dynamic>
       <velocity><xsl:value-of select="round(number(@dynamics) * 90 div 100)"/></velocity>
@@ -503,7 +574,7 @@
   <!--
     Template: Note > Tempo.
   -->
-  <xsl:template match="direction[sound[@tempo]]">
+  <xsl:template match="direction[sound[@tempo]]" mode="noteSibling">
     <Tempo>
       <tempo><xsl:value-of select="sound/@tempo div 60"/></tempo>
       <followText>1</followText>
@@ -522,6 +593,7 @@
       </text>
     </Tempo>
   </xsl:template>
+
   <xsl:template match="sound[@tempo]">
     <Tempo>
       <tempo><xsl:value-of select="@tempo div 60"/></tempo>
@@ -533,7 +605,7 @@
   <!--
     Template: Note > Words.
   -->
-  <xsl:template match="direction[direction-type/words]">
+  <xsl:template match="direction[direction-type/words]" mode="noteSibling">
     <StaffText>
       <text><xsl:call-template name="text"><xsl:with-param name="node" select="direction-type/words"/></xsl:call-template></text>
     </StaffText>
@@ -544,7 +616,7 @@
 
     Only handle last directive to avoid confusing MuseScore.
   -->
-  <xsl:template match="backup | forward">
+  <xsl:template match="backup | forward" mode="noteSibling">
     <xsl:if test="following-sibling::note/(preceding-sibling::backup | preceding-sibling::forward)[last()]/generate-id() = generate-id()">
       <location>
         <fractions>
@@ -575,7 +647,7 @@
   <!--
     Template: Note > Wedge
   -->
-  <xsl:template match="direction[direction-type/wedge]">
+  <xsl:template match="direction[direction-type/wedge]" mode="noteSibling">
     <Spanner type="HairPin">
       <xsl:choose>
         <xsl:when test="direction-type/wedge/@type = ('crescendo', 'diminuendo')">
@@ -585,28 +657,30 @@
           </HairPin>
           <next>
             <xsl:variable name="end" select="((ancestor::measure, ancestor::measure/following-sibling::measure)/direction[
-              direction-type/wedge[@type = 'stop' and (not(@number) or @number = current()/@number)]
+              direction-type/wedge[@type = 'stop' and (not(@number) or @number = current()/direction-type/wedge/@number)]
             ])[1]"/>
             <xsl:call-template name="location">
               <xsl:with-param name="start" select="."/>
               <xsl:with-param name="end" select="$end"/>
               <xsl:with-param name="sign" select="1"/>
+              <xsl:with-param name="fraction" select="true()"/>
             </xsl:call-template>
           </next>
         </xsl:when>
         <xsl:when test="direction-type/wedge/@type = 'stop'">
           <prev>
             <xsl:variable name="start" select="((ancestor::measure, ancestor::measure/preceding-sibling::measure)/direction[
-              (direction-type/wedge[@type = ('crescendo', 'diminuendo') and (not(@number) or @number = current()/direction-type/wedge/@number)])
+              direction-type/wedge[@type = ('crescendo', 'diminuendo') and (not(@number) or @number = current()/direction-type/wedge/@number)]
             ])[last()]"/>
             <xsl:call-template name="location">
               <xsl:with-param name="start" select="$start"/>
               <xsl:with-param name="end" select="."/>
               <xsl:with-param name="sign" select="-1"/>
+              <xsl:with-param name="fraction" select="true()"/>
             </xsl:call-template>
           </prev>
         </xsl:when>
-        <xsl:otherwise><xsl:message>[<xsl:value-of select="wedge"/>] Unhandled type '<xsl:value-of select="direction-type/wedge/@type"/>'.</xsl:message></xsl:otherwise>
+        <xsl:otherwise><xsl:message>[wedge] Unhandled type '<xsl:value-of select="direction-type/wedge/@type"/>'.</xsl:message></xsl:otherwise>
       </xsl:choose>
     </Spanner>
   </xsl:template>
@@ -644,6 +718,7 @@
               <xsl:with-param name="start" select="ancestor::note"/>
               <xsl:with-param name="end" select="$end"/>
               <xsl:with-param name="sign" select="1"/>
+              <xsl:with-param name="fraction" select="true()"/>
             </xsl:call-template>
           </next>
         </xsl:when>
@@ -658,6 +733,7 @@
               <xsl:with-param name="start" select="$start"/>
               <xsl:with-param name="end" select="ancestor::note"/>
               <xsl:with-param name="sign" select="-1"/>
+              <xsl:with-param name="fraction" select="true()"/>
             </xsl:call-template>
           </prev>
         </xsl:when>
@@ -794,30 +870,40 @@
     <xsl:param name="start"/>
     <xsl:param name="end"/>
     <xsl:param name="sign" as="xs:integer"/>
+    <xsl:param name="fraction" as="xs:boolean"/>
     <location>
       <xsl:choose>
         <xsl:when test="generate-id($end/ancestor::measure) = generate-id($start/ancestor::measure)">
-          <xsl:variable name="notes" select="$end/preceding-sibling::note[
-            preceding-sibling::*[generate-id(.) = generate-id($start)] or
-            generate-id(.) = generate-id($start)
-          ]"/>
-          <fractions>
-            <xsl:value-of select="$sign * sum(for-each($notes, function($note) { musicxml:accumulatorAfter('noteDuration', $note) }))"/>
-            <xsl:text>/</xsl:text>
-            <xsl:value-of select="musicxml:accumulatorAfter('measureDuration', $start/ancestor::measure)"/>
-          </fractions>
+          <measures>
+            <xsl:value-of select="$sign"/>
+          </measures>
+          <xsl:if test="$fraction">
+            <xsl:variable name="notes" select="$end/preceding-sibling::note[
+              preceding-sibling::*[generate-id(.) = generate-id($start)] or
+              generate-id(.) = generate-id($start)
+            ]"/>
+            <fractions>
+              <xsl:value-of select="$sign * sum(for-each($notes, function($note) { musicxml:accumulatorAfter('noteDuration', $note) }))"/>
+              <xsl:text>/</xsl:text>
+              <xsl:value-of select="musicxml:accumulatorAfter('measureDuration', $start/ancestor::measure)"/>
+            </fractions>
+          </xsl:if>
         </xsl:when>
         <xsl:otherwise>
+          <xsl:variable name="ms" select="$start/(ancestor::measure, ancestor::measure/following-sibling::measure)"/>
+          <xsl:variable name="me" select="$end/(ancestor::measure, ancestor::measure/preceding-sibling::measure)"/>
           <measures>
-            <xsl:value-of select="count($start/ancestor::measure/following-sibling::measure[generate-id(.) != generate-id($end/ancestor::measure)]) + 1"/>
+            <xsl:value-of select="$sign * count($ms[count(.|$me) = count($me)])"/>
           </measures>
-          <xsl:variable name="notesStart" select="($start/following-sibling::note, $start[local-name()='note'])"/>
-          <xsl:variable name="notesEnd" select="$end/preceding-sibling::note"/>
-          <fractions>
-            <xsl:value-of select="$sign * sum(for-each(($notesStart, $notesEnd), function($note) { musicxml:accumulatorAfter('noteDuration', $note) }))"/>
-            <xsl:text>/</xsl:text>
-            <xsl:value-of select="musicxml:accumulatorAfter('measureDuration', $end/ancestor::measure)"/>
-          </fractions>
+          <xsl:if test="$fraction">
+            <xsl:variable name="notesStart" select="($start[self::note], $start/following-sibling::note)"/>
+            <xsl:variable name="notesEnd" select="$end/preceding-sibling::note"/>
+            <fractions>
+              <xsl:value-of select="$sign * sum(for-each(($notesStart, $notesEnd), function($note) { musicxml:accumulatorAfter('noteDuration', $note) }))"/>
+              <xsl:text>/</xsl:text>
+              <xsl:value-of select="musicxml:accumulatorAfter('measureDuration', $end/ancestor::measure)"/>
+            </fractions>
+          </xsl:if>
         </xsl:otherwise>
       </xsl:choose>
     </location>
@@ -834,18 +920,10 @@
       <xsl:otherwise>
         <Style>
           <xsl:if test="//defaults/page-layout/page-width">
-            <pageWidth><xsl:value-of select="format-number(mscx:tenthsToInches(
-              number(//defaults/page-layout/page-width),
-              if (//defaults/scaling) then number(//defaults/scaling/millimeters) else $scalingMillimeters,
-              if (//defaults/scaling) then number(//defaults/scaling/tenths) else $scalingTenths
-            ), '0.00')"/></pageWidth>
+            <pageWidth><xsl:value-of select="format-number(mscx:tenthsToInches(number(//defaults/page-layout/page-width)), '0.00')"/></pageWidth>
           </xsl:if>
           <xsl:if test="//defaults/page-layout/page-height">
-            <pageHeight><xsl:value-of select="format-number(mscx:tenthsToInches(
-              number(//defaults/page-layout/page-height),
-              if (//defaults/scaling) then number(//defaults/scaling/millimeters) else $scalingMillimeters,
-              if (//defaults/scaling) then number(//defaults/scaling/tenths) else $scalingTenths
-            ), '0.00')"/></pageHeight>
+            <pageHeight><xsl:value-of select="format-number(mscx:tenthsToInches(number(//defaults/page-layout/page-height)), '0.00')"/></pageHeight>
           </xsl:if>
           <!-- TODO Derive those from MusicXML or make them global params. -->
           <pagePrintableWidth>7.5</pagePrintableWidth>
@@ -900,7 +978,7 @@
           <user10FontSize>8.25</user10FontSize>
           <user11FontSize>8.25</user11FontSize>
           <user12FontSize>8.25</user12FontSize>
-          <Spatium>1.5875</Spatium>
+          <Spatium><xsl:value-of select="$defaultSpatium"/></Spatium>
         </Style>
       </xsl:otherwise>
     </xsl:choose>
@@ -920,15 +998,11 @@
   -->
   <xsl:function name="mscx:tenthsToMillimeters" as="xs:double">
     <xsl:param name="value" as="xs:double"/>
-    <xsl:param name="scalingMillimeters" as="xs:double"/>
-    <xsl:param name="scalingTenths" as="xs:double"/>
-    <xsl:sequence select="$value * $scalingMillimeters div $scalingTenths"/>
+    <xsl:sequence select="$value * musicxml:accumulatorAfter('scalingMillimeters', $root) div musicxml:accumulatorAfter('scalingTenths', $root)"/>
   </xsl:function>
   <xsl:function name="mscx:tenthsToInches" as="xs:double">
     <xsl:param name="value" as="xs:double"/>
-    <xsl:param name="scalingMillimeters" as="xs:double"/>
-    <xsl:param name="scalingTenths" as="xs:double"/>
-    <xsl:sequence select="mscx:tenthsToMillimeters($value, $scalingMillimeters, $scalingTenths) div 25.4"/>
+    <xsl:sequence select="mscx:tenthsToMillimeters($value) div 25.4"/>
   </xsl:function>
 
   <!--
diff --git a/test/data/9-20-special.musicxml b/test/data/9-20-special.musicxml
index 343b67e..4058198 100644
--- a/test/data/9-20-special.musicxml
+++ b/test/data/9-20-special.musicxml
@@ -7,8 +7,8 @@
   <identification>
     <creator type="composer">Earl Warren</creator>
     <encoding>
-      <software>@infojunkie/ireal-musicxml 1.14.0</software>
-      <encoding-date>2024-10-19</encoding-date>
+      <software>@infojunkie/ireal-musicxml 2.0.2</software>
+      <encoding-date>2024-10-26</encoding-date>
       <supports element="accidental" type="no"/>
       <supports element="transpose" type="no"/>
       <supports attribute="new-page" element="print" type="yes" value="yes"/>
@@ -108,7 +108,7 @@
         <kind text="m6" use-symbols="no">minor-sixth</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -134,7 +134,7 @@
         <kind text="9" use-symbols="no">dominant-ninth</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -160,7 +160,7 @@
         <kind text="m6" use-symbols="no">minor-sixth</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -213,7 +213,7 @@
         <kind text="7" use-symbols="no">dominant</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -294,7 +294,7 @@
         <kind text="9" use-symbols="no">dominant-ninth</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
         <ending number="1" type="start">1.</ending>
       </barline>
       <note>
@@ -321,7 +321,7 @@
         <kind text="7" use-symbols="no">dominant</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -422,7 +422,7 @@
         <kind text="7" use-symbols="no">dominant</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -461,7 +461,7 @@
     <measure number="11">
       <print new-system="yes"/>
       <barline location="left">
-        <bar-style>light-light</bar-style>
+        <bar-style>regular</bar-style>
       </barline>
       <direction placement="above">
         <direction-type>
@@ -498,7 +498,7 @@
         <kind text="7" use-symbols="no">dominant</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -524,7 +524,7 @@
         <kind text="6" use-symbols="no">major-sixth</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -550,7 +550,7 @@
         <kind text="6" use-symbols="no">major-sixth</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -603,7 +603,7 @@
         <kind text="7" use-symbols="no">dominant</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -629,7 +629,7 @@
         <kind text="7" use-symbols="no">dominant</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -655,7 +655,7 @@
         <kind text="7" use-symbols="no">dominant</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -676,7 +676,7 @@
     <measure number="19">
       <print new-system="yes"/>
       <barline location="left">
-        <bar-style>light-light</bar-style>
+        <bar-style>regular</bar-style>
       </barline>
       <direction placement="above">
         <direction-type>
@@ -713,7 +713,7 @@
         <kind text="m6" use-symbols="no">minor-sixth</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -739,7 +739,7 @@
         <kind text="9" use-symbols="no">dominant-ninth</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -765,7 +765,7 @@
         <kind text="m6" use-symbols="no">minor-sixth</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -818,7 +818,7 @@
         <kind text="7" use-symbols="no">dominant</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -899,7 +899,7 @@
         <kind text="9" use-symbols="no">dominant-ninth</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -925,7 +925,7 @@
         <kind text="7" use-symbols="no">dominant</kind>
       </harmony>
       <barline location="left">
-        <bar-style>regular</bar-style>
+        <bar-style>none</bar-style>
       </barline>
       <note>
         <cue/>
@@ -962,4 +962,4 @@
       </barline>
     </measure>
   </part>
-</score-partwise>
\ No newline at end of file
+</score-partwise>
diff --git a/test/mscx.spec.mjs b/test/mscx.spec.mjs
new file mode 100644
index 0000000..7744ed4
--- /dev/null
+++ b/test/mscx.spec.mjs
@@ -0,0 +1,50 @@
+import assert from 'node:assert';
+import { describe, it } from 'node:test';
+import fs from 'fs';
+import SaxonJS from 'saxon-js';
+
+async function convert(file, params = {}) {
+  const score = SaxonJS.transform({
+    stylesheetFileName: 'build/mscx.sef.json',
+    sourceFileName: `test/data/${file}.musicxml`,
+    destination: 'serialized',
+    stylesheetParams: params,
+  });
+  fs.writeFileSync(`test/output/${file}.mscx`, score.principalResult);
+  return await SaxonJS.getResource({
+    type: 'xml',
+    encoding: 'utf8',
+    text: score.principalResult,
+  });
+}
+
+describe('MusicXML to MuseScore converter', () => {
+  it('should create a valid, complete and correct file for tutorial-chopin-prelude', async () => {
+    const doc = await convert('tutorial-chopin-prelude');
+    const valid = SaxonJS.XPath.evaluate(
+      'boolean(/museScore/Score)',
+      doc,
+    );
+    assert(valid);
+  });
+
+  it('should create a valid, complete and correct file for tutorial-apres-un-reve', async () => {
+    const doc = await convert('tutorial-apres-un-reve');
+    const valid = SaxonJS.XPath.evaluate(
+      'boolean(/museScore/Score)',
+      doc,
+    );
+    assert(valid);
+  });
+
+  it('should create a valid, complete and correct file for 9-20-special', async () => {
+    const doc = await convert('9-20-special', {
+      styleFile: 'lead-sheet.mss'
+    });
+    const valid = SaxonJS.XPath.evaluate(
+      'boolean(/museScore/Score)',
+      doc,
+    );
+    assert(valid);
+  });
+});
diff --git a/test/data/output/.gitkeep b/test/output/.gitkeep
similarity index 100%
rename from test/data/output/.gitkeep
rename to test/output/.gitkeep
diff --git a/test/output/9-20-special.mscx b/test/output/9-20-special.mscx
new file mode 100644
index 0000000..5d222c5
--- /dev/null
+++ b/test/output/9-20-special.mscx
@@ -0,0 +1,1910 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<museScore version="3.02">
+   <Score>
+      <LayerTag id="0" tag="default"/>
+      <currentLayer>0</currentLayer>
+      <Division>768</Division>
+      <Style>
+         <pageWidth>8.26772</pageWidth>
+         <pageHeight>11.6929</pageHeight>
+         <pagePrintableWidth>7.48031</pagePrintableWidth>
+         <pageEvenLeftMargin>0.393701</pageEvenLeftMargin>
+         <pageOddLeftMargin>0.393701</pageOddLeftMargin>
+         <pageEvenTopMargin>0.393701</pageEvenTopMargin>
+         <pageEvenBottomMargin>0.787402</pageEvenBottomMargin>
+         <pageOddTopMargin>0.393701</pageOddTopMargin>
+         <pageOddBottomMargin>0.787402</pageOddBottomMargin>
+         <pageTwosided>1</pageTwosided>
+         <staffUpperBorder>7</staffUpperBorder>
+         <staffLowerBorder>7</staffLowerBorder>
+         <staffDistance>6.5</staffDistance>
+         <akkoladeDistance>6.5</akkoladeDistance>
+         <minSystemDistance>8.5</minSystemDistance>
+         <maxSystemDistance>15</maxSystemDistance>
+         <lyricsPlacement>1</lyricsPlacement>
+         <lyricsPosAbove x="0" y="-2"/>
+         <lyricsPosBelow x="0" y="3"/>
+         <lyricsMinTopDistance>1</lyricsMinTopDistance>
+         <lyricsMinBottomDistance>2</lyricsMinBottomDistance>
+         <lyricsMinDistance>0</lyricsMinDistance>
+         <lyricsLineHeight>1</lyricsLineHeight>
+         <lyricsDashMinLength>0.4</lyricsDashMinLength>
+         <lyricsDashMaxLegth>0.8</lyricsDashMaxLegth>
+         <lyricsDashMaxDistance>16</lyricsDashMaxDistance>
+         <lyricsDashForce>1</lyricsDashForce>
+         <lyricsAlignVerseNumber>1</lyricsAlignVerseNumber>
+         <lyricsLineThickness>0.1</lyricsLineThickness>
+         <lyricsMelismaPad>0.1</lyricsMelismaPad>
+         <lyricsDashPad>0.05</lyricsDashPad>
+         <lyricsDashLineThickness>0.15</lyricsDashLineThickness>
+         <lyricsDashYposRatio>0.67</lyricsDashYposRatio>
+         <lyricsOddFontFace>FreeSerif</lyricsOddFontFace>
+         <lyricsOddFontSize>11</lyricsOddFontSize>
+         <lyricsOddFontSpatiumDependent>1</lyricsOddFontSpatiumDependent>
+         <lyricsOddFontStyle>0</lyricsOddFontStyle>
+         <lyricsOddColor r="0" g="0" b="0" a="255"/>
+         <lyricsOddFrameType>0</lyricsOddFrameType>
+         <lyricsOddFramePadding>0.2</lyricsOddFramePadding>
+         <lyricsOddFrameWidth>0.1</lyricsOddFrameWidth>
+         <lyricsOddFrameRound>0</lyricsOddFrameRound>
+         <lyricsOddFrameFgColor r="0" g="0" b="0" a="255"/>
+         <lyricsOddFrameBgColor r="255" g="255" b="255" a="0"/>
+         <lyricsEvenFontFace>FreeSerif</lyricsEvenFontFace>
+         <lyricsEvenFontSize>11</lyricsEvenFontSize>
+         <lyricsEvenFontSpatiumDependent>1</lyricsEvenFontSpatiumDependent>
+         <lyricsEvenFontStyle>0</lyricsEvenFontStyle>
+         <lyricsEvenColor r="0" g="0" b="0" a="255"/>
+         <lyricsEvenFrameType>0</lyricsEvenFrameType>
+         <lyricsEvenFramePadding>0.2</lyricsEvenFramePadding>
+         <lyricsEvenFrameWidth>0.1</lyricsEvenFrameWidth>
+         <lyricsEvenFrameRound>0</lyricsEvenFrameRound>
+         <lyricsEvenFrameFgColor r="0" g="0" b="0" a="255"/>
+         <lyricsEvenFrameBgColor r="255" g="255" b="255" a="0"/>
+         <figuredBassFontFamily>MScoreBC</figuredBassFontFamily>
+         <figuredBassYOffset>6</figuredBassYOffset>
+         <figuredBassLineHeight>1</figuredBassLineHeight>
+         <figuredBassAlignment>0</figuredBassAlignment>
+         <figuredBassStyle>0</figuredBassStyle>
+         <systemFrameDistance>7</systemFrameDistance>
+         <frameSystemDistance>7</frameSystemDistance>
+         <minMeasureWidth>5</minMeasureWidth>
+         <barWidth>0.16</barWidth>
+         <doubleBarWidth>0.16</doubleBarWidth>
+         <endBarWidth>0.5</endBarWidth>
+         <doubleBarDistance>0.56</doubleBarDistance>
+         <endBarDistance>0.73</endBarDistance>
+         <repeatBarlineDotSeparation>0.63</repeatBarlineDotSeparation>
+         <repeatBarTips>0</repeatBarTips>
+         <startBarlineSingle>1</startBarlineSingle>
+         <startBarlineMultiple>1</startBarlineMultiple>
+         <bracketWidth>0.45</bracketWidth>
+         <bracketDistance>0.1</bracketDistance>
+         <akkoladeWidth>1.6</akkoladeWidth>
+         <akkoladeBarDistance>0.4</akkoladeBarDistance>
+         <dividerLeft>0</dividerLeft>
+         <dividerLeftSym>systemDivider</dividerLeftSym>
+         <dividerLeftX>0</dividerLeftX>
+         <dividerLeftY>0</dividerLeftY>
+         <dividerRight>0</dividerRight>
+         <dividerRightSym>systemDivider</dividerRightSym>
+         <dividerRightX>0</dividerRightX>
+         <dividerRightY>0</dividerRightY>
+         <clefLeftMargin>0.8</clefLeftMargin>
+         <keysigLeftMargin>0.5</keysigLeftMargin>
+         <ambitusMargin>0.5</ambitusMargin>
+         <timesigLeftMargin>0.5</timesigLeftMargin>
+         <timesigScale w="1" h="1"/>
+         <midClefKeyRightMargin>1</midClefKeyRightMargin>
+         <clefKeyRightMargin>0.8</clefKeyRightMargin>
+         <clefKeyDistance>1</clefKeyDistance>
+         <clefTimesigDistance>1</clefTimesigDistance>
+         <keyTimesigDistance>1</keyTimesigDistance>
+         <keyBarlineDistance>1</keyBarlineDistance>
+         <systemHeaderDistance>2.5</systemHeaderDistance>
+         <systemHeaderTimeSigDistance>2</systemHeaderTimeSigDistance>
+         <clefBarlineDistance>0.5</clefBarlineDistance>
+         <timesigBarlineDistance>0.5</timesigBarlineDistance>
+         <stemWidth>0.13</stemWidth>
+         <shortenStem>1</shortenStem>
+         <shortStemProgression>0.25</shortStemProgression>
+         <shortestStem>2.25</shortestStem>
+         <beginRepeatLeftMargin>1</beginRepeatLeftMargin>
+         <minNoteDistance>0.25</minNoteDistance>
+         <barNoteDistance>1</barNoteDistance>
+         <barAccidentalDistance>0.3</barAccidentalDistance>
+         <multiMeasureRestMargin>1.2</multiMeasureRestMargin>
+         <noteBarDistance>1</noteBarDistance>
+         <measureSpacing>1.2</measureSpacing>
+         <staffLineWidth>0.08</staffLineWidth>
+         <ledgerLineWidth>0.16</ledgerLineWidth>
+         <ledgerLineLength>0.6</ledgerLineLength>
+         <accidentalDistance>0.22</accidentalDistance>
+         <accidentalNoteDistance>0.22</accidentalNoteDistance>
+         <beamWidth>0.5</beamWidth>
+         <beamDistance>0.5</beamDistance>
+         <beamMinLen>1.32</beamMinLen>
+         <beamNoSlope>0</beamNoSlope>
+         <dotMag>1</dotMag>
+         <dotNoteDistance>0.35</dotNoteDistance>
+         <dotRestDistance>0.25</dotRestDistance>
+         <dotDotDistance>0.5</dotDotDistance>
+         <propertyDistanceHead>1</propertyDistanceHead>
+         <propertyDistanceStem>1.8</propertyDistanceStem>
+         <propertyDistance>1</propertyDistance>
+         <articulationMag>1</articulationMag>
+         <articulationPosAbove x="0" y="0"/>
+         <articulationAnchorDefault>2</articulationAnchorDefault>
+         <articulationAnchorLuteFingering>4</articulationAnchorLuteFingering>
+         <articulationAnchorOther>0</articulationAnchorOther>
+         <lastSystemFillLimit>0.3</lastSystemFillLimit>
+         <hairpinPlacement>1</hairpinPlacement>
+         <hairpinPosAbove x="0" y="-3.5"/>
+         <hairpinPosBelow x="0" y="3.5"/>
+         <hairpinLinePosAbove x="0" y="-3"/>
+         <hairpinLinePosBelow x="0" y="4"/>
+         <hairpinHeight>1.2</hairpinHeight>
+         <hairpinContHeight>0.5</hairpinContHeight>
+         <hairpinWidth>0.13</hairpinWidth>
+         <hairpinFontFace>FreeSerif</hairpinFontFace>
+         <hairpinFontSize>12</hairpinFontSize>
+         <hairpinFontSpatiumDependent>1</hairpinFontSpatiumDependent>
+         <hairpinFontStyle>2</hairpinFontStyle>
+         <hairpinColor r="0" g="0" b="0" a="255"/>
+         <hairpinFrameType>0</hairpinFrameType>
+         <hairpinFramePadding>0.2</hairpinFramePadding>
+         <hairpinFrameWidth>0.1</hairpinFrameWidth>
+         <hairpinFrameRound>0</hairpinFrameRound>
+         <hairpinFrameFgColor r="0" g="0" b="0" a="255"/>
+         <hairpinFrameBgColor r="255" g="255" b="255" a="0"/>
+         <hairpinText/>
+         <hairpinCrescText>cresc.</hairpinCrescText>
+         <hairpinDecrescText>dim.</hairpinDecrescText>
+         <hairpinCrescContText>(cresc.)</hairpinCrescContText>
+         <hairpinDecrescContText>(dim.)</hairpinDecrescContText>
+         <hairpinLineStyle>1</hairpinLineStyle>
+         <hairpinLineLineStyle>6</hairpinLineLineStyle>
+         <pedalPlacement>1</pedalPlacement>
+         <pedalPosAbove x="0" y="-4"/>
+         <pedalPosBelow x="0" y="4"/>
+         <pedalLineWidth>0.15</pedalLineWidth>
+         <pedalListStyle>1</pedalListStyle>
+         <pedalBeginTextOffset x="0" y="0.15"/>
+         <pedalHookHeight>-1.2</pedalHookHeight>
+         <pedalFontFace>FreeSerif</pedalFontFace>
+         <pedalFontSize>12</pedalFontSize>
+         <pedalFontSpatiumDependent>1</pedalFontSpatiumDependent>
+         <pedalFontStyle>0</pedalFontStyle>
+         <pedalColor r="0" g="0" b="0" a="255"/>
+         <pedalFrameType>0</pedalFrameType>
+         <pedalFramePadding>0.2</pedalFramePadding>
+         <pedalFrameWidth>0.1</pedalFrameWidth>
+         <pedalFrameRound>0</pedalFrameRound>
+         <pedalFrameFgColor r="0" g="0" b="0" a="255"/>
+         <pedalFrameBgColor r="255" g="255" b="255" a="0"/>
+         <trillPlacement>0</trillPlacement>
+         <trillPosAbove x="0" y="-1"/>
+         <trillPosBelow x="0" y="1"/>
+         <vibratoPlacement>0</vibratoPlacement>
+         <vibratoPosAbove x="0" y="-1"/>
+         <vibratoPosBelow x="0" y="1"/>
+         <harmonyFretDist>1</harmonyFretDist>
+         <minHarmonyDistance>0.5</minHarmonyDistance>
+         <maxHarmonyBarDistance>3</maxHarmonyBarDistance>
+         <maxChordShiftAbove>0</maxChordShiftAbove>
+         <maxChordShiftBelow>0</maxChordShiftBelow>
+         <harmonyPlacement>0</harmonyPlacement>
+         <romanNumeralPlacement>1</romanNumeralPlacement>
+         <nashvilleNumberPlacement>0</nashvilleNumberPlacement>
+         <harmonyPlay>1</harmonyPlay>
+         <harmonyVoiceLiteral>1</harmonyVoiceLiteral>
+         <harmonyVoicing>0</harmonyVoicing>
+         <harmonyDuration>0</harmonyDuration>
+         <chordSymbolPosAbove x="0" y="-2.5"/>
+         <chordSymbolPosBelow x="0" y="3.5"/>
+         <chordSymbolBPosAbove x="0" y="-5"/>
+         <chordSymbolBPosBelow x="0" y="3.5"/>
+         <romanNumeralPosAbove x="0" y="-2.5"/>
+         <romanNumeralPosBelow x="0" y="3.5"/>
+         <nashvilleNumberPosAbove x="0" y="-2.5"/>
+         <nashvilleNumberPosBelow x="0" y="3.5"/>
+         <chordSymbolAFontFace>FreeSerif</chordSymbolAFontFace>
+         <chordSymbolAFontSize>18</chordSymbolAFontSize>
+         <chordSymbolAFontSpatiumDependent>1</chordSymbolAFontSpatiumDependent>
+         <chordSymbolAFontStyle>0</chordSymbolAFontStyle>
+         <chordSymbolAColor r="0" g="0" b="0" a="255"/>
+         <chordSymbolAFrameType>0</chordSymbolAFrameType>
+         <chordSymbolAFramePadding>0.2</chordSymbolAFramePadding>
+         <chordSymbolAFrameWidth>0.1</chordSymbolAFrameWidth>
+         <chordSymbolAFrameRound>0</chordSymbolAFrameRound>
+         <chordSymbolAFrameFgColor r="0" g="0" b="0" a="255"/>
+         <chordSymbolAFrameBgColor r="255" g="255" b="255" a="0"/>
+         <chordSymbolBFontFace>FreeSerif</chordSymbolBFontFace>
+         <chordSymbolBFontSize>12</chordSymbolBFontSize>
+         <chordSymbolBFontSpatiumDependent>1</chordSymbolBFontSpatiumDependent>
+         <chordSymbolBFontStyle>2</chordSymbolBFontStyle>
+         <chordSymbolBColor r="0" g="0" b="0" a="255"/>
+         <chordSymbolBFrameType>0</chordSymbolBFrameType>
+         <chordSymbolBFramePadding>0.2</chordSymbolBFramePadding>
+         <chordSymbolBFrameWidth>0.1</chordSymbolBFrameWidth>
+         <chordSymbolBFrameRound>0</chordSymbolBFrameRound>
+         <chordSymbolBFrameFgColor r="0" g="0" b="0" a="255"/>
+         <chordSymbolBFrameBgColor r="255" g="255" b="255" a="0"/>
+         <romanNumeralFontFace>Campania</romanNumeralFontFace>
+         <romanNumeralFontSize>12</romanNumeralFontSize>
+         <romanNumeralFontSpatiumDependent>1</romanNumeralFontSpatiumDependent>
+         <romanNumeralFontStyle>0</romanNumeralFontStyle>
+         <romanNumeralColor r="0" g="0" b="0" a="255"/>
+         <romanNumeralFrameType>0</romanNumeralFrameType>
+         <romanNumeralFramePadding>0.2</romanNumeralFramePadding>
+         <romanNumeralFrameWidth>0.1</romanNumeralFrameWidth>
+         <romanNumeralFrameRound>0</romanNumeralFrameRound>
+         <romanNumeralFrameFgColor r="0" g="0" b="0" a="255"/>
+         <romanNumeralFrameBgColor r="255" g="255" b="255" a="0"/>
+         <nashvilleNumberFontFace>FreeSerif</nashvilleNumberFontFace>
+         <nashvilleNumberFontSize>12</nashvilleNumberFontSize>
+         <nashvilleNumberFontSpatiumDependent>1</nashvilleNumberFontSpatiumDependent>
+         <nashvilleNumberFontStyle>0</nashvilleNumberFontStyle>
+         <nashvilleNumberColor r="0" g="0" b="0" a="255"/>
+         <nashvilleNumberFrameType>0</nashvilleNumberFrameType>
+         <nashvilleNumberFramePadding>0.2</nashvilleNumberFramePadding>
+         <nashvilleNumberFrameWidth>0.1</nashvilleNumberFrameWidth>
+         <nashvilleNumberFrameRound>0</nashvilleNumberFrameRound>
+         <nashvilleNumberFrameFgColor r="0" g="0" b="0" a="255"/>
+         <nashvilleNumberFrameBgColor r="255" g="255" b="255" a="0"/>
+         <capoPosition>0</capoPosition>
+         <fretNumMag>2</fretNumMag>
+         <fretNumPos>0</fretNumPos>
+         <fretY>1</fretY>
+         <fretMinDistance>0.5</fretMinDistance>
+         <fretMag>1</fretMag>
+         <fretPlacement>0</fretPlacement>
+         <fretStrings>6</fretStrings>
+         <fretFrets>5</fretFrets>
+         <fretNut>1</fretNut>
+         <fretDotSize>1</fretDotSize>
+         <fretStringSpacing>0.7</fretStringSpacing>
+         <fretFretSpacing>0.8</fretFretSpacing>
+         <fretOrientation>0</fretOrientation>
+         <maxFretShiftAbove>0</maxFretShiftAbove>
+         <maxFretShiftBelow>0</maxFretShiftBelow>
+         <showPageNumber>1</showPageNumber>
+         <showPageNumberOne>0</showPageNumberOne>
+         <pageNumberOddEven>1</pageNumberOddEven>
+         <showMeasureNumber>0</showMeasureNumber>
+         <showMeasureNumberOne>0</showMeasureNumberOne>
+         <measureNumberInterval>5</measureNumberInterval>
+         <measureNumberSystem>1</measureNumberSystem>
+         <measureNumberAllStaffs>0</measureNumberAllStaffs>
+         <smallNoteMag>0.7</smallNoteMag>
+         <graceNoteMag>0.7</graceNoteMag>
+         <smallStaffMag>0.7</smallStaffMag>
+         <smallClefMag>0.8</smallClefMag>
+         <genClef>0</genClef>
+         <genKeysig>0</genKeysig>
+         <genCourtesyTimesig>1</genCourtesyTimesig>
+         <genCourtesyKeysig>1</genCourtesyKeysig>
+         <genCourtesyClef>1</genCourtesyClef>
+         <swingRatio>60</swingRatio>
+         <swingUnit/>
+         <useStandardNoteNames>0</useStandardNoteNames>
+         <useGermanNoteNames>0</useGermanNoteNames>
+         <useFullGermanNoteNames>0</useFullGermanNoteNames>
+         <useSolfeggioNoteNames>0</useSolfeggioNoteNames>
+         <useFrenchNoteNames>0</useFrenchNoteNames>
+         <automaticCapitalization>1</automaticCapitalization>
+         <lowerCaseMinorChords>0</lowerCaseMinorChords>
+         <lowerCaseBassNotes>0</lowerCaseBassNotes>
+         <allCapsNoteNames>0</allCapsNoteNames>
+         <chordStyle>jazz</chordStyle>
+         <chordsXmlFile>0</chordsXmlFile>
+         <chordDescriptionFile>chords_jazz.xml</chordDescriptionFile>
+         <chordExtensionMag>1</chordExtensionMag>
+         <chordExtensionAdjust>0</chordExtensionAdjust>
+         <chordModifierMag>1</chordModifierMag>
+         <chordModifierAdjust>0</chordModifierAdjust>
+         <concertPitch>0</concertPitch>
+         <createMultiMeasureRests>0</createMultiMeasureRests>
+         <minEmptyMeasures>2</minEmptyMeasures>
+         <minMMRestWidth>4</minMMRestWidth>
+         <mmRestNumberPos>-1.5</mmRestNumberPos>
+         <hideEmptyStaves>0</hideEmptyStaves>
+         <dontHidStavesInFirstSystm>1</dontHidStavesInFirstSystm>
+         <alwaysShowBracketsWhenEmptyStavesAreHidden>0</alwaysShowBracketsWhenEmptyStavesAreHidden>
+         <hideInstrumentNameIfOneInstrument>1</hideInstrumentNameIfOneInstrument>
+         <gateTime>100</gateTime>
+         <tenutoGateTime>100</tenutoGateTime>
+         <staccatoGateTime>50</staccatoGateTime>
+         <slurGateTime>100</slurGateTime>
+         <ArpeggioNoteDistance>0.5</ArpeggioNoteDistance>
+         <ArpeggioLineWidth>0.18</ArpeggioLineWidth>
+         <ArpeggioHookLen>0.8</ArpeggioHookLen>
+         <ArpeggioHiddenInStdIfTab>0</ArpeggioHiddenInStdIfTab>
+         <slurEndWidth>0.07</slurEndWidth>
+         <slurMidWidth>0.15</slurMidWidth>
+         <slurDottedWidth>0.1</slurDottedWidth>
+         <minTieLength>1</minTieLength>
+         <slurMinDistance>0.5</slurMinDistance>
+         <sectionPause>3</sectionPause>
+         <musicalSymbolFont>Emmentaler</musicalSymbolFont>
+         <musicalTextFont>MScore Text</musicalTextFont>
+         <showHeader>0</showHeader>
+         <headerFirstPage>0</headerFirstPage>
+         <headerOddEven>1</headerOddEven>
+         <evenHeaderL/>
+         <evenHeaderC/>
+         <evenHeaderR/>
+         <oddHeaderL/>
+         <oddHeaderC/>
+         <oddHeaderR/>
+         <showFooter>1</showFooter>
+         <footerFirstPage>1</footerFirstPage>
+         <footerOddEven>1</footerOddEven>
+         <evenFooterL>$p</evenFooterL>
+         <evenFooterC>$:copyright:</evenFooterC>
+         <evenFooterR/>
+         <oddFooterL/>
+         <oddFooterC>$:copyright:</oddFooterC>
+         <oddFooterR>$p</oddFooterR>
+         <voltaPosAbove x="0" y="-3"/>
+         <voltaHook>1.9</voltaHook>
+         <voltaLineWidth>0.1</voltaLineWidth>
+         <voltaLineStyle>1</voltaLineStyle>
+         <voltaFontFace>FreeSerif</voltaFontFace>
+         <voltaFontSize>11</voltaFontSize>
+         <voltaFontSpatiumDependent>1</voltaFontSpatiumDependent>
+         <voltaFontStyle>1</voltaFontStyle>
+         <voltaColor r="0" g="0" b="0" a="255"/>
+         <voltaOffset x="0.5" y="1.9"/>
+         <voltaFrameType>0</voltaFrameType>
+         <voltaFramePadding>0.2</voltaFramePadding>
+         <voltaFrameWidth>0.1</voltaFrameWidth>
+         <voltaFrameRound>0</voltaFrameRound>
+         <voltaFrameFgColor r="0" g="0" b="0" a="255"/>
+         <voltaFrameBgColor r="255" g="255" b="255" a="0"/>
+         <ottava8VAPlacement>0</ottava8VAPlacement>
+         <ottava8VBPlacement>1</ottava8VBPlacement>
+         <ottava15MAPlacement>0</ottava15MAPlacement>
+         <ottava15MBPlacement>1</ottava15MBPlacement>
+         <ottava22MAPlacement>0</ottava22MAPlacement>
+         <ottava22MBPlacement>1</ottava22MBPlacement>
+         <ottava8VAText>&lt;sym&gt;ottavaAlta&lt;/sym&gt;</ottava8VAText>
+         <ottava8VAContinueText>&lt;sym&gt;ottavaAlta&lt;/sym&gt;</ottava8VAContinueText>
+         <ottava8VBText>&lt;sym&gt;ottavaBassa&lt;/sym&gt;</ottava8VBText>
+         <ottava8VBContinueText>&lt;sym&gt;ottavaBassa&lt;/sym&gt;</ottava8VBContinueText>
+         <ottava15MAText>&lt;sym&gt;quindicesimaAlta&lt;/sym&gt;</ottava15MAText>
+         <ottava15MAContinueText>&lt;sym&gt;quindicesimaAlta&lt;/sym&gt;</ottava15MAContinueText>
+         <ottava15MBText>&lt;sym&gt;quindicesimaBassa&lt;/sym&gt;</ottava15MBText>
+         <ottava15MBContinueText>&lt;sym&gt;quindicesimaBassa&lt;/sym&gt;</ottava15MBContinueText>
+         <ottava22MAText>&lt;sym&gt;ventiduesimaAlta&lt;/sym&gt;</ottava22MAText>
+         <ottava22MAContinueText>&lt;sym&gt;ventiduesimaAlta&lt;/sym&gt;</ottava22MAContinueText>
+         <ottava22MBText>&lt;sym&gt;ventiduesimaBassa&lt;/sym&gt;</ottava22MBText>
+         <ottava22MBContinueText>&lt;sym&gt;ventiduesimaBassa&lt;/sym&gt;</ottava22MBContinueText>
+         <ottava8VAnoText>&lt;sym&gt;ottava&lt;/sym&gt;</ottava8VAnoText>
+         <ottava8VAnoContinueText>&lt;sym&gt;ottava&lt;/sym&gt;</ottava8VAnoContinueText>
+         <ottava8VBnoText>&lt;sym&gt;ottava&lt;/sym&gt;</ottava8VBnoText>
+         <ottava8VBnoContinueText>&lt;sym&gt;ottava&lt;/sym&gt;</ottava8VBnoContinueText>
+         <ottava15MAnoText>&lt;sym&gt;quindicesima&lt;/sym&gt;</ottava15MAnoText>
+         <ottava15MAnoContinueText>&lt;sym&gt;quindicesima&lt;/sym&gt;</ottava15MAnoContinueText>
+         <ottava15MBnoText>&lt;sym&gt;quindicesima&lt;/sym&gt;</ottava15MBnoText>
+         <ottava15MBnoContinueText>&lt;sym&gt;quindicesima&lt;/sym&gt;</ottava15MBnoContinueText>
+         <ottava22MAnoText>&lt;sym&gt;ventiduesima&lt;/sym&gt;</ottava22MAnoText>
+         <ottava22MAnoContinueText>&lt;sym&gt;ventiduesima&lt;/sym&gt;</ottava22MAnoContinueText>
+         <ottava22MBnoText>&lt;sym&gt;ventiduesima&lt;/sym&gt;</ottava22MBnoText>
+         <ottava22MBnoContinueText>&lt;sym&gt;ventiduesima&lt;/sym&gt;</ottava22MBnoContinueText>
+         <ottavaPosAbove x="0" y="-3"/>
+         <ottavaPosBelow x="0" y="3"/>
+         <ottavaHookAbove>1.9</ottavaHookAbove>
+         <ottavaHookBelow>-1.9</ottavaHookBelow>
+         <ottavaLineWidth>0.1</ottavaLineWidth>
+         <ottavaLineStyle>2</ottavaLineStyle>
+         <ottavaNumbersOnly>1</ottavaNumbersOnly>
+         <ottavaFontFace>FreeSerif</ottavaFontFace>
+         <ottavaFontSize>10</ottavaFontSize>
+         <ottavaFontSpatiumDependent>1</ottavaFontSpatiumDependent>
+         <ottavaFontStyle>0</ottavaFontStyle>
+         <ottavaColor r="0" g="0" b="0" a="255"/>
+         <ottavaFrameType>0</ottavaFrameType>
+         <ottavaFramePadding>0.2</ottavaFramePadding>
+         <ottavaFrameWidth>0.1</ottavaFrameWidth>
+         <ottavaFrameRound>0</ottavaFrameRound>
+         <ottavaFrameFgColor r="0" g="0" b="0" a="255"/>
+         <ottavaFrameBgColor r="255" g="255" b="255" a="0"/>
+         <tabClef>31</tabClef>
+         <tremoloWidth>1.2</tremoloWidth>
+         <tremoloBoxHeight>0.65</tremoloBoxHeight>
+         <tremoloLineWidth>0.5</tremoloLineWidth>
+         <tremoloDistance>0.8</tremoloDistance>
+         <tremoloPlacement>0</tremoloPlacement>
+         <tremoloStrokeStyle>0</tremoloStrokeStyle>
+         <linearStretch>1.5</linearStretch>
+         <crossMeasureValues>0</crossMeasureValues>
+         <keySigNaturals>0</keySigNaturals>
+         <tupletMaxSlope>0.5</tupletMaxSlope>
+         <tupletOufOfStaff>1</tupletOufOfStaff>
+         <tupletVHeadDistance>0.5</tupletVHeadDistance>
+         <tupletVStemDistance>0.25</tupletVStemDistance>
+         <tupletStemLeftDistance>0.5</tupletStemLeftDistance>
+         <tupletStemRightDistance>0.5</tupletStemRightDistance>
+         <tupletNoteLeftDistance>0</tupletNoteLeftDistance>
+         <tupletNoteRightDistance>0</tupletNoteRightDistance>
+         <tupletBracketWidth>0.1</tupletBracketWidth>
+         <tupletDirection>0</tupletDirection>
+         <tupletNumberType>0</tupletNumberType>
+         <tupletBracketType>0</tupletBracketType>
+         <tupletFontFace>FreeSerif</tupletFontFace>
+         <tupletFontSize>10</tupletFontSize>
+         <tupletFontSpatiumDependent>1</tupletFontSpatiumDependent>
+         <tupletFontStyle>2</tupletFontStyle>
+         <tupletColor r="0" g="0" b="0" a="255"/>
+         <tupletBracketHookHeight>1</tupletBracketHookHeight>
+         <tupletOffset x="0" y="0"/>
+         <tupletFrameType>0</tupletFrameType>
+         <tupletFramePadding>0.2</tupletFramePadding>
+         <tupletFrameWidth>0.1</tupletFrameWidth>
+         <tupletFrameRound>0</tupletFrameRound>
+         <tupletFrameFgColor r="0" g="0" b="0" a="255"/>
+         <tupletFrameBgColor r="255" g="255" b="255" a="0"/>
+         <barreLineWidth>1</barreLineWidth>
+         <scaleBarlines>1</scaleBarlines>
+         <barGraceDistance>0.6</barGraceDistance>
+         <minVerticalDistance>0.5</minVerticalDistance>
+         <ornamentStyle>0</ornamentStyle>
+         <autoplaceHairpinDynamicsDistance>0.5</autoplaceHairpinDynamicsDistance>
+         <dynamicsPlacement>1</dynamicsPlacement>
+         <dynamicsPosAbove x="0" y="-3"/>
+         <dynamicsPosBelow x="0" y="4"/>
+         <dynamicsMinDistance>0.5</dynamicsMinDistance>
+         <autoplaceVerticalAlignRange>2</autoplaceVerticalAlignRange>
+         <textLinePlacement>0</textLinePlacement>
+         <textLinePosAbove x="0" y="-1"/>
+         <textLinePosBelow x="0" y="1"/>
+         <textLineFrameType>0</textLineFrameType>
+         <textLineFramePadding>0.2</textLineFramePadding>
+         <textLineFrameWidth>0.1</textLineFrameWidth>
+         <textLineFrameRound>0</textLineFrameRound>
+         <textLineFrameFgColor r="0" g="0" b="0" a="255"/>
+         <textLineFrameBgColor r="255" g="255" b="255" a="0"/>
+         <tremoloBarLineWidth>0.12</tremoloBarLineWidth>
+         <jumpPosAbove x="0" y="-2"/>
+         <markerPosAbove x="0" y="-2"/>
+         <defaultFontFace>FreeSerif</defaultFontFace>
+         <defaultFontSize>10</defaultFontSize>
+         <defaultFontSpatiumDependent>1</defaultFontSpatiumDependent>
+         <defaultFontStyle>0</defaultFontStyle>
+         <defaultColor r="0" g="0" b="0" a="255"/>
+         <defaultFrameType>0</defaultFrameType>
+         <defaultFramePadding>0.2</defaultFramePadding>
+         <defaultFrameWidth>0.1</defaultFrameWidth>
+         <defaultFrameRound>0</defaultFrameRound>
+         <defaultFrameFgColor r="0" g="0" b="0" a="255"/>
+         <defaultFrameBgColor r="255" g="255" b="255" a="0"/>
+         <defaultOffset x="0" y="0"/>
+         <defaultOffsetType>1</defaultOffsetType>
+         <defaultSystemFlag>0</defaultSystemFlag>
+         <defaultText/>
+         <titleFontFace>FreeSerif</titleFontFace>
+         <titleFontSize>24</titleFontSize>
+         <titleFontSpatiumDependent>0</titleFontSpatiumDependent>
+         <titleFontStyle>0</titleFontStyle>
+         <titleColor r="0" g="0" b="0" a="255"/>
+         <titleOffset x="0" y="0"/>
+         <titleOffsetType>0</titleOffsetType>
+         <titleFrameType>0</titleFrameType>
+         <titleFramePadding>0.2</titleFramePadding>
+         <titleFrameWidth>0.1</titleFrameWidth>
+         <titleFrameRound>0</titleFrameRound>
+         <titleFrameFgColor r="0" g="0" b="0" a="255"/>
+         <titleFrameBgColor r="255" g="255" b="255" a="0"/>
+         <subTitleFontFace>FreeSerif</subTitleFontFace>
+         <subTitleFontSize>14</subTitleFontSize>
+         <subTitleFontSpatiumDependent>0</subTitleFontSpatiumDependent>
+         <subTitleFontStyle>0</subTitleFontStyle>
+         <subTitleColor r="0" g="0" b="0" a="255"/>
+         <subTitleOffset x="0" y="10"/>
+         <subTitleOffsetType>0</subTitleOffsetType>
+         <subTitleFrameType>0</subTitleFrameType>
+         <subTitleFramePadding>0.2</subTitleFramePadding>
+         <subTitleFrameWidth>0.1</subTitleFrameWidth>
+         <subTitleFrameRound>0</subTitleFrameRound>
+         <subTitleFrameFgColor r="0" g="0" b="0" a="255"/>
+         <subTitleFrameBgColor r="255" g="255" b="255" a="0"/>
+         <composerFontFace>FreeSerif</composerFontFace>
+         <composerFontSize>12</composerFontSize>
+         <composerFontSpatiumDependent>0</composerFontSpatiumDependent>
+         <composerFontStyle>0</composerFontStyle>
+         <composerColor r="0" g="0" b="0" a="255"/>
+         <composerOffset x="0" y="0"/>
+         <composerOffsetType>0</composerOffsetType>
+         <composerFrameType>0</composerFrameType>
+         <composerFramePadding>0.2</composerFramePadding>
+         <composerFrameWidth>0.1</composerFrameWidth>
+         <composerFrameRound>0</composerFrameRound>
+         <composerFrameFgColor r="0" g="0" b="0" a="255"/>
+         <composerFrameBgColor r="255" g="255" b="255" a="0"/>
+         <lyricistFontFace>FreeSerif</lyricistFontFace>
+         <lyricistFontSize>12</lyricistFontSize>
+         <lyricistFontSpatiumDependent>0</lyricistFontSpatiumDependent>
+         <lyricistFontStyle>0</lyricistFontStyle>
+         <lyricistColor r="0" g="0" b="0" a="255"/>
+         <lyricistOffset x="0" y="0"/>
+         <lyricistOffsetType>0</lyricistOffsetType>
+         <lyricistFrameType>0</lyricistFrameType>
+         <lyricistFramePadding>0.2</lyricistFramePadding>
+         <lyricistFrameWidth>0.1</lyricistFrameWidth>
+         <lyricistFrameRound>0</lyricistFrameRound>
+         <lyricistFrameFgColor r="0" g="0" b="0" a="255"/>
+         <lyricistFrameBgColor r="255" g="255" b="255" a="0"/>
+         <fingeringFontFace>FreeSerif</fingeringFontFace>
+         <fingeringFontSize>8</fingeringFontSize>
+         <fingeringFontSpatiumDependent>1</fingeringFontSpatiumDependent>
+         <fingeringFontStyle>0</fingeringFontStyle>
+         <fingeringColor r="0" g="0" b="0" a="255"/>
+         <fingeringFrameType>0</fingeringFrameType>
+         <fingeringFramePadding>0.2</fingeringFramePadding>
+         <fingeringFrameWidth>0.1</fingeringFrameWidth>
+         <fingeringFrameRound>0</fingeringFrameRound>
+         <fingeringFrameFgColor r="0" g="0" b="0" a="255"/>
+         <fingeringFrameBgColor r="255" g="255" b="255" a="0"/>
+         <fingeringOffset x="0" y="0"/>
+         <lhGuitarFingeringFontFace>FreeSerif</lhGuitarFingeringFontFace>
+         <lhGuitarFingeringFontSize>8</lhGuitarFingeringFontSize>
+         <lhGuitarFingeringFontSpatiumDependent>1</lhGuitarFingeringFontSpatiumDependent>
+         <lhGuitarFingeringFontStyle>0</lhGuitarFingeringFontStyle>
+         <lhGuitarFingeringColor r="0" g="0" b="0" a="255"/>
+         <lhGuitarFingeringFrameType>0</lhGuitarFingeringFrameType>
+         <lhGuitarFingeringFramePadding>0.2</lhGuitarFingeringFramePadding>
+         <lhGuitarFingeringFrameWidth>0.1</lhGuitarFingeringFrameWidth>
+         <lhGuitarFingeringFrameRound>0</lhGuitarFingeringFrameRound>
+         <lhGuitarFingeringFrameFgColor r="0" g="0" b="0" a="255"/>
+         <lhGuitarFingeringFrameBgColor r="255" g="255" b="255" a="0"/>
+         <lhGuitarFingeringOffset x="-0.5" y="0"/>
+         <rhGuitarFingeringFontFace>FreeSerif</rhGuitarFingeringFontFace>
+         <rhGuitarFingeringFontSize>8</rhGuitarFingeringFontSize>
+         <rhGuitarFingeringFontSpatiumDependent>1</rhGuitarFingeringFontSpatiumDependent>
+         <rhGuitarFingeringFontStyle>0</rhGuitarFingeringFontStyle>
+         <rhGuitarFingeringColor r="0" g="0" b="0" a="255"/>
+         <rhGuitarFingeringFrameType>0</rhGuitarFingeringFrameType>
+         <rhGuitarFingeringFramePadding>0.2</rhGuitarFingeringFramePadding>
+         <rhGuitarFingeringFrameWidth>0.1</rhGuitarFingeringFrameWidth>
+         <rhGuitarFingeringFrameRound>0</rhGuitarFingeringFrameRound>
+         <rhGuitarFingeringFrameFgColor r="0" g="0" b="0" a="255"/>
+         <rhGuitarFingeringFrameBgColor r="255" g="255" b="255" a="0"/>
+         <rhGuitarFingeringOffset x="0" y="0"/>
+         <stringNumberFontFace>FreeSerif</stringNumberFontFace>
+         <stringNumberFontSize>8</stringNumberFontSize>
+         <stringNumberFontSpatiumDependent>1</stringNumberFontSpatiumDependent>
+         <stringNumberFontStyle>0</stringNumberFontStyle>
+         <stringNumberColor r="0" g="0" b="0" a="255"/>
+         <stringNumberFrameType>2</stringNumberFrameType>
+         <stringNumberFramePadding>0.2</stringNumberFramePadding>
+         <stringNumberFrameWidth>0.1</stringNumberFrameWidth>
+         <stringNumberFrameRound>0</stringNumberFrameRound>
+         <stringNumberFrameFgColor r="0" g="0" b="0" a="255"/>
+         <stringNumberFrameBgColor r="255" g="255" b="255" a="0"/>
+         <stringNumberOffset x="0" y="0"/>
+         <longInstrumentFontFace>FreeSerif</longInstrumentFontFace>
+         <longInstrumentFontSize>12</longInstrumentFontSize>
+         <longInstrumentFontSpatiumDependent>1</longInstrumentFontSpatiumDependent>
+         <longInstrumentFontStyle>0</longInstrumentFontStyle>
+         <longInstrumentColor r="0" g="0" b="0" a="255"/>
+         <longInstrumentOffset x="0" y="0"/>
+         <longInstrumentFrameType>0</longInstrumentFrameType>
+         <longInstrumentFramePadding>0.2</longInstrumentFramePadding>
+         <longInstrumentFrameWidth>0.1</longInstrumentFrameWidth>
+         <longInstrumentFrameRound>0</longInstrumentFrameRound>
+         <longInstrumentFrameFgColor r="0" g="0" b="0" a="255"/>
+         <longInstrumentFrameBgColor r="255" g="255" b="255" a="0"/>
+         <shortInstrumentFontFace>FreeSerif</shortInstrumentFontFace>
+         <shortInstrumentFontSize>12</shortInstrumentFontSize>
+         <shortInstrumentFontSpatiumDependent>1</shortInstrumentFontSpatiumDependent>
+         <shortInstrumentFontStyle>0</shortInstrumentFontStyle>
+         <shortInstrumentColor r="0" g="0" b="0" a="255"/>
+         <shortInstrumentOffset x="0" y="0"/>
+         <shortInstrumentFrameType>0</shortInstrumentFrameType>
+         <shortInstrumentFramePadding>0.2</shortInstrumentFramePadding>
+         <shortInstrumentFrameWidth>0.1</shortInstrumentFrameWidth>
+         <shortInstrumentFrameRound>0</shortInstrumentFrameRound>
+         <shortInstrumentFrameFgColor r="0" g="0" b="0" a="255"/>
+         <shortInstrumentFrameBgColor r="255" g="255" b="255" a="0"/>
+         <partInstrumentFontFace>FreeSerif</partInstrumentFontFace>
+         <partInstrumentFontSize>18</partInstrumentFontSize>
+         <partInstrumentFontSpatiumDependent>0</partInstrumentFontSpatiumDependent>
+         <partInstrumentFontStyle>0</partInstrumentFontStyle>
+         <partInstrumentColor r="0" g="0" b="0" a="255"/>
+         <partInstrumentOffset x="0" y="0"/>
+         <partInstrumentFrameType>0</partInstrumentFrameType>
+         <partInstrumentFramePadding>0.2</partInstrumentFramePadding>
+         <partInstrumentFrameWidth>0.1</partInstrumentFrameWidth>
+         <partInstrumentFrameRound>0</partInstrumentFrameRound>
+         <partInstrumentFrameFgColor r="0" g="0" b="0" a="255"/>
+         <partInstrumentFrameBgColor r="255" g="255" b="255" a="0"/>
+         <dynamicsFontFace>FreeSerif</dynamicsFontFace>
+         <dynamicsFontSize>12</dynamicsFontSize>
+         <dynamicsFontSpatiumDependent>1</dynamicsFontSpatiumDependent>
+         <dynamicsFontStyle>2</dynamicsFontStyle>
+         <dynamicsColor r="0" g="0" b="0" a="255"/>
+         <dynamicsFrameType>0</dynamicsFrameType>
+         <dynamicsFramePadding>0.2</dynamicsFramePadding>
+         <dynamicsFrameWidth>0.1</dynamicsFrameWidth>
+         <dynamicsFrameRound>0</dynamicsFrameRound>
+         <dynamicsFrameFgColor r="0" g="0" b="0" a="255"/>
+         <dynamicsFrameBgColor r="255" g="255" b="255" a="0"/>
+         <expressionFontFace>FreeSerif</expressionFontFace>
+         <expressionFontSize>11</expressionFontSize>
+         <expressionFontSpatiumDependent>1</expressionFontSpatiumDependent>
+         <expressionFontStyle>2</expressionFontStyle>
+         <expressionColor r="0" g="0" b="0" a="255"/>
+         <expressionPlacement>1</expressionPlacement>
+         <expressionOffset x="0" y="3.5"/>
+         <expressionFrameType>0</expressionFrameType>
+         <expressionFramePadding>0.2</expressionFramePadding>
+         <expressionFrameWidth>0.1</expressionFrameWidth>
+         <expressionFrameRound>0</expressionFrameRound>
+         <expressionFrameFgColor r="0" g="0" b="0" a="255"/>
+         <expressionFrameBgColor r="255" g="255" b="255" a="0"/>
+         <tempoFontFace>FreeSerif</tempoFontFace>
+         <tempoFontSize>12</tempoFontSize>
+         <tempoFontSpatiumDependent>1</tempoFontSpatiumDependent>
+         <tempoFontStyle>1</tempoFontStyle>
+         <tempoColor r="0" g="0" b="0" a="255"/>
+         <tempoSystemFlag>1</tempoSystemFlag>
+         <tempoPlacement>0</tempoPlacement>
+         <tempoPosAbove x="0" y="-2"/>
+         <tempoPosBelow x="0" y="3"/>
+         <tempoMinDistance>0.5</tempoMinDistance>
+         <tempoFrameType>0</tempoFrameType>
+         <tempoFramePadding>0.2</tempoFramePadding>
+         <tempoFrameWidth>0.1</tempoFrameWidth>
+         <tempoFrameRound>0</tempoFrameRound>
+         <tempoFrameFgColor r="0" g="0" b="0" a="255"/>
+         <tempoFrameBgColor r="255" g="255" b="255" a="0"/>
+         <metronomeFontFace>FreeSerif</metronomeFontFace>
+         <metronomeFontSize>12</metronomeFontSize>
+         <metronomeFontSpatiumDependent>0</metronomeFontSpatiumDependent>
+         <metronomeFontStyle>1</metronomeFontStyle>
+         <metronomeColor r="0" g="0" b="0" a="255"/>
+         <metronomePlacement>0</metronomePlacement>
+         <metronomeOffset x="0" y="0"/>
+         <metronomeFrameType>0</metronomeFrameType>
+         <metronomeFramePadding>0.2</metronomeFramePadding>
+         <metronomeFrameWidth>0.1</metronomeFrameWidth>
+         <metronomeFrameRound>0</metronomeFrameRound>
+         <metronomeFrameFgColor r="0" g="0" b="0" a="255"/>
+         <metronomeFrameBgColor r="255" g="255" b="255" a="0"/>
+         <measureNumberFontFace>FreeSerif</measureNumberFontFace>
+         <measureNumberFontSize>8</measureNumberFontSize>
+         <measureNumberFontSpatiumDependent>1</measureNumberFontSpatiumDependent>
+         <measureNumberFontStyle>0</measureNumberFontStyle>
+         <measureNumberColor r="0" g="0" b="0" a="255"/>
+         <measureNumberOffset x="0" y="-2"/>
+         <measureNumberPosBelow x="0" y="2"/>
+         <measureNumberOffsetType>1</measureNumberOffsetType>
+         <measureNumberVPlacement>0</measureNumberVPlacement>
+         <measureNumberHPlacement>0</measureNumberHPlacement>
+         <measureNumberFrameType>0</measureNumberFrameType>
+         <measureNumberFramePadding>0.2</measureNumberFramePadding>
+         <measureNumberFrameWidth>0.1</measureNumberFrameWidth>
+         <measureNumberFrameRound>0</measureNumberFrameRound>
+         <measureNumberFrameFgColor r="0" g="0" b="0" a="255"/>
+         <measureNumberFrameBgColor r="255" g="255" b="255" a="0"/>
+         <translatorFontFace>FreeSerif</translatorFontFace>
+         <translatorFontSize>11</translatorFontSize>
+         <translatorFontSpatiumDependent>0</translatorFontSpatiumDependent>
+         <translatorFontStyle>0</translatorFontStyle>
+         <translatorColor r="0" g="0" b="0" a="255"/>
+         <translatorOffset x="0" y="0"/>
+         <translatorFrameType>0</translatorFrameType>
+         <translatorFramePadding>0.2</translatorFramePadding>
+         <translatorFrameWidth>0.1</translatorFrameWidth>
+         <translatorFrameRound>0</translatorFrameRound>
+         <translatorFrameFgColor r="0" g="0" b="0" a="255"/>
+         <translatorFrameBgColor r="255" g="255" b="255" a="0"/>
+         <systemFontFace>FreeSerif</systemFontFace>
+         <systemFontSize>10</systemFontSize>
+         <systemFontSpatiumDependent>1</systemFontSpatiumDependent>
+         <systemFontStyle>0</systemFontStyle>
+         <systemTextColor r="0" g="0" b="0" a="255"/>
+         <systemOffsetType>1</systemOffsetType>
+         <systemPlacement>0</systemPlacement>
+         <systemPosAbove x="0" y="-2"/>
+         <systemPosBelow x="0" y="3.5"/>
+         <systemMinDistance>0.5</systemMinDistance>
+         <systemFrameType>0</systemFrameType>
+         <systemFramePadding>0.2</systemFramePadding>
+         <systemFrameWidth>0.1</systemFrameWidth>
+         <systemFrameRound>0</systemFrameRound>
+         <systemFrameFgColor r="0" g="0" b="0" a="255"/>
+         <systemFrameBgColor r="255" g="255" b="255" a="0"/>
+         <staffFontFace>FreeSerif</staffFontFace>
+         <staffFontSize>10</staffFontSize>
+         <staffFontSpatiumDependent>1</staffFontSpatiumDependent>
+         <staffFontStyle>0</staffFontStyle>
+         <staffTextColor r="0" g="0" b="0" a="255"/>
+         <systemOffsetType>1</systemOffsetType>
+         <staffPlacement>0</staffPlacement>
+         <staffPosAbove x="0" y="-2"/>
+         <staffPosBelow x="0" y="3.5"/>
+         <staffMinDistance>0.5</staffMinDistance>
+         <staffFrameType>0</staffFrameType>
+         <staffFramePadding>0.2</staffFramePadding>
+         <staffFrameWidth>0.1</staffFrameWidth>
+         <staffFrameRound>0</staffFrameRound>
+         <staffFrameFgColor r="0" g="0" b="0" a="255"/>
+         <staffFrameBgColor r="255" g="255" b="255" a="0"/>
+         <rehearsalMarkFontFace>FreeSerif</rehearsalMarkFontFace>
+         <rehearsalMarkFontSize>14</rehearsalMarkFontSize>
+         <rehearsalMarkFontSpatiumDependent>1</rehearsalMarkFontSpatiumDependent>
+         <rehearsalMarkFontStyle>1</rehearsalMarkFontStyle>
+         <rehearsalMarkColor r="0" g="0" b="0" a="255"/>
+         <rehearsalMarkFrameType>1</rehearsalMarkFrameType>
+         <rehearsalMarkFramePadding>0.5</rehearsalMarkFramePadding>
+         <rehearsalMarkFrameWidth>0.2</rehearsalMarkFrameWidth>
+         <rehearsalMarkFrameRound>20</rehearsalMarkFrameRound>
+         <rehearsalMarkFrameFgColor r="0" g="0" b="0" a="255"/>
+         <rehearsalMarkFrameBgColor r="255" g="255" b="255" a="0"/>
+         <rehearsalMarkPlacement>0</rehearsalMarkPlacement>
+         <rehearsalMarkPosAbove x="0" y="-3"/>
+         <rehearsalMarkPosBelow x="0" y="4"/>
+         <rehearsalMarkMinDistance>0.5</rehearsalMarkMinDistance>
+         <repeatLeftFontFace>FreeSerif</repeatLeftFontFace>
+         <repeatLeftFontSize>20</repeatLeftFontSize>
+         <repeatLeftFontSpatiumDependent>1</repeatLeftFontSpatiumDependent>
+         <repeatLeftFontStyle>0</repeatLeftFontStyle>
+         <repeatLeftColor r="0" g="0" b="0" a="255"/>
+         <repeatLeftPlacement>0</repeatLeftPlacement>
+         <repeatLeftFrameType>0</repeatLeftFrameType>
+         <repeatLeftFramePadding>0.2</repeatLeftFramePadding>
+         <repeatLeftFrameWidth>0.1</repeatLeftFrameWidth>
+         <repeatLeftFrameRound>0</repeatLeftFrameRound>
+         <repeatLeftFrameFgColor r="0" g="0" b="0" a="255"/>
+         <repeatLeftFrameBgColor r="255" g="255" b="255" a="0"/>
+         <repeatRightFontFace>FreeSerif</repeatRightFontFace>
+         <repeatRightFontSize>12</repeatRightFontSize>
+         <repeatRightFontSpatiumDependent>1</repeatRightFontSpatiumDependent>
+         <repeatRightFontStyle>0</repeatRightFontStyle>
+         <repeatRightColor r="0" g="0" b="0" a="255"/>
+         <repeatRightPlacement>0</repeatRightPlacement>
+         <repeatRightFrameType>0</repeatRightFrameType>
+         <repeatRightFramePadding>0.2</repeatRightFramePadding>
+         <repeatRightFrameWidth>0.1</repeatRightFrameWidth>
+         <repeatRightFrameRound>0</repeatRightFrameRound>
+         <repeatRightFrameFgColor r="0" g="0" b="0" a="255"/>
+         <repeatRightFrameBgColor r="255" g="255" b="255" a="0"/>
+         <frameFontFace>FreeSerif</frameFontFace>
+         <frameFontSize>12</frameFontSize>
+         <frameFontSpatiumDependent>0</frameFontSpatiumDependent>
+         <frameFontStyle>0</frameFontStyle>
+         <frameColor r="0" g="0" b="0" a="255"/>
+         <frameOffset x="0" y="0"/>
+         <frameFrameType>0</frameFrameType>
+         <frameFramePadding>0.2</frameFramePadding>
+         <frameFrameWidth>0.1</frameFrameWidth>
+         <frameFrameRound>0</frameFrameRound>
+         <frameFrameFgColor r="0" g="0" b="0" a="255"/>
+         <frameFrameBgColor r="255" g="255" b="255" a="0"/>
+         <textLineFontFace>FreeSerif</textLineFontFace>
+         <textLineFontSize>12</textLineFontSize>
+         <textLineFontSpatiumDependent>1</textLineFontSpatiumDependent>
+         <textLineFontStyle>0</textLineFontStyle>
+         <textLineColor r="0" g="0" b="0" a="255"/>
+         <glissandoFontFace>FreeSerif</glissandoFontFace>
+         <glissandoFontSize>8</glissandoFontSize>
+         <glissandoFontSpatiumDependent>1</glissandoFontSpatiumDependent>
+         <glissandoFontStyle>2</glissandoFontStyle>
+         <glissandoColor r="0" g="0" b="0" a="255"/>
+         <glissandoOffset x="0" y="0"/>
+         <glissandoFrameType>0</glissandoFrameType>
+         <glissandoFramePadding>0.2</glissandoFramePadding>
+         <glissandoFrameWidth>0.1</glissandoFrameWidth>
+         <glissandoFrameRound>0</glissandoFrameRound>
+         <glissandoFrameFgColor r="0" g="0" b="0" a="255"/>
+         <glissandoFrameBgColor r="255" g="255" b="255" a="0"/>
+         <glissandoLineWidth>0.15</glissandoLineWidth>
+         <glissandoText>gliss.</glissandoText>
+         <bendFontFace>FreeSerif</bendFontFace>
+         <bendFontSize>8</bendFontSize>
+         <bendFontSpatiumDependent>1</bendFontSpatiumDependent>
+         <bendFontStyle>0</bendFontStyle>
+         <bendColor r="0" g="0" b="0" a="255"/>
+         <bendOffset x="0" y="0"/>
+         <bendFrameType>0</bendFrameType>
+         <bendFramePadding>0.2</bendFramePadding>
+         <bendFrameWidth>0.1</bendFrameWidth>
+         <bendFrameRound>0</bendFrameRound>
+         <bendFrameFgColor r="0" g="0" b="0" a="255"/>
+         <bendFrameBgColor r="255" g="255" b="255" a="0"/>
+         <bendLineWidth>0.15</bendLineWidth>
+         <bendArrowWidth>0.5</bendArrowWidth>
+         <headerFontFace>FreeSerif</headerFontFace>
+         <headerFontSize>8</headerFontSize>
+         <headerFontSpatiumDependent>0</headerFontSpatiumDependent>
+         <headerFontStyle>0</headerFontStyle>
+         <headerColor r="0" g="0" b="0" a="255"/>
+         <headerOffset x="0" y="0"/>
+         <headerFrameType>0</headerFrameType>
+         <headerFramePadding>0.2</headerFramePadding>
+         <headerFrameWidth>0.1</headerFrameWidth>
+         <headerFrameRound>0</headerFrameRound>
+         <headerFrameFgColor r="0" g="0" b="0" a="255"/>
+         <headerFrameBgColor r="255" g="255" b="255" a="0"/>
+         <footerFontFace>FreeSerif</footerFontFace>
+         <footerFontSize>8</footerFontSize>
+         <footerFontSpatiumDependent>0</footerFontSpatiumDependent>
+         <footerFontStyle>0</footerFontStyle>
+         <footerColor r="0" g="0" b="0" a="255"/>
+         <footerOffset x="0" y="5"/>
+         <footerFrameType>0</footerFrameType>
+         <footerFramePadding>0.2</footerFramePadding>
+         <footerFrameWidth>0.1</footerFrameWidth>
+         <footerFrameRound>0</footerFrameRound>
+         <footerFrameFgColor r="0" g="0" b="0" a="255"/>
+         <footerFrameBgColor r="255" g="255" b="255" a="0"/>
+         <instrumentChangeFontFace>FreeSerif</instrumentChangeFontFace>
+         <instrumentChangeFontSize>12</instrumentChangeFontSize>
+         <instrumentChangeFontSpatiumDependent>1</instrumentChangeFontSpatiumDependent>
+         <instrumentChangeFontStyle>1</instrumentChangeFontStyle>
+         <instrumentChangeColor r="0" g="0" b="0" a="255"/>
+         <instrumentChangeOffset x="0" y="0"/>
+         <instrumentChangePlacement>0</instrumentChangePlacement>
+         <instrumentChangePosAbove x="0" y="-2"/>
+         <instrumentChangePosBelow x="0" y="3.5"/>
+         <instrumentChangeMinDistance>0.5</instrumentChangeMinDistance>
+         <instrumentChangeFrameType>0</instrumentChangeFrameType>
+         <instrumentChangeFramePadding>0.2</instrumentChangeFramePadding>
+         <instrumentChangeFrameWidth>0.1</instrumentChangeFrameWidth>
+         <instrumentChangeFrameRound>0</instrumentChangeFrameRound>
+         <instrumentChangeFrameFgColor r="0" g="0" b="0" a="255"/>
+         <instrumentChangeFrameBgColor r="255" g="255" b="255" a="0"/>
+         <stickingFontFace>FreeSerif</stickingFontFace>
+         <stickingFontSize>12</stickingFontSize>
+         <stickingFontSpatiumDependent>1</stickingFontSpatiumDependent>
+         <stickingFontStyle>0</stickingFontStyle>
+         <stickingColor r="0" g="0" b="0" a="255"/>
+         <stickingOffset x="0" y="0"/>
+         <stickingPlacement>1</stickingPlacement>
+         <stickingPosAbove x="0" y="-2"/>
+         <stickingPosBelow x="0" y="2"/>
+         <stickingMinDistance>0.5</stickingMinDistance>
+         <stickingFrameType>0</stickingFrameType>
+         <stickingFramePadding>0.2</stickingFramePadding>
+         <stickingFrameWidth>0.1</stickingFrameWidth>
+         <stickingFrameRound>0</stickingFrameRound>
+         <stickingFrameFgColor r="0" g="0" b="0" a="255"/>
+         <stickingFrameBgColor r="255" g="255" b="255" a="0"/>
+         <figuredBassFontFace>MScoreBC</figuredBassFontFace>
+         <figuredBassFontSize>8</figuredBassFontSize>
+         <figuredBassFontSpatiumDependent>1</figuredBassFontSpatiumDependent>
+         <figuredBassFontStyle>0</figuredBassFontStyle>
+         <figuredBassColor r="0" g="0" b="0" a="255"/>
+         <user1Name/>
+         <user1FontFace>FreeSerif</user1FontFace>
+         <user1FontSize>10</user1FontSize>
+         <user1FontSpatiumDependent>1</user1FontSpatiumDependent>
+         <user1FontStyle>0</user1FontStyle>
+         <user1Color r="0" g="0" b="0" a="255"/>
+         <user1Offset x="0" y="0"/>
+         <user1OffsetType>1</user1OffsetType>
+         <user1FrameType>0</user1FrameType>
+         <user1FramePadding>0.2</user1FramePadding>
+         <user1FrameWidth>0.1</user1FrameWidth>
+         <user1FrameRound>0</user1FrameRound>
+         <user1FrameFgColor r="0" g="0" b="0" a="255"/>
+         <user1FrameBgColor r="255" g="255" b="255" a="0"/>
+         <user2Name/>
+         <user2FontFace>FreeSerif</user2FontFace>
+         <user2FontSize>10</user2FontSize>
+         <user2FontSpatiumDependent>1</user2FontSpatiumDependent>
+         <user2FontStyle>0</user2FontStyle>
+         <user2Color r="0" g="0" b="0" a="255"/>
+         <user2Offset x="0" y="0"/>
+         <user2OffsetType>1</user2OffsetType>
+         <user2FrameType>0</user2FrameType>
+         <user2FramePadding>0.2</user2FramePadding>
+         <user2FrameWidth>0.1</user2FrameWidth>
+         <user2FrameRound>0</user2FrameRound>
+         <user2FrameFgColor r="0" g="0" b="0" a="255"/>
+         <user2FrameBgColor r="255" g="255" b="255" a="0"/>
+         <user3Name/>
+         <user3FontFace>FreeSerif</user3FontFace>
+         <user3FontSize>10</user3FontSize>
+         <user3FontSpatiumDependent>1</user3FontSpatiumDependent>
+         <user3FontStyle>0</user3FontStyle>
+         <user3Color r="0" g="0" b="0" a="255"/>
+         <user3Offset x="0" y="0"/>
+         <user3OffsetType>1</user3OffsetType>
+         <user3FrameType>0</user3FrameType>
+         <user3FramePadding>0.2</user3FramePadding>
+         <user3FrameWidth>0.1</user3FrameWidth>
+         <user3FrameRound>0</user3FrameRound>
+         <user3FrameFgColor r="0" g="0" b="0" a="255"/>
+         <user3FrameBgColor r="255" g="255" b="255" a="0"/>
+         <user4Name/>
+         <user4FontFace>FreeSerif</user4FontFace>
+         <user4FontSize>10</user4FontSize>
+         <user4FontSpatiumDependent>1</user4FontSpatiumDependent>
+         <user4FontStyle>0</user4FontStyle>
+         <user4Color r="0" g="0" b="0" a="255"/>
+         <user4Offset x="0" y="0"/>
+         <user4OffsetType>1</user4OffsetType>
+         <user4FrameType>0</user4FrameType>
+         <user4FramePadding>0.2</user4FramePadding>
+         <user4FrameWidth>0.1</user4FrameWidth>
+         <user4FrameRound>0</user4FrameRound>
+         <user4FrameFgColor r="0" g="0" b="0" a="255"/>
+         <user4FrameBgColor r="255" g="255" b="255" a="0"/>
+         <user5Name/>
+         <user5FontFace>FreeSerif</user5FontFace>
+         <user5FontSize>10</user5FontSize>
+         <user5FontSpatiumDependent>1</user5FontSpatiumDependent>
+         <user5FontStyle>0</user5FontStyle>
+         <user5Color r="0" g="0" b="0" a="255"/>
+         <user5Offset x="0" y="0"/>
+         <user5OffsetType>1</user5OffsetType>
+         <user5FrameType>0</user5FrameType>
+         <user5FramePadding>0.2</user5FramePadding>
+         <user5FrameWidth>0.1</user5FrameWidth>
+         <user5FrameRound>0</user5FrameRound>
+         <user5FrameFgColor r="0" g="0" b="0" a="255"/>
+         <user5FrameBgColor r="255" g="255" b="255" a="0"/>
+         <user6Name/>
+         <user6FontFace>FreeSerif</user6FontFace>
+         <user6FontSize>10</user6FontSize>
+         <user6FontSpatiumDependent>1</user6FontSpatiumDependent>
+         <user6FontStyle>0</user6FontStyle>
+         <user6Color r="0" g="0" b="0" a="255"/>
+         <user6Offset x="0" y="0"/>
+         <user6OffsetType>1</user6OffsetType>
+         <user6FrameType>0</user6FrameType>
+         <user6FramePadding>0.2</user6FramePadding>
+         <user6FrameWidth>0.1</user6FrameWidth>
+         <user6FrameRound>0</user6FrameRound>
+         <user6FrameFgColor r="0" g="0" b="0" a="255"/>
+         <user6FrameBgColor r="255" g="255" b="255" a="0"/>
+         <user7Name/>
+         <user7FontFace>FreeSerif</user7FontFace>
+         <user7FontSize>10</user7FontSize>
+         <user7FontSpatiumDependent>1</user7FontSpatiumDependent>
+         <user7FontStyle>0</user7FontStyle>
+         <user7Color r="0" g="0" b="0" a="255"/>
+         <user7Offset x="0" y="0"/>
+         <user7OffsetType>1</user7OffsetType>
+         <user7FrameType>0</user7FrameType>
+         <user7FramePadding>0.2</user7FramePadding>
+         <user7FrameWidth>0.1</user7FrameWidth>
+         <user7FrameRound>0</user7FrameRound>
+         <user7FrameFgColor r="0" g="0" b="0" a="255"/>
+         <user7FrameBgColor r="255" g="255" b="255" a="0"/>
+         <user8Name/>
+         <user8FontFace>FreeSerif</user8FontFace>
+         <user8FontSize>10</user8FontSize>
+         <user8FontSpatiumDependent>1</user8FontSpatiumDependent>
+         <user8FontStyle>0</user8FontStyle>
+         <user8Color r="0" g="0" b="0" a="255"/>
+         <user8Offset x="0" y="0"/>
+         <user8OffsetType>1</user8OffsetType>
+         <user8FrameType>0</user8FrameType>
+         <user8FramePadding>0.2</user8FramePadding>
+         <user8FrameWidth>0.1</user8FrameWidth>
+         <user8FrameRound>0</user8FrameRound>
+         <user8FrameFgColor r="0" g="0" b="0" a="255"/>
+         <user8FrameBgColor r="255" g="255" b="255" a="0"/>
+         <user9Name/>
+         <user9FontFace>FreeSerif</user9FontFace>
+         <user9FontSize>10</user9FontSize>
+         <user9FontSpatiumDependent>1</user9FontSpatiumDependent>
+         <user9FontStyle>0</user9FontStyle>
+         <user9Color r="0" g="0" b="0" a="255"/>
+         <user9Offset x="0" y="0"/>
+         <user9OffsetType>1</user9OffsetType>
+         <user9FrameType>0</user9FrameType>
+         <user9FramePadding>0.2</user9FramePadding>
+         <user9FrameWidth>0.1</user9FrameWidth>
+         <user9FrameRound>0</user9FrameRound>
+         <user9FrameFgColor r="0" g="0" b="0" a="255"/>
+         <user9FrameBgColor r="255" g="255" b="255" a="0"/>
+         <user10Name/>
+         <user10FontFace>FreeSerif</user10FontFace>
+         <user10FontSize>10</user10FontSize>
+         <user10FontSpatiumDependent>1</user10FontSpatiumDependent>
+         <user10FontStyle>0</user10FontStyle>
+         <user10Color r="0" g="0" b="0" a="255"/>
+         <user10Offset x="0" y="0"/>
+         <user10OffsetType>1</user10OffsetType>
+         <user10FrameType>0</user10FrameType>
+         <user10FramePadding>0.2</user10FramePadding>
+         <user10FrameWidth>0.1</user10FrameWidth>
+         <user10FrameRound>0</user10FrameRound>
+         <user10FrameFgColor r="0" g="0" b="0" a="255"/>
+         <user10FrameBgColor r="255" g="255" b="255" a="0"/>
+         <user11Name/>
+         <user11FontFace>FreeSerif</user11FontFace>
+         <user11FontSize>10</user11FontSize>
+         <user11FontSpatiumDependent>1</user11FontSpatiumDependent>
+         <user11FontStyle>0</user11FontStyle>
+         <user11Color r="0" g="0" b="0" a="255"/>
+         <user11Offset x="0" y="0"/>
+         <user11OffsetType>1</user11OffsetType>
+         <user11FrameType>0</user11FrameType>
+         <user11FramePadding>0.2</user11FramePadding>
+         <user11FrameWidth>0.1</user11FrameWidth>
+         <user11FrameRound>0</user11FrameRound>
+         <user11FrameFgColor r="0" g="0" b="0" a="255"/>
+         <user11FrameBgColor r="255" g="255" b="255" a="0"/>
+         <user12Name/>
+         <user12FontFace>FreeSerif</user12FontFace>
+         <user12FontSize>10</user12FontSize>
+         <user12FontSpatiumDependent>1</user12FontSpatiumDependent>
+         <user12FontStyle>0</user12FontStyle>
+         <user12Color r="0" g="0" b="0" a="255"/>
+         <user12Offset x="0" y="0"/>
+         <user12OffsetType>1</user12OffsetType>
+         <user12FrameType>0</user12FrameType>
+         <user12FramePadding>0.2</user12FramePadding>
+         <user12FrameWidth>0.1</user12FrameWidth>
+         <user12FrameRound>0</user12FrameRound>
+         <user12FrameFgColor r="0" g="0" b="0" a="255"/>
+         <user12FrameBgColor r="255" g="255" b="255" a="0"/>
+         <letRingFontFace>FreeSerif</letRingFontFace>
+         <letRingFontSize>10</letRingFontSize>
+         <letRingFontSpatiumDependent>1</letRingFontSpatiumDependent>
+         <letRingFontStyle>0</letRingFontStyle>
+         <letRingColor r="0" g="0" b="0" a="255"/>
+         <letRingHookHeight>0.6</letRingHookHeight>
+         <letRingPlacement>1</letRingPlacement>
+         <letRingPosAbove x="0" y="0"/>
+         <letRingPosBelow x="0" y="0"/>
+         <letRingLineWidth>0.15</letRingLineWidth>
+         <letRingLineStyle>2</letRingLineStyle>
+         <letRingBeginTextOffset x="0" y="0.15"/>
+         <letRingText>let ring</letRingText>
+         <letRingFrameType>0</letRingFrameType>
+         <letRingFramePadding>0.2</letRingFramePadding>
+         <letRingFrameWidth>0.1</letRingFrameWidth>
+         <letRingFrameRound>0</letRingFrameRound>
+         <letRingFrameFgColor r="0" g="0" b="0" a="255"/>
+         <letRingFrameBgColor r="255" g="255" b="255" a="0"/>
+         <letRingEndHookType>3</letRingEndHookType>
+         <palmMuteFontFace>FreeSerif</palmMuteFontFace>
+         <palmMuteFontSize>10</palmMuteFontSize>
+         <palmMuteFontSpatiumDependent>1</palmMuteFontSpatiumDependent>
+         <palmMuteFontStyle>0</palmMuteFontStyle>
+         <palmMuteColor r="0" g="0" b="0" a="255"/>
+         <palmMuteHookHeight>0.6</palmMuteHookHeight>
+         <palmMutePlacement>1</palmMutePlacement>
+         <palmMutePosAbove x="0" y="-4"/>
+         <palmMutePosBelow x="0" y="4"/>
+         <palmMuteLineWidth>0.15</palmMuteLineWidth>
+         <palmMuteLineStyle>2</palmMuteLineStyle>
+         <palmMuteBeginTextOffset x="0" y="0.15"/>
+         <palmMuteText>P.M.</palmMuteText>
+         <palmMuteFrameType>0</palmMuteFrameType>
+         <palmMuteFramePadding>0.2</palmMuteFramePadding>
+         <palmMuteFrameWidth>0.1</palmMuteFrameWidth>
+         <palmMuteFrameRound>0</palmMuteFrameRound>
+         <palmMuteFrameFgColor r="0" g="0" b="0" a="255"/>
+         <palmMuteFrameBgColor r="255" g="255" b="255" a="0"/>
+         <palmMuteEndHookType>3</palmMuteEndHookType>
+         <fermataPosAbove x="0" y="-1"/>
+         <fermataPosBelow x="0" y="1"/>
+         <fermataMinDistance>0.4</fermataMinDistance>
+         <fingeringPlacement>0</fingeringPlacement>
+         <articulationMinDistance>0.5</articulationMinDistance>
+         <fingeringMinDistance>0.5</fingeringMinDistance>
+         <hairpinMinDistance>0.7</hairpinMinDistance>
+         <letRingMinDistance>0.7</letRingMinDistance>
+         <ottavaMinDistance>0.7</ottavaMinDistance>
+         <palmMuteMinDistance>0.7</palmMuteMinDistance>
+         <pedalMinDistance>0.7</pedalMinDistance>
+         <repeatMinDistance>0.5</repeatMinDistance>
+         <textLineMinDistance>0.7</textLineMinDistance>
+         <trillMinDistance>1</trillMinDistance>
+         <vibratoMinDistance>1</vibratoMinDistance>
+         <voltaMinDistance>1</voltaMinDistance>
+         <figuredBassMinDistance>0.5</figuredBassMinDistance>
+         <tupletMinDistance>0.5</tupletMinDistance>
+         <autoplaceEnabled>1</autoplaceEnabled>
+         <Spatium>1.76389</Spatium>
+      </Style>
+      <showInvisible>1</showInvisible>
+      <showUnprintable>1</showUnprintable>
+      <showFrames>1</showFrames>
+      <showMargins>0</showMargins>
+      <metaTag name="workTitle">9.20 Special</metaTag>
+      <metaTag name="composer">Earl Warren</metaTag>
+      <Part>
+         <Staff id="1">
+            <StaffType group="pitched">
+               <name>stdNormal</name>
+               <clef>0</clef>
+               <invisible>1</invisible>
+               <keysig>0</keysig>
+            </StaffType>
+            <invisible>1</invisible>
+         </Staff>
+         <trackName>Lead Sheet</trackName>
+      </Part>
+      <Staff id="1">
+         <VBox>
+            <height>10</height>
+            <Text>
+               <style>Title</style>
+               <text>9.20 Special</text>
+            </Text>
+            <Text>
+               <style>Composer</style>
+               <text>Earl Warren</text>
+            </Text>
+         </VBox>
+         <Measure number="1">
+            <startRepeat/>
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+               <Clef>
+                  <concertClefType>G</concertClefType>
+                  <transposingClefType>G</transposingClefType>
+               </Clef>
+               <KeySig>
+                  <accidental>0</accidental>
+                  <mode>major</mode>
+               </KeySig>
+               <TimeSig>
+                  <sigN>4</sigN>
+                  <sigD>4</sigD>
+               </TimeSig>
+               <StaffText>
+                  <text>Medium Swing</text>
+               </StaffText>
+        heavy-light
+      <RehearsalMark>
+                  <text>A</text>
+               </RehearsalMark>
+               <Harmony>
+                  <root>16</root>
+                  <name>9</name>
+               </Harmony>
+               <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="2">
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>13</root>
+                  <name>m6</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="3">
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>16</root>
+                  <name>9</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="4">
+            <LayoutBreak>
+               <subtype>line</subtype>
+            </LayoutBreak>
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>13</root>
+                  <name>m6</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="5">
+            <voice>
+               <BarLine/>
+        regular
+        regular
+      <Harmony>
+                  <root>14</root>
+                  <name/>
+               </Harmony>
+               <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="6">
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>14</root>
+                  <name>7</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <Harmony>
+                  <root>19</root>
+                  <name>7</name>
+               </Harmony>
+               <Chord>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <Harmony>
+                  <root>12</root>
+                  <name>7</name>
+               </Harmony>
+               <Chord>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <Harmony>
+                  <root>17</root>
+                  <name>7</name>
+               </Harmony>
+               <Chord>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="7">
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>16</root>
+                  <name>9</name>
+               </Harmony>
+               <Spanner type="Volta">
+                  <Volta>
+                     <endHookType>1</endHookType>
+                     <beginText>1.</beginText>
+                     <endings>1</endings>
+                  </Volta>
+                  <next>
+                     <location>
+                        <measures>2</measures>
+                     </location>
+                  </next>
+               </Spanner>
+               <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="8">
+            <LayoutBreak>
+               <subtype>line</subtype>
+            </LayoutBreak>
+            <endRepeat>2</endRepeat>
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>15</root>
+                  <name>7</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>half</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <Harmony>
+                  <root>10</root>
+                  <name>7</name>
+               </Harmony>
+               <Chord>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <Harmony>
+                  <root>15</root>
+                  <name>7</name>
+               </Harmony>
+               <Chord>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine>
+                  <subtype>end</subtype>
+               </BarLine>
+            </voice>
+         </Measure>
+         <HBox>
+            <width>51.02</width>
+         </HBox>
+         <Measure number="9">
+            <voice>
+               <BarLine/>
+               <Spanner type="Volta">
+                  <prev>
+                     <location>
+                        <measures>-2</measures>
+                     </location>
+                  </prev>
+               </Spanner>
+            514.29
+            0.00
+      <Spanner type="Volta">
+                  <Volta>
+                     <endHookType>0</endHookType>
+                     <beginText>2.</beginText>
+                     <endings>2</endings>
+                  </Volta>
+                  <next>
+                     <location>
+                        <measures>1</measures>
+                     </location>
+                  </next>
+               </Spanner>
+               <Harmony>
+                  <root>16</root>
+                  <name>9</name>
+               </Harmony>
+               <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="10">
+            <LayoutBreak>
+               <subtype>line</subtype>
+            </LayoutBreak>
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+               <Spanner type="Volta">
+                  <prev>
+                     <location>
+                        <measures>-1</measures>
+                     </location>
+                  </prev>
+               </Spanner>
+               <Harmony>
+                  <root>15</root>
+                  <name>7</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>half</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <Harmony>
+                  <root>14</root>
+                  <name>6</name>
+               </Harmony>
+               <Chord>
+                  <durationType>half</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine>
+                  <subtype>double</subtype>
+               </BarLine>
+            </voice>
+         </Measure>
+         <Measure number="11">
+            <voice>
+               <BarLine/>
+        light-light
+        regular
+      <RehearsalMark>
+                  <text>B</text>
+               </RehearsalMark>
+               <Harmony>
+                  <root>14</root>
+                  <name>7</name>
+               </Harmony>
+               <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="12">
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>14</root>
+                  <name>7</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="13">
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>13</root>
+                  <name>6</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="14">
+            <LayoutBreak>
+               <subtype>line</subtype>
+            </LayoutBreak>
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>13</root>
+                  <name>6</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="15">
+            <voice>
+               <BarLine/>
+        regular
+        regular
+      <Harmony>
+                  <root>16</root>
+                  <name>7</name>
+               </Harmony>
+               <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="16">
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>16</root>
+                  <name>7</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="17">
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>15</root>
+                  <name>7</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="18">
+            <LayoutBreak>
+               <subtype>line</subtype>
+            </LayoutBreak>
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>15</root>
+                  <name>7</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine>
+                  <subtype>double</subtype>
+               </BarLine>
+            </voice>
+         </Measure>
+         <Measure number="19">
+            <voice>
+               <BarLine/>
+        light-light
+        regular
+      <RehearsalMark>
+                  <text>A</text>
+               </RehearsalMark>
+               <Harmony>
+                  <root>16</root>
+                  <name>9</name>
+               </Harmony>
+               <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="20">
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>13</root>
+                  <name>m6</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="21">
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>16</root>
+                  <name>9</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="22">
+            <LayoutBreak>
+               <subtype>line</subtype>
+            </LayoutBreak>
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>13</root>
+                  <name>m6</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="23">
+            <voice>
+               <BarLine/>
+        regular
+        regular
+      <Harmony>
+                  <root>14</root>
+                  <name/>
+               </Harmony>
+               <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="24">
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>14</root>
+                  <name>7</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <Harmony>
+                  <root>19</root>
+                  <name>7</name>
+               </Harmony>
+               <Chord>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <Harmony>
+                  <root>12</root>
+                  <name>7</name>
+               </Harmony>
+               <Chord>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <Harmony>
+                  <root>17</root>
+                  <name>7</name>
+               </Harmony>
+               <Chord>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="25">
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>16</root>
+                  <name>9</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>whole</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine/>
+            </voice>
+         </Measure>
+         <Measure number="26">
+            <voice>
+               <BarLine>
+                  <visible>0</visible>
+               </BarLine>
+        regular
+      <Harmony>
+                  <root>15</root>
+                  <name>7</name>
+               </Harmony>
+        none
+      <Chord>
+                  <durationType>half</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <Harmony>
+                  <root>14</root>
+                  <name>6</name>
+               </Harmony>
+               <Chord>
+                  <durationType>half</durationType>
+                  <Note>
+                     <pitch>71</pitch>
+                     <tpc>19</tpc>
+                     <head>slash</head>
+                  </Note>
+               </Chord>
+               <BarLine>
+                  <subtype>end</subtype>
+               </BarLine>
+            </voice>
+         </Measure>
+      </Staff>
+   </Score>
+</museScore>
\ No newline at end of file
diff --git a/test/output/tutorial-apres-un-reve.mscx b/test/output/tutorial-apres-un-reve.mscx
new file mode 100644
index 0000000..8307234
--- /dev/null
+++ b/test/output/tutorial-apres-un-reve.mscx
@@ -0,0 +1,1037 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<museScore version="3.02">
+   <Score>
+      <LayerTag id="0" tag="default"/>
+      <currentLayer>0</currentLayer>
+      <Division>24</Division>
+      <Style>
+         <pageWidth>8.50</pageWidth>
+         <pageHeight>11.00</pageHeight>
+         <pagePrintableWidth>7.5</pagePrintableWidth>
+         <pageEvenLeftMargin>0.5</pageEvenLeftMargin>
+         <pageOddLeftMargin>0.5</pageOddLeftMargin>
+         <pageEvenTopMargin>0.5</pageEvenTopMargin>
+         <pageEvenBottomMargin>0.5</pageEvenBottomMargin>
+         <pageOddTopMargin>0.5</pageOddTopMargin>
+         <pageOddBottomMargin>0.5</pageOddBottomMargin>
+         <pageTwosided>0</pageTwosided>
+         <staffDistance>8</staffDistance>
+         <minSystemDistance>12.7</minSystemDistance>
+         <chordSymbolAFontSize>8.25</chordSymbolAFontSize>
+         <chordSymbolBFontSize>8.25</chordSymbolBFontSize>
+         <nashvilleNumberFontSize>8.25</nashvilleNumberFontSize>
+         <tupletFontSize>8.25</tupletFontSize>
+         <fingeringFontSize>8.25</fingeringFontSize>
+         <lhGuitarFingeringFontSize>8.25</lhGuitarFingeringFontSize>
+         <rhGuitarFingeringFontSize>8.25</rhGuitarFingeringFontSize>
+         <stringNumberFontSize>8.25</stringNumberFontSize>
+         <longInstrumentFontSize>8.25</longInstrumentFontSize>
+         <shortInstrumentFontSize>8.25</shortInstrumentFontSize>
+         <partInstrumentFontSize>8.25</partInstrumentFontSize>
+         <dynamicsFontSize>8.25</dynamicsFontSize>
+         <expressionFontSize>8.25</expressionFontSize>
+         <tempoFontSize>8.25</tempoFontSize>
+         <metronomeFontSize>8.25</metronomeFontSize>
+         <measureNumberFontSize>8.25</measureNumberFontSize>
+         <mmRestRangeFontSize>8.25</mmRestRangeFontSize>
+         <translatorFontSize>8.25</translatorFontSize>
+         <systemFontSize>8.25</systemFontSize>
+         <staffFontSize>8.25</staffFontSize>
+         <rehearsalMarkFontSize>8.25</rehearsalMarkFontSize>
+         <repeatLeftFontSize>8.25</repeatLeftFontSize>
+         <repeatRightFontSize>8.25</repeatRightFontSize>
+         <frameFontSize>8.25</frameFontSize>
+         <glissandoFontSize>8.25</glissandoFontSize>
+         <bendFontSize>8.25</bendFontSize>
+         <headerFontSize>8.25</headerFontSize>
+         <footerFontSize>8.25</footerFontSize>
+         <instrumentChangeFontSize>8.25</instrumentChangeFontSize>
+         <stickingFontSize>8.25</stickingFontSize>
+         <user1FontSize>8.25</user1FontSize>
+         <user2FontSize>8.25</user2FontSize>
+         <user3FontSize>8.25</user3FontSize>
+         <user4FontSize>8.25</user4FontSize>
+         <user5FontSize>8.25</user5FontSize>
+         <user6FontSize>8.25</user6FontSize>
+         <user7FontSize>8.25</user7FontSize>
+         <user8FontSize>8.25</user8FontSize>
+         <user9FontSize>8.25</user9FontSize>
+         <user10FontSize>8.25</user10FontSize>
+         <user11FontSize>8.25</user11FontSize>
+         <user12FontSize>8.25</user12FontSize>
+         <Spatium>1.5875</Spatium>
+      </Style>
+      <showInvisible>1</showInvisible>
+      <showUnprintable>1</showUnprintable>
+      <showFrames>1</showFrames>
+      <showMargins>0</showMargins>
+      <metaTag name="movementTitle">Après un rêve</metaTag>
+      <metaTag name="composer">Gabriel Fauré</metaTag>
+      <metaTag name="copyright">Copyright © 2002 MakeMusic, Inc.</metaTag>
+      <Part>
+         <Staff id="1">
+            <StaffType group="pitched">
+               <name>stdNormal</name>
+            </StaffType>
+         </Staff>
+         <trackName>Voice</trackName>
+         <Instrument id="voice">
+            <trackName>Voice</trackName>
+            <longName>Voice</longName>
+            <shortName>Vo.</shortName>
+            <Channel>
+                        <!--MIDI: Bank 0, Prog 52; MS General: Choir Aahs-->
+                        <program value="52"/>
+               <!--Choir Aahs-->
+                  </Channel>
+            <instrumentId>voice.vocals</instrumentId>
+            <minPitchP>38</minPitchP>
+            <maxPitchP>84</maxPitchP>
+            <minPitchA>41</minPitchA>
+            <maxPitchA>79</maxPitchA>
+         </Instrument>
+      </Part>
+      <Part>
+         <Staff id="2">
+            <StaffType group="pitched">
+               <name>stdNormal</name>
+            </StaffType>
+            <bracket type="1" col="1" span="2"/>
+            <barLineSpan>2</barLineSpan>
+         </Staff>
+         <Staff id="3">
+            <StaffType group="pitched">
+               <name>stdNormal</name>
+            </StaffType>
+         </Staff>
+         <trackName>Piano</trackName>
+         <Instrument id="piano">
+            <trackName>Piano</trackName>
+            <longName>Piano</longName>
+            <shortName>Pno.</shortName>
+            <Channel>
+                        <!--MIDI: Bank 0, Prog 0; MS General: Grand Piano-->
+                        <program value="0"/>
+               <!--Acoustic Grand Piano-->
+                  </Channel>
+            <Articulation>
+               <velocity>100</velocity>
+               <gateTime>95</gateTime>
+            </Articulation>
+            <instrumentId>keyboard.piano</instrumentId>
+            <minPitchP>21</minPitchP>
+            <maxPitchP>108</maxPitchP>
+            <minPitchA>21</minPitchA>
+            <maxPitchA>108</maxPitchA>
+         </Instrument>
+      </Part>
+      <Staff id="1">
+         <VBox>
+            <height>10</height>
+            <Text>
+               <style>Title</style>
+               <text>Après un rêve</text>
+            </Text>
+            <Text>
+               <style>Composer</style>
+               <text>Gabriel Fauré</text>
+            </Text>
+         </VBox>
+         <HBox>
+            <width>0.30</width>
+         </HBox>
+         <Measure number="1">
+            <voice>
+               <Clef>
+                  <concertClefType>G</concertClefType>
+                  <transposingClefType>G</transposingClefType>
+               </Clef>
+               <KeySig>
+                  <accidental>-3</accidental>
+                  <mode>minor</mode>
+               </KeySig>
+               <TimeSig>
+                  <sigN>3</sigN>
+                  <sigD>4</sigD>
+               </TimeSig>
+                        3
+                        0
+                    280
+                system
+            <StaffText>
+                  <text><font size="10.5"/><b>Andantino</b></text>
+               </StaffText>
+               <Rest>
+                  <durationType>measure</durationType>
+                  <duration>3/4</duration>
+               </Rest>
+            </voice>
+         </Measure>
+         <Measure number="2">
+            <voice>
+               <StaffText>
+                  <text><font size="9"/><i>dolce</i></text>
+               </StaffText>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>quarter</durationType>
+                  <Lyrics>
+                     <no>0</no>
+                     <syllabic>single</syllabic>
+                     <text>Dans</text>
+                  </Lyrics>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Spanner type="HairPin">
+                  <HairPin>
+                     <subtype>0</subtype>
+                     <placement>above</placement>
+                  </HairPin>
+                  <next>
+                     <location>
+                        <measures>1</measures>
+                        <fractions>48/72</fractions>
+                     </location>
+                  </next>
+               </Spanner>
+               <Chord>
+                  <StemDirection>down</StemDirection>
+                  <durationType>quarter</durationType>
+                  <Lyrics>
+                     <no>0</no>
+                     <syllabic>single</syllabic>
+                     <text>un</text>
+                  </Lyrics>
+                  <Note>
+                     <pitch>72</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>down</StemDirection>
+                  <durationType>quarter</durationType>
+                  <Lyrics>
+                     <no>0</no>
+                     <syllabic>begin</syllabic>
+                     <text>som</text>
+                  </Lyrics>
+                  <Note>
+                     <pitch>74</pitch>
+                     <tpc>16</tpc>
+                  </Note>
+               </Chord>
+            </voice>
+         </Measure>
+         <Measure number="3">
+            <voice>
+               <Spanner type="HairPin">
+                  <prev>
+                     <location>
+                        <measures>-1</measures>
+                        <fractions>-48/72</fractions>
+                     </location>
+                  </prev>
+               </Spanner>
+               <Chord>
+                  <StemDirection>down</StemDirection>
+                  <durationType>quarter</durationType>
+                  <Lyrics>
+                     <no>0</no>
+                     <syllabic>end</syllabic>
+                     <text>meil</text>
+                  </Lyrics>
+                  <Note>
+                     <Spanner type="Tie">
+                        <Tie/>
+                        <next>
+                           <location>
+                              <measures>1</measures>
+                              <fractions>24/72</fractions>
+                           </location>
+                        </next>
+                     </Spanner>
+                     <pitch>75</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+               </Chord>
+               <Tuplet>
+                  <normalNotes>2</normalNotes>
+                  <actualNotes>3</actualNotes>
+                  <baseNote>eighth</baseNote>
+                  <Number>
+                     <style>Tuplet</style>
+                     <text>3</text>
+                  </Number>
+               </Tuplet>
+               <Chord>
+                  <StemDirection>down</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <Spanner type="Tie">
+                        <prev>
+                           <location>
+                              <measures>-1</measures>
+                              <fractions>-24/72</fractions>
+                           </location>
+                        </prev>
+                     </Spanner>
+                     <pitch>75</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>down</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Lyrics>
+                     <no>0</no>
+                     <syllabic>single</syllabic>
+                     <text>que</text>
+                  </Lyrics>
+                  <Note>
+                     <pitch>74</pitch>
+                     <tpc>16</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>down</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Lyrics>
+                     <no>0</no>
+                     <syllabic>begin</syllabic>
+                     <text>char</text>
+                  </Lyrics>
+                  <Note>
+                     <pitch>72</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+               </Chord>
+               <endTuplet/>
+               <Tuplet>
+                  <normalNotes>2</normalNotes>
+                  <actualNotes>3</actualNotes>
+                  <baseNote>eighth</baseNote>
+                  <Number>
+                     <style>Tuplet</style>
+                     <text>3</text>
+                  </Number>
+               </Tuplet>
+               <Chord>
+                  <StemDirection>down</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Lyrics>
+                     <no>0</no>
+                     <syllabic>end</syllabic>
+                     <text>mait</text>
+                  </Lyrics>
+                  <Note>
+                     <pitch>75</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>down</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Lyrics>
+                     <no>0</no>
+                     <syllabic>single</syllabic>
+                     <text>ton</text>
+                  </Lyrics>
+                  <Note>
+                     <pitch>74</pitch>
+                     <tpc>16</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>down</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Lyrics>
+                     <no>0</no>
+                     <syllabic>begin</syllabic>
+                     <text>i</text>
+                  </Lyrics>
+                  <Note>
+                     <pitch>72</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+               </Chord>
+               <endTuplet/>
+            </voice>
+         </Measure>
+         <Measure number="4">
+            <voice>
+               <Spanner type="HairPin">
+                  <HairPin>
+                     <subtype>1</subtype>
+                     <placement>above</placement>
+                  </HairPin>
+                  <next>
+                     <location>
+                        <measures>1</measures>
+                        <fractions>48/72</fractions>
+                     </location>
+                  </next>
+               </Spanner>
+               <Chord>
+                  <StemDirection>down</StemDirection>
+                  <durationType>half</durationType>
+                  <Lyrics>
+                     <no>0</no>
+                     <syllabic>middle</syllabic>
+                     <text>ma</text>
+                  </Lyrics>
+                  <Note>
+                     <pitch>72</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+               </Chord>
+               <Spanner type="HairPin">
+                  <prev>
+                     <location>
+                        <measures>-1</measures>
+                        <fractions>-48/72</fractions>
+                     </location>
+                  </prev>
+               </Spanner>
+               <Chord>
+                  <StemDirection>down</StemDirection>
+                  <durationType>quarter</durationType>
+                  <Lyrics>
+                     <no>0</no>
+                     <syllabic>end</syllabic>
+                     <text>ge</text>
+                  </Lyrics>
+                  <Note>
+                     <pitch>70</pitch>
+                     <tpc>12</tpc>
+                  </Note>
+               </Chord>
+            </voice>
+         </Measure>
+      </Staff>
+      <Staff id="2">
+         <VBox>
+            <height>10</height>
+            <Text>
+               <style>Title</style>
+               <text>Après un rêve</text>
+            </Text>
+            <Text>
+               <style>Composer</style>
+               <text>Gabriel Fauré</text>
+            </Text>
+         </VBox>
+         <Measure number="1">
+            <voice>
+               <Clef>
+                  <concertClefType>G</concertClefType>
+                  <transposingClefType>G</transposingClefType>
+               </Clef>
+               <KeySig>
+                  <accidental>-3</accidental>
+                  <mode>minor</mode>
+               </KeySig>
+               <TimeSig>
+                  <sigN>3</sigN>
+                  <sigD>4</sigD>
+               </TimeSig>
+                    65
+                    48
+                none
+            <Dynamic>
+                  <subtype>pp</subtype>
+                  <velocity>36</velocity>
+               </Dynamic>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+            </voice>
+         </Measure>
+         <Measure number="2">
+            <voice>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>58</pitch>
+                     <tpc>12</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>62</pitch>
+                     <tpc>16</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>58</pitch>
+                     <tpc>12</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>62</pitch>
+                     <tpc>16</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+            </voice>
+         </Measure>
+         <Measure number="3">
+            <voice>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>65</pitch>
+                     <tpc>13</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>65</pitch>
+                     <tpc>13</tpc>
+                  </Note>
+               </Chord>
+            </voice>
+         </Measure>
+         <Measure number="4">
+            <voice>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>65</pitch>
+                     <tpc>13</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>65</pitch>
+                     <tpc>13</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>65</pitch>
+                     <tpc>13</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>65</pitch>
+                     <tpc>13</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>65</pitch>
+                     <tpc>13</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>65</pitch>
+                     <tpc>13</tpc>
+                  </Note>
+               </Chord>
+            </voice>
+         </Measure>
+      </Staff>
+      <Staff id="3">
+         <Measure number="1">
+            <voice>
+               <Clef>
+                  <concertClefType>F</concertClefType>
+                  <transposingClefType>F</transposingClefType>
+               </Clef>
+               <KeySig>
+                  <accidental>-3</accidental>
+                  <mode>minor</mode>
+               </KeySig>
+               <TimeSig>
+                  <sigN>3</sigN>
+                  <sigD>4</sigD>
+               </TimeSig>
+               <location>
+                  <fractions>0/6</fractions>
+               </location>
+               <Rest>
+                  <durationType>measure</durationType>
+                  <duration>3/4</duration>
+               </Rest>
+            </voice>
+         </Measure>
+         <Measure number="2">
+            <voice>
+               <location>
+                  <fractions>0/6</fractions>
+               </location>
+               <Rest>
+                  <durationType>measure</durationType>
+                  <duration>3/4</duration>
+               </Rest>
+            </voice>
+         </Measure>
+         <Measure number="3">
+            <voice>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>57</pitch>
+                     <tpc>17</tpc>
+                     <Accidental>
+                        <subtype>accidentalNatural</subtype>
+                     </Accidental>
+                  </Note>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>57</pitch>
+                     <tpc>17</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>57</pitch>
+                     <tpc>17</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>57</pitch>
+                     <tpc>17</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>57</pitch>
+                     <tpc>17</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>57</pitch>
+                     <tpc>17</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+               </Chord>
+            </voice>
+            <voice>
+               <location>
+                  <fractions>0/6</fractions>
+               </location>
+               <Chord>
+                  <StemDirection>down</StemDirection>
+                  <dots>1</dots>
+                  <durationType>half</durationType>
+                  <Note>
+                     <pitch>29</pitch>
+                     <tpc>13</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>41</pitch>
+                     <tpc>13</tpc>
+                  </Note>
+               </Chord>
+            </voice>
+         </Measure>
+         <Measure number="4">
+            <voice>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>56</pitch>
+                     <tpc>10</tpc>
+                     <Accidental>
+                        <subtype>accidentalFlat</subtype>
+                     </Accidental>
+                  </Note>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>62</pitch>
+                     <tpc>16</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>56</pitch>
+                     <tpc>10</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>62</pitch>
+                     <tpc>16</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>56</pitch>
+                     <tpc>10</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>62</pitch>
+                     <tpc>16</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>56</pitch>
+                     <tpc>10</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>62</pitch>
+                     <tpc>16</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>56</pitch>
+                     <tpc>10</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>62</pitch>
+                     <tpc>16</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>56</pitch>
+                     <tpc>10</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>62</pitch>
+                     <tpc>16</tpc>
+                  </Note>
+               </Chord>
+            </voice>
+            <voice>
+               <location>
+                  <fractions>0/6</fractions>
+               </location>
+               <Chord>
+                  <StemDirection>down</StemDirection>
+                  <dots>1</dots>
+                  <durationType>half</durationType>
+                  <Note>
+                     <pitch>34</pitch>
+                     <tpc>12</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>46</pitch>
+                     <tpc>12</tpc>
+                  </Note>
+               </Chord>
+            </voice>
+         </Measure>
+      </Staff>
+   </Score>
+</museScore>
\ No newline at end of file
diff --git a/test/output/tutorial-chopin-prelude.mscx b/test/output/tutorial-chopin-prelude.mscx
new file mode 100644
index 0000000..0e50e2f
--- /dev/null
+++ b/test/output/tutorial-chopin-prelude.mscx
@@ -0,0 +1,340 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<museScore version="3.02">
+   <Score>
+      <LayerTag id="0" tag="default"/>
+      <currentLayer>0</currentLayer>
+      <Division>4</Division>
+      <Style>
+         <pageWidth>8.50</pageWidth>
+         <pageHeight>11.00</pageHeight>
+         <pagePrintableWidth>7.5</pagePrintableWidth>
+         <pageEvenLeftMargin>0.5</pageEvenLeftMargin>
+         <pageOddLeftMargin>0.5</pageOddLeftMargin>
+         <pageEvenTopMargin>0.5</pageEvenTopMargin>
+         <pageEvenBottomMargin>0.5</pageEvenBottomMargin>
+         <pageOddTopMargin>0.5</pageOddTopMargin>
+         <pageOddBottomMargin>0.5</pageOddBottomMargin>
+         <pageTwosided>0</pageTwosided>
+         <staffDistance>8</staffDistance>
+         <minSystemDistance>12.7</minSystemDistance>
+         <chordSymbolAFontSize>8.25</chordSymbolAFontSize>
+         <chordSymbolBFontSize>8.25</chordSymbolBFontSize>
+         <nashvilleNumberFontSize>8.25</nashvilleNumberFontSize>
+         <tupletFontSize>8.25</tupletFontSize>
+         <fingeringFontSize>8.25</fingeringFontSize>
+         <lhGuitarFingeringFontSize>8.25</lhGuitarFingeringFontSize>
+         <rhGuitarFingeringFontSize>8.25</rhGuitarFingeringFontSize>
+         <stringNumberFontSize>8.25</stringNumberFontSize>
+         <longInstrumentFontSize>8.25</longInstrumentFontSize>
+         <shortInstrumentFontSize>8.25</shortInstrumentFontSize>
+         <partInstrumentFontSize>8.25</partInstrumentFontSize>
+         <dynamicsFontSize>8.25</dynamicsFontSize>
+         <expressionFontSize>8.25</expressionFontSize>
+         <tempoFontSize>8.25</tempoFontSize>
+         <metronomeFontSize>8.25</metronomeFontSize>
+         <measureNumberFontSize>8.25</measureNumberFontSize>
+         <mmRestRangeFontSize>8.25</mmRestRangeFontSize>
+         <translatorFontSize>8.25</translatorFontSize>
+         <systemFontSize>8.25</systemFontSize>
+         <staffFontSize>8.25</staffFontSize>
+         <rehearsalMarkFontSize>8.25</rehearsalMarkFontSize>
+         <repeatLeftFontSize>8.25</repeatLeftFontSize>
+         <repeatRightFontSize>8.25</repeatRightFontSize>
+         <frameFontSize>8.25</frameFontSize>
+         <glissandoFontSize>8.25</glissandoFontSize>
+         <bendFontSize>8.25</bendFontSize>
+         <headerFontSize>8.25</headerFontSize>
+         <footerFontSize>8.25</footerFontSize>
+         <instrumentChangeFontSize>8.25</instrumentChangeFontSize>
+         <stickingFontSize>8.25</stickingFontSize>
+         <user1FontSize>8.25</user1FontSize>
+         <user2FontSize>8.25</user2FontSize>
+         <user3FontSize>8.25</user3FontSize>
+         <user4FontSize>8.25</user4FontSize>
+         <user5FontSize>8.25</user5FontSize>
+         <user6FontSize>8.25</user6FontSize>
+         <user7FontSize>8.25</user7FontSize>
+         <user8FontSize>8.25</user8FontSize>
+         <user9FontSize>8.25</user9FontSize>
+         <user10FontSize>8.25</user10FontSize>
+         <user11FontSize>8.25</user11FontSize>
+         <user12FontSize>8.25</user12FontSize>
+         <Spatium>1.5875</Spatium>
+      </Style>
+      <showInvisible>1</showInvisible>
+      <showUnprintable>1</showUnprintable>
+      <showFrames>1</showFrames>
+      <showMargins>0</showMargins>
+      <Part>
+         <Staff id="1">
+            <StaffType group="pitched">
+               <name>stdNormal</name>
+            </StaffType>
+            <bracket type="1" col="1" span="2"/>
+            <barLineSpan>2</barLineSpan>
+         </Staff>
+         <Staff id="2">
+            <StaffType group="pitched">
+               <name>stdNormal</name>
+            </StaffType>
+         </Staff>
+         <trackName>Piano</trackName>
+         <Instrument id="piano">
+            <trackName>Piano</trackName>
+            <longName>Piano</longName>
+            <shortName>Pno.</shortName>
+            <Channel>
+                        <!--MIDI: Bank 0, Prog 0; MS General: Grand Piano-->
+                        <program value="0"/>
+               <!--Acoustic Grand Piano-->
+                  </Channel>
+            <Articulation>
+               <velocity>100</velocity>
+               <gateTime>95</gateTime>
+            </Articulation>
+            <instrumentId>keyboard.piano</instrumentId>
+            <minPitchP>21</minPitchP>
+            <maxPitchP>108</maxPitchP>
+            <minPitchA>21</minPitchA>
+            <maxPitchA>108</maxPitchA>
+         </Instrument>
+      </Part>
+      <Staff id="1">
+         <HBox>
+            <width>12.00</width>
+         </HBox>
+         <Measure number="1">
+            <voice>
+               <Clef>
+                  <concertClefType>F</concertClefType>
+                  <transposingClefType>F</transposingClefType>
+               </Clef>
+               <KeySig>
+                  <accidental>-3</accidental>
+                  <mode>minor</mode>
+               </KeySig>
+               <TimeSig>
+                  <subtype>1</subtype>
+                  <sigN>4</sigN>
+                  <sigD>4</sigD>
+               </TimeSig>
+                    1760
+                    1360
+                        80
+                        703
+                        80
+                        80
+                        120
+                        0
+                    230
+                system
+            <Dynamic>
+                  <subtype>ff</subtype>
+                  <velocity>101</velocity>
+               </Dynamic>
+               <Chord>
+                  <Spanner type="Slur">
+                     <Slur>
+                        <up>up</up>
+                     </Slur>
+                     <next>
+                        <location>
+                           <measures>1</measures>
+                           <fractions>40/16</fractions>
+                        </location>
+                     </next>
+                  </Spanner>
+                  <StemDirection>down</StemDirection>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>55</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>down</StemDirection>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>56</pitch>
+                     <tpc>10</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>68</pitch>
+                     <tpc>10</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <dots>1</dots>
+                  <durationType>eighth</durationType>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>67</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>16th</durationType>
+                  <Note>
+                     <pitch>62</pitch>
+                     <tpc>16</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>65</pitch>
+                     <tpc>13</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <Spanner type="Slur">
+                     <prev>
+                        <location>
+                           <measures>-1</measures>
+                           <fractions>-40/16</fractions>
+                        </location>
+                     </prev>
+                  </Spanner>
+                  <StemDirection>down</StemDirection>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>51</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>55</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>60</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>63</pitch>
+                     <tpc>11</tpc>
+                  </Note>
+               </Chord>
+            </voice>
+            <voice>
+               <location>
+                  <fractions>8/16</fractions>
+               </location>
+               <Chord>
+                  <StemDirection>down</StemDirection>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>55</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>59</pitch>
+                     <tpc>19</tpc>
+                     <Accidental>
+                        <subtype>accidentalNatural</subtype>
+                     </Accidental>
+                  </Note>
+               </Chord>
+            </voice>
+         </Measure>
+      </Staff>
+      <Staff id="2">
+         <HBox>
+            <width>12.00</width>
+         </HBox>
+         <Measure number="1">
+            <voice>
+               <Clef>
+                  <concertClefType>F</concertClefType>
+                  <transposingClefType>F</transposingClefType>
+               </Clef>
+               <KeySig>
+                  <accidental>-3</accidental>
+                  <mode>minor</mode>
+               </KeySig>
+               <TimeSig>
+                  <subtype>1</subtype>
+                  <sigN>4</sigN>
+                  <sigD>4</sigD>
+               </TimeSig>
+               <location>
+                  <fractions>0/16</fractions>
+               </location>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>36</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>48</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>29</pitch>
+                     <tpc>13</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>41</pitch>
+                     <tpc>13</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>31</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>43</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+               </Chord>
+               <Chord>
+                  <StemDirection>up</StemDirection>
+                  <durationType>quarter</durationType>
+                  <Note>
+                     <pitch>36</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>43</pitch>
+                     <tpc>15</tpc>
+                  </Note>
+                  <Note>
+                     <pitch>48</pitch>
+                     <tpc>14</tpc>
+                  </Note>
+               </Chord>
+            </voice>
+         </Measure>
+      </Staff>
+   </Score>
+</museScore>
\ No newline at end of file