-
Notifications
You must be signed in to change notification settings - Fork 0
/
jwiXML.3.sef.json
1 lines (1 loc) · 522 KB
/
jwiXML.3.sef.json
1
{"N":"package","when":"2024-09-23T16:07:50.4816636+01:00","id":"0","version":"40","packageVersion":"1","saxonProduct":"SAXON-EE","saxonVersion":"12.4","buildDateTime":"2024-09-23T16:07:50.4816636+01:00","target":"JS","targetVersion":"2","relocatable":"true","implicit":"true","C":[{"N":"co","id":"0","vis":"PUBLIC","binds":"1 2 3 4 4 5 6 7 7 8 7 1 7","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}preprocessGrammar","line":"91","module":"jwiXML.processor.3.xsl","flags":"pU","as":"1","slots":"14","C":[{"N":"arg","name":"Q{}grammarSource","as":"1"},{"N":"arg","name":"Q{}options","as":"1FM"},{"N":"choose","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"96","C":[{"N":"lookup","line":"97","C":[{"N":"varRef","name":"Q{}options","slot":"1"},{"N":"str","val":"pragmas"}]},{"N":"let","line":"99","var":"Q{}parsed.xml","slot":"4","C":[{"N":"choose","C":[{"N":"instance","of":"1ND","C":[{"N":"varRef","name":"Q{}grammarSource","slot":"0"}]},{"N":"varRef","name":"Q{}grammarSource","slot":"0"},{"N":"true"},{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}grammarToXML","tailCall":"false","bSlot":"0","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}parseGrammar","tailCall":"false","bSlot":"1","C":[{"N":"varRef","name":"Q{}grammarSource","slot":"0"},{"N":"varRef","name":"Q{}options","slot":"1"}]}]}]},{"N":"let","line":"101","var":"Q{}namespaces","as":"1FM v[1AS]","slot":"5","C":[{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}merge","type":"1FM","C":[{"N":"forEach","C":[{"N":"docOrder","intra":"0","C":[{"N":"slash","simple":"2","C":[{"N":"filter","flags":"","C":[{"N":"slash","simple":"2","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|\/","C":[{"N":"varRef","name":"Q{}parsed.xml","slot":"4"}]},{"N":"axis","name":"descendant","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ppragma,NE nQ{}ppragma]"}]},{"N":"vc","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}pname"},{"N":"str","val":"pragma"}]}]},{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}pragma-data,NE nQ{}pragma-data]"}]}]},{"N":"let","var":"Q{}p","slot":"6","C":[{"N":"fn","name":"tokenize","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:tokenize","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:tokenize","C":[{"N":"data","diag":"0|0||fn:tokenize","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}pragma-data,NE nQ{}pragma-data]"}]}]}]}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"check","card":"1","diag":"0|0||map:entry","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}p","slot":"6"}]}]},{"N":"fn","name":"replace","C":[{"N":"subscript","C":[{"N":"varRef","name":"Q{}p","slot":"6"},{"N":"int","val":"2"}]},{"N":"str","val":"\""},{"N":"str","val":""},{"N":"empty"},{"N":"empty"}]}]}]}]},{"N":"map","size":"2","C":[{"N":"str","val":"duplicates"},{"N":"str","val":"use-first"},{"N":"str","val":"duplicates-error-code"},{"N":"str","val":"FOJS0003"}]}]},{"N":"let","line":"104","var":"Q{}Qnamespaces","as":"1FM k[AS] v[1AS]","slot":"7","C":[{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}merge","type":"1FM","C":[{"N":"forEach","C":[{"N":"docOrder","intra":"0","C":[{"N":"filter","flags":"b","C":[{"N":"slash","simple":"2","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|\/","C":[{"N":"varRef","name":"Q{}parsed.xml","slot":"4"}]},{"N":"axis","name":"descendant","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ppragma,NE nQ{}ppragma]"}]},{"N":"fn","name":"starts-with","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:starts-with","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:starts-with","C":[{"N":"attVal","name":"Q{}pname"}]}]},{"N":"str","val":"ns:"}]}]}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"fn","name":"substring-after","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:substring-after","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:substring-after","C":[{"N":"attVal","name":"Q{}pname"}]}]},{"N":"str","val":":"}]},{"N":"fn","name":"replace","C":[{"N":"check","card":"?","diag":"0|0||fn:replace","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:replace","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:replace","C":[{"N":"data","diag":"0|0||fn:replace","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}pragma-data,NE nQ{}pragma-data]"}]}]}]}]},{"N":"str","val":"\""},{"N":"str","val":""},{"N":"empty"},{"N":"empty"}]}]}]},{"N":"map","size":"2","C":[{"N":"str","val":"duplicates"},{"N":"str","val":"use-first"},{"N":"str","val":"duplicates-error-code"},{"N":"str","val":"FOJS0003"}]}]},{"N":"let","line":"107","var":"Q{}pragmas","as":"*NE","slot":"8","C":[{"N":"filter","flags":"b","C":[{"N":"union","op":"|","C":[{"N":"conditionalSort","C":[{"N":"fn","name":"exists","C":[{"N":"tail","start":"2","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|\/","C":[{"N":"varRef","name":"Q{}parsed.xml","slot":"4"}]}]}]},{"N":"docOrder","intra":"0","C":[{"N":"slash","simple":"2","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|\/","C":[{"N":"varRef","name":"Q{}parsed.xml","slot":"4"}]},{"N":"axis","name":"descendant","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}pragma,NE nQ{}pragma]"}]}]}]},{"N":"conditionalSort","C":[{"N":"fn","name":"exists","C":[{"N":"tail","start":"2","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|\/","C":[{"N":"varRef","name":"Q{}parsed.xml","slot":"4"}]}]}]},{"N":"docOrder","intra":"0","C":[{"N":"slash","simple":"2","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|\/","C":[{"N":"varRef","name":"Q{}parsed.xml","slot":"4"}]},{"N":"axis","name":"descendant","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ppragma,NE nQ{}ppragma]"}]}]}]}]},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}pname"},{"N":"and","op":"and","C":[{"N":"fn","name":"not","C":[{"N":"compareToString","op":"eq","val":"pragma","C":[{"N":"data","diag":"1|0||eq","C":[{"N":"dot","type":"1NA nQ{}pname"}]}]}]},{"N":"fn","name":"not","C":[{"N":"fn","name":"starts-with","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:starts-with","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:starts-with","C":[{"N":"data","diag":"0|0||fn:starts-with","C":[{"N":"dot","type":"1NA nQ{}pname"}]}]}]},{"N":"str","val":"ns:"}]}]}]}]}]}]},{"N":"check","line":"108","card":"1","diag":"5|0|XTTE0780|jwL:preprocessGrammar#2","C":[{"N":"sequence","C":[{"N":"message","C":[{"N":"valueOf","role":"select","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"pragmasOriginal: "},{"N":"fn","name":"serialize","C":[{"N":"varRef","name":"Q{}pragmas","slot":"8"}]}]}]},{"N":"str","role":"terminate","val":"no"},{"N":"str","role":"error","val":"Q{http:\/\/www.w3.org\/2005\/xqt-errors}XTMM9000"}]},{"N":"let","line":"110","var":"Q{}pragmas","as":"*A","slot":"9","C":[{"N":"fn","name":"distinct-values","C":[{"N":"for","var":"Q{}p","as":"NE","slot":"10","C":[{"N":"varRef","role":"in","name":"Q{}pragmas","slot":"8"},{"N":"choose","role":"return","C":[{"N":"gc","op":"=","card":"N:1","comp":"CCC","C":[{"N":"gVarRef","name":"Q{}namespaces.supported","bSlot":"2"},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}get","type":"*","C":[{"N":"varRef","name":"Q{}namespaces","slot":"5"},{"N":"atomSing","diag":"20|0||key value supplied when calling a map as a function","C":[{"N":"slash","simple":"1","C":[{"N":"varRef","name":"Q{}p","slot":"10"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}pname"}]}]}]}]},{"N":"fn","name":"concat","C":[{"N":"str","val":"Q{"},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}get","type":"*","C":[{"N":"varRef","name":"Q{}namespaces","slot":"5"},{"N":"atomSing","diag":"20|0||key value supplied when calling a map as a function","C":[{"N":"slash","simple":"1","C":[{"N":"varRef","name":"Q{}p","slot":"10"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}pname"}]}]}]},{"N":"str","val":"}"},{"N":"first","C":[{"N":"fn","name":"tokenize","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:tokenize","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:tokenize","C":[{"N":"data","diag":"0|0||fn:tokenize","C":[{"N":"varRef","name":"Q{}p","slot":"10"}]}]}]}]}]}]},{"N":"fn","name":"contains","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:contains","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:contains","C":[{"N":"slash","C":[{"N":"varRef","name":"Q{}p","slot":"10"},{"N":"attVal","name":"Q{}pname"}]}]}]},{"N":"str","val":":"}]},{"N":"fn","name":"concat","C":[{"N":"str","val":"Q{"},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}get","type":"*","C":[{"N":"varRef","name":"Q{}Qnamespaces","slot":"7"},{"N":"fn","name":"substring-before","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:substring-before","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:substring-before","C":[{"N":"slash","C":[{"N":"varRef","name":"Q{}p","slot":"10"},{"N":"attVal","name":"Q{}pname"}]}]}]},{"N":"str","val":":"}]}]},{"N":"str","val":"}"},{"N":"fn","name":"substring-after","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:substring-after","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:substring-after","C":[{"N":"slash","C":[{"N":"varRef","name":"Q{}p","slot":"10"},{"N":"attVal","name":"Q{}pname"}]}]}]},{"N":"str","val":":"}]}]},{"N":"true"},{"N":"fn","name":"concat","C":[{"N":"str","val":"Q{}"},{"N":"slash","C":[{"N":"varRef","name":"Q{}p","slot":"10"},{"N":"attVal","name":"Q{}pname"}]}]}]}]}]},{"N":"sequence","line":"111","C":[{"N":"message","C":[{"N":"valueOf","role":"select","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"pragmasEQ: "},{"N":"fn","name":"serialize","C":[{"N":"varRef","name":"Q{}pragmas","slot":"9"}]}]}]},{"N":"str","role":"terminate","val":"no"},{"N":"str","role":"error","val":"Q{http:\/\/www.w3.org\/2005\/xqt-errors}XTMM9000"}]},{"N":"let","line":"113","var":"Q{}pragmas","as":"*A","slot":"11","C":[{"N":"filter","flags":"b","C":[{"N":"fn","name":"distinct-values","C":[{"N":"varRef","name":"Q{}pragmas","slot":"9"}]},{"N":"gc","op":"=","card":"N:1","comp":"GAC|http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint","C":[{"N":"gVarRef","name":"Q{}pragmas.supported","bSlot":"3"},{"N":"dot","type":"1A"}]}]},{"N":"sequence","line":"115","C":[{"N":"message","C":[{"N":"valueOf","role":"select","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"pragmas: "},{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"varRef","name":"Q{}pragmas","slot":"11"}]},{"N":"str","val":" "}]}]}]},{"N":"str","role":"terminate","val":"no"},{"N":"str","role":"error","val":"Q{http:\/\/www.w3.org\/2005\/xqt-errors}XTMM9000"}]},{"N":"choose","line":"116","C":[{"N":"fn","line":"117","name":"exists","C":[{"N":"varRef","name":"Q{}pragmas","slot":"11"}]},{"N":"iterate","line":"118","C":[{"N":"filter","role":"select","flags":"b","C":[{"N":"gVarRef","name":"Q{}pragmas.supported","bSlot":"4"},{"N":"gc","op":"=","card":"N:1","comp":"GAC|http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint","C":[{"N":"varRef","name":"Q{}pragmas","slot":"11"},{"N":"dot","type":"1AS"}]}]},{"N":"params","role":"params","line":"119","C":[{"N":"param","name":"Q{}source","slot":"2","C":[{"N":"varRef","role":"select","name":"Q{}parsed.xml","slot":"4"},{"N":"supplied","role":"conversion","slot":"2"}]},{"N":"param","line":"120","name":"Q{}attempts","slot":"3","as":"1ADI","C":[{"N":"int","role":"select","val":"5"},{"N":"check","role":"conversion","card":"1","diag":"8|0|XTTE0590|attempts","C":[{"N":"convert","from":"A","to":"ADI","flags":"d","diag":"8|0|XTTE0590|attempts","C":[{"N":"cvUntyped","to":"ADI","diag":"8|0|XTTE0590|attempts","C":[{"N":"data","diag":"8|0|XTTE0590|attempts","C":[{"N":"supplied","slot":"3"}]}]}]}]}]}]},{"N":"sequence","role":"on-completion","line":"127","C":[{"N":"message","C":[{"N":"valueOf","role":"select","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"$options?compile : "},{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}options","slot":"1"},{"N":"str","val":"compile"}]}]}]}]},{"N":"str","val":" "}]}]}]},{"N":"str","role":"terminate","val":"no"},{"N":"str","role":"error","val":"Q{http:\/\/www.w3.org\/2005\/xqt-errors}XTMM9000"}]},{"N":"message","line":"128","C":[{"N":"valueOf","role":"select","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"on-completion:"},{"N":"convert","from":"ADI","to":"AS","C":[{"N":"varRef","name":"Q{}attempts","slot":"3"}]},{"N":"str","val":":"},{"N":"fn","name":"serialize","C":[{"N":"varRef","name":"Q{}source","slot":"2"},{"N":"map","size":"1","C":[{"N":"str","val":"indent"},{"N":"true"}]}]}]}]},{"N":"str","role":"terminate","val":"no"},{"N":"str","role":"error","val":"Q{http:\/\/www.w3.org\/2005\/xqt-errors}XTMM9000"}]},{"N":"let","line":"130","var":"Q{}temp","slot":"12","flags":"e","C":[{"N":"choose","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}options","slot":"1"},{"N":"str","val":"compile"}]},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:call","C":[{"N":"gVarRef","name":"Q{}jwiXML","bSlot":"7"}]},{"N":"str","val":"compile"},{"N":"arrayBlock","C":[{"N":"varRef","name":"Q{}source","slot":"2"},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}put","type":"1FM","C":[{"N":"varRef","name":"Q{}options","slot":"1"},{"N":"str","val":"pragmas"},{"N":"true"}]}]}]},{"N":"true"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:call","C":[{"N":"gVarRef","name":"Q{}jwiXML","bSlot":"8"}]},{"N":"str","val":"parse"},{"N":"arrayBlock","C":[{"N":"varRef","name":"Q{}source","slot":"2"},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}put","type":"1FM","C":[{"N":"varRef","name":"Q{}options","slot":"1"},{"N":"str","val":"pragmas"},{"N":"true"}]}]}]}]},{"N":"sequence","line":"131","C":[{"N":"message","C":[{"N":"valueOf","role":"select","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"on-completion iXML:"},{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}grammarToIXML","tailCall":"false","bSlot":"9","C":[{"N":"check","card":"1","diag":"0|0||jwL:grammarToIXML","C":[{"N":"varRef","name":"Q{}temp","slot":"12"}]}]}]}]}]},{"N":"str","val":" "}]}]}]},{"N":"str","role":"terminate","val":"no"},{"N":"str","role":"error","val":"Q{http:\/\/www.w3.org\/2005\/xqt-errors}XTMM9000"}]},{"N":"varRef","line":"132","name":"Q{}temp","slot":"12"}]}]}]},{"N":"choose","role":"action","line":"141","C":[{"N":"compareToInt","line":"142","op":"le","val":"0","C":[{"N":"varRef","name":"Q{}attempts","slot":"3"}]},{"N":"break","line":"143"},{"N":"true"},{"N":"nextIteration","line":"146","C":[{"N":"withParam","name":"Q{}source","slot":"2","C":[{"N":"lookup","line":"148","C":[{"N":"fn","name":"transform","C":[{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}merge","type":"1FM","C":[{"N":"sequence","C":[{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"stylesheet-node"},{"N":"ifCall","line":"139","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}get","type":"*","C":[{"N":"gVarRef","name":"Q{}pragma.implementations","bSlot":"5"},{"N":"dot","type":"1AS"}]}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"source-node"},{"N":"varRef","name":"Q{}source","slot":"2"}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"stylesheet-params"},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}merge","type":"1FM","C":[{"N":"sequence","C":[{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"qName","pre":"","uri":"","loc":"baseURI"},{"N":"lookup","C":[{"N":"varRef","name":"Q{}options","slot":"1"},{"N":"str","val":"baseURI"}]}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"qName","pre":"","uri":"","loc":"pragmaURI"},{"N":"gVarRef","name":"Q{}pragmaURI","bSlot":"6"}]}]},{"N":"map","size":"2","C":[{"N":"str","val":"duplicates"},{"N":"str","val":"reject"},{"N":"str","val":"duplicates-error-code"},{"N":"str","val":"XQDY0137"}]}]}]}]},{"N":"map","size":"2","C":[{"N":"str","val":"duplicates"},{"N":"str","val":"reject"},{"N":"str","val":"duplicates-error-code"},{"N":"str","val":"XQDY0137"}]}]}]},{"N":"str","val":"output"}]}]},{"N":"withParam","name":"Q{}attempts","as":"1ADI","slot":"3","C":[{"N":"arith","line":"149","op":"-","calc":"i-i","C":[{"N":"varRef","name":"Q{}attempts","slot":"3"},{"N":"int","val":"1"}]}]}]}]}]},{"N":"true"},{"N":"let","line":"157","var":"Q{}temp","slot":"13","flags":"e","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:call","C":[{"N":"gVarRef","name":"Q{}jwiXML","bSlot":"10"}]},{"N":"choose","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}options","slot":"1"},{"N":"str","val":"compile"}]},{"N":"str","val":"compile"},{"N":"true"},{"N":"str","val":"parse"}]},{"N":"arrayBlock","C":[{"N":"varRef","name":"Q{}grammarSource","slot":"0"},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}put","type":"1FM","C":[{"N":"varRef","name":"Q{}options","slot":"1"},{"N":"str","val":"pragmas"},{"N":"true"}]}]}]},{"N":"sequence","line":"158","C":[{"N":"message","C":[{"N":"valueOf","role":"select","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"Processed: "},{"N":"fn","name":"serialize","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}grammarToXML","tailCall":"false","bSlot":"11","C":[{"N":"check","card":"1","diag":"0|0||jwL:grammarToXML","C":[{"N":"varRef","name":"Q{}temp","slot":"13"}]}]}]}]}]},{"N":"str","role":"terminate","val":"no"},{"N":"str","role":"error","val":"Q{http:\/\/www.w3.org\/2005\/xqt-errors}XTMM9000"}]},{"N":"varRef","line":"159","name":"Q{}temp","slot":"13"}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"true"},{"N":"check","line":"164","card":"1","diag":"5|0|XTTE0780|jwL:preprocessGrammar#2","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:call","C":[{"N":"gVarRef","name":"Q{}jwiXML","bSlot":"12"}]},{"N":"choose","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}options","slot":"1"},{"N":"str","val":"compile"}]},{"N":"str","val":"compile"},{"N":"true"},{"N":"str","val":"parse"}]},{"N":"arrayBlock","C":[{"N":"varRef","name":"Q{}grammarSource","slot":"0"},{"N":"varRef","name":"Q{}options","slot":"1"}]}]}]}]}]}]},{"N":"co","id":"9","vis":"PUBLIC","binds":"","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}parseRecords","line":"287","module":"jwiXML.processor.3.xsl","flags":"pU","as":"*NE","slots":"13","C":[{"N":"arg","name":"Q{}grammar","as":"*"},{"N":"arg","name":"Q{}input","as":"1AS"},{"N":"arg","name":"Q{}separator","as":"1AS"},{"N":"arg","name":"Q{}options","as":"1FM"},{"N":"choose","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"292","C":[{"N":"lookup","line":"293","C":[{"N":"varRef","name":"Q{}options","slot":"3"},{"N":"str","val":"showTimes"}]},{"N":"let","line":"305","var":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","as":"1","slot":"9","flags":"l","C":[{"N":"check","card":"1","diag":"0|0||ixsl:call","C":[{"N":"varRef","name":"Q{}grammar","slot":"0"}]},{"N":"treat","line":"294","as":"NE","diag":"5|0|XTTE0780|jwL:parseRecords#4","C":[{"N":"iterate","C":[{"N":"fn","role":"select","name":"tokenize","C":[{"N":"varRef","name":"Q{}input","slot":"1"},{"N":"varRef","name":"Q{}separator","slot":"2"},{"N":"str","val":""}]},{"N":"params","role":"params","line":"295","C":[{"N":"param","name":"Q{}records","slot":"4","C":[{"N":"int","role":"select","val":"0"},{"N":"supplied","role":"conversion","slot":"4"}]},{"N":"param","line":"296","name":"Q{}tokens","slot":"5","C":[{"N":"int","role":"select","val":"0"},{"N":"supplied","role":"conversion","slot":"5"}]},{"N":"param","line":"297","name":"Q{}parseTime","slot":"6","C":[{"N":"int","role":"select","val":"0"},{"N":"supplied","role":"conversion","slot":"6"}]},{"N":"param","line":"298","name":"Q{}treeTime","slot":"7","C":[{"N":"int","role":"select","val":"0"},{"N":"supplied","role":"conversion","slot":"7"}]},{"N":"param","line":"299","name":"Q{}states","slot":"8","C":[{"N":"int","role":"select","val":"0"},{"N":"supplied","role":"conversion","slot":"8"}]}]},{"N":"elem","role":"on-completion","line":"301","name":"p","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"timing"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"Records: "},{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}records","slot":"4"}]}]}]},{"N":"str","val":" "}]},{"N":"str","val":", Tokens: "},{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}tokens","slot":"5"}]}]}]},{"N":"str","val":" "}]},{"N":"str","val":", Parse time:\n "},{"N":"fn","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","module":"jwiXML.3.xsl","line":"109","name":"format-number","C":[{"N":"check","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","module":"jwiXML.processor.3.xsl","line":"301","card":"?","diag":"0|0||f:roundTime","C":[{"N":"convert","from":"A","to":"AO","flags":"p","diag":"0|0||f:roundTime","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||f:roundTime","C":[{"N":"data","diag":"0|0||f:roundTime","C":[{"N":"varRef","name":"Q{}parseTime","slot":"6"}]}]}]}]},{"N":"str","val":"#0.00"}]},{"N":"str","val":"ms, Tree time: "},{"N":"fn","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","module":"jwiXML.3.xsl","line":"109","name":"format-number","C":[{"N":"check","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","module":"jwiXML.processor.3.xsl","line":"301","card":"?","diag":"0|0||f:roundTime","C":[{"N":"convert","from":"A","to":"AO","flags":"p","diag":"0|0||f:roundTime","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||f:roundTime","C":[{"N":"data","diag":"0|0||f:roundTime","C":[{"N":"varRef","name":"Q{}treeTime","slot":"7"}]}]}]}]},{"N":"str","val":"#0.00"}]},{"N":"str","val":"ms"}]}]},{"N":"elem","line":"302","name":"br","nsuri":"","flags":"l","C":[{"N":"empty"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":" #states:\n "},{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}states","slot":"8"}]}]}]},{"N":"str","val":" "}]}]}]}]}]},{"N":"let","role":"action","line":"305","var":"Q{}result","slot":"10","flags":"e","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"varRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","slot":"9"},{"N":"str","val":"parse"},{"N":"arrayBlock","C":[{"N":"dot","type":"1AS"},{"N":"varRef","name":"Q{}options","slot":"3"}]}]},{"N":"sequence","line":"306","C":[{"N":"docOrder","intra":"0","C":[{"N":"slash","simple":"2","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|\/","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}result","slot":"10"},{"N":"str","val":"tree"}]}]},{"N":"axis","name":"child","nodeTest":"NE"}]}]},{"N":"nextIteration","line":"309","C":[{"N":"withParam","name":"Q{}records","as":"?A n~numeric","slot":"4","C":[{"N":"arith","line":"310","op":"+","calc":"a+a","C":[{"N":"cvUntyped","to":"AO","C":[{"N":"atomSing","card":"?","diag":"1|0||+","C":[{"N":"varRef","name":"Q{}records","slot":"4"}]}]},{"N":"int","val":"1"}]}]},{"N":"withParam","name":"Q{}tokens","as":"?A n~numeric","slot":"5","C":[{"N":"arith","line":"311","op":"+","calc":"a+a","C":[{"N":"cvUntyped","to":"AO","C":[{"N":"atomSing","card":"?","diag":"1|0||+","C":[{"N":"varRef","name":"Q{}tokens","slot":"5"}]}]},{"N":"fn","name":"string-length","C":[{"N":"dot","type":"1AS"}]}]}]},{"N":"withParam","name":"Q{}parseTime","as":"?A","slot":"6","C":[{"N":"arith","line":"312","op":"+","calc":"a+a","C":[{"N":"cvUntyped","to":"AO","C":[{"N":"atomSing","card":"?","diag":"1|0||+","C":[{"N":"varRef","name":"Q{}parseTime","slot":"6"}]}]},{"N":"cvUntyped","to":"AO","C":[{"N":"atomSing","card":"?","diag":"1|1||+","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}result","slot":"10"},{"N":"str","val":"parseTime"}]}]}]}]}]},{"N":"withParam","name":"Q{}treeTime","as":"?A","slot":"7","C":[{"N":"arith","line":"313","op":"+","calc":"a+a","C":[{"N":"cvUntyped","to":"AO","C":[{"N":"atomSing","card":"?","diag":"1|0||+","C":[{"N":"varRef","name":"Q{}treeTime","slot":"7"}]}]},{"N":"cvUntyped","to":"AO","C":[{"N":"atomSing","card":"?","diag":"1|1||+","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}result","slot":"10"},{"N":"str","val":"treeTime"}]}]}]}]}]},{"N":"withParam","name":"Q{}states","as":"?A","slot":"8","C":[{"N":"arith","line":"315","op":"+","calc":"a+a","C":[{"N":"cvUntyped","to":"AO","C":[{"N":"atomSing","card":"?","diag":"1|0||+","C":[{"N":"varRef","name":"Q{}states","slot":"8"}]}]},{"N":"cvUntyped","to":"AO","C":[{"N":"fn","name":"sum","C":[{"N":"for","var":"Q{}s","slot":"11","C":[{"N":"lookup","role":"in","C":[{"N":"varRef","name":"Q{}result","slot":"10"},{"N":"str","val":"states"}]},{"N":"data","role":"return","diag":"0|0||fn:sum","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"varRef","name":"Q{}s","slot":"11"},{"N":"str","val":"countStates"},{"N":"array","size":"0"}]}]}]},{"N":"int","val":"0"}]}]}]}]}]}]}]}]}]}]},{"N":"true"},{"N":"let","line":"321","var":"Q{http:\/\/saxon.sf.net\/generated-variable}v1","as":"1","slot":"12","flags":"l","C":[{"N":"check","card":"1","diag":"0|0||ixsl:call","C":[{"N":"varRef","name":"Q{}grammar","slot":"0"}]},{"N":"forEach","line":"320","C":[{"N":"fn","name":"tokenize","C":[{"N":"varRef","name":"Q{}input","slot":"1"},{"N":"varRef","name":"Q{}separator","slot":"2"},{"N":"str","val":""}]},{"N":"docOrder","line":"321","intra":"0","C":[{"N":"slash","simple":"2","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|\/","C":[{"N":"lookup","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"varRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}v1","slot":"12"},{"N":"str","val":"parse"},{"N":"arrayBlock","C":[{"N":"dot","type":"1AS"},{"N":"varRef","name":"Q{}options","slot":"3"}]}]},{"N":"str","val":"tree"}]}]},{"N":"axis","name":"child","nodeTest":"NE"}]}]}]}]}]}]}]},{"N":"co","id":"10","vis":"PUBLIC","binds":"2","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}parseGrammar","line":"169","module":"jwiXML.processor.3.xsl","flags":"pU","as":"1","slots":"1","C":[{"N":"arg","name":"Q{}grammarSource","as":"1"},{"N":"tailCallLoop","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"172","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}parseGrammar","tailCall":"foreign","bSlot":"0","C":[{"N":"varRef","name":"Q{}grammarSource","slot":"0"},{"N":"map","size":"0"}]}]}]}]},{"N":"co","id":"11","binds":"","C":[{"N":"globalVariable","name":"Q{}actionControls","as":"1ND","line":"214","module":"jwiXML.3.xsl","visibility":"PRIVATE","C":[{"N":"doc","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"215","C":[{"N":"elem","name":"fieldset","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"options"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"actions"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Actions"}]},{"N":"elem","line":"216","name":"group","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Grammar"}]},{"N":"elem","line":"217","name":"button","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"reformat"}]},{"N":"att","name":"aria-describedby","flags":"l","C":[{"N":"str","val":"reformatG"}]},{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"format"}]},{"N":"elem","name":"tooltip","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Pretty-print the\n grammar so that all LHS (rule names) are right-aligned"}]}]}]}]},{"N":"elem","line":"220","name":"button","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"advancedOption"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"reduce"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Generate reduced parse tree\n version"}]},{"N":"elem","line":"221","name":"tooltip","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Modify the current grammar to eliminate single-element-child\n subtrees in the parse tree."}]},{"N":"elem","line":"222","name":"br","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"empty"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":" This is useful for grammars with very\n deeply-nested productions, most noteably those for programming languages.\n For more details see "}]},{"N":"elem","line":"224","name":"a","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"href","flags":"l","C":[{"N":"str","val":""}]},{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"Balisage"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","id":"12","binds":"13 14 15 14 15 14 15","C":[{"N":"function","name":"Q{MyFunctions}makeGrammarDisplay","line":"48","module":"grammar.3.xsl","flags":"pU","as":"*","slots":"4","C":[{"N":"arg","name":"Q{}parsedGrammar","as":"1"},{"N":"arg","name":"Q{}compiledGrammar","as":"1"},{"N":"arg","name":"Q{}id","as":"1AS"},{"N":"arg","name":"Q{}preprocessedGrammar","as":"?"},{"N":"elem","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"72","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","line":"73","C":[{"N":"elem","name":"p","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"timing"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","module":"jwiXML.3.xsl","line":"109","name":"concat","C":[{"N":"str","val":"Parse time: "},{"N":"fn","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","name":"format-number","C":[{"N":"check","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","module":"grammar.3.xsl","line":"73","card":"?","diag":"0|0||f:roundTime","C":[{"N":"convert","from":"A","to":"AO","flags":"p","diag":"0|0||f:roundTime","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||f:roundTime","C":[{"N":"data","diag":"0|0||f:roundTime","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}parsedGrammar","slot":"0"},{"N":"str","val":"parseTime"}]}]}]}]}]},{"N":"str","val":"#0.00"}]},{"N":"str","val":"ms, Compile time:\n "},{"N":"fn","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","name":"format-number","C":[{"N":"check","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","module":"grammar.3.xsl","line":"73","card":"?","diag":"0|0||f:roundTime","C":[{"N":"convert","from":"A","to":"AO","flags":"p","diag":"0|0||f:roundTime","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||f:roundTime","C":[{"N":"data","diag":"0|0||f:roundTime","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}compiledGrammar","slot":"1"},{"N":"str","val":"compileTime"}]}]}]}]}]},{"N":"str","val":"#0.00"}]},{"N":"str","val":"ms"}]}]}]}]},{"N":"applyT","line":"75","mode":"Q{}make-controls","bSlot":"0","C":[{"N":"elem","role":"select","ns":"doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"54","name":"div","nsuri":"","namespaces":"err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"grammarDisplay"}]},{"N":"elem","line":"55","name":"label","nsuri":"","flags":"l","namespaces":"err ixml ixt","C":[{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Grammar Display"}]}]},{"N":"elem","line":"56","name":"div","nsuri":"","flags":"l","namespaces":"err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"side"}]},{"N":"elem","line":"57","name":"group","nsuri":"","flags":"l","namespaces":"err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"radio"}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"grammarPhase"}]},{"N":"elem","line":"58","name":"option","nsuri":"","flags":"l","namespaces":"err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"default","flags":"l","C":[{"N":"str","val":""}]},{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"Parsed"}]}]}]},{"N":"choose","line":"59","C":[{"N":"fn","name":"exists","C":[{"N":"varRef","name":"Q{}preprocessedGrammar","slot":"3"}]},{"N":"elem","line":"60","name":"option","nsuri":"","flags":"l","namespaces":"err ixml ixt","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"Preprocessed"}]}]}]},{"N":"elem","line":"62","name":"option","nsuri":"","flags":"l","namespaces":"err ixml ixt","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"Compiled"}]}]}]}]},{"N":"elem","line":"64","name":"group","nsuri":"","flags":"l","namespaces":"err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"radio"}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"grammarFormat"}]},{"N":"elem","line":"65","name":"option","nsuri":"","flags":"l","namespaces":"err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"default","flags":"l","C":[{"N":"str","val":""}]},{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"XML"}]}]}]},{"N":"elem","line":"66","name":"option","nsuri":"","flags":"l","namespaces":"err ixml ixt","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"ixml"}]}]},{"N":"elem","line":"67","name":"option","nsuri":"","flags":"l","namespaces":"err ixml ixt","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"highlight"}]}]}]}]}]}]}]}]},{"N":"withParam","name":"Q{}group.id","flags":"t","as":"1AS","C":[{"N":"varRef","line":"76","name":"Q{}id","slot":"2"}]}]},{"N":"elem","line":"78","name":"button","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"selectAll"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":"select grammar"}]}]}]},{"N":"elem","line":"79","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"grammar parsed"}]},{"N":"elem","line":"80","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"xmlSyntax"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"ufCall","name":"Q{MyFunctions}serialize","tailCall":"false","bSlot":"1","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"varRef","name":"Q{}parsedGrammar","slot":"0"},{"N":"str","val":"display"},{"N":"array","size":"1","C":[{"N":"map","size":"1","C":[{"N":"str","val":"debug"},{"N":"false"}]}]}]}]},{"N":"str","val":" "}]}]}]}]},{"N":"elem","line":"81","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"style","flags":"l","C":[{"N":"str","val":"display:none"}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"ixmlSyntax"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"varRef","name":"Q{}parsedGrammar","slot":"0"},{"N":"str","val":"flat"},{"N":"array","size":"0"}]}]}]}]},{"N":"str","val":" "}]}]}]}]},{"N":"elem","line":"82","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"style","flags":"l","C":[{"N":"str","val":"display:none"}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"highlightSyntax"}]},{"N":"applyT","line":"83","mode":"Q{}highlight","bSlot":"2","C":[{"N":"ifCall","role":"select","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"varRef","name":"Q{}parsedGrammar","slot":"0"},{"N":"str","val":"display"},{"N":"array","size":"0"}]}]}]}]}]}]},{"N":"choose","line":"86","C":[{"N":"fn","name":"exists","C":[{"N":"varRef","name":"Q{}preprocessedGrammar","slot":"3"}]},{"N":"elem","line":"87","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"style","flags":"l","C":[{"N":"str","val":"display:none"}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"grammar preprocessed"}]},{"N":"elem","line":"88","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"xmlSyntax"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"ufCall","name":"Q{MyFunctions}serialize","tailCall":"false","bSlot":"3","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:call","C":[{"N":"varRef","name":"Q{}preprocessedGrammar","slot":"3"}]},{"N":"str","val":"display"},{"N":"array","size":"0"}]}]},{"N":"str","val":" "}]}]}]}]},{"N":"elem","line":"89","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"style","flags":"l","C":[{"N":"str","val":"display:none"}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"ixmlSyntax"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:call","C":[{"N":"varRef","name":"Q{}preprocessedGrammar","slot":"3"}]},{"N":"str","val":"flat"},{"N":"array","size":"0"}]}]}]}]},{"N":"str","val":" "}]}]}]}]},{"N":"elem","line":"90","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"style","flags":"l","C":[{"N":"str","val":"display:none"}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"highlightSyntax"}]},{"N":"applyT","line":"92","mode":"Q{}highlight","bSlot":"4","C":[{"N":"ifCall","role":"select","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:call","C":[{"N":"varRef","name":"Q{}preprocessedGrammar","slot":"3"}]},{"N":"str","val":"display"},{"N":"array","size":"0"}]}]}]}]}]}]}]},{"N":"elem","line":"96","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"style","flags":"l","C":[{"N":"str","val":"display:none"}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"grammar compiled"}]},{"N":"elem","line":"97","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"xmlSyntax"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"ufCall","name":"Q{MyFunctions}serialize","tailCall":"false","bSlot":"5","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"varRef","name":"Q{}compiledGrammar","slot":"1"},{"N":"str","val":"display"},{"N":"array","size":"1","C":[{"N":"map","size":"1","C":[{"N":"str","val":"debug"},{"N":"true"}]}]}]}]},{"N":"str","val":" "}]}]}]}]},{"N":"elem","line":"98","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"style","flags":"l","C":[{"N":"str","val":"display:none"}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"ixmlSyntax"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"varRef","name":"Q{}compiledGrammar","slot":"1"},{"N":"str","val":"flat"},{"N":"array","size":"0"}]}]}]}]},{"N":"str","val":" "}]}]}]}]},{"N":"elem","line":"99","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"style","flags":"l","C":[{"N":"str","val":"display:none"}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"highlightSyntax"}]},{"N":"applyT","line":"100","mode":"Q{}highlight","bSlot":"6","C":[{"N":"ifCall","role":"select","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"varRef","name":"Q{}compiledGrammar","slot":"1"},{"N":"str","val":"display"},{"N":"array","size":"0"}]}]}]}]}]}]}]}]}]}]},{"N":"co","id":"2","vis":"PUBLIC","binds":"7","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}parseGrammar","line":"174","module":"jwiXML.processor.3.xsl","flags":"pU","as":"1","slots":"2","C":[{"N":"arg","name":"Q{}grammarSource","as":"1"},{"N":"arg","name":"Q{}options","as":"1FM"},{"N":"check","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"177","card":"1","diag":"5|0|XTTE0780|jwL:parseGrammar#2","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:call","C":[{"N":"gVarRef","name":"Q{}jwiXML","bSlot":"0"}]},{"N":"str","val":"parse"},{"N":"arrayBlock","C":[{"N":"varRef","name":"Q{}grammarSource","slot":"0"},{"N":"varRef","name":"Q{}options","slot":"1"}]}]}]}]}]},{"N":"co","id":"16","binds":"","C":[{"N":"function","name":"Q{MyFunctions}roundTime","line":"107","module":"jwiXML.3.xsl","flags":"pU","as":"1AS","slots":"1","C":[{"N":"arg","name":"Q{}in","as":"?AO"},{"N":"fn","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"109","name":"format-number","C":[{"N":"varRef","name":"Q{}in","slot":"0"},{"N":"str","val":"#0.00"}]}]}]},{"N":"co","id":"17","vis":"PUBLIC","binds":"0","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}preprocessGrammar","line":"86","module":"jwiXML.processor.3.xsl","flags":"pU","as":"1","slots":"1","C":[{"N":"arg","name":"Q{}grammarSource","as":"1"},{"N":"tailCallLoop","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"89","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}preprocessGrammar","tailCall":"foreign","bSlot":"0","C":[{"N":"varRef","name":"Q{}grammarSource","slot":"0"},{"N":"map","size":"0"}]}]}]}]},{"N":"co","id":"18","binds":"","C":[{"N":"mode","name":"Q{}makeOptions","onNo":"SC","flags":"W","patternSlots":"0","C":[{"N":"templateRule","prec":"2","prio":"1.5","seq":"40","rank":"2","minImp":"0","slots":"2","matches":"NE","flags":"s","line":"28","module":"makeOptions.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml xsl=~ xml=~","line":"28","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}tooltip,NE nQ{}tooltip]"}]},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml xsl=~ xml=~","line":"29","var":"Q{}id","as":"1AS","slot":"0","C":[{"N":"fn","name":"generate-id","C":[{"N":"check","card":"?","diag":"0|0||fn:generate-id","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}tooltip,NE nQ{}tooltip]"}]}]},{"N":"let","line":"30","var":"Q{}temp","as":"1NE","slot":"1","C":[{"N":"treat","line":"31","as":"NE","diag":"3|0|XTTE0570|temp","C":[{"N":"check","card":"1","diag":"3|0|XTTE0570|temp","C":[{"N":"nextMatch","flags":"i"}]}]},{"N":"sequence","line":"33","C":[{"N":"forEach","C":[{"N":"varRef","name":"Q{}temp","slot":"1"},{"N":"copy","line":"34","flags":"cin","sit":"1NE","C":[{"N":"sequence","role":"content","line":"35","C":[{"N":"att","name":"aria-describedby","flags":"l","C":[{"N":"varRef","name":"Q{}id","slot":"0"}]},{"N":"axis","line":"36","name":"attribute","nodeTest":"NA"},{"N":"axis","line":"36","name":"child","nodeTest":"N u[NP,NC,NT,NE]"}]}]}]},{"N":"elem","line":"39","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"#","C":[{"N":"sequence","C":[{"N":"att","name":"role","flags":"l","C":[{"N":"str","val":"tooltip"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"varRef","name":"Q{}id","slot":"0"}]},{"N":"applyT","line":"40","flags":"c","bSlot":"-1","C":[{"N":"slash","role":"select","simple":"2","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}tooltip,NE nQ{}tooltip]"},{"N":"axis","name":"child","nodeTest":"N u[NP,NC,NT,NE]"}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"43","rank":"1","minImp":"0","slots":"0","matches":"NE","flags":"s","line":"61","module":"makeOptions.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}input,NE nQ{}input]"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml xsl=~ xml=~","line":"61","name":"attribute","nodeTest":"NA nQ{}label"}]},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml xsl=~ xml=~","line":"62","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"#","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"toggler"}]},{"N":"elem","line":"63","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"#","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"text"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}id"}]}]}]},{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}label"}]}]}]}]}]},{"N":"elem","line":"64","name":"input","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"#","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}type"}]}]}]},{"N":"axis","line":"65","name":"attribute","nodeTest":"NA d[NA,NA nQ{}label]"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"42","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}toggle","flags":"s","line":"44","module":"makeOptions.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}toggle"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml xsl=~ xml=~","line":"45","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"#","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"toggler "},{"N":"fn","name":"string","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}class"}]}]}]}]}]},{"N":"choose","line":"46","C":[{"N":"fn","name":"contains-token","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:contains-token","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:contains-token","C":[{"N":"data","diag":"0|0||fn:contains-token","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}class"}]}]}]},{"N":"str","val":"advancedOption"}]},{"N":"att","line":"47","name":"style","flags":"l","C":[{"N":"str","val":"display:none"}]}]},{"N":"elem","line":"52","name":"input","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"#","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"'control'"}]},{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"checkbox"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}value"}]}]}]},{"N":"att","name":"value","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}value"}]}]}]},{"N":"choose","line":"53","C":[{"N":"vc","op":"eq","onEmpty":"0","comp":"CCC","C":[{"N":"data","diag":"1|0||eq","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}on"}]},{"N":"str","val":"true"}]},{"N":"att","line":"54","name":"checked","flags":"l","C":[{"N":"str","val":""}]}]}]}]},{"N":"elem","line":"57","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"#","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"box"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}value"}]}]}]}]}]},{"N":"elem","line":"58","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"#","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"text"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}value"}]}]}]},{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}legend"}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"44","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}span","flags":"s","line":"69","module":"makeOptions.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}span"},{"N":"dot","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml xsl=~ xml=~","line":"70","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}span,NE nQ{}span]","flags":"a"}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"37","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}details","flags":"s","line":"11","module":"makeOptions.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}details"},{"N":"copy","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml xsl=~ xml=~","line":"12","flags":"cin","sit":"1NE","C":[{"N":"sequence","role":"content","line":"13","C":[{"N":"axis","name":"attribute","nodeTest":"NA"},{"N":"applyT","line":"14","flags":"ci","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"44","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}span","flags":"s","line":"69","module":"makeOptions.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}span"},{"N":"dot","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml xsl=~ xml=~","line":"70","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}span,NE nQ{}span]","flags":"a"}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"41","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}tooltip","flags":"s","line":"43","module":"makeOptions.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}tooltip"},{"N":"empty","role":"action"}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"38","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}fieldset","flags":"s","line":"17","module":"makeOptions.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}fieldset"},{"N":"copy","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml xsl=~ xml=~","line":"18","flags":"cin","sit":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}fieldset,NE nQ{}fieldset]","C":[{"N":"sequence","role":"content","line":"19","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA d[NA,NA nQ{}legend]"}]},{"N":"elem","line":"20","name":"legend","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"#","C":[{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}legend"}]}]}]}]},{"N":"applyT","line":"21","flags":"ci","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"41","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}tooltip","flags":"s","line":"43","module":"makeOptions.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}tooltip"},{"N":"empty","role":"action"}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"38","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}fieldset","flags":"s","line":"17","module":"makeOptions.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}fieldset"},{"N":"copy","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml xsl=~ xml=~","line":"18","flags":"cin","sit":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}fieldset,NE nQ{}fieldset]","C":[{"N":"sequence","role":"content","line":"19","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA d[NA,NA nQ{}legend]"}]},{"N":"elem","line":"20","name":"legend","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"#","C":[{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}legend"}]}]}]}]},{"N":"applyT","line":"21","flags":"ci","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"37","part":"3","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}summary","flags":"s","line":"11","module":"makeOptions.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}summary"},{"N":"copy","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml xsl=~ xml=~","line":"12","flags":"cin","sit":"1NE","C":[{"N":"sequence","role":"content","line":"13","C":[{"N":"axis","name":"attribute","nodeTest":"NA"},{"N":"applyT","line":"14","flags":"ci","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"42","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}toggle","flags":"s","line":"44","module":"makeOptions.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}toggle"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml xsl=~ xml=~","line":"45","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"#","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"toggler "},{"N":"fn","name":"string","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}class"}]}]}]}]}]},{"N":"choose","line":"46","C":[{"N":"fn","name":"contains-token","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:contains-token","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:contains-token","C":[{"N":"data","diag":"0|0||fn:contains-token","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}class"}]}]}]},{"N":"str","val":"advancedOption"}]},{"N":"att","line":"47","name":"style","flags":"l","C":[{"N":"str","val":"display:none"}]}]},{"N":"elem","line":"52","name":"input","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"#","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"'control'"}]},{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"checkbox"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}value"}]}]}]},{"N":"att","name":"value","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}value"}]}]}]},{"N":"choose","line":"53","C":[{"N":"vc","op":"eq","onEmpty":"0","comp":"CCC","C":[{"N":"data","diag":"1|0||eq","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}on"}]},{"N":"str","val":"true"}]},{"N":"att","line":"54","name":"checked","flags":"l","C":[{"N":"str","val":""}]}]}]}]},{"N":"elem","line":"57","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"#","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"box"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}value"}]}]}]}]}]},{"N":"elem","line":"58","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"#","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"text"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}value"}]}]}]},{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}legend"}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"37","part":"2","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}summary","flags":"s","line":"11","module":"makeOptions.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}summary"},{"N":"copy","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml xsl=~ xml=~","line":"12","flags":"cin","sit":"1NE","C":[{"N":"sequence","role":"content","line":"13","C":[{"N":"axis","name":"attribute","nodeTest":"NA"},{"N":"applyT","line":"14","flags":"ci","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"39","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}group","flags":"s","line":"24","module":"makeOptions.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}group"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml xsl=~ xml=~","line":"25","C":[{"N":"elem","name":"legend","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"#","C":[{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}legend"}]}]}]}]},{"N":"applyT","line":"26","flags":"cti","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"39","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}group","flags":"s","line":"24","module":"makeOptions.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}group"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml xsl=~ xml=~","line":"25","C":[{"N":"elem","name":"legend","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"#","C":[{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}legend"}]}]}]}]},{"N":"applyT","line":"26","flags":"cti","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"37","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}details","flags":"s","line":"11","module":"makeOptions.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}details"},{"N":"copy","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml xsl=~ xml=~","line":"12","flags":"cin","sit":"1NE","C":[{"N":"sequence","role":"content","line":"13","C":[{"N":"axis","name":"attribute","nodeTest":"NA"},{"N":"applyT","line":"14","flags":"ci","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"}]}]}]}]}]}]},{"N":"co","id":"19","binds":"12","C":[{"N":"function","name":"Q{MyFunctions}makeGrammarDisplay","line":"41","module":"grammar.3.xsl","flags":"pU","as":"*","slots":"3","C":[{"N":"arg","name":"Q{}parsedGrammar","as":"1"},{"N":"arg","name":"Q{}compiledGrammar","as":"1"},{"N":"arg","name":"Q{}id","as":"1AS"},{"N":"tailCallLoop","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"46","C":[{"N":"ufCall","name":"Q{MyFunctions}makeGrammarDisplay","tailCall":"foreign","bSlot":"0","C":[{"N":"varRef","name":"Q{}parsedGrammar","slot":"0"},{"N":"varRef","name":"Q{}compiledGrammar","slot":"1"},{"N":"varRef","name":"Q{}id","slot":"2"},{"N":"empty"}]}]}]}]},{"N":"co","id":"20","vis":"PUBLIC","binds":"9","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}parseRecords","line":"280","module":"jwiXML.processor.3.xsl","flags":"pU","as":"*NE","slots":"3","C":[{"N":"arg","name":"Q{}grammar","as":"*"},{"N":"arg","name":"Q{}input","as":"1AS"},{"N":"arg","name":"Q{}separator","as":"1AS"},{"N":"tailCallLoop","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"285","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}parseRecords","tailCall":"foreign","bSlot":"0","C":[{"N":"varRef","name":"Q{}grammar","slot":"0"},{"N":"varRef","name":"Q{}input","slot":"1"},{"N":"varRef","name":"Q{}separator","slot":"2"},{"N":"map","size":"0"}]}]}]}]},{"N":"co","id":"21","binds":"22","C":[{"N":"globalVariable","name":"Q{}processor-version","as":"1AS","line":"37","module":"jwiXML.3.xsl","visibility":"PRIVATE","C":[{"N":"ufCall","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"37","name":"Q{https:\/\/github.com\/johnlumley}version","tailCall":"false","bSlot":"0"}]}]},{"N":"co","id":"23","vis":"PUBLIC","binds":"20","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}parseRecords","line":"274","module":"jwiXML.processor.3.xsl","flags":"pU","as":"*NE","slots":"2","C":[{"N":"arg","name":"Q{}grammar","as":"*"},{"N":"arg","name":"Q{}input","as":"1AS"},{"N":"tailCallLoop","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"278","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}parseRecords","tailCall":"foreign","bSlot":"0","C":[{"N":"varRef","name":"Q{}grammar","slot":"0"},{"N":"varRef","name":"Q{}input","slot":"1"},{"N":"str","val":"\\n"}]}]}]}]},{"N":"co","id":"24","binds":"25 25","C":[{"N":"function","name":"Q{MyFunctions}serializeIndent","line":"722","module":"jwiXML.3.xsl","flags":"pU","as":"*","slots":"2","C":[{"N":"arg","name":"Q{}context","as":"1N"},{"N":"let","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"726","var":"Q{}r","as":"1AS","slot":"1","C":[{"N":"fn","name":"serialize","C":[{"N":"varRef","name":"Q{}context","slot":"0"},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}merge","type":"1FM","C":[{"N":"sequence","C":[{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"indent"},{"N":"ufCall","name":"Q{MyFunctions}readCheckbox","tailCall":"false","bSlot":"0","C":[{"N":"str","val":"indent"}]}]},{"N":"literal","count":"2","C":[{"N":"map","size":"1","C":[{"N":"str","val":"omit-xml-declaration"},{"N":"true"}]},{"N":"map","size":"1","C":[{"N":"str","val":"method"},{"N":"str","val":"xml"}]}]}]},{"N":"map","size":"2","C":[{"N":"str","val":"duplicates"},{"N":"str","val":"reject"},{"N":"str","val":"duplicates-error-code"},{"N":"str","val":"XQDY0137"}]}]}]},{"N":"elem","line":"742","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"l","C":[{"N":"choose","C":[{"N":"ufCall","name":"Q{MyFunctions}readCheckbox","tailCall":"false","bSlot":"1","C":[{"N":"str","val":"indentOne"}]},{"N":"fn","name":"string-join","C":[{"N":"forEach","line":"728","C":[{"N":"fn","name":"tokenize","C":[{"N":"varRef","name":"Q{}r","slot":"1"},{"N":"str","val":"\\n"},{"N":"str","val":""}]},{"N":"fn","line":"739","name":"string-join","C":[{"N":"analyzeString","line":"730","C":[{"N":"dot","role":"select","type":"1AS"},{"N":"str","role":"regex","val":"^\\s+"},{"N":"str","role":"flags","val":""},{"N":"fn","role":"matching","line":"732","name":"string-join","C":[{"N":"forEach","C":[{"N":"to","C":[{"N":"int","val":"1"},{"N":"arith","op":"idiv","calc":"i~i","C":[{"N":"fn","name":"string-length","C":[{"N":"dot","type":"1AS"}]},{"N":"int","val":"3"}]}]},{"N":"str","val":" "}]}]},{"N":"dot","role":"nonMatching","line":"735","type":"1AS"}]},{"N":"str","val":""}]}]},{"N":"str","val":"\n"}]},{"N":"true"},{"N":"varRef","line":"743","name":"Q{}r","slot":"1"}]}]}]}]}]}]},{"N":"co","id":"26","vis":"PUBLIC","binds":"","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}parse","line":"231","module":"jwiXML.processor.3.xsl","flags":"pU","as":"1FM","slots":"3","C":[{"N":"arg","name":"Q{}grammar","as":"*"},{"N":"arg","name":"Q{}input","as":"1AS"},{"N":"arg","name":"Q{}options","as":"1FM"},{"N":"treat","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"235","as":"FM","diag":"5|0|XTTE0780|jwL:parse#3","C":[{"N":"check","card":"1","diag":"5|0|XTTE0780|jwL:parse#3","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:call","C":[{"N":"varRef","name":"Q{}grammar","slot":"0"}]},{"N":"str","val":"parse"},{"N":"arrayBlock","C":[{"N":"varRef","name":"Q{}input","slot":"1"},{"N":"varRef","name":"Q{}options","slot":"2"}]}]}]}]}]}]},{"N":"co","id":"27","vis":"PUBLIC","binds":"26","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}parse","line":"225","module":"jwiXML.processor.3.xsl","flags":"pU","as":"1FM","slots":"2","C":[{"N":"arg","name":"Q{}grammar","as":"*"},{"N":"arg","name":"Q{}input","as":"1AS"},{"N":"tailCallLoop","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"229","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}parse","tailCall":"foreign","bSlot":"0","C":[{"N":"varRef","name":"Q{}grammar","slot":"0"},{"N":"varRef","name":"Q{}input","slot":"1"},{"N":"map","size":"0"}]}]}]}]},{"N":"co","id":"28","binds":"26","C":[{"N":"function","name":"Q{http:\/\/ns.saxonica.com\/anonymous-type}f_1592763413","line":"0","flags":"pU","as":"1","slots":"2","C":[{"N":"arg","name":"Q{}input","as":"1AS"},{"N":"arg","name":"Q{}grammar","as":"1"},{"N":"check","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks ixml=http:\/\/invisiblexml.org\/NS jwL=https:\/\/github.com\/johnlumley math=~ xs=~ xsl=~ xml=~","line":"33","card":"1","diag":"5|0|XTTE0780|anon:f_1592763413#2","C":[{"N":"lookup","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}parse","tailCall":"false","bSlot":"0","C":[{"N":"varRef","name":"Q{}grammar","slot":"1"},{"N":"varRef","name":"Q{}input","slot":"0"},{"N":"map","size":"1","C":[{"N":"str","val":"justOne"},{"N":"false"}]}]},{"N":"str","val":"tree"}]}]}]}]},{"N":"co","id":"29","binds":"30","C":[{"N":"globalVariable","name":"Q{http:\/\/saxon.sf.net\/generated-variable}gg1893088773","as":"*NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-set","line":"376","module":"jwiXML.3.xsl","visibility":"PRIVATE","C":[{"N":"slash","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"376","simple":"2","C":[{"N":"gVarRef","name":"Q{}allThings","bSlot":"0"},{"N":"axis","name":"descendant","nodeTest":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-set"}]}]}]},{"N":"co","id":"31","binds":"","C":[{"N":"globalParam","name":"Q{}tag.rep","as":"1AS","line":"19","module":"ixmlTreeReduce.3.xsl","visibility":"PUBLIC","C":[{"N":"str","val":"REP-"}]}]},{"N":"co","id":"32","binds":"","C":[{"N":"globalVariable","name":"Q{}optionControls","as":"1ND","line":"119","module":"jwiXML.3.xsl","visibility":"PRIVATE","C":[{"N":"doc","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"120","C":[{"N":"elem","name":"fieldset","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"options"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"options"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Options"}]},{"N":"elem","line":"121","name":"toggle","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"advanced"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Show Advanced options\/actions"}]}]}]},{"N":"elem","line":"122","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"advancedOption"}]},{"N":"att","name":"style","flags":"l","C":[{"N":"str","val":"display:none"}]},{"N":"elem","line":"123","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"hint experimental"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Experimental features - use at your peril!"}]}]}]}]}]},{"N":"elem","line":"125","name":"group","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Grammar"}]},{"N":"elem","line":"126","name":"toggle","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"unreachable"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Prohibit unreachable non-terminals"}]}]}]},{"N":"elem","line":"133","name":"toggle","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"advancedOption"}]},{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"version1.1"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Support iXML version 1.1"}]}]}]},{"N":"elem","line":"136","name":"toggle","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"advancedOption"}]},{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"missing"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Permit missing non-terminals"}]}]}]},{"N":"elem","line":"141","name":"toggle","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"advancedOption"}]},{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"twRewrites"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Use Tovey-Walsh rewrites"}]},{"N":"att","name":"on","flags":"l","C":[{"N":"str","val":"true"}]}]}]},{"N":"elem","line":"146","name":"toggle","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"advancedOption experimental"}]},{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"pragmas"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Support pragmas"}]},{"N":"att","name":"on","flags":"l","C":[{"N":"str","val":"false"}]}]}]},{"N":"elem","line":"150","name":"toggle","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"advancedOption experimental"}]},{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"longStrings"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Keep multi-char strings"}]},{"N":"att","name":"on","flags":"l","C":[{"N":"str","val":"false"}]}]}]},{"N":"elem","line":"154","name":"toggle","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"advancedOption experimental"}]},{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"regEx"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Use regular expression matches"}]},{"N":"att","name":"on","flags":"l","C":[{"N":"str","val":"false"}]}]}]},{"N":"elem","line":"159","name":"toggle","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"advancedOption experimental"}]},{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"useFnInvisibleXML"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Use fn:invisible-xml()"}]},{"N":"att","name":"on","flags":"l","C":[{"N":"str","val":"false"}]}]}]},{"N":"elem","line":"160","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"advancedOption experimental"}]},{"N":"att","name":"style","flags":"l","C":[{"N":"str","val":"display:none"}]},{"N":"elem","line":"167","name":"input","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"label","flags":"l","C":[{"N":"str","val":"Max state loops:"}]},{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"number"}]},{"N":"att","name":"min","flags":"l","C":[{"N":"str","val":"100"}]},{"N":"att","name":"max","flags":"l","C":[{"N":"str","val":"10000"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"loopLimit"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"str","val":"loopLimit"}]},{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"1000"}]}]}]},{"N":"elem","line":"174","name":"input","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"label","flags":"l","C":[{"N":"str","val":"Parse timeout\/ms:"}]},{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"number"}]},{"N":"att","name":"min","flags":"l","C":[{"N":"str","val":"100"}]},{"N":"att","name":"max","flags":"l","C":[{"N":"str","val":"60000"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"parseTimeout"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"str","val":"parseTimeout"}]},{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"4000"}]}]}]}]}]}]}]},{"N":"elem","line":"177","name":"group","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Input"}]},{"N":"elem","line":"178","name":"toggle","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"zeroLengthInput"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Allow an empty string as input"}]}]}]},{"N":"elem","line":"179","name":"toggle","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"records"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Treat input as records"}]}]}]},{"N":"elem","line":"180","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"recordProps"}]},{"N":"att","name":"style","flags":"l","C":[{"N":"str","val":"display:none"}]},{"N":"elem","line":"181","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"sep"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":" Separator: "}]},{"N":"elem","line":"185","name":"input","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"text"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"separator"}]},{"N":"att","name":"size","flags":"l","C":[{"N":"str","val":"10"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"str","val":"separator"}]},{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"\\n"}]}]}]}]}]},{"N":"elem","line":"187","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"par"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":" Parent element: "}]},{"N":"elem","line":"191","name":"input","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"text"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"parent"}]},{"N":"att","name":"size","flags":"l","C":[{"N":"str","val":"10"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"str","val":"parent"}]},{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"parent"}]}]}]}]}]},{"N":"elem","line":"193","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"recr"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":" #records: "}]},{"N":"elem","name":"input","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"number"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"nRecords"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"str","val":"nRecords"}]},{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"1000"}]}]}]}]}]}]}]}]}]},{"N":"elem","line":"197","name":"group","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Result"}]},{"N":"elem","line":"198","name":"toggle","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"justOne"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Show only one ambiguous solution"}]}]}]},{"N":"elem","line":"201","name":"toggle","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"indent"}]},{"N":"att","name":"on","flags":"l","C":[{"N":"str","val":"true"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Indent result (may add whitespace)"}]}]}]},{"N":"elem","line":"204","name":"toggle","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"indentOne"}]},{"N":"att","name":"on","flags":"l","C":[{"N":"str","val":"false"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Indent with a single space per level"}]}]}]},{"N":"elem","line":"207","name":"toggle","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"advancedOption"}]},{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"suppressMarks"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Show all processed marks"}]}]}]},{"N":"elem","line":"210","name":"toggle","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"advancedOption"}]},{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":"MakeShowStates"}]},{"N":"att","name":"legend","flags":"l","C":[{"N":"str","val":"Show Parser States"}]}]}]}]}]}]}]}]}]}]},{"N":"co","id":"33","binds":"","C":[{"N":"globalVariable","name":"Q{}supportPragmas","as":"1AB","line":"66","module":"jwiXML.3.xsl","visibility":"PUBLIC","flags":"s","C":[{"N":"true"}]}]},{"N":"co","id":"34","binds":"35","C":[{"N":"mode","onNo":"DS","flags":"dW","patternSlots":"0","C":[{"N":"templateRule","prec":"2","prio":"-0.5","seq":"89","rank":"1","minImp":"0","slots":"0","matches":"ND","flags":"s","line":"467","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"ND"},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"468","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]}]},{"N":"templateRule","prec":"1","prio":"-0.5","seq":"3","rank":"0","minImp":"1","slots":"0","matches":"ND","flags":"s","line":"20","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"ND"},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"21","mode":"Q{}xml2ixml","flags":"t","bSlot":"0","C":[{"N":"dot","role":"select","type":"1ND","flags":"a"}]}]},{"N":"templateRule","prec":"2","prio":"2.0","seq":"102","rank":"4","minImp":"0","slots":"1","matches":"NE","flags":"s","as":"1","line":"599","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml-grammar-ref,NE nQ{}ixml-grammar-ref]"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"599","name":"attribute","nodeTest":"NA nQ{}href"}]},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"600","var":"Q{}uri","as":"?AU","slot":"0","C":[{"N":"fn","name":"resolve-uri","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:resolve-uri","C":[{"N":"data","diag":"0|0||fn:resolve-uri","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}href"}]}]}]},{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|1||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||fn:resolve-uri","C":[{"N":"fn","name":"base-uri","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml-grammar-ref,NE nQ{}ixml-grammar-ref]","flags":"a"}]}]}]}]},{"N":"choose","line":"601","C":[{"N":"vc","op":"eq","onEmpty":"0","comp":"CCC","C":[{"N":"data","diag":"1|0||eq","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}syntax"}]},{"N":"str","val":"xml"}]},{"N":"check","card":"1","diag":"7|0|XTTE0505|match=\"ixml-grammar-ref[@href]\"","C":[{"N":"fn","name":"doc","C":[{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|0||fn:doc","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:doc","C":[{"N":"varRef","name":"Q{}uri","slot":"0"}]}]}]}]},{"N":"true"},{"N":"check","card":"1","diag":"7|0|XTTE0505|match=\"ixml-grammar-ref[@href]\"","C":[{"N":"fn","name":"unparsed-text","C":[{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|0||fn:unparsed-text","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:unparsed-text","C":[{"N":"varRef","name":"Q{}uri","slot":"0"}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"2.0","seq":"101","rank":"4","minImp":"0","slots":"1","matches":"NE","flags":"s","as":"1","line":"595","module":"jwiXML.3.xsl","C":[{"N":"p.venn","role":"match","op":"union","C":[{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}grammar,NE nQ{}grammar]"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"595","name":"attribute","nodeTest":"NA nQ{}file"}]},{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}input,NE nQ{}input]"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"595","name":"attribute","nodeTest":"NA nQ{}file"}]}]},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"596","var":"Q{}uri","as":"?AU","slot":"0","C":[{"N":"fn","name":"resolve-uri","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:resolve-uri","C":[{"N":"data","diag":"0|0||fn:resolve-uri","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}file"}]}]}]},{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|1||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||fn:resolve-uri","C":[{"N":"fn","name":"base-uri","C":[{"N":"dot","type":"1NE","flags":"a"}]}]}]}]},{"N":"choose","line":"597","C":[{"N":"vc","op":"eq","onEmpty":"0","comp":"CCC","C":[{"N":"data","diag":"1|0||eq","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}syntax"}]},{"N":"str","val":"xml"}]},{"N":"check","card":"1","diag":"7|0|XTTE0505|match=\"grammar[@file] | input[@file]\"","C":[{"N":"fn","name":"doc","C":[{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|0||fn:doc","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:doc","C":[{"N":"varRef","name":"Q{}uri","slot":"0"}]}]}]}]},{"N":"true"},{"N":"check","card":"1","diag":"7|0|XTTE0505|match=\"grammar[@file] | input[@file]\"","C":[{"N":"fn","name":"unparsed-text","C":[{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|0||fn:unparsed-text","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:unparsed-text","C":[{"N":"varRef","name":"Q{}uri","slot":"0"}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"103","rank":"3","minImp":"0","slots":"0","matches":"NE","flags":"s","as":"1ND","line":"603","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}grammar,NE nQ{}grammar]"},{"N":"vc","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"603","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}syntax"},{"N":"str","val":"xml"}]}]},{"N":"doc","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"604","C":[{"N":"axis","line":"605","name":"child","nodeTest":"NE"}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"90","rank":"3","minImp":"0","slots":"0","matches":"NE","flags":"s","line":"470","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}tests,NE nQ{}tests]"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"470","name":"attribute","nodeTest":"NA nQ{}purpose"}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"471","C":[{"N":"elem","name":"tr","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"elem","line":"472","name":"td","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"colspan","flags":"l","C":[{"N":"str","val":"3"}]},{"N":"elem","line":"473","name":"h3","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"testSet"}]},{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}purpose"}]}]}]}]}]}]}]}]},{"N":"elem","line":"476","name":"tr","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","line":"477","C":[{"N":"elem","name":"th","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"Grammar"}]}]},{"N":"elem","line":"478","name":"th","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Parsed Grammar"}]}]},{"N":"elem","line":"479","name":"th","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Input & result"}]}]}]}]},{"N":"nextMatch","line":"481","flags":"t"}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"104","part":"1","rank":"2","minImp":"0","slots":"0","matches":"NE nQ{}ixml-grammar","flags":"s","as":"1AS","line":"608","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}ixml-grammar"},{"N":"fn","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"609","name":"replace","C":[{"N":"fn","name":"string","C":[{"N":"dot","type":"1NE","flags":"a"}]},{"N":"str","val":"\\r"},{"N":"str","val":""},{"N":"empty"},{"N":"empty"}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"104","part":"5","rank":"2","minImp":"0","slots":"0","matches":"NE nQ{}input","flags":"s","as":"1AS","line":"608","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}input"},{"N":"fn","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"609","name":"replace","C":[{"N":"fn","name":"string","C":[{"N":"dot","type":"1NE","flags":"a"}]},{"N":"str","val":"\\r"},{"N":"str","val":""},{"N":"empty"},{"N":"empty"}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"104","part":"7","rank":"2","minImp":"0","slots":"0","matches":"NE nQ{}test-string","flags":"s","as":"1AS","line":"608","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}test-string"},{"N":"fn","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"609","name":"replace","C":[{"N":"fn","name":"string","C":[{"N":"dot","type":"1NE","flags":"a"}]},{"N":"str","val":"\\r"},{"N":"str","val":""},{"N":"empty"},{"N":"empty"}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"104","part":"2","rank":"2","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}grammar","flags":"s","as":"1AS","line":"608","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}grammar"},{"N":"fn","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"609","name":"replace","C":[{"N":"fn","name":"string","C":[{"N":"dot","type":"1NE","flags":"a"}]},{"N":"str","val":"\\r"},{"N":"str","val":""},{"N":"empty"},{"N":"empty"}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"89","part":"1","rank":"2","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}tests","flags":"s","line":"467","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}tests"},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"468","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"104","rank":"2","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml-grammar","flags":"s","as":"1AS","line":"608","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml-grammar"},{"N":"fn","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"609","name":"replace","C":[{"N":"fn","name":"string","C":[{"N":"dot","type":"1NE","flags":"a"}]},{"N":"str","val":"\\r"},{"N":"str","val":""},{"N":"empty"},{"N":"empty"}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"104","part":"6","rank":"2","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}test-string","flags":"s","as":"1AS","line":"608","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}test-string"},{"N":"fn","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"609","name":"replace","C":[{"N":"fn","name":"string","C":[{"N":"dot","type":"1NE","flags":"a"}]},{"N":"str","val":"\\r"},{"N":"str","val":""},{"N":"empty"},{"N":"empty"}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"104","part":"4","rank":"2","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}input","flags":"s","as":"1AS","line":"608","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}input"},{"N":"fn","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"609","name":"replace","C":[{"N":"fn","name":"string","C":[{"N":"dot","type":"1NE","flags":"a"}]},{"N":"str","val":"\\r"},{"N":"str","val":""},{"N":"empty"},{"N":"empty"}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"104","part":"3","rank":"2","minImp":"0","slots":"0","matches":"NE nQ{}grammar","flags":"s","as":"1AS","line":"608","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}grammar"},{"N":"fn","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"609","name":"replace","C":[{"N":"fn","name":"string","C":[{"N":"dot","type":"1NE","flags":"a"}]},{"N":"str","val":"\\r"},{"N":"str","val":""},{"N":"empty"},{"N":"empty"}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"89","part":"2","rank":"2","minImp":"0","slots":"0","matches":"NE nQ{}tests","flags":"s","line":"467","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}tests"},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"468","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]}]}]}]},{"N":"co","id":"36","binds":"37 37","C":[{"N":"mode","name":"Q{}collectAll","onNo":"DS","flags":"W","patternSlots":"0","C":[{"N":"templateRule","prec":"2","prio":"-0.5","seq":"75","rank":"0","minImp":"0","slots":"0","matches":"ND","flags":"s","line":"84","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"ND"},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"85","flags":"cti","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"78","rank":"2","minImp":"0","slots":"0","matches":"NE","flags":"s","line":"91","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sample-catalog,NE nQ{}sample-catalog]"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"91","name":"attribute","nodeTest":"NA nQ{}baseURI"}]},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"92","flags":"cti","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"},{"N":"withParam","name":"Q{}baseURI","flags":"t","as":"?NA nQ{}baseURI","C":[{"N":"axis","line":"93","name":"attribute","nodeTest":"NA nQ{}baseURI"}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"79","part":"1","rank":"1","minImp":"0","slots":"1","matches":"NE nQ{}samples","flags":"s","line":"96","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}samples"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"97","C":[{"N":"param","name":"Q{}baseURI","slot":"0","flags":"t","C":[{"N":"fn","role":"select","name":"base-uri","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}samples,NE nQ{}samples]","flags":"a"}]},{"N":"supplied","role":"conversion","slot":"0"}]},{"N":"copy","line":"98","flags":"cin","sit":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}samples,NE nQ{}samples]","C":[{"N":"sequence","role":"content","line":"99","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA"}]},{"N":"applyT","line":"100","mode":"Q{}collect-tests","bSlot":"0","C":[{"N":"fn","role":"select","name":"doc","C":[{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|0||fn:doc","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:doc","C":[{"N":"fn","name":"resolve-uri","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:resolve-uri","C":[{"N":"data","diag":"0|0||fn:resolve-uri","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}href"}]}]}]},{"N":"check","card":"?","diag":"0|1||fn:resolve-uri","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"0|1||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||fn:resolve-uri","C":[{"N":"data","diag":"0|1||fn:resolve-uri","C":[{"N":"varRef","name":"Q{}baseURI","slot":"0"}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"75","part":"1","rank":"1","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}tests","flags":"s","line":"84","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}tests"},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"85","flags":"cti","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"79","rank":"1","minImp":"0","slots":"1","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}samples","flags":"s","line":"96","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}samples"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"97","C":[{"N":"param","name":"Q{}baseURI","slot":"0","flags":"t","C":[{"N":"fn","role":"select","name":"base-uri","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}samples,NE nQ{}samples]","flags":"a"}]},{"N":"supplied","role":"conversion","slot":"0"}]},{"N":"copy","line":"98","flags":"cin","sit":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}samples,NE nQ{}samples]","C":[{"N":"sequence","role":"content","line":"99","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA"}]},{"N":"applyT","line":"100","mode":"Q{}collect-tests","bSlot":"1","C":[{"N":"fn","role":"select","name":"doc","C":[{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|0||fn:doc","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:doc","C":[{"N":"fn","name":"resolve-uri","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:resolve-uri","C":[{"N":"data","diag":"0|0||fn:resolve-uri","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}href"}]}]}]},{"N":"check","card":"?","diag":"0|1||fn:resolve-uri","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"0|1||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||fn:resolve-uri","C":[{"N":"data","diag":"0|1||fn:resolve-uri","C":[{"N":"varRef","name":"Q{}baseURI","slot":"0"}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"75","part":"2","rank":"1","minImp":"0","slots":"0","matches":"NE nQ{}tests","flags":"s","line":"84","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}tests"},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"85","flags":"cti","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"}]}]},{"N":"templateRule","prec":"2","prio":"-0.5","seq":"77","rank":"0","minImp":"0","slots":"0","matches":"NA","flags":"s","line":"88","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA"},{"N":"dot","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"89","type":"1NA","flags":"a"}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"76","rank":"1","minImp":"0","slots":"0","matches":"NA nQ{}href","flags":"s","line":"87","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA nQ{}href"},{"N":"empty","role":"action"}]}]}]},{"N":"co","id":"1","binds":"","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}grammarToXML","line":"182","module":"jwiXML.processor.3.xsl","flags":"pU","as":"*","slots":"1","C":[{"N":"arg","name":"Q{}grammar","as":"1"},{"N":"ifCall","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"186","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"varRef","name":"Q{}grammar","slot":"0"},{"N":"str","val":"display"},{"N":"array","size":"0"}]}]}]},{"N":"co","id":"4","binds":"38","C":[{"N":"globalVariable","name":"Q{}pragmas.supported","as":"*AS","line":"54","module":"jwiXML.processor.3.xsl","slots":"3","visibility":"PRIVATE","C":[{"N":"for","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"54","var":"Q{}n","as":"NE","slot":"1","C":[{"N":"gVarRef","role":"in","name":"Q{}pragmaSupport","bSlot":"0"},{"N":"let","role":"return","var":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","as":"?AZ","slot":"2","flags":"l","C":[{"N":"slash","C":[{"N":"varRef","name":"Q{}n","slot":"1"},{"N":"attVal","name":"Q{}uri"}]},{"N":"slash","C":[{"N":"slash","simple":"1","C":[{"N":"varRef","name":"Q{}n","slot":"1"},{"N":"axis","name":"child","nodeTest":"NE"}]},{"N":"fn","name":"concat","C":[{"N":"str","val":"Q{"},{"N":"varRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","slot":"2"},{"N":"str","val":"}"},{"N":"attVal","name":"Q{}name"}]}]}]}]}]}]},{"N":"co","id":"39","binds":"31 40 40 40 31 40 40 40 31 40","C":[{"N":"mode","name":"Q{}reduceTree","onNo":"SC","flags":"W","patternSlots":"0","C":[{"N":"templateRule","prec":"0","prio":"0.0","seq":"1","part":"1","rank":"0","minImp":"0","slots":"10","matches":"NE nQ{}rule","flags":"s","line":"127","module":"ixmlTreeReduce.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}rule"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"doc=Documentation math=~ xs=~ xsl=~ xml=~","line":"128","C":[{"N":"param","name":"Q{}just-alternatives","slot":"0","flags":"t","C":[{"N":"str","role":"select","val":""},{"N":"supplied","role":"conversion","slot":"0"}]},{"N":"param","line":"129","name":"Q{}optional","slot":"1","flags":"t","C":[{"N":"str","role":"select","val":""},{"N":"supplied","role":"conversion","slot":"1"}]},{"N":"param","line":"130","name":"Q{}repeat1-sep","slot":"2","flags":"t","C":[{"N":"str","role":"select","val":""},{"N":"supplied","role":"conversion","slot":"2"}]},{"N":"param","line":"131","name":"Q{}nonterminal-option","slot":"3","flags":"t","C":[{"N":"str","role":"select","val":""},{"N":"supplied","role":"conversion","slot":"3"}]},{"N":"param","line":"132","name":"Q{}nonterminal-repeat0","slot":"4","flags":"t","C":[{"N":"str","role":"select","val":""},{"N":"supplied","role":"conversion","slot":"4"}]},{"N":"param","line":"133","name":"Q{}rename-references","slot":"5","flags":"t","C":[{"N":"str","role":"select","val":""},{"N":"supplied","role":"conversion","slot":"5"}]},{"N":"choose","line":"135","C":[{"N":"gc","op":"=","card":"N:1","comp":"GAC|http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint","C":[{"N":"data","diag":"1|1||=","C":[{"N":"varRef","name":"Q{}just-alternatives","slot":"0"}]},{"N":"data","diag":"1|0||=","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]},{"N":"elem","line":"136","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"mark","flags":"l","C":[{"N":"str","val":"-"}]},{"N":"applyT","line":"137","flags":"c","bSlot":"-1","C":[{"N":"sequence","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"},{"N":"axis","name":"child","nodeTest":"N u[NP,NC,NT,NE]"}]}]}]}]},{"N":"gc","line":"140","op":"=","card":"N:1","comp":"GAC|http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint","C":[{"N":"data","diag":"1|1||=","C":[{"N":"varRef","name":"Q{}nonterminal-repeat0","slot":"4"}]},{"N":"data","diag":"1|0||=","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]},{"N":"sequence","line":"141","C":[{"N":"elem","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"mark","flags":"l","C":[{"N":"str","val":"-"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"gVarRef","name":"Q{}tag.rep","bSlot":"0"},{"N":"data","diag":"0|1||fn:concat","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"elem","line":"143","name":"alt","nsuri":"","flags":"l","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"slash","role":"select","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"NE"}]}]}]}]},{"N":"elem","line":"146","name":"alt","nsuri":"","flags":"l","C":[{"N":"elem","name":"nonterminal","nsuri":"","flags":"l","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]}]}]}]}]},{"N":"elem","line":"149","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"elem","line":"151","name":"alt","nsuri":"","flags":"l","C":[{"N":"sequence","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"slash","role":"select","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"NE"}]}]}]},{"N":"elem","line":"153","name":"repeat1","nsuri":"","flags":"l","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"slash","role":"select","simple":"2","C":[{"N":"slash","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"subscript","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"2"}]}]},{"N":"axis","name":"child","nodeTest":"NE"}]}]}]}]}]}]}]}]},{"N":"gc","line":"158","op":"=","card":"N:1","comp":"GAC|http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint","C":[{"N":"data","diag":"1|1||=","C":[{"N":"varRef","name":"Q{}optional","slot":"1"}]},{"N":"data","diag":"1|0||=","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]},{"N":"let","line":"159","var":"Q{}alts","as":"*NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]","slot":"8","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"sequence","line":"160","C":[{"N":"elem","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"mark","flags":"l","C":[{"N":"str","val":"-"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"gVarRef","name":"Q{}tag","bSlot":"1"},{"N":"data","diag":"0|1||fn:concat","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"applyT","line":"161","flags":"c","bSlot":"-1","C":[{"N":"filter","role":"select","flags":"b","C":[{"N":"varRef","name":"Q{}alts","slot":"8"},{"N":"compareToInt","op":"eq","val":"1","C":[{"N":"fn","name":"count","C":[{"N":"fn","name":"subsequence","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"1"},{"N":"int","val":"2"}]}]}]}]}]},{"N":"elem","line":"163","name":"alt","nsuri":"","flags":"l","C":[{"N":"elem","name":"nonterminal","nsuri":"","flags":"l","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]}]}]}]}]},{"N":"elem","line":"166","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"applyT","line":"167","flags":"c","bSlot":"-1","C":[{"N":"filter","role":"select","flags":"b","C":[{"N":"varRef","name":"Q{}alts","slot":"8"},{"N":"fn","name":"exists","C":[{"N":"tail","start":"2","C":[{"N":"axis","name":"child","nodeTest":"NE"}]}]}]}]}]}]}]}]},{"N":"gc","line":"170","op":"=","card":"N:1","comp":"GAC|http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint","C":[{"N":"data","diag":"1|1||=","C":[{"N":"varRef","name":"Q{}repeat1-sep","slot":"2"}]},{"N":"data","diag":"1|0||=","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]},{"N":"let","line":"171","var":"Q{}repeat","as":"*NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat1,NE nQ{}repeat1]","slot":"9","C":[{"N":"slash","simple":"2","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat1,NE nQ{}repeat1]"}]},{"N":"sequence","line":"172","C":[{"N":"elem","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"mark","flags":"l","C":[{"N":"str","val":"-"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"gVarRef","name":"Q{}tag","bSlot":"2"},{"N":"data","diag":"0|1||fn:concat","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"elem","line":"174","name":"alt","nsuri":"","flags":"l","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"slash","role":"select","C":[{"N":"varRef","name":"Q{}repeat","slot":"9"},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"NE"}]}]}]}]},{"N":"elem","line":"177","name":"alt","nsuri":"","flags":"l","C":[{"N":"elem","name":"nonterminal","nsuri":"","flags":"l","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]}]}]}]}]},{"N":"elem","line":"180","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"elem","line":"182","name":"alt","nsuri":"","flags":"l","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"sequence","role":"select","C":[{"N":"slash","simple":"2","C":[{"N":"varRef","name":"Q{}repeat","slot":"9"},{"N":"axis","name":"child","nodeTest":"NE"}]},{"N":"varRef","name":"Q{}repeat","slot":"9"}]}]}]}]}]}]}]},{"N":"gc","line":"186","op":"=","card":"N:1","comp":"GAC|http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint","C":[{"N":"data","diag":"1|1||=","C":[{"N":"varRef","name":"Q{}nonterminal-option","slot":"3"}]},{"N":"data","diag":"1|0||=","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]},{"N":"sequence","line":"187","C":[{"N":"elem","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"mark","flags":"l","C":[{"N":"str","val":"-"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"gVarRef","name":"Q{}tag","bSlot":"3"},{"N":"data","diag":"0|1||fn:concat","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"elem","line":"189","name":"alt","nsuri":"","flags":"l","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"slash","role":"select","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"NE"}]}]}]}]},{"N":"elem","line":"192","name":"alt","nsuri":"","flags":"l","C":[{"N":"elem","name":"nonterminal","nsuri":"","flags":"l","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]}]}]}]}]},{"N":"elem","line":"195","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"elem","line":"197","name":"alt","nsuri":"","flags":"l","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"sequence","role":"select","C":[{"N":"slash","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"NE"}]}]},{"N":"slash","simple":"2","C":[{"N":"slash","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"subscript","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"2"}]}]},{"N":"axis","name":"child","nodeTest":"NE"}]}]}]}]}]}]}]},{"N":"true"},{"N":"nextMatch","line":"202","flags":"t"}]}]}]},{"N":"templateRule","prec":"0","prio":"0.0","seq":"0","part":"1","rank":"0","minImp":"0","slots":"21","matches":"NE nQ{}ixml","flags":"s","line":"27","module":"ixmlTreeReduce.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}ixml"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"doc=Documentation math=~ xs=~ xsl=~ xml=~","line":"28","C":[{"N":"param","name":"Q{}sourceURI","slot":"0","flags":"t","C":[{"N":"fn","role":"select","name":"base-uri","C":[{"N":"root"}]},{"N":"supplied","role":"conversion","slot":"0"}]},{"N":"let","line":"37","var":"Q{}unmarked-rules","as":"*NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule,NE nQ{}rule]","slot":"11","C":[{"N":"filter","flags":"b","C":[{"N":"slash","simple":"2","C":[{"N":"slash","simple":"1","C":[{"N":"root"},{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml,NE nQ{}ixml]"}]},{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule,NE nQ{}rule]"}]},{"N":"and","op":"and","C":[{"N":"fn","name":"empty","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}mark"}]},{"N":"fn","name":"exists","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule,NE nQ{}rule]"}]}]}]},{"N":"let","line":"42","var":"Q{}single-choice","as":"*NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule,NE nQ{}rule]","slot":"12","C":[{"N":"filter","flags":"b","C":[{"N":"varRef","name":"Q{}unmarked-rules","slot":"11"},{"N":"compareToInt","op":"eq","val":"1","C":[{"N":"fn","name":"count","C":[{"N":"fn","name":"subsequence","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"int","val":"1"},{"N":"int","val":"2"}]}]}]}]},{"N":"let","line":"51","var":"Q{}just-alternatives","as":"*NA","slot":"13","C":[{"N":"slash","simple":"2","C":[{"N":"filter","flags":"b","C":[{"N":"varRef","name":"Q{}unmarked-rules","slot":"11"},{"N":"and","op":"and","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"}]},{"N":"every","var":"Q{}c","slot":"14","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"and","op":"and","C":[{"N":"compareToInt","op":"eq","val":"1","C":[{"N":"fn","name":"count","C":[{"N":"fn","name":"subsequence","C":[{"N":"slash","simple":"1","C":[{"N":"varRef","name":"Q{}c","slot":"14"},{"N":"axis","name":"child","nodeTest":"NE"}]},{"N":"int","val":"1"},{"N":"int","val":"2"}]}]}]},{"N":"fn","name":"exists","C":[{"N":"slash","simple":"1","C":[{"N":"varRef","name":"Q{}c","slot":"14"},{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}nonterminal,NE nQ{}nonterminal]"}]}]}]}]}]}]},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]},{"N":"let","line":"59","var":"Q{}optional","as":"*NA","slot":"15","C":[{"N":"except","op":"except","C":[{"N":"slash","simple":"2","C":[{"N":"filter","flags":"b","C":[{"N":"except","line":"43","op":"except","C":[{"N":"docOrder","intra":"0","C":[{"N":"varRef","name":"Q{}unmarked-rules","slot":"11"}]},{"N":"docOrder","intra":"0","C":[{"N":"varRef","name":"Q{}single-choice","slot":"12"}]}]},{"N":"let","var":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","as":"1AB","slot":"16","flags":"l","C":[{"N":"every","var":"Q{}c","slot":"17","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"fn","name":"exists","C":[{"N":"slash","simple":"1","C":[{"N":"varRef","name":"Q{}c","slot":"17"},{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}nonterminal,NE nQ{}nonterminal]"}]}]}]},{"N":"some","var":"Q{}c","slot":"18","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"and","op":"and","C":[{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"varRef","name":"Q{}c","slot":"18"},{"N":"compareToInt","op":"eq","val":"1","C":[{"N":"fn","name":"count","C":[{"N":"fn","name":"subsequence","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"1"},{"N":"int","val":"2"}]}]}]}]}]},{"N":"varRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","slot":"16"}]}]}]}]},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]},{"N":"docOrder","intra":"0","C":[{"N":"varRef","name":"Q{}just-alternatives","slot":"13"}]}]},{"N":"let","line":"69","var":"Q{}repeat1-sep","as":"*NA","slot":"19","C":[{"N":"except","op":"except","C":[{"N":"slash","simple":"2","C":[{"N":"filter","flags":"b","C":[{"N":"varRef","name":"Q{}single-choice","slot":"12"},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"and","op":"and","C":[{"N":"compareToInt","op":"eq","val":"1","C":[{"N":"fn","name":"count","C":[{"N":"fn","name":"subsequence","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"1"},{"N":"int","val":"2"}]}]}]},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat1,NE nQ{}repeat1]"},{"N":"fn","name":"exists","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]}]}]}]}]}]}]},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]},{"N":"docOrder","intra":"0","C":[{"N":"varRef","name":"Q{}just-alternatives","slot":"13"}]}]},{"N":"let","line":"76","var":"Q{}nonterminal-option","as":"*NA","slot":"20","C":[{"N":"except","op":"except","C":[{"N":"slash","simple":"2","C":[{"N":"filter","flags":"b","C":[{"N":"slash","C":[{"N":"root"},{"N":"varRef","name":"Q{}single-choice","slot":"12"}]},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"and","op":"and","C":[{"N":"and","op":"and","C":[{"N":"compareToInt","op":"eq","val":"2","C":[{"N":"fn","name":"count","C":[{"N":"fn","name":"subsequence","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"1"},{"N":"int","val":"3"}]}]}]},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"NE"}]},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}nonterminal,NE nQ{}nonterminal]"}]}]}]}]},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"subscript","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"2"}]},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]"}]}]}]}]}]}]}]},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]},{"N":"docOrder","intra":"0","C":[{"N":"varRef","name":"Q{}just-alternatives","slot":"13"}]}]},{"N":"copy","line":"90","flags":"cin","sit":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml,NE nQ{}ixml]","C":[{"N":"sequence","role":"content","line":"91","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA"}]},{"N":"elem","line":"92","name":"comment","nsuri":"","flags":"l","C":[{"N":"sequence","C":[{"N":"att","name":"xml:space","nsuri":"http:\/\/www.w3.org\/XML\/1998\/namespace","flags":"l","C":[{"N":"str","val":"preserve"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"\n Reduced tree version of "},{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}sourceURI","slot":"0"}]}]}]},{"N":"str","val":" "}]},{"N":"str","val":" \n Generated at "},{"N":"fn","name":"format-dateTime","C":[{"N":"fn","name":"current-dateTime"},{"N":"str","val":"[Y0001] [MNn,*-3] [D01] @ [H01]:[m01] "}]},{"N":"str","val":" \n"}]}]}]}]},{"N":"applyT","line":"113","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N u[NP,NC,NT,NE]"},{"N":"withParam","name":"Q{}just-alternatives","flags":"t","as":"*NA","C":[{"N":"varRef","line":"114","name":"Q{}just-alternatives","slot":"13"}]},{"N":"withParam","name":"Q{}optional","flags":"t","as":"*NA","C":[{"N":"varRef","line":"115","name":"Q{}optional","slot":"15"}]},{"N":"withParam","name":"Q{}repeat1-sep","flags":"t","as":"*NA","C":[{"N":"varRef","line":"116","name":"Q{}repeat1-sep","slot":"19"}]},{"N":"withParam","name":"Q{}nonterminal-option","flags":"t","as":"*NA","C":[{"N":"varRef","line":"119","name":"Q{}nonterminal-option","slot":"20"}]},{"N":"withParam","name":"Q{}nonterminal-repeat0","flags":"t","as":"*NA","C":[{"N":"except","line":"83","op":"except","C":[{"N":"slash","simple":"2","C":[{"N":"filter","flags":"b","C":[{"N":"varRef","name":"Q{}single-choice","slot":"12"},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"and","op":"and","C":[{"N":"and","op":"and","C":[{"N":"compareToInt","op":"eq","val":"2","C":[{"N":"fn","name":"count","C":[{"N":"fn","name":"subsequence","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"1"},{"N":"int","val":"3"}]}]}]},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"NE"}]},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}nonterminal,NE nQ{}nonterminal]"}]}]}]}]},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"subscript","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"2"}]},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat0,NE nQ{}repeat0]"}]}]}]}]}]}]}]},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]},{"N":"docOrder","intra":"0","C":[{"N":"varRef","name":"Q{}just-alternatives","slot":"13"}]}]}]},{"N":"withParam","name":"Q{}rename-references","flags":"t","as":"*AS","C":[{"N":"sequence","line":"89","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"3|0|XTTE0570|rename-references","C":[{"N":"cvUntyped","to":"AS","diag":"3|0|XTTE0570|rename-references","C":[{"N":"data","diag":"3|0|XTTE0570|rename-references","C":[{"N":"varRef","name":"Q{}optional","slot":"15"}]}]}]},{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"3|0|XTTE0570|rename-references","C":[{"N":"cvUntyped","to":"AS","diag":"3|0|XTTE0570|rename-references","C":[{"N":"data","diag":"3|0|XTTE0570|rename-references","C":[{"N":"varRef","name":"Q{}repeat1-sep","slot":"19"}]}]}]},{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"3|0|XTTE0570|rename-references","C":[{"N":"cvUntyped","to":"AS","diag":"3|0|XTTE0570|rename-references","C":[{"N":"data","diag":"3|0|XTTE0570|rename-references","C":[{"N":"varRef","name":"Q{}nonterminal-option","slot":"20"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"0","prio":"0.0","seq":"0","rank":"0","minImp":"0","slots":"21","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml","flags":"s","line":"27","module":"ixmlTreeReduce.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"doc=Documentation math=~ xs=~ xsl=~ xml=~","line":"28","C":[{"N":"param","name":"Q{}sourceURI","slot":"0","flags":"t","C":[{"N":"fn","role":"select","name":"base-uri","C":[{"N":"root"}]},{"N":"supplied","role":"conversion","slot":"0"}]},{"N":"let","line":"37","var":"Q{}unmarked-rules","as":"*NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule,NE nQ{}rule]","slot":"1","C":[{"N":"filter","flags":"b","C":[{"N":"slash","simple":"2","C":[{"N":"slash","simple":"1","C":[{"N":"root"},{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml,NE nQ{}ixml]"}]},{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule,NE nQ{}rule]"}]},{"N":"and","op":"and","C":[{"N":"fn","name":"empty","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}mark"}]},{"N":"fn","name":"exists","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule,NE nQ{}rule]"}]}]}]},{"N":"let","line":"42","var":"Q{}single-choice","as":"*NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule,NE nQ{}rule]","slot":"2","C":[{"N":"filter","flags":"b","C":[{"N":"varRef","name":"Q{}unmarked-rules","slot":"1"},{"N":"compareToInt","op":"eq","val":"1","C":[{"N":"fn","name":"count","C":[{"N":"fn","name":"subsequence","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"int","val":"1"},{"N":"int","val":"2"}]}]}]}]},{"N":"let","line":"51","var":"Q{}just-alternatives","as":"*NA","slot":"3","C":[{"N":"slash","simple":"2","C":[{"N":"filter","flags":"b","C":[{"N":"varRef","name":"Q{}unmarked-rules","slot":"1"},{"N":"and","op":"and","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"}]},{"N":"every","var":"Q{}c","slot":"4","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"and","op":"and","C":[{"N":"compareToInt","op":"eq","val":"1","C":[{"N":"fn","name":"count","C":[{"N":"fn","name":"subsequence","C":[{"N":"slash","simple":"1","C":[{"N":"varRef","name":"Q{}c","slot":"4"},{"N":"axis","name":"child","nodeTest":"NE"}]},{"N":"int","val":"1"},{"N":"int","val":"2"}]}]}]},{"N":"fn","name":"exists","C":[{"N":"slash","simple":"1","C":[{"N":"varRef","name":"Q{}c","slot":"4"},{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}nonterminal,NE nQ{}nonterminal]"}]}]}]}]}]}]},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]},{"N":"let","line":"59","var":"Q{}optional","as":"*NA","slot":"5","C":[{"N":"except","op":"except","C":[{"N":"slash","simple":"2","C":[{"N":"filter","flags":"b","C":[{"N":"except","line":"43","op":"except","C":[{"N":"docOrder","intra":"0","C":[{"N":"varRef","name":"Q{}unmarked-rules","slot":"1"}]},{"N":"docOrder","intra":"0","C":[{"N":"varRef","name":"Q{}single-choice","slot":"2"}]}]},{"N":"let","var":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","as":"1AB","slot":"6","flags":"l","C":[{"N":"every","var":"Q{}c","slot":"7","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"fn","name":"exists","C":[{"N":"slash","simple":"1","C":[{"N":"varRef","name":"Q{}c","slot":"7"},{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}nonterminal,NE nQ{}nonterminal]"}]}]}]},{"N":"some","var":"Q{}c","slot":"8","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"and","op":"and","C":[{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"varRef","name":"Q{}c","slot":"8"},{"N":"compareToInt","op":"eq","val":"1","C":[{"N":"fn","name":"count","C":[{"N":"fn","name":"subsequence","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"1"},{"N":"int","val":"2"}]}]}]}]}]},{"N":"varRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","slot":"6"}]}]}]}]},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]},{"N":"docOrder","intra":"0","C":[{"N":"varRef","name":"Q{}just-alternatives","slot":"3"}]}]},{"N":"let","line":"69","var":"Q{}repeat1-sep","as":"*NA","slot":"9","C":[{"N":"except","op":"except","C":[{"N":"slash","simple":"2","C":[{"N":"filter","flags":"b","C":[{"N":"varRef","name":"Q{}single-choice","slot":"2"},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"and","op":"and","C":[{"N":"compareToInt","op":"eq","val":"1","C":[{"N":"fn","name":"count","C":[{"N":"fn","name":"subsequence","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"1"},{"N":"int","val":"2"}]}]}]},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat1,NE nQ{}repeat1]"},{"N":"fn","name":"exists","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]}]}]}]}]}]}]},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]},{"N":"docOrder","intra":"0","C":[{"N":"varRef","name":"Q{}just-alternatives","slot":"3"}]}]},{"N":"let","line":"76","var":"Q{}nonterminal-option","as":"*NA","slot":"10","C":[{"N":"except","op":"except","C":[{"N":"slash","simple":"2","C":[{"N":"filter","flags":"b","C":[{"N":"slash","C":[{"N":"root"},{"N":"varRef","name":"Q{}single-choice","slot":"2"}]},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"and","op":"and","C":[{"N":"and","op":"and","C":[{"N":"compareToInt","op":"eq","val":"2","C":[{"N":"fn","name":"count","C":[{"N":"fn","name":"subsequence","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"1"},{"N":"int","val":"3"}]}]}]},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"NE"}]},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}nonterminal,NE nQ{}nonterminal]"}]}]}]}]},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"subscript","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"2"}]},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]"}]}]}]}]}]}]}]},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]},{"N":"docOrder","intra":"0","C":[{"N":"varRef","name":"Q{}just-alternatives","slot":"3"}]}]},{"N":"copy","line":"90","flags":"cin","sit":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml,NE nQ{}ixml]","C":[{"N":"sequence","role":"content","line":"91","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA"}]},{"N":"elem","line":"92","name":"comment","nsuri":"","flags":"l","C":[{"N":"sequence","C":[{"N":"att","name":"xml:space","nsuri":"http:\/\/www.w3.org\/XML\/1998\/namespace","flags":"l","C":[{"N":"str","val":"preserve"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"\n Reduced tree version of "},{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}sourceURI","slot":"0"}]}]}]},{"N":"str","val":" "}]},{"N":"str","val":" \n Generated at "},{"N":"fn","name":"format-dateTime","C":[{"N":"fn","name":"current-dateTime"},{"N":"str","val":"[Y0001] [MNn,*-3] [D01] @ [H01]:[m01] "}]},{"N":"str","val":" \n"}]}]}]}]},{"N":"applyT","line":"113","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N u[NP,NC,NT,NE]"},{"N":"withParam","name":"Q{}just-alternatives","flags":"t","as":"*NA","C":[{"N":"varRef","line":"114","name":"Q{}just-alternatives","slot":"3"}]},{"N":"withParam","name":"Q{}optional","flags":"t","as":"*NA","C":[{"N":"varRef","line":"115","name":"Q{}optional","slot":"5"}]},{"N":"withParam","name":"Q{}repeat1-sep","flags":"t","as":"*NA","C":[{"N":"varRef","line":"116","name":"Q{}repeat1-sep","slot":"9"}]},{"N":"withParam","name":"Q{}nonterminal-option","flags":"t","as":"*NA","C":[{"N":"varRef","line":"119","name":"Q{}nonterminal-option","slot":"10"}]},{"N":"withParam","name":"Q{}nonterminal-repeat0","flags":"t","as":"*NA","C":[{"N":"except","line":"83","op":"except","C":[{"N":"slash","simple":"2","C":[{"N":"filter","flags":"b","C":[{"N":"varRef","name":"Q{}single-choice","slot":"2"},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"and","op":"and","C":[{"N":"and","op":"and","C":[{"N":"compareToInt","op":"eq","val":"2","C":[{"N":"fn","name":"count","C":[{"N":"fn","name":"subsequence","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"1"},{"N":"int","val":"3"}]}]}]},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"NE"}]},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}nonterminal,NE nQ{}nonterminal]"}]}]}]}]},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"subscript","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"2"}]},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat0,NE nQ{}repeat0]"}]}]}]}]}]}]}]},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]},{"N":"docOrder","intra":"0","C":[{"N":"varRef","name":"Q{}just-alternatives","slot":"3"}]}]}]},{"N":"withParam","name":"Q{}rename-references","flags":"t","as":"*AS","C":[{"N":"sequence","line":"89","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"3|0|XTTE0570|rename-references","C":[{"N":"cvUntyped","to":"AS","diag":"3|0|XTTE0570|rename-references","C":[{"N":"data","diag":"3|0|XTTE0570|rename-references","C":[{"N":"varRef","name":"Q{}optional","slot":"5"}]}]}]},{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"3|0|XTTE0570|rename-references","C":[{"N":"cvUntyped","to":"AS","diag":"3|0|XTTE0570|rename-references","C":[{"N":"data","diag":"3|0|XTTE0570|rename-references","C":[{"N":"varRef","name":"Q{}repeat1-sep","slot":"9"}]}]}]},{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"3|0|XTTE0570|rename-references","C":[{"N":"cvUntyped","to":"AS","diag":"3|0|XTTE0570|rename-references","C":[{"N":"data","diag":"3|0|XTTE0570|rename-references","C":[{"N":"varRef","name":"Q{}nonterminal-option","slot":"10"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"0","prio":"0.0","seq":"1","rank":"0","minImp":"0","slots":"10","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule","flags":"s","line":"127","module":"ixmlTreeReduce.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"doc=Documentation math=~ xs=~ xsl=~ xml=~","line":"128","C":[{"N":"param","name":"Q{}just-alternatives","slot":"0","flags":"t","C":[{"N":"str","role":"select","val":""},{"N":"supplied","role":"conversion","slot":"0"}]},{"N":"param","line":"129","name":"Q{}optional","slot":"1","flags":"t","C":[{"N":"str","role":"select","val":""},{"N":"supplied","role":"conversion","slot":"1"}]},{"N":"param","line":"130","name":"Q{}repeat1-sep","slot":"2","flags":"t","C":[{"N":"str","role":"select","val":""},{"N":"supplied","role":"conversion","slot":"2"}]},{"N":"param","line":"131","name":"Q{}nonterminal-option","slot":"3","flags":"t","C":[{"N":"str","role":"select","val":""},{"N":"supplied","role":"conversion","slot":"3"}]},{"N":"param","line":"132","name":"Q{}nonterminal-repeat0","slot":"4","flags":"t","C":[{"N":"str","role":"select","val":""},{"N":"supplied","role":"conversion","slot":"4"}]},{"N":"param","line":"133","name":"Q{}rename-references","slot":"5","flags":"t","C":[{"N":"str","role":"select","val":""},{"N":"supplied","role":"conversion","slot":"5"}]},{"N":"choose","line":"134","C":[{"N":"gc","line":"135","op":"=","card":"N:1","comp":"GAC|http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint","C":[{"N":"data","diag":"1|1||=","C":[{"N":"varRef","name":"Q{}just-alternatives","slot":"0"}]},{"N":"data","diag":"1|0||=","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]},{"N":"elem","line":"136","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"mark","flags":"l","C":[{"N":"str","val":"-"}]},{"N":"applyT","line":"137","flags":"c","bSlot":"-1","C":[{"N":"sequence","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"},{"N":"axis","name":"child","nodeTest":"N u[NP,NC,NT,NE]"}]}]}]}]},{"N":"gc","line":"140","op":"=","card":"N:1","comp":"GAC|http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint","C":[{"N":"data","diag":"1|1||=","C":[{"N":"varRef","name":"Q{}nonterminal-repeat0","slot":"4"}]},{"N":"data","diag":"1|0||=","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]},{"N":"sequence","line":"141","C":[{"N":"elem","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"mark","flags":"l","C":[{"N":"str","val":"-"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"gVarRef","name":"Q{}tag.rep","bSlot":"4"},{"N":"data","diag":"0|1||fn:concat","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"elem","line":"142","name":"alt","nsuri":"","flags":"l","C":[{"N":"applyT","line":"143","flags":"c","bSlot":"-1","C":[{"N":"slash","role":"select","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"NE"}]}]}]}]},{"N":"elem","line":"145","name":"alt","nsuri":"","flags":"l","C":[{"N":"elem","line":"146","name":"nonterminal","nsuri":"","flags":"l","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]}]}]}]}]},{"N":"elem","line":"149","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"elem","line":"150","name":"alt","nsuri":"","flags":"l","C":[{"N":"sequence","line":"151","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"slash","role":"select","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"NE"}]}]}]},{"N":"elem","line":"152","name":"repeat1","nsuri":"","flags":"l","C":[{"N":"applyT","line":"153","flags":"c","bSlot":"-1","C":[{"N":"slash","role":"select","simple":"2","C":[{"N":"slash","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"subscript","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"2"}]}]},{"N":"axis","name":"child","nodeTest":"NE"}]}]}]}]}]}]}]}]},{"N":"gc","line":"158","op":"=","card":"N:1","comp":"GAC|http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint","C":[{"N":"data","diag":"1|1||=","C":[{"N":"varRef","name":"Q{}optional","slot":"1"}]},{"N":"data","diag":"1|0||=","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]},{"N":"let","line":"159","var":"Q{}alts","as":"*NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]","slot":"6","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"sequence","line":"160","C":[{"N":"elem","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"mark","flags":"l","C":[{"N":"str","val":"-"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"gVarRef","name":"Q{}tag","bSlot":"5"},{"N":"data","diag":"0|1||fn:concat","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"applyT","line":"161","flags":"c","bSlot":"-1","C":[{"N":"filter","role":"select","flags":"b","C":[{"N":"varRef","name":"Q{}alts","slot":"6"},{"N":"compareToInt","op":"eq","val":"1","C":[{"N":"fn","name":"count","C":[{"N":"fn","name":"subsequence","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"1"},{"N":"int","val":"2"}]}]}]}]}]},{"N":"elem","line":"162","name":"alt","nsuri":"","flags":"l","C":[{"N":"elem","line":"163","name":"nonterminal","nsuri":"","flags":"l","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]}]}]}]}]},{"N":"elem","line":"166","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"applyT","line":"167","flags":"c","bSlot":"-1","C":[{"N":"filter","role":"select","flags":"b","C":[{"N":"varRef","name":"Q{}alts","slot":"6"},{"N":"fn","name":"exists","C":[{"N":"tail","start":"2","C":[{"N":"axis","name":"child","nodeTest":"NE"}]}]}]}]}]}]}]}]},{"N":"gc","line":"170","op":"=","card":"N:1","comp":"GAC|http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint","C":[{"N":"data","diag":"1|1||=","C":[{"N":"varRef","name":"Q{}repeat1-sep","slot":"2"}]},{"N":"data","diag":"1|0||=","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]},{"N":"let","line":"171","var":"Q{}repeat","as":"*NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat1,NE nQ{}repeat1]","slot":"7","C":[{"N":"slash","simple":"2","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat1,NE nQ{}repeat1]"}]},{"N":"sequence","line":"172","C":[{"N":"elem","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"mark","flags":"l","C":[{"N":"str","val":"-"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"gVarRef","name":"Q{}tag","bSlot":"6"},{"N":"data","diag":"0|1||fn:concat","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"elem","line":"173","name":"alt","nsuri":"","flags":"l","C":[{"N":"applyT","line":"174","flags":"c","bSlot":"-1","C":[{"N":"slash","role":"select","C":[{"N":"varRef","name":"Q{}repeat","slot":"7"},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"NE"}]}]}]}]},{"N":"elem","line":"176","name":"alt","nsuri":"","flags":"l","C":[{"N":"elem","line":"177","name":"nonterminal","nsuri":"","flags":"l","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]}]}]}]}]},{"N":"elem","line":"180","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"elem","line":"181","name":"alt","nsuri":"","flags":"l","C":[{"N":"applyT","line":"182","flags":"c","bSlot":"-1","C":[{"N":"sequence","role":"select","C":[{"N":"slash","simple":"2","C":[{"N":"varRef","name":"Q{}repeat","slot":"7"},{"N":"axis","name":"child","nodeTest":"NE"}]},{"N":"varRef","name":"Q{}repeat","slot":"7"}]}]}]}]}]}]}]},{"N":"gc","line":"186","op":"=","card":"N:1","comp":"GAC|http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint","C":[{"N":"data","diag":"1|1||=","C":[{"N":"varRef","name":"Q{}nonterminal-option","slot":"3"}]},{"N":"data","diag":"1|0||=","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]},{"N":"sequence","line":"187","C":[{"N":"elem","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"mark","flags":"l","C":[{"N":"str","val":"-"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"gVarRef","name":"Q{}tag","bSlot":"7"},{"N":"data","diag":"0|1||fn:concat","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"elem","line":"188","name":"alt","nsuri":"","flags":"l","C":[{"N":"applyT","line":"189","flags":"c","bSlot":"-1","C":[{"N":"slash","role":"select","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"NE"}]}]}]}]},{"N":"elem","line":"191","name":"alt","nsuri":"","flags":"l","C":[{"N":"elem","line":"192","name":"nonterminal","nsuri":"","flags":"l","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]}]}]}]}]},{"N":"elem","line":"195","name":"rule","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"elem","line":"196","name":"alt","nsuri":"","flags":"l","C":[{"N":"applyT","line":"197","flags":"c","bSlot":"-1","C":[{"N":"sequence","role":"select","C":[{"N":"slash","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"NE"}]}]},{"N":"slash","simple":"2","C":[{"N":"slash","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"subscript","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"2"}]}]},{"N":"axis","name":"child","nodeTest":"NE"}]}]}]}]}]}]}]},{"N":"true"},{"N":"nextMatch","line":"202","flags":"t"}]}]}]},{"N":"templateRule","prec":"0","prio":"0.5","seq":"2","rank":"1","minImp":"0","slots":"2","matches":"NA nQ{}name","flags":"s","line":"206","module":"ixmlTreeReduce.3.xsl","C":[{"N":"p.withUpper","role":"match","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NA nQ{}name"},{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}nonterminal,NE nQ{}nonterminal]"}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"doc=Documentation math=~ xs=~ xsl=~ xml=~","line":"207","C":[{"N":"param","name":"Q{}nonterminal-repeat0","slot":"0","flags":"t","C":[{"N":"str","role":"select","val":""},{"N":"supplied","role":"conversion","slot":"0"}]},{"N":"param","line":"208","name":"Q{}rename-references","slot":"1","flags":"t","C":[{"N":"str","role":"select","val":""},{"N":"supplied","role":"conversion","slot":"1"}]},{"N":"choose","line":"209","C":[{"N":"gc","line":"210","op":"=","card":"N:1","comp":"GAC|http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint","C":[{"N":"data","diag":"1|1||=","C":[{"N":"varRef","name":"Q{}nonterminal-repeat0","slot":"0"}]},{"N":"data","diag":"1|0||=","C":[{"N":"dot","type":"1NA nQ{}name","flags":"a"}]}]},{"N":"att","line":"211","name":"name","C":[{"N":"fn","name":"concat","C":[{"N":"gVarRef","name":"Q{}tag.rep","bSlot":"8"},{"N":"data","diag":"0|1||fn:concat","C":[{"N":"dot","type":"1NA nQ{}name","flags":"a"}]}]}]},{"N":"gc","line":"213","op":"=","card":"N:1","comp":"GAC|http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint","C":[{"N":"data","diag":"1|1||=","C":[{"N":"varRef","name":"Q{}rename-references","slot":"1"}]},{"N":"data","diag":"1|0||=","C":[{"N":"dot","type":"1NA nQ{}name","flags":"a"}]}]},{"N":"att","line":"214","name":"name","C":[{"N":"fn","name":"concat","C":[{"N":"gVarRef","name":"Q{}tag","bSlot":"9"},{"N":"data","diag":"0|1||fn:concat","C":[{"N":"dot","type":"1NA nQ{}name","flags":"a"}]}]}]},{"N":"true"},{"N":"nextMatch","line":"217","flags":"t"}]}]}]}]}]},{"N":"co","id":"41","vis":"PUBLIC","binds":"0","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}compileGrammar","line":"80","module":"jwiXML.processor.3.xsl","flags":"pU","as":"1","slots":"2","C":[{"N":"arg","name":"Q{}grammarSource","as":"1"},{"N":"arg","name":"Q{}options","as":"1FM"},{"N":"tailCallLoop","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"83","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}preprocessGrammar","tailCall":"foreign","bSlot":"0","C":[{"N":"varRef","name":"Q{}grammarSource","slot":"0"},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}put","type":"1FM","C":[{"N":"varRef","name":"Q{}options","slot":"1"},{"N":"str","val":"compile"},{"N":"true"}]}]}]}]}]},{"N":"co","id":"42","vis":"PUBLIC","binds":"41","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}compileGrammar","line":"75","module":"jwiXML.processor.3.xsl","flags":"pU","as":"1","slots":"1","C":[{"N":"arg","name":"Q{}grammarSource","as":"1"},{"N":"tailCallLoop","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"78","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}compileGrammar","tailCall":"foreign","bSlot":"0","C":[{"N":"varRef","name":"Q{}grammarSource","slot":"0"},{"N":"map","size":"0"}]}]}]}]},{"N":"co","id":"5","binds":"6 38","C":[{"N":"globalVariable","name":"Q{}pragma.implementations","as":"1FM k[AS] v[?ND]","line":"57","module":"jwiXML.processor.3.xsl","slots":"4","visibility":"PRIVATE","C":[{"N":"let","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"57","var":"Q{http:\/\/saxon.sf.net\/generated-variable}v1","as":"?AS","slot":"1","flags":"l","C":[{"N":"check","card":"?","diag":"0|1||fn:resolve-uri","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"0|1||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||fn:resolve-uri","C":[{"N":"data","diag":"0|1||fn:resolve-uri","C":[{"N":"gVarRef","name":"Q{}pragmaURI","bSlot":"0"}]}]}]}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}merge","type":"1FM","C":[{"N":"for","var":"Q{}n","as":"NE","slot":"2","C":[{"N":"gVarRef","role":"in","name":"Q{}pragmaSupport","bSlot":"1"},{"N":"let","role":"return","var":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","as":"?AZ","slot":"3","flags":"l","C":[{"N":"slash","C":[{"N":"varRef","name":"Q{}n","slot":"2"},{"N":"attVal","name":"Q{}uri"}]},{"N":"slash","C":[{"N":"slash","simple":"1","C":[{"N":"varRef","name":"Q{}n","slot":"2"},{"N":"axis","name":"child","nodeTest":"NE"}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"Q{"},{"N":"varRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","slot":"3"},{"N":"str","val":"}"},{"N":"attVal","name":"Q{}name"}]},{"N":"fn","name":"doc","C":[{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|0||fn:doc","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:doc","C":[{"N":"fn","name":"resolve-uri","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:resolve-uri","C":[{"N":"attVal","name":"Q{}stylesheet"}]}]},{"N":"varRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}v1","slot":"1"}]}]}]}]}]}]}]}]},{"N":"map","size":"2","C":[{"N":"str","val":"duplicates"},{"N":"str","val":"use-first"},{"N":"str","val":"duplicates-error-code"},{"N":"str","val":"FOJS0003"}]}]}]}]}]},{"N":"co","id":"43","binds":"44","C":[{"N":"template","name":"Q{MyFunctions}makeStateDisplay","flags":"os","line":"571","module":"jwiXML.3.xsl","slots":"3","C":[{"N":"sequence","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"572","C":[{"N":"param","name":"Q{}result","slot":"0","C":[{"N":"str","role":"select","val":""},{"N":"supplied","role":"conversion","slot":"0"}]},{"N":"param","line":"573","name":"Q{}visible","slot":"1","flags":"i","as":"1AB","C":[{"N":"treat","role":"conversion","as":"AB","diag":"8|0|XTTE0590|visible","C":[{"N":"check","card":"1","diag":"8|0|XTTE0590|visible","C":[{"N":"cvUntyped","to":"AB","diag":"8|0|XTTE0590|visible","C":[{"N":"data","diag":"8|0|XTTE0590|visible","C":[{"N":"supplied","slot":"1"}]}]}]}]}]},{"N":"elem","line":"574","name":"td","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","line":"575","C":[{"N":"choose","C":[{"N":"fn","name":"not","C":[{"N":"varRef","name":"Q{}visible","slot":"1"}]},{"N":"ufCall","name":"Q{MyFunctions}makeToggler","tailCall":"false","bSlot":"0","C":[{"N":"str","val":"states"},{"N":"str","val":"showStates"}]}]},{"N":"elem","line":"576","name":"table","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"states"}]},{"N":"att","name":"style","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"display:"},{"N":"choose","C":[{"N":"varRef","name":"Q{}visible","slot":"1"},{"N":"str","val":"inline"},{"N":"true"},{"N":"str","val":"none"}]}]}]},{"N":"elem","line":"577","name":"thead","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"elem","line":"578","name":"tr","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","line":"579","C":[{"N":"elem","name":"th","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"#"}]}]},{"N":"elem","line":"580","name":"th","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"id"}]}]},{"N":"elem","line":"581","name":"th","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"charPos"}]}]},{"N":"elem","line":"582","name":"th","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"Production"}]}]},{"N":"elem","line":"583","name":"th","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"origin"}]}]},{"N":"elem","line":"584","name":"th","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"Comment"}]}]},{"N":"elem","line":"585","name":"th","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"Left"}]}]},{"N":"elem","line":"586","name":"th","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"Right"}]}]}]}]}]},{"N":"elem","line":"589","name":"tbody","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"for","line":"590","var":"Q{}s","slot":"2","C":[{"N":"lookup","role":"in","C":[{"N":"varRef","name":"Q{}result","slot":"0"},{"N":"str","val":"states"}]},{"N":"docOrder","role":"return","intra":"0","C":[{"N":"slash","simple":"2","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|\/","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"varRef","name":"Q{}s","slot":"2"},{"N":"str","val":"display"},{"N":"array","size":"0"}]}]},{"N":"axis","name":"descendant","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}tr,NE nQ{}tr]"}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","id":"8","binds":"","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}grammarToIXML","line":"191","module":"jwiXML.processor.3.xsl","flags":"pU","as":"*","slots":"1","C":[{"N":"arg","name":"Q{}grammar","as":"1"},{"N":"ifCall","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"195","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"varRef","name":"Q{}grammar","slot":"0"},{"N":"str","val":"flat"},{"N":"array","size":"0"}]}]}]},{"N":"co","id":"45","binds":"","C":[{"N":"function","name":"Q{MyFunctions}nameWidth","line":"522","module":"jwiXML.3.xsl","flags":"pU","as":"1ADI","slots":"1","C":[{"N":"arg","name":"Q{}input","as":"1AS"},{"N":"choose","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"524","C":[{"N":"fn","name":"starts-with","C":[{"N":"varRef","name":"Q{}input","slot":"0"},{"N":"str","val":"{"}]},{"N":"int","val":"0"},{"N":"true"},{"N":"first","C":[{"N":"sequence","C":[{"N":"fn","name":"min","C":[{"N":"sequence","C":[{"N":"filter","flags":"b","C":[{"N":"fn","name":"string-length","C":[{"N":"fn","name":"substring-before","C":[{"N":"varRef","name":"Q{}input","slot":"0"},{"N":"str","val":":"}]}]},{"N":"compareToInt","op":"ne","val":"0","C":[{"N":"dot","type":"1ADI"}]}]},{"N":"filter","flags":"b","C":[{"N":"fn","name":"string-length","C":[{"N":"fn","name":"substring-before","C":[{"N":"varRef","name":"Q{}input","slot":"0"},{"N":"str","val":"="}]}]},{"N":"compareToInt","op":"ne","val":"0","C":[{"N":"dot","type":"1ADI"}]}]}]}]},{"N":"int","val":"0"}]}]}]}]}]},{"N":"co","id":"46","binds":"","C":[{"N":"globalVariable","name":"Q{}testCoffeeSacks","as":"1AB","line":"54","module":"jwiXML.3.xsl","visibility":"PRIVATE","flags":"s","C":[{"N":"false"}]}]},{"N":"co","id":"47","binds":"","C":[{"N":"globalVariable","name":"Q{}compile-dateTime","as":"1AS","line":"42","module":"jwiXML.3.xsl","visibility":"PRIVATE","flags":"s","C":[{"N":"str","val":"2024 Sep 23 @ 16:07 "}]}]},{"N":"co","id":"3","binds":"38","C":[{"N":"globalVariable","name":"Q{}namespaces.supported","as":"*AS","line":"60","module":"jwiXML.processor.3.xsl","visibility":"PRIVATE","C":[{"N":"convert","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"60","from":"AZ","to":"AS","flags":"p","diag":"3|0|XTTE0570|namespaces.supported","C":[{"N":"cvUntyped","to":"AS","diag":"3|0|XTTE0570|namespaces.supported","C":[{"N":"data","diag":"3|0|XTTE0570|namespaces.supported","C":[{"N":"docOrder","intra":"0","C":[{"N":"filter","flags":"b","C":[{"N":"slash","simple":"2","C":[{"N":"gVarRef","name":"Q{}pragmaSupport","bSlot":"0"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}uri"}]},{"N":"fn","name":"exists","C":[{"N":"dot","type":"1NA nQ{}uri"}]}]}]}]}]}]}]}]},{"N":"co","id":"6","binds":"","C":[{"N":"globalParam","name":"Q{}pragmaURI","as":"*","line":"38","module":"jwiXML.processor.3.xsl","visibility":"PUBLIC","C":[{"N":"fn","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"38","name":"static-base-uri"}]}]},{"N":"co","id":"48","binds":"","C":[{"N":"globalVariable","name":"Q{}Xgrammar.controls","as":"1NE nQ{http:\/\/www.w3.org\/1999\/xhtml}div c~untyped","line":"24","module":"grammar.3.xsl","visibility":"PRIVATE","C":[{"N":"elem","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"25","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"grammarDisplay"}]},{"N":"elem","line":"26","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Grammar Display"}]}]},{"N":"elem","line":"27","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"side"}]},{"N":"elem","line":"28","name":"group","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"radio"}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"grammarPhase"}]},{"N":"elem","line":"29","name":"option","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"default","flags":"l","C":[{"N":"str","val":""}]},{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"Parsed"}]}]}]},{"N":"elem","line":"30","name":"option","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"Preprocessed"}]}]},{"N":"elem","line":"31","name":"option","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"Compiled"}]}]}]}]},{"N":"elem","line":"33","name":"group","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"radio"}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"grammarFormat"}]},{"N":"elem","line":"34","name":"option","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"default","flags":"l","C":[{"N":"str","val":""}]},{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"XML"}]}]}]},{"N":"elem","line":"35","name":"option","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# err ixml ixt","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"ixml"}]}]}]}]}]}]}]}]}]}]},{"N":"co","id":"49","binds":"32 11","C":[{"N":"globalVariable","name":"Q{http:\/\/saxon.sf.net\/generated-variable}gg1429980012","as":"+ND","line":"340","module":"jwiXML.3.xsl","visibility":"PRIVATE","C":[{"N":"sequence","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"340","C":[{"N":"gVarRef","name":"Q{}optionControls","bSlot":"0"},{"N":"gVarRef","name":"Q{}actionControls","bSlot":"1"}]}]}]},{"N":"co","id":"50","binds":"","C":[{"N":"function","name":"Q{MyFunctions}name-length","line":"23","module":"xmlToiXML.3.xsl","flags":"pU","as":"1ADI","slots":"1","C":[{"N":"arg","name":"Q{}rule","as":"1NE"},{"N":"check","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"25","card":"1","diag":"5|0|XTTE0780|f:name-length#1","C":[{"N":"forEach","C":[{"N":"varRef","name":"Q{}rule","slot":"0"},{"N":"arith","line":"26","op":"+","calc":"i+i","C":[{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}mark"}]}]}]},{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}name"}]}]}]}]},{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}alias"}]},{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}alias"}]}]}]},{"N":"int","val":"1"}]},{"N":"true"},{"N":"int","val":"0"}]}]}]}]}]}]},{"N":"co","id":"51","binds":"","C":[{"N":"globalVariable","name":"Q{}testTWrewrites","as":"1AB","line":"62","module":"jwiXML.3.xsl","visibility":"PRIVATE","flags":"s","C":[{"N":"true"}]}]},{"N":"co","id":"52","vis":"PUBLIC","binds":"53 21 47 54 55 55 30 18 49 56","C":[{"N":"template","name":"Q{}go","flags":"os","line":"235","module":"jwiXML.3.xsl","slots":"0","C":[{"N":"sequence","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"236","C":[{"N":"resultDoc","global":"method=text\n","local":"method=Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}append-content\n","flags":"a","C":[{"N":"str","role":"href","val":"#status"},{"N":"sequence","role":"content","ns":"array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"237","C":[{"N":"elem","name":"br","nsuri":"","namespaces":"array err fn ixml ixt xsi","C":[{"N":"empty"}]},{"N":"elem","line":"238","name":"span","nsuri":"","namespaces":"array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"Workbench Version "},{"N":"gVarRef","name":"Q{}version","bSlot":"0"},{"N":"str","val":" Processor Version "},{"N":"gVarRef","name":"Q{}processor-version","bSlot":"1"}]}]}]},{"N":"elem","line":"239","name":"br","nsuri":"","namespaces":"array err fn ixml ixt xsi","C":[{"N":"empty"}]},{"N":"elem","line":"240","name":"span","nsuri":"","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"Compiled "},{"N":"gVarRef","name":"Q{}compile-dateTime","bSlot":"2"},{"N":"str","val":" using "},{"N":"str","val":"Saxon-EE"},{"N":"gVarRef","name":"Q{}compiler-version","bSlot":"3"},{"N":"str","val":";\n "}]}]},{"N":"elem","line":"241","name":"br","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"empty"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"Running under "},{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}apply","type":"*","C":[{"N":"treat","as":"F","diag":"21|0||$runtime-system-property","C":[{"N":"check","card":"1","diag":"21|0||$runtime-system-property","C":[{"N":"gVarRef","name":"Q{}runtime-system-property","bSlot":"4"}]}]},{"N":"arrayBlock","C":[{"N":"str","val":"xsl:product-name"}]}]}]}]}]},{"N":"str","val":" "}]},{"N":"str","val":"\n "},{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}apply","type":"*","C":[{"N":"treat","as":"F","diag":"21|0||$runtime-system-property","C":[{"N":"check","card":"1","diag":"21|0||$runtime-system-property","C":[{"N":"gVarRef","name":"Q{}runtime-system-property","bSlot":"5"}]}]},{"N":"arrayBlock","C":[{"N":"str","val":"xsl:product-version"}]}]}]}]}]},{"N":"str","val":" "}]}]}]}]}]},{"N":"choose","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"243","C":[{"N":"fn","name":"contains","C":[{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|0||fn:contains","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:contains","C":[{"N":"fn","name":"static-base-uri"}]}]},{"N":"str","val":"jTest"}]},{"N":"sequence","ns":"array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"244","C":[{"N":"elem","name":"br","nsuri":"","namespaces":"array err fn ixml ixt xsi","C":[{"N":"empty"}]},{"N":"elem","line":"245","name":"span","nsuri":"","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"style","flags":"l","C":[{"N":"str","val":"font-size:larger;font-weight:bold;color:red;"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":"TEST VERSION"}]}]}]}]}]}]}]},{"N":"resultDoc","line":"248","global":"method=text\n","local":"method=Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}replace-content\n","flags":"a","C":[{"N":"str","role":"href","val":"#sandpit"},{"N":"sequence","role":"content","ns":"array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"267","C":[{"N":"elem","name":"div","nsuri":"","namespaces":"array err fn ixml ixt xsi","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"temp"}]}]},{"N":"elem","line":"272","name":"hr","nsuri":"","namespaces":"array err fn ixml ixt xsi","C":[{"N":"empty"}]},{"N":"elem","line":"273","name":"table","nsuri":"","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"interactive"}]},{"N":"elem","line":"274","name":"tbody","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"elem","line":"275","name":"tr","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","line":"276","C":[{"N":"elem","name":"td","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","line":"277","C":[{"N":"elem","name":"label","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"for","flags":"l","C":[{"N":"str","val":"grammar"}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"grammarTest"}]},{"N":"att","name":"aria-describedby","flags":"l","C":[{"N":"str","val":"editingG"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Grammar "}]},{"N":"elem","name":"span","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"grammarFormat"}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"format"}]}]}]},{"N":"elem","line":"278","name":"span","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"grammarURI"}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"uri"}]}]}]}]}]},{"N":"elem","line":"280","name":"div","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"wide"}]},{"N":"att","name":"role","flags":"l","C":[{"N":"str","val":"tooltip"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"editingG"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":" Edit grammars by one or\n more of: "}]},{"N":"elem","line":"281","name":"ul","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","line":"282","C":[{"N":"elem","name":"li","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Typing in the text area below"}]}]},{"N":"elem","line":"283","name":"li","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Loading a file from the local filesystem, using either the\n file selector below,"}]},{"N":"elem","line":"284","name":"br","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"empty"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":" or "}]},{"N":"elem","line":"284","name":"em","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"drag-and-drop"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":" into the\n text area"}]}]}]},{"N":"elem","line":"286","name":"li","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Selecting one of the sample grammars or test cases in the\n "}]},{"N":"elem","line":"287","name":"em","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"Test\/sample"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":" dropdown."}]},{"N":"elem","line":"287","name":"br","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"empty"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":" When a grammar has\n sample inputs available, a selector will appear. "}]}]}]}]}]}]}]},{"N":"elem","line":"291","name":"input","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"file"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"grammarFile"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"str","val":"grammarFile"}]}]}]},{"N":"elem","line":"292","name":"span","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"grammarFileName"}]}]},{"N":"elem","line":"293","name":"span","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"testSample"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Test\/sample: "}]}]}]},{"N":"elem","line":"294","name":"select","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"testGrammarSelect"}]},{"N":"att","name":"aria-describedby","flags":"l","C":[{"N":"str","val":"grammarselect"}]},{"N":"elem","line":"295","name":"option","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":""}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":"--Select test-set--"}]}]}]},{"N":"elem","line":"296","name":"option","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"noInput"}]},{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":""}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Test-sets in italics have grammars\n only."}]}]}]},{"N":"forEach","line":"298","C":[{"N":"gVarRef","name":"Q{}allThings","bSlot":"6"},{"N":"sequence","line":"299","C":[{"N":"elem","name":"option","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":""}]},{"N":"att","name":"disabled","flags":"l","C":[{"N":"str","val":""}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"separator"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"—— "},{"N":"fn","name":"string","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"attVal","name":"Q{}title"}]}]},{"N":"str","val":"\n ——"}]}]}]}]},{"N":"forEach","line":"301","C":[{"N":"union","op":"|","C":[{"N":"axis","name":"child","nodeTest":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample-catalog"},{"N":"slash","simple":"2","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"axis","name":"child","nodeTest":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-catalog"}]}]},{"N":"elem","line":"302","name":"optgroup","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"label","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"attVal","name":"Q{}name"}]}]},{"N":"forEach","line":"303","C":[{"N":"sort","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE u[NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-set,NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample]"},{"N":"sortKey","line":"304","comp":"CCC","C":[{"N":"attVal","role":"select","name":"Q{}name"},{"N":"str","role":"order","val":"ascending"},{"N":"str","role":"lang","val":""},{"N":"str","role":"caseOrder","val":"#default"},{"N":"str","role":"stable","val":"yes"},{"N":"str","role":"collation","val":"http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint"}]}]},{"N":"elem","line":"305","name":"option","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"value","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"attVal","name":"Q{}id"}]}]},{"N":"choose","line":"306","C":[{"N":"fn","name":"empty","C":[{"N":"axis","name":"child","nodeTest":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-case"}]},{"N":"att","line":"307","name":"class","flags":"l","C":[{"N":"str","val":"noInput"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"attVal","name":"Q{}name"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"elem","line":"318","name":"textarea","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"grammar"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"str","val":"grammar"}]},{"N":"att","name":"rows","flags":"l","C":[{"N":"str","val":"14"}]},{"N":"att","name":"cols","flags":"l","C":[{"N":"str","val":"90"}]},{"N":"att","name":"spellcheck","flags":"l","C":[{"N":"str","val":"false"}]}]}]},{"N":"elem","line":"319","name":"label","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"for","flags":"l","C":[{"N":"str","val":"input"}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"grammarTest"}]},{"N":"att","name":"aria-describedby","flags":"l","C":[{"N":"str","val":"editingI"}]},{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"Input"}]}]}]},{"N":"elem","line":"320","name":"div","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"wide"}]},{"N":"att","name":"role","flags":"l","C":[{"N":"str","val":"tooltip"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"editingI"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":" Edit the input text to\n be parsed by one or more of: "}]},{"N":"elem","line":"321","name":"ul","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","line":"322","C":[{"N":"elem","name":"li","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Typing in the text area below"}]}]},{"N":"elem","line":"323","name":"li","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Loading a file from the local filesystem, using either the\n file selector below,"}]},{"N":"elem","line":"324","name":"br","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"empty"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":" or "}]},{"N":"elem","line":"324","name":"em","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"drag-and-drop"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":" into the\n text area"}]}]}]},{"N":"elem","line":"326","name":"li","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Selecting one of the sample inputs, if available, from the\n "}]},{"N":"elem","line":"327","name":"em","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"Test\/sample"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":" dropdown."}]}]}]}]}]}]}]},{"N":"elem","line":"330","name":"input","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"file"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"inputFile"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"str","val":"inputFile"}]}]}]},{"N":"elem","line":"331","name":"span","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"inputFileName"}]}]},{"N":"elem","line":"332","name":"span","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"inputTest"}]}]},{"N":"elem","line":"337","name":"textarea","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"input"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"str","val":"input"}]},{"N":"att","name":"rows","flags":"l","C":[{"N":"str","val":"6"}]},{"N":"att","name":"cols","flags":"l","C":[{"N":"str","val":"90"}]},{"N":"att","name":"spellcheck","flags":"l","C":[{"N":"str","val":"false"}]}]}]},{"N":"elem","line":"338","name":"fieldset","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","line":"339","C":[{"N":"elem","name":"button","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"go"}]},{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"GO!"}]}]}]},{"N":"applyT","line":"340","mode":"Q{}makeOptions","bSlot":"7","C":[{"N":"gVarRef","role":"select","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","name":"Q{http:\/\/saxon.sf.net\/generated-variable}gg1429980012","bSlot":"8"}]}]}]}]}]},{"N":"elem","line":"343","name":"td","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","line":"344","C":[{"N":"elem","name":"th","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"Result"}]}]},{"N":"elem","line":"345","name":"div","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"result"}]}]}]}]},{"N":"elem","line":"347","name":"td","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","line":"348","C":[{"N":"elem","name":"div","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"grammarFailure"}]},{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"grammarFailure"}]}]}]},{"N":"elem","line":"349","name":"details","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"sequence","line":"351","C":[{"N":"elem","name":"summary","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Grammar Details"}]}]},{"N":"elem","line":"352","name":"div","nsuri":"","flags":"l","namespaces":"array err fn ixml ixt xsi","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"grammarDetails"}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"resultDoc","line":"359","global":"method=text\n","local":"method=Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}replace-content\n","flags":"a","C":[{"N":"str","role":"href","val":"#messages"},{"N":"empty","role":"content"}]},{"N":"ifCall","line":"360","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}schedule-action","type":"*","C":[{"N":"int","val":"100"},{"N":"empty"},{"N":"callT","line":"361","name":"Q{}registerFileReaders","bSlot":"9"}]}]}]}]},{"N":"co","id":"57","binds":"29 58 59 29 58 14 59 60","C":[{"N":"mode","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}onchange","onNo":"TC","flags":"W","patternSlots":"0","C":[{"N":"templateRule","prec":"2","prio":"0.5","seq":"105","rank":"0","minImp":"0","slots":"0","matches":"NE","flags":"s","line":"621","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}input,NE nQ{}input]"},{"N":"vc","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"621","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}class"},{"N":"str","val":"states"}]}]},{"N":"ifCall","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"625","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}set-style","type":"?","C":[{"N":"str","val":"display"},{"N":"choose","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}get","type":"*","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}input,NE nQ{}input]","flags":"a"},{"N":"str","val":"checked"}]},{"N":"str","val":"inline"},{"N":"true"},{"N":"str","val":"none"}]},{"N":"check","card":"1","diag":"0|2||ixsl:set-style","C":[{"N":"docOrder","line":"622","intra":"1","C":[{"N":"slash","simple":"2","C":[{"N":"axis","name":"parent","nodeTest":"N u[NE,ND]"},{"N":"axis","name":"following-sibling","nodeTest":"NE"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"91","rank":"0","minImp":"0","slots":"1","matches":"NE","flags":"s","line":"504","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}textarea,NE nQ{}textarea]"},{"N":"vc","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"504","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}id"},{"N":"str","val":"grammar"}]}]},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"506","var":"Q{}inXML","as":"1AB","slot":"0","flags":"e","C":[{"N":"fn","name":"ends-with","C":[{"N":"check","card":"?","diag":"0|0||fn:ends-with","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:ends-with","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:ends-with","C":[{"N":"data","diag":"0|0||fn:ends-with","C":[{"N":"fn","name":"id","C":[{"N":"str","val":"grammarFileName"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]}]}]}]}]},{"N":"str","val":".xml"}]},{"N":"sequence","line":"507","C":[{"N":"message","C":[{"N":"valueOf","role":"select","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"TextChanged "},{"N":"convert","from":"AB","to":"AS","C":[{"N":"varRef","name":"Q{}inXML","slot":"0"}]}]}]},{"N":"str","role":"terminate","val":"no"},{"N":"str","role":"error","val":"Q{http:\/\/www.w3.org\/2005\/xqt-errors}XTMM9000"}]},{"N":"ifCall","line":"508","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}set-property","type":"?","C":[{"N":"str","val":"undo"},{"N":"check","card":"?","diag":"0|1||ixsl:set-property","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}get","type":"*","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}textarea,NE nQ{}textarea]","flags":"a"},{"N":"str","val":"value"}]}]},{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}textarea,NE nQ{}textarea]","flags":"a"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"83","rank":"0","minImp":"0","slots":"1","matches":"NE","flags":"s","line":"437","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}input,NE nQ{}input]"},{"N":"vc","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"437","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}id"},{"N":"str","val":"records"}]}]},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"438","var":"Q{}checked","slot":"0","flags":"e","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}get","type":"*","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}input,NE nQ{}input]","flags":"a"},{"N":"str","val":"checked"}]},{"N":"ifCall","line":"441","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}set-style","type":"?","C":[{"N":"str","val":"display"},{"N":"choose","C":[{"N":"varRef","name":"Q{}checked","slot":"0"},{"N":"str","val":"inline"},{"N":"true"},{"N":"str","val":"none"}]},{"N":"check","card":"1","diag":"0|2||ixsl:set-style","C":[{"N":"fn","name":"id","C":[{"N":"str","val":"recordProps"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"82","rank":"0","minImp":"0","slots":"7","matches":"NE","flags":"s","line":"422","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}select,NE nQ{}select]"},{"N":"vc","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"422","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}id"},{"N":"str","val":"testInputSelect"}]}]},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"423","var":"Q{}value","slot":"0","flags":"e","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}get","type":"*","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}select,NE nQ{}select]","flags":"a"},{"N":"str","val":"value"}]},{"N":"let","line":"424","var":"Q{}parts","as":"*AS","slot":"1","C":[{"N":"fn","name":"tokenize","C":[{"N":"check","card":"?","diag":"0|0||fn:tokenize","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"0|0||fn:tokenize","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:tokenize","C":[{"N":"data","diag":"0|0||fn:tokenize","C":[{"N":"varRef","name":"Q{}value","slot":"0"}]}]}]}]},{"N":"str","val":"\/"},{"N":"str","val":""}]},{"N":"choose","line":"425","C":[{"N":"fn","name":"exists","C":[{"N":"varRef","name":"Q{}parts","slot":"1"}]},{"N":"let","line":"428","var":"Q{http:\/\/saxon.sf.net\/generated-variable}v2","as":"?AS","slot":"2","flags":"l","C":[{"N":"subscript","C":[{"N":"varRef","name":"Q{}parts","slot":"1"},{"N":"int","val":"2"}]},{"N":"let","line":"427","var":"Q{http:\/\/saxon.sf.net\/generated-variable}v1","as":"?AS","slot":"3","flags":"l","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}parts","slot":"1"}]},{"N":"let","var":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","as":"?AS","slot":"4","flags":"l","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}parts","slot":"1"}]},{"N":"let","line":"428","var":"Q{}test-case","as":"*NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-case","slot":"5","C":[{"N":"docOrder","intra":"0","C":[{"N":"filter","line":"427","flags":"","C":[{"N":"slash","simple":"2","C":[{"N":"union","op":"|","C":[{"N":"docOrder","intra":"0","C":[{"N":"filter","flags":"","C":[{"N":"gVarRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}gg1893088773","bSlot":"0"},{"N":"vc","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}id"},{"N":"varRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","slot":"4"}]}]}]},{"N":"docOrder","intra":"0","C":[{"N":"filter","flags":"","C":[{"N":"gVarRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}gg1214125015","bSlot":"1"},{"N":"vc","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}id"},{"N":"varRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}v1","slot":"3"}]}]}]}]},{"N":"axis","line":"428","name":"descendant","nodeTest":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-case"}]},{"N":"vc","line":"428","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}id"},{"N":"varRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}v2","slot":"2"}]}]}]},{"N":"let","line":"430","var":"Q{}href","as":"*NA","slot":"6","C":[{"N":"slash","simple":"2","C":[{"N":"conditionalSort","C":[{"N":"fn","name":"exists","C":[{"N":"tail","start":"2","C":[{"N":"varRef","name":"Q{}test-case","slot":"5"}]}]},{"N":"docOrder","intra":"0","C":[{"N":"slash","simple":"2","C":[{"N":"varRef","name":"Q{}test-case","slot":"5"},{"N":"axis","name":"child","nodeTest":"NE"}]}]}]},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}href"}]},{"N":"sequence","line":"433","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}set-property","type":"?","C":[{"N":"str","val":"value"},{"N":"choose","line":"432","C":[{"N":"fn","name":"exists","C":[{"N":"varRef","name":"Q{}href","slot":"6"}]},{"N":"choose","C":[{"N":"fn","name":"unparsed-text-available","C":[{"N":"check","card":"?","diag":"0|0||fn:unparsed-text-available","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:unparsed-text-available","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:unparsed-text-available","C":[{"N":"data","diag":"0|0||fn:unparsed-text-available","C":[{"N":"varRef","name":"Q{}href","slot":"6"}]}]}]}]}]},{"N":"fn","name":"unparsed-text","C":[{"N":"check","card":"?","diag":"0|0||fn:unparsed-text","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:unparsed-text","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:unparsed-text","C":[{"N":"data","diag":"0|0||fn:unparsed-text","C":[{"N":"varRef","name":"Q{}href","slot":"6"}]}]}]}]}]},{"N":"true"},{"N":"fn","name":"concat","C":[{"N":"str","val":"Cannot find: "},{"N":"data","diag":"0|1||fn:concat","C":[{"N":"varRef","name":"Q{}href","slot":"6"}]}]}]},{"N":"true"},{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"sequence","C":[{"N":"slash","simple":"1","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}test-case","slot":"5"}]},{"N":"axis","name":"child","nodeTest":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-string"}]},{"N":"varRef","name":"Q{}value","slot":"0"}]}]}]}]},{"N":"check","card":"1","diag":"0|2||ixsl:set-property","C":[{"N":"fn","name":"id","C":[{"N":"str","val":"input"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]}]}]},{"N":"callT","line":"434","name":"Q{}clearAll","bSlot":"2","flags":"t"}]}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"81","rank":"0","minImp":"0","slots":"9","matches":"NE","flags":"s","line":"372","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}select,NE nQ{}select]"},{"N":"vc","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"372","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}id"},{"N":"str","val":"testGrammarSelect"}]}]},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"373","var":"Q{}name","slot":"0","flags":"e","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}get","type":"*","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}select,NE nQ{}select]","flags":"a"},{"N":"str","val":"value"}]},{"N":"choose","line":"374","C":[{"N":"vc","op":"ne","onEmpty":"0","comp":"GAC|http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint","C":[{"N":"atomSing","card":"?","diag":"1|0||ne","C":[{"N":"varRef","name":"Q{}name","slot":"0"}]},{"N":"str","val":""}]},{"N":"let","line":"376","var":"Q{http:\/\/saxon.sf.net\/generated-variable}v1","as":"?A","slot":"1","flags":"l","C":[{"N":"atomSing","card":"?","diag":"1|1||eq","C":[{"N":"varRef","name":"Q{}name","slot":"0"}]},{"N":"let","var":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","as":"?A","slot":"2","flags":"l","C":[{"N":"atomSing","card":"?","diag":"1|1||eq","C":[{"N":"varRef","name":"Q{}name","slot":"0"}]},{"N":"let","var":"Q{}test-set","as":"*NE","slot":"3","flags":"e","C":[{"N":"union","op":"|","C":[{"N":"docOrder","intra":"0","C":[{"N":"filter","flags":"","C":[{"N":"gVarRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}gg1893088773","bSlot":"3"},{"N":"vc","op":"eq","comp":"GAC|http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint","C":[{"N":"attVal","name":"Q{}id"},{"N":"varRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","slot":"2"}]}]}]},{"N":"docOrder","intra":"0","C":[{"N":"filter","flags":"","C":[{"N":"gVarRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}gg1214125015","bSlot":"4"},{"N":"vc","op":"eq","comp":"GAC|http:\/\/www.w3.org\/2005\/xpath-functions\/collation\/codepoint","C":[{"N":"attVal","name":"Q{}id"},{"N":"varRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}v1","slot":"1"}]}]}]}]},{"N":"let","line":"377","var":"Q{}href","as":"?NA","slot":"4","flags":"e","C":[{"N":"first","C":[{"N":"slash","simple":"2","C":[{"N":"conditionalSort","C":[{"N":"fn","name":"exists","C":[{"N":"tail","start":"2","C":[{"N":"varRef","name":"Q{}test-set","slot":"3"}]}]},{"N":"docOrder","intra":"0","C":[{"N":"slash","simple":"2","C":[{"N":"varRef","name":"Q{}test-set","slot":"3"},{"N":"axis","name":"child","nodeTest":"NE"}]}]}]},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}href"}]}]},{"N":"let","line":"379","var":"Q{}grammar","as":"?","slot":"5","C":[{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"varRef","name":"Q{}href","slot":"4"}]},{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"slash","simple":"1","C":[{"N":"varRef","name":"Q{}href","slot":"4"},{"N":"axis","name":"parent","nodeTest":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}vxml-grammar-ref"}]}]},{"N":"choose","C":[{"N":"fn","name":"doc-available","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:doc-available","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:doc-available","C":[{"N":"data","diag":"0|0||fn:doc-available","C":[{"N":"varRef","name":"Q{}href","slot":"4"}]}]}]}]},{"N":"fn","name":"doc","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:doc","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:doc","C":[{"N":"data","diag":"0|0||fn:doc","C":[{"N":"varRef","name":"Q{}href","slot":"4"}]}]}]}]},{"N":"true"},{"N":"fn","name":"concat","C":[{"N":"str","val":"Cannot find: "},{"N":"data","diag":"0|1||fn:concat","C":[{"N":"varRef","name":"Q{}href","slot":"4"}]}]}]},{"N":"fn","name":"unparsed-text-available","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:unparsed-text-available","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:unparsed-text-available","C":[{"N":"data","diag":"0|0||fn:unparsed-text-available","C":[{"N":"varRef","name":"Q{}href","slot":"4"}]}]}]}]},{"N":"fn","name":"unparsed-text","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:unparsed-text","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:unparsed-text","C":[{"N":"data","diag":"0|0||fn:unparsed-text","C":[{"N":"varRef","name":"Q{}href","slot":"4"}]}]}]}]},{"N":"true"},{"N":"fn","name":"concat","C":[{"N":"str","val":"Cannot find: "},{"N":"data","diag":"0|1||fn:concat","C":[{"N":"varRef","name":"Q{}href","slot":"4"}]}]}]},{"N":"true"},{"N":"fn","name":"string","C":[{"N":"check","card":"?","diag":"0|0||fn:string","C":[{"N":"conditionalSort","C":[{"N":"fn","name":"exists","C":[{"N":"tail","start":"2","C":[{"N":"varRef","name":"Q{}test-set","slot":"3"}]}]},{"N":"docOrder","intra":"0","C":[{"N":"slash","simple":"2","C":[{"N":"varRef","name":"Q{}test-set","slot":"3"},{"N":"axis","name":"child","nodeTest":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}ixml-grammar"}]}]}]}]}]}]},{"N":"let","line":"380","var":"Q{}inXML","as":"1AB","slot":"6","flags":"e","C":[{"N":"instance","of":"1ND","C":[{"N":"varRef","name":"Q{}grammar","slot":"5"}]},{"N":"let","line":"381","var":"Q{}grammarObj","as":"*NE","slot":"7","flags":"e","C":[{"N":"fn","name":"id","C":[{"N":"str","val":"grammar"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]},{"N":"sequence","line":"387","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}set-property","type":"?","C":[{"N":"str","val":"value"},{"N":"choose","C":[{"N":"varRef","name":"Q{}inXML","slot":"6"},{"N":"check","card":"?","diag":"0|1||ixsl:set-property","C":[{"N":"ufCall","name":"Q{MyFunctions}serialize","tailCall":"false","bSlot":"5","C":[{"N":"varRef","name":"Q{}grammar","slot":"5"}]}]},{"N":"true"},{"N":"varRef","name":"Q{}grammar","slot":"5"}]},{"N":"check","card":"1","diag":"0|2||ixsl:set-property","C":[{"N":"varRef","name":"Q{}grammarObj","slot":"7"}]}]},{"N":"ifCall","line":"390","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}set-property","type":"?","C":[{"N":"str","val":"formatXML"},{"N":"choose","C":[{"N":"varRef","name":"Q{}inXML","slot":"6"},{"N":"varRef","name":"Q{}grammar","slot":"5"}]},{"N":"check","card":"1","diag":"0|2||ixsl:set-property","C":[{"N":"varRef","name":"Q{}grammarObj","slot":"7"}]}]},{"N":"ifCall","line":"391","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}set-property","type":"?","C":[{"N":"str","val":"grammarBaseURI"},{"N":"fn","name":"string","C":[{"N":"varRef","name":"Q{}href","slot":"4"}]},{"N":"check","card":"1","diag":"0|2||ixsl:set-property","C":[{"N":"varRef","name":"Q{}grammarObj","slot":"7"}]}]},{"N":"ifCall","line":"394","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}set-attribute","type":"?","C":[{"N":"str","val":"format"},{"N":"choose","C":[{"N":"varRef","name":"Q{}inXML","slot":"6"},{"N":"str","val":"xml"},{"N":"true"},{"N":"str","val":"iXML"}]},{"N":"check","card":"1","diag":"0|2||ixsl:set-attribute","C":[{"N":"fn","name":"id","C":[{"N":"str","val":"grammarFormat"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]}]}]},{"N":"resultDoc","line":"395","global":"method=text\n","local":"method=Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}replace-content\n","flags":"a","C":[{"N":"str","role":"href","val":"#grammarFormat"},{"N":"valueOf","role":"content","C":[{"N":"choose","C":[{"N":"varRef","name":"Q{}inXML","slot":"6"},{"N":"str","val":"xml"},{"N":"true"},{"N":"str","val":"iXML"}]}]}]},{"N":"resultDoc","line":"397","global":"method=text\n","local":"method=Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}replace-content\n","flags":"a","C":[{"N":"str","role":"href","val":"#grammarURI"},{"N":"valueOf","role":"content","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"baseURI:\n "},{"N":"fn","name":"string","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"varRef","name":"Q{}href","slot":"4"}]}]}]}]}]}]},{"N":"callT","line":"399","name":"Q{}clearAll","bSlot":"6"},{"N":"ifCall","line":"400","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}set-property","type":"?","C":[{"N":"str","val":"value"},{"N":"str","val":""},{"N":"check","card":"1","diag":"0|2||ixsl:set-property","C":[{"N":"fn","name":"id","C":[{"N":"str","val":"input"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]}]}]},{"N":"resultDoc","line":"401","global":"method=text\n","local":"method=Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}replace-content\n","flags":"a","C":[{"N":"str","role":"href","val":"#grammarFileName"},{"N":"empty","role":"content"}]},{"N":"resultDoc","line":"402","global":"method=text\n","local":"method=Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}replace-content\n","flags":"a","C":[{"N":"str","role":"href","val":"#inputTest"},{"N":"let","role":"content","line":"403","var":"Q{}cases","as":"*NE","slot":"8","C":[{"N":"conditionalSort","C":[{"N":"fn","name":"exists","C":[{"N":"tail","start":"2","C":[{"N":"varRef","name":"Q{}test-set","slot":"3"}]}]},{"N":"docOrder","intra":"0","C":[{"N":"slash","simple":"2","C":[{"N":"varRef","name":"Q{}test-set","slot":"3"},{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-case,NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-string-ref]"}]}]}]},{"N":"choose","line":"404","C":[{"N":"fn","line":"405","name":"exists","C":[{"N":"varRef","name":"Q{}cases","slot":"8"}]},{"N":"sequence","line":"406","C":[{"N":"elem","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"testSample"}]},{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"Test\/sample:"}]}]}]},{"N":"elem","line":"407","name":"select","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"str","val":"testInputSelect"}]},{"N":"elem","line":"408","name":"option","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"value","flags":"l","C":[{"N":"str","val":""}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":"--Select input--"}]}]}]},{"N":"forEach","line":"409","C":[{"N":"varRef","name":"Q{}cases","slot":"8"},{"N":"elem","line":"410","name":"option","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"value","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"slash","simple":"2","C":[{"N":"axis","name":"parent","nodeTest":"N u[NE,ND]"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}id"}]}]}]},{"N":"str","val":" "}]},{"N":"str","val":"\/"},{"N":"fn","name":"string","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"attVal","name":"Q{}id"}]}]}]}]},{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"attVal","name":"Q{}name"}]}]}]}]}]},{"N":"applyT","line":"412","mode":"Q{}qt3","bSlot":"7","C":[{"N":"conditionalSort","role":"select","C":[{"N":"fn","name":"exists","C":[{"N":"tail","start":"2","C":[{"N":"varRef","name":"Q{}test-set","slot":"3"}]}]},{"N":"docOrder","intra":"0","C":[{"N":"slash","simple":"2","C":[{"N":"varRef","name":"Q{}test-set","slot":"3"},{"N":"axis","name":"child","nodeTest":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}QT3"}]}]}]}]}]}]}]},{"N":"true"},{"N":"elem","line":"416","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"testSample"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":"No sample inputs available for this grammar"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"80","rank":"0","minImp":"0","slots":"2","matches":"NE","flags":"s","line":"366","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}input,NE nQ{}input]"},{"N":"vc","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"366","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}id"},{"N":"str","val":"advanced"}]}]},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"367","var":"Q{}checked","slot":"0","flags":"e","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}get","type":"*","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}input,NE nQ{}input]","flags":"a"},{"N":"str","val":"checked"}]},{"N":"let","line":"369","var":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","as":"1AS","slot":"1","flags":"l","C":[{"N":"choose","C":[{"N":"varRef","name":"Q{}checked","slot":"0"},{"N":"str","val":"block"},{"N":"true"},{"N":"str","val":"none"}]},{"N":"forEach","line":"368","C":[{"N":"docOrder","intra":"1","C":[{"N":"filter","flags":"b","C":[{"N":"slash","simple":"2","C":[{"N":"fn","name":"id","C":[{"N":"str","val":"options"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]},{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}div,NE nQ{}div]"}]},{"N":"fn","name":"contains-token","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:contains-token","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:contains-token","C":[{"N":"attVal","name":"Q{}class"}]}]},{"N":"str","val":"advancedOption"}]}]}]},{"N":"ifCall","line":"369","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}set-style","type":"?","C":[{"N":"str","val":"display"},{"N":"varRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","slot":"1"},{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}div,NE nQ{}div]"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"46","rank":"0","minImp":"0","slots":"1","matches":"NE","flags":"s","line":"121","module":"grammar.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}input,NE nQ{}input]"},{"N":"vc","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"121","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}class"},{"N":"str","val":"grammarFormat"}]}]},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"123","var":"Q{}value","as":"1AS","slot":"0","C":[{"N":"fn","name":"lower-case","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:lower-case","C":[{"N":"data","diag":"0|0||fn:lower-case","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}value"}]}]}]}]},{"N":"forEach","line":"126","C":[{"N":"docOrder","line":"125","intra":"1","C":[{"N":"filter","flags":"b","C":[{"N":"slash","simple":"2","C":[{"N":"fn","name":"reverse","C":[{"N":"filter","flags":"","C":[{"N":"slash","simple":"1","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}input,NE nQ{}input]","flags":"a"},{"N":"axis","name":"ancestor","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}div,NE nQ{}div]"}]},{"N":"vc","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}class"},{"N":"str","val":"grammarDisplay"}]}]}]},{"N":"axis","name":"following-sibling","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}div,NE nQ{}div]"}]},{"N":"fn","name":"contains-token","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:contains-token","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:contains-token","C":[{"N":"attVal","name":"Q{}class"}]}]},{"N":"str","val":"grammar"}]}]}]},{"N":"forEach","line":"127","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}pre,NE nQ{}pre]"},{"N":"ifCall","line":"129","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}set-style","type":"?","C":[{"N":"str","val":"display"},{"N":"choose","C":[{"N":"fn","name":"starts-with","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:starts-with","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:starts-with","C":[{"N":"attVal","name":"Q{}class"}]}]},{"N":"varRef","name":"Q{}value","slot":"0"}]},{"N":"str","val":"block"},{"N":"true"},{"N":"str","val":"none"}]},{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}pre,NE nQ{}pre]"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"45","rank":"0","minImp":"0","slots":"1","matches":"NE","flags":"s","line":"108","module":"grammar.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}input,NE nQ{}input]"},{"N":"vc","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"108","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}class"},{"N":"str","val":"grammarPhase"}]}]},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"110","var":"Q{}value","as":"1AS","slot":"0","C":[{"N":"fn","name":"lower-case","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:lower-case","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:lower-case","C":[{"N":"data","diag":"0|0||fn:lower-case","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}value"}]}]}]}]},{"N":"forEach","line":"113","C":[{"N":"docOrder","line":"112","intra":"1","C":[{"N":"filter","flags":"b","C":[{"N":"slash","simple":"2","C":[{"N":"fn","name":"reverse","C":[{"N":"filter","flags":"","C":[{"N":"slash","simple":"1","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}input,NE nQ{}input]","flags":"a"},{"N":"axis","name":"ancestor","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}div,NE nQ{}div]"}]},{"N":"vc","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}class"},{"N":"str","val":"grammarDisplay"}]}]}]},{"N":"axis","name":"following-sibling","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}div,NE nQ{}div]"}]},{"N":"fn","name":"contains-token","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:contains-token","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:contains-token","C":[{"N":"attVal","name":"Q{}class"}]}]},{"N":"str","val":"grammar"}]}]}]},{"N":"ifCall","line":"116","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}set-style","type":"?","C":[{"N":"str","val":"display"},{"N":"choose","C":[{"N":"fn","name":"contains-token","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:contains-token","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:contains-token","C":[{"N":"attVal","name":"Q{}class"}]}]},{"N":"varRef","name":"Q{}value","slot":"0"}]},{"N":"str","val":"block"},{"N":"true"},{"N":"str","val":"none"}]},{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}div,NE nQ{}div]"}]}]}]}]}]}]},{"N":"co","id":"40","binds":"","C":[{"N":"globalParam","name":"Q{}tag","as":"1AS","line":"15","module":"ixmlTreeReduce.3.xsl","visibility":"PUBLIC","C":[{"N":"str","val":"OPT-"}]}]},{"N":"co","id":"61","binds":"","C":[{"N":"globalVariable","name":"Q{}debug.RT","as":"1AB","line":"11","module":"ixmlTreeReduce.3.xsl","visibility":"PUBLIC","flags":"s","C":[{"N":"false"}]}]},{"N":"co","id":"60","binds":"","C":[{"N":"mode","name":"Q{}qt3","onNo":"SS","flags":"W","patternSlots":"0","C":[{"N":"templateRule","prec":"2","prio":"0.5","seq":"86","rank":"1","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog}test-set","flags":"s","line":"451","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE nQ{http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog}test-set"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"451","name":"attribute","nodeTest":"NA nQ{}file"}]},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"452","name":"optgroup","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"label","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"applyT","line":"453","flags":"c","bSlot":"-1","C":[{"N":"fn","role":"select","name":"doc","C":[{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|0||fn:doc","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:doc","C":[{"N":"fn","name":"resolve-uri","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:resolve-uri","C":[{"N":"data","diag":"0|0||fn:resolve-uri","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}file"}]}]}]},{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|1||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||fn:resolve-uri","C":[{"N":"fn","name":"base-uri","C":[{"N":"dot","type":"1NE nQ{http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog}test-set","flags":"a"}]}]}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"84","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}QT3","flags":"s","line":"445","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}QT3"},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"446","flags":"ct","bSlot":"-1","C":[{"N":"fn","role":"select","name":"doc","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:doc","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:doc","C":[{"N":"data","diag":"0|0||fn:doc","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}href"}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"88","rank":"1","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog}test-case","flags":"s","line":"460","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE nQ{http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog}test-case"},{"N":"filter","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"460","flags":"","C":[{"N":"axis","name":"child","nodeTest":"NE nQ{http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog}dependency"},{"N":"and","op":"and","C":[{"N":"vc","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"spec"}]},{"N":"fn","name":"starts-with","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:starts-with","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:starts-with","C":[{"N":"attVal","name":"Q{}value"}]}]},{"N":"str","val":"XQ"}]}]}]}]},{"N":"empty","role":"action"}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"87","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog}test-case","flags":"s","line":"456","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog}test-case"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"457","name":"option","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"value","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"child","nodeTest":"NE nQ{http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog}test"}]}]},{"N":"str","val":" "}]}]},{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"85","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog}catalog","flags":"s","line":"448","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog}catalog"},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"449","flags":"ct","bSlot":"-1","C":[{"N":"fn","role":"select","name":"subsequence","C":[{"N":"axis","name":"child","nodeTest":"NE nQ{http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog}test-set"},{"N":"int","val":"1"},{"N":"int","val":"4"}]}]}]}]}]},{"N":"co","id":"30","binds":"36","C":[{"N":"globalVariable","name":"Q{}allThings","as":"*NE","line":"104","module":"jwiXML.3.xsl","visibility":"PRIVATE","C":[{"N":"treat","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"105","as":"NE","diag":"3|0|XTTE0570|allThings","C":[{"N":"applyT","mode":"Q{}collectAll","bSlot":"0","C":[{"N":"root","role":"select"}]}]}]}]},{"N":"co","id":"62","binds":"63","C":[{"N":"function","name":"Q{http:\/\/nineml.com\/ns\/coffeesacks}make-parser","line":"39","module":"coffeeSacks.3.xsl","flags":"pU","as":"1F r[1] a[1AS]","slots":"1","C":[{"N":"arg","name":"Q{}input","as":"1"},{"N":"tailCallLoop","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks err=~ ixml=http:\/\/invisiblexml.org\/NS jwL=https:\/\/github.com\/johnlumley map=~ math=~ xs=~ xsl=~ xml=~","line":"42","C":[{"N":"ufCall","name":"Q{http:\/\/nineml.com\/ns\/coffeesacks}make-parser","tailCall":"foreign","bSlot":"0","C":[{"N":"varRef","name":"Q{}input","slot":"0"},{"N":"map","size":"0"}]}]}]}]},{"N":"co","id":"64","binds":"26","C":[{"N":"function","name":"Q{http:\/\/ns.saxonica.com\/anonymous-type}f_799260198","line":"0","flags":"pU","as":"1","slots":"4","C":[{"N":"arg","name":"Q{}input","as":"1AS"},{"N":"arg","name":"Q{}compiled","as":"*"},{"N":"arg","name":"Q{}options","as":"?FM"},{"N":"let","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"348","var":"Q{}result","slot":"3","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}parse","tailCall":"false","bSlot":"0","C":[{"N":"varRef","name":"Q{}compiled","slot":"1"},{"N":"varRef","name":"Q{}input","slot":"0"},{"N":"map","size":"1","C":[{"N":"str","val":"justOne"},{"N":"false"}]}]},{"N":"choose","C":[{"N":"and","op":"and","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}options","slot":"2"},{"N":"str","val":"fail-on-error"}]},{"N":"lookup","C":[{"N":"varRef","name":"Q{}result","slot":"3"},{"N":"str","val":"failed"}]}]},{"N":"check","card":"1","diag":"5|0|XTTE0780|anon:f_799260198#3","C":[{"N":"fn","name":"error","C":[{"N":"qName","pre":"","uri":"http:\/\/www.w3.org\/2005\/xqt-errors","loc":"FOIX0002"},{"N":"fn","name":"concat","C":[{"N":"str","val":"Failure to parse: "},{"N":"data","diag":"0|1||fn:concat","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}result","slot":"3"},{"N":"str","val":"failed"}]}]}]}]}]},{"N":"true"},{"N":"check","card":"1","diag":"5|0|XTTE0780|anon:f_799260198#3","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}result","slot":"3"},{"N":"str","val":"tree"}]}]}]}]}]}]},{"N":"co","id":"63","binds":"65 41 66","C":[{"N":"function","name":"Q{http:\/\/nineml.com\/ns\/coffeesacks}make-parser","line":"44","module":"coffeeSacks.3.xsl","flags":"pU","as":"1F r[1] a[1AS]","slots":"2","C":[{"N":"arg","name":"Q{}input","as":"1"},{"N":"arg","name":"Q{}options","as":"1FM"},{"N":"tailCallLoop","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks ixml=http:\/\/invisiblexml.org\/NS jwL=https:\/\/github.com\/johnlumley math=~ xs=~ xsl=~ xml=~","line":"47","C":[{"N":"choose","C":[{"N":"or","line":"49","op":"or","C":[{"N":"instance","of":"1N","C":[{"N":"varRef","name":"Q{}input","slot":"0"}]},{"N":"instance","of":"1A","C":[{"N":"varRef","name":"Q{}input","slot":"0"}]}]},{"N":"partialApply","line":"49","C":[{"N":"ufRef","name":"Q{http:\/\/ns.saxonica.com\/anonymous-type}f_1904609259","arity":"2","bSlot":"0"},{"N":"null"},{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}compileGrammar","tailCall":"false","bSlot":"1","C":[{"N":"fn","name":"string","C":[{"N":"varRef","name":"Q{}input","slot":"0"}]},{"N":"varRef","name":"Q{}options","slot":"1"}]}]},{"N":"instance","line":"51","of":"1AU","C":[{"N":"varRef","name":"Q{}input","slot":"0"}]},{"N":"ufCall","line":"51","name":"Q{http:\/\/nineml.com\/ns\/coffeesacks}load-grammar","tailCall":"foreign","bSlot":"2","C":[{"N":"check","card":"1","diag":"0|0||cs:load-grammar","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"0|0||cs:load-grammar","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||cs:load-grammar","C":[{"N":"data","diag":"0|0||cs:load-grammar","C":[{"N":"varRef","name":"Q{}input","slot":"0"}]}]}]}]},{"N":"varRef","name":"Q{}options","slot":"1"}]},{"N":"true"},{"N":"check","line":"52","card":"1","diag":"5|0|XTTE0780|cs:make-parser#2","C":[{"N":"fnCoercer","to":"1F r[1] a[1AS]","diag":"5|0|XTTE0780|cs:make-parser#2","flags":"4","C":[{"N":"treat","as":"F","diag":"5|0|XTTE0780|cs:make-parser#2","C":[{"N":"fn","name":"error","C":[{"N":"qName","pre":"ixml","uri":"http:\/\/invisiblexml.org\/NS","loc":"G000"},{"N":"str","val":"Cannot treat type of $input as a valid IXML grammar"}]}]}]}]}]}]}]}]},{"N":"co","id":"67","binds":"","C":[{"N":"globalParam","name":"Q{}sourceURI","as":"*","line":"24","module":"ixmlTreeReduce.3.xsl","visibility":"PUBLIC","C":[{"N":"fn","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"doc=Documentation math=~ xs=~ xsl=~ xml=~","line":"24","name":"base-uri","C":[{"N":"root"}]}]}]},{"N":"co","id":"68","binds":"25 25 25 25 25 25 25 41 12 2 25 25 25 9 69 69 69 69 69 14 24 70 26 25 25 69 69 71 14 24 25 43 2 39 35 2 59","C":[{"N":"mode","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}onclick","onNo":"TC","flags":"W","patternSlots":"0","C":[{"N":"templateRule","prec":"2","prio":"0.5","seq":"109","rank":"0","minImp":"0","slots":"15","matches":"NE","flags":"s","line":"745","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}button,NE nQ{}button]"},{"N":"vc","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"745","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}id"},{"N":"str","val":"go"}]}]},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"746","var":"Q{}storedGrammar","as":"*NE","slot":"0","flags":"e","C":[{"N":"fn","name":"id","C":[{"N":"str","val":"grammar"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]},{"N":"let","line":"748","var":"Q{}baseURI","slot":"1","flags":"e","C":[{"N":"choose","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}contains","type":"1AB","C":[{"N":"check","card":"1","diag":"0|0||ixsl:contains","C":[{"N":"varRef","name":"Q{}storedGrammar","slot":"0"}]},{"N":"str","val":"grammarBaseURI"}]},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}get","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:get","C":[{"N":"varRef","name":"Q{}storedGrammar","slot":"0"}]},{"N":"str","val":"grammarBaseURI"}]}]},{"N":"let","line":"752","var":"Q{}usePragmas","as":"1AB","slot":"2","flags":"e","C":[{"N":"ufCall","name":"Q{MyFunctions}readCheckbox","tailCall":"false","bSlot":"0","C":[{"N":"str","val":"pragmas"}]},{"N":"let","line":"755","var":"Q{}useTWrewrites","as":"1AB","slot":"3","flags":"e","C":[{"N":"ufCall","name":"Q{MyFunctions}readCheckbox","tailCall":"false","bSlot":"1","C":[{"N":"str","val":"twRewrites"}]},{"N":"let","line":"757","var":"Q{}grammarXML","slot":"4","flags":"e","C":[{"N":"choose","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}contains","type":"1AB","C":[{"N":"check","card":"1","diag":"0|0||ixsl:contains","C":[{"N":"varRef","name":"Q{}storedGrammar","slot":"0"}]},{"N":"str","val":"formatXML"}]},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}get","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:get","C":[{"N":"varRef","name":"Q{}storedGrammar","slot":"0"}]},{"N":"str","val":"formatXML"}]}]},{"N":"let","line":"759","var":"Q{}grammarSource","slot":"5","flags":"e","C":[{"N":"choose","C":[{"N":"varRef","name":"Q{}grammarXML","slot":"4"},{"N":"varRef","name":"Q{}grammarXML","slot":"4"},{"N":"true"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}get","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:get","C":[{"N":"varRef","name":"Q{}storedGrammar","slot":"0"}]},{"N":"str","val":"value"}]}]},{"N":"let","line":"761","var":"Q{}input","slot":"6","flags":"e","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}get","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:get","C":[{"N":"fn","name":"id","C":[{"N":"str","val":"input"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]}]},{"N":"str","val":"value"}]},{"N":"let","line":"762","var":"Q{}output","as":"1FM","slot":"7","flags":"e","C":[{"N":"ifCall","line":"767","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}merge","type":"1FM","C":[{"N":"try","flags":"r","C":[{"N":"let","var":"Q{}options1","as":"1FM k[AS]","slot":"8","C":[{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}merge","type":"1FM","C":[{"N":"sequence","C":[{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"missing"},{"N":"ufCall","name":"Q{MyFunctions}readCheckbox","tailCall":"false","bSlot":"2","C":[{"N":"str","val":"missing"}]}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"twRewrites"},{"N":"varRef","name":"Q{}useTWrewrites","slot":"3"}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"pragmas"},{"N":"varRef","name":"Q{}usePragmas","slot":"2"}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"longStrings"},{"N":"ufCall","name":"Q{MyFunctions}readCheckbox","tailCall":"false","bSlot":"3","C":[{"N":"str","val":"longStrings"}]}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"regEx"},{"N":"ufCall","name":"Q{MyFunctions}readCheckbox","tailCall":"false","bSlot":"4","C":[{"N":"str","val":"regEx"}]}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"version1.1"},{"N":"ufCall","name":"Q{MyFunctions}readCheckbox","tailCall":"false","bSlot":"5","C":[{"N":"str","val":"version1.1"}]}]}]},{"N":"map","size":"2","C":[{"N":"str","val":"duplicates"},{"N":"str","val":"reject"},{"N":"str","val":"duplicates-error-code"},{"N":"str","val":"XQDY0137"}]}]},{"N":"let","line":"773","var":"Q{}options","as":"1FM k[AS]","slot":"9","C":[{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}merge","type":"1FM","C":[{"N":"sequence","C":[{"N":"varRef","name":"Q{}options1","slot":"8"},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}merge","type":"1FM","C":[{"N":"sequence","C":[{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"unreachable"},{"N":"ufCall","name":"Q{MyFunctions}readCheckbox","tailCall":"false","bSlot":"6","C":[{"N":"str","val":"unreachable"}]}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"baseURI"},{"N":"varRef","name":"Q{}baseURI","slot":"1"}]}]},{"N":"map","size":"2","C":[{"N":"str","val":"duplicates"},{"N":"str","val":"reject"},{"N":"str","val":"duplicates-error-code"},{"N":"str","val":"XQDY0137"}]}]}]},{"N":"map","size":"2","C":[{"N":"str","val":"duplicates"},{"N":"str","val":"use-first"},{"N":"str","val":"duplicates-error-code"},{"N":"str","val":"FOJS0003"}]}]},{"N":"let","line":"782","var":"Q{}grammar","slot":"10","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}compileGrammar","tailCall":"false","bSlot":"7","C":[{"N":"check","card":"1","diag":"0|0||jwL:compileGrammar","C":[{"N":"varRef","name":"Q{}grammarSource","slot":"5"}]},{"N":"varRef","name":"Q{}options","slot":"9"}]},{"N":"sequence","line":"784","C":[{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"grammarDetails"},{"N":"ufCall","name":"Q{MyFunctions}makeGrammarDisplay","tailCall":"false","bSlot":"8","C":[{"N":"ufCall","line":"769","name":"Q{https:\/\/github.com\/johnlumley}parseGrammar","tailCall":"false","bSlot":"9","C":[{"N":"check","card":"1","diag":"0|0||jwL:parseGrammar","C":[{"N":"varRef","name":"Q{}grammarSource","slot":"5"}]},{"N":"varRef","name":"Q{}options1","slot":"8"}]},{"N":"varRef","name":"Q{}grammar","slot":"10"},{"N":"fn","name":"generate-id","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}button,NE nQ{}button]","flags":"a"}]},{"N":"empty"}]}]},{"N":"ifCall","line":"785","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"result"},{"N":"choose","line":"786","C":[{"N":"or","op":"or","C":[{"N":"check","card":"?","diag":"0|0||fn:string-length","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"data","diag":"0|0||fn:string-length","C":[{"N":"varRef","name":"Q{}input","slot":"6"}]}]}]}]},{"N":"ufCall","name":"Q{MyFunctions}readCheckbox","tailCall":"false","bSlot":"10","C":[{"N":"str","val":"zeroLengthInput"}]}]},{"N":"choose","line":"787","C":[{"N":"ufCall","line":"788","name":"Q{MyFunctions}readCheckbox","tailCall":"false","bSlot":"11","C":[{"N":"str","val":"records"}]},{"N":"let","line":"790","var":"Q{}result","slot":"11","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}parseRecords","tailCall":"false","bSlot":"13","C":[{"N":"varRef","name":"Q{}grammar","slot":"10"},{"N":"check","card":"1","diag":"0|1||jwL:parseRecords","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"0|1||jwL:parseRecords","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||jwL:parseRecords","C":[{"N":"data","diag":"0|1||jwL:parseRecords","C":[{"N":"varRef","name":"Q{}input","slot":"6"}]}]}]}]},{"N":"ufCall","name":"Q{MyFunctions}readText","tailCall":"false","bSlot":"14","C":[{"N":"str","val":"separator"}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}merge","type":"1FM","C":[{"N":"sequence","C":[{"N":"map","size":"1","C":[{"N":"str","val":"showTimes"},{"N":"true"}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"nRecords"},{"N":"fn","name":"number","C":[{"N":"ufCall","name":"Q{MyFunctions}readText","tailCall":"false","bSlot":"15","C":[{"N":"str","val":"nRecords"}]}]}]}]},{"N":"map","size":"2","C":[{"N":"str","val":"duplicates"},{"N":"str","val":"reject"},{"N":"str","val":"duplicates-error-code"},{"N":"str","val":"XQDY0137"}]}]}]},{"N":"sequence","line":"791","C":[{"N":"filter","flags":"b","C":[{"N":"varRef","name":"Q{}result","slot":"11"},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}p,NE nQ{}p]"}]}]},{"N":"elem","line":"792","name":"p","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"# records:"},{"N":"convert","from":"AO","to":"AS","C":[{"N":"fn","name":"number","C":[{"N":"ufCall","name":"Q{MyFunctions}readText","tailCall":"false","bSlot":"16","C":[{"N":"str","val":"nRecords"}]}]}]}]}]}]},{"N":"choose","line":"793","C":[{"N":"fn","name":"exists","C":[{"N":"slash","simple":"2","C":[{"N":"varRef","name":"Q{}result","slot":"11"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{http:\/\/invisiblexml.org\/NS}state"}]}]},{"N":"elem","line":"794","name":"p","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"timing"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"convert","from":"ADI","to":"AS","C":[{"N":"fn","name":"count","C":[{"N":"docOrder","intra":"0","C":[{"N":"filter","flags":"b","C":[{"N":"slash","simple":"2","C":[{"N":"varRef","name":"Q{}result","slot":"11"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{http:\/\/invisiblexml.org\/NS}state"}]},{"N":"compareToString","op":"eq","val":"failed","C":[{"N":"data","diag":"1|0||eq","C":[{"N":"dot","type":"1NA nQ{http:\/\/invisiblexml.org\/NS}state"}]}]}]}]}]}]},{"N":"str","val":" failures; "},{"N":"convert","from":"ADI","to":"AS","C":[{"N":"fn","name":"count","C":[{"N":"docOrder","intra":"0","C":[{"N":"filter","flags":"b","C":[{"N":"slash","simple":"2","C":[{"N":"varRef","name":"Q{}result","slot":"11"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{http:\/\/invisiblexml.org\/NS}state"}]},{"N":"compareToString","op":"eq","val":"ambiguous","C":[{"N":"data","diag":"1|0||eq","C":[{"N":"dot","type":"1NA nQ{http:\/\/invisiblexml.org\/NS}state"}]}]}]}]}]}]},{"N":"str","val":" ambiguities"}]}]}]}]}]},{"N":"elem","line":"798","name":"button","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"selectAll"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":"select result"}]}]}]},{"N":"forEach","line":"811","C":[{"N":"filter","flags":"b","C":[{"N":"choose","line":"801","C":[{"N":"ufCall","name":"Q{MyFunctions}readText","tailCall":"false","bSlot":"17","C":[{"N":"str","val":"parent"}]},{"N":"compElem","line":"802","C":[{"N":"ufCall","role":"name","name":"Q{MyFunctions}readText","tailCall":"false","bSlot":"18","C":[{"N":"str","val":"parent"}]},{"N":"str","role":"namespace","val":""},{"N":"filter","role":"content","line":"803","flags":"b","C":[{"N":"varRef","name":"Q{}result","slot":"11"},{"N":"fn","name":"empty","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}p,NE nQ{}p]"}]}]}]},{"N":"true"},{"N":"filter","line":"807","flags":"b","C":[{"N":"varRef","name":"Q{}result","slot":"11"},{"N":"fn","name":"empty","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}p,NE nQ{}p]"}]}]}]},{"N":"fn","name":"empty","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}p,NE nQ{}p]"}]}]},{"N":"elem","line":"812","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{http:\/\/invisiblexml.org\/NS}state"}]},{"N":"str","val":"failed"},{"N":"true"},{"N":"str","val":""}]}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"ufCall","name":"Q{MyFunctions}serialize","tailCall":"false","bSlot":"19","C":[{"N":"dot","type":"1NE"}]},{"N":"str","val":" "}]}]}]}]}]}]}]},{"N":"ufCall","line":"816","name":"Q{MyFunctions}readCheckbox","tailCall":"false","bSlot":"12","C":[{"N":"str","val":"useFnInvisibleXML"}]},{"N":"sequence","line":"820","C":[{"N":"elem","name":"button","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"selectAll"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":"select result"}]}]}]},{"N":"elem","line":"821","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"ufCall","name":"Q{MyFunctions}serializeIndent","tailCall":"false","bSlot":"20","C":[{"N":"ifCall","line":"818","name":"Q{http:\/\/saxon.sf.net\/}apply","type":"*","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}invisible-xml","tailCall":"false","bSlot":"21","C":[{"N":"check","card":"?","diag":"0|0||jwL:invisible-xml","C":[{"N":"varRef","name":"Q{}grammarSource","slot":"5"}]},{"N":"varRef","name":"Q{}options","slot":"9"}]},{"N":"arrayBlock","C":[{"N":"varRef","line":"819","name":"Q{}input","slot":"6"}]}]}]}]}]}]},{"N":"str","val":" "}]}]}]}]},{"N":"true"},{"N":"let","line":"832","var":"Q{}result","slot":"12","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}parse","tailCall":"false","bSlot":"22","C":[{"N":"varRef","name":"Q{}grammar","slot":"10"},{"N":"check","card":"1","diag":"0|1||jwL:parse","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"0|1||jwL:parse","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||jwL:parse","C":[{"N":"data","diag":"0|1||jwL:parse","C":[{"N":"varRef","name":"Q{}input","slot":"6"}]}]}]}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}merge","type":"1FM","C":[{"N":"sequence","C":[{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"justOne"},{"N":"ufCall","name":"Q{MyFunctions}readCheckbox","tailCall":"false","bSlot":"23","C":[{"N":"str","val":"justOne"}]}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"suppressMarks"},{"N":"ufCall","name":"Q{MyFunctions}readCheckbox","tailCall":"false","bSlot":"24","C":[{"N":"str","val":"suppressMarks"}]}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"loopLimit"},{"N":"fn","name":"number","C":[{"N":"ufCall","name":"Q{MyFunctions}readText","tailCall":"false","bSlot":"25","C":[{"N":"str","val":"loopLimit"}]}]}]},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"parseTimeout"},{"N":"fn","name":"number","C":[{"N":"ufCall","name":"Q{MyFunctions}readText","tailCall":"false","bSlot":"26","C":[{"N":"str","val":"parseTimeout"}]}]}]}]},{"N":"map","size":"2","C":[{"N":"str","val":"duplicates"},{"N":"str","val":"reject"},{"N":"str","val":"duplicates-error-code"},{"N":"str","val":"XQDY0137"}]}]}]},{"N":"sequence","line":"833","C":[{"N":"ufCall","name":"Q{MyFunctions}showTimes","tailCall":"false","bSlot":"27","C":[{"N":"varRef","name":"Q{}result","slot":"12"}]},{"N":"elem","line":"835","name":"button","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"selectAll"}]},{"N":"valueOf","flags":"l","C":[{"N":"str","val":"select result"}]}]}]},{"N":"choose","line":"836","C":[{"N":"fn","name":"empty","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}result","slot":"12"},{"N":"str","val":"allTrees"}]}]},{"N":"let","line":"837","var":"Q{}r","slot":"13","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}result","slot":"12"},{"N":"str","val":"tree"}]},{"N":"elem","line":"838","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"choose","C":[{"N":"vc","op":"eq","onEmpty":"0","comp":"CCC","C":[{"N":"atomSing","card":"?","diag":"1|0||eq","C":[{"N":"slash","simple":"2","C":[{"N":"conditionalSort","C":[{"N":"fn","name":"exists","C":[{"N":"tail","start":"2","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|\/","C":[{"N":"varRef","name":"Q{}r","slot":"13"}]}]}]},{"N":"docOrder","intra":"0","C":[{"N":"slash","simple":"2","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|\/","C":[{"N":"varRef","name":"Q{}r","slot":"13"}]},{"N":"axis","name":"child","nodeTest":"NE"}]}]}]},{"N":"axis","name":"attribute","nodeTest":"NA nQ{http:\/\/invisiblexml.org\/NS}state"}]}]},{"N":"str","val":"failed"}]},{"N":"str","val":"parseFailure"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"replace","C":[{"N":"fn","name":"replace","C":[{"N":"check","card":"?","diag":"0|0||fn:replace","C":[{"N":"ufCall","name":"Q{MyFunctions}serialize","tailCall":"false","bSlot":"28","C":[{"N":"varRef","name":"Q{}r","slot":"13"}]}]},{"N":"str","val":"<"},{"N":"str","val":"<"},{"N":"str","val":""},{"N":"empty"}]},{"N":"str","val":">"},{"N":"str","val":">"},{"N":"str","val":""},{"N":"empty"}]}]}]}]}]}]},{"N":"choose","line":"840","C":[{"N":"fn","name":"exists","C":[{"N":"tail","start":"2","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}result","slot":"12"},{"N":"str","val":"allTrees"}]}]}]},{"N":"elem","line":"841","name":"p","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"notification"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"convert","from":"ADI","to":"AS","C":[{"N":"fn","name":"count","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}result","slot":"12"},{"N":"str","val":"allTrees"}]}]}]},{"N":"str","val":" ambiguous\n results"}]}]}]}]}]},{"N":"forEach","line":"844","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}result","slot":"12"},{"N":"str","val":"allTrees"}]},{"N":"ufCall","line":"847","name":"Q{MyFunctions}serializeIndent","tailCall":"false","bSlot":"29","C":[{"N":"treat","as":"N","diag":"0|0||f:serializeIndent","C":[{"N":"dot"}]}]}]},{"N":"choose","line":"849","C":[{"N":"ufCall","name":"Q{MyFunctions}readCheckbox","tailCall":"false","bSlot":"30","C":[{"N":"str","val":"MakeShowStates"}]},{"N":"sequence","line":"850","C":[{"N":"elem","name":"h4","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"l","C":[{"N":"str","val":"Parser states"}]}]},{"N":"callT","line":"851","name":"Q{MyFunctions}makeStateDisplay","bSlot":"31","C":[{"N":"withParam","name":"Q{}result","flags":"c","C":[{"N":"varRef","line":"852","name":"Q{}result","slot":"12"}]},{"N":"withParam","name":"Q{}visible","flags":"c","as":"1AB","C":[{"N":"true"}]}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"catch","errors":"Q{http:\/\/invisiblexml.org\/NS}*","C":[{"N":"let","line":"861","var":"Q{}code","as":"?ASNTNC","slot":"14","C":[{"N":"fn","name":"local-name-from-QName","C":[{"N":"treat","as":"AQ","diag":"0|0||fn:local-name-from-QName","C":[{"N":"check","card":"?","diag":"0|0||fn:local-name-from-QName","C":[{"N":"cvUntyped","to":"AQ","C":[{"N":"data","diag":"0|0||fn:local-name-from-QName","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}dynamic-error-info","type":"*","C":[{"N":"str","val":"code"}]}]}]}]}]}]},{"N":"choose","line":"862","C":[{"N":"fn","line":"863","name":"matches","C":[{"N":"varRef","name":"Q{}code","slot":"14"},{"N":"str","val":"^(G|S)"},{"N":"str","val":""}]},{"N":"sequence","line":"864","C":[{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"grammarDetails"},{"N":"elem","line":"865","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"Grammar failure "},{"N":"fn","name":"string","C":[{"N":"varRef","name":"Q{}code","slot":"14"}]},{"N":"str","val":": "},{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}dynamic-error-info","type":"*","C":[{"N":"str","val":"description"}]}]}]}]},{"N":"str","val":" "}]}]}]}]}]},{"N":"ifCall","line":"867","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"grammarFailure"},{"N":"elem","line":"868","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"Grammar failure "},{"N":"fn","name":"string","C":[{"N":"varRef","name":"Q{}code","slot":"14"}]},{"N":"str","val":": "}]}]},{"N":"elem","name":"br","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"empty"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}dynamic-error-info","type":"*","C":[{"N":"str","val":"description"}]}]}]}]},{"N":"str","val":" "}]}]}]}]}]}]},{"N":"true"},{"N":"ifCall","line":"872","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"result"},{"N":"elem","line":"873","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"Dynamic failure "},{"N":"fn","name":"string","C":[{"N":"varRef","name":"Q{}code","slot":"14"}]},{"N":"str","val":": "},{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}dynamic-error-info","type":"*","C":[{"N":"str","val":"description"}]}]}]}]},{"N":"str","val":" "}]}]}]}]}]}]}]}]},{"N":"catch","errors":"*","C":[{"N":"ifCall","line":"879","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}entry","type":"1FM","C":[{"N":"str","val":"result"},{"N":"elem","line":"880","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"fn","name":"string","C":[{"N":"convert","from":"AU","to":"AS","C":[{"N":"fn","name":"namespace-uri-from-QName","C":[{"N":"treat","as":"AQ","diag":"0|0||fn:namespace-uri-from-QName","C":[{"N":"check","card":"?","diag":"0|0||fn:namespace-uri-from-QName","C":[{"N":"cvUntyped","to":"AQ","C":[{"N":"data","diag":"0|0||fn:namespace-uri-from-QName","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}dynamic-error-info","type":"*","C":[{"N":"str","val":"code"}]}]}]}]}]}]}]}]},{"N":"str","val":" "},{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}dynamic-error-info","type":"*","C":[{"N":"str","val":"code"}]}]}]}]},{"N":"str","val":" "}]},{"N":"str","val":" "},{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}dynamic-error-info","type":"*","C":[{"N":"str","val":"description"}]}]}]}]},{"N":"str","val":" "}]}]}]}]}]}]}]},{"N":"map","size":"2","C":[{"N":"str","val":"duplicates"},{"N":"str","val":"reject"},{"N":"str","val":"duplicates-error-code"},{"N":"str","val":"XTDE3365"}]}]},{"N":"sequence","line":"886","C":[{"N":"resultDoc","global":"method=text\n","local":"method=Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}replace-content\n","flags":"a","C":[{"N":"str","role":"href","val":"#grammarDetails"},{"N":"lookup","role":"content","line":"891","C":[{"N":"varRef","name":"Q{}output","slot":"7"},{"N":"str","val":"grammarDetails"}]}]},{"N":"resultDoc","line":"893","global":"method=text\n","local":"method=Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}replace-content\n","flags":"a","C":[{"N":"str","role":"href","val":"#grammarFailure"},{"N":"lookup","role":"content","line":"894","C":[{"N":"varRef","name":"Q{}output","slot":"7"},{"N":"str","val":"grammarFailure"}]}]},{"N":"resultDoc","line":"896","global":"method=text\n","local":"method=Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}replace-content\n","flags":"a","C":[{"N":"str","role":"href","val":"#result"},{"N":"lookup","role":"content","line":"897","C":[{"N":"varRef","name":"Q{}output","slot":"7"},{"N":"str","val":"result"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"108","rank":"0","minImp":"0","slots":"6","matches":"NE","flags":"s","line":"656","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}button,NE nQ{}button]"},{"N":"vc","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"656","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}id"},{"N":"str","val":"reduce"}]}]},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"658","var":"Q{}grammarSource","slot":"0","flags":"e","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}get","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:get","C":[{"N":"fn","name":"id","C":[{"N":"str","val":"grammar"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]}]},{"N":"str","val":"value"}]},{"N":"let","line":"660","var":"Q{}inXML","as":"1AB","slot":"1","flags":"e","C":[{"N":"fn","name":"ends-with","C":[{"N":"check","card":"?","diag":"0|0||fn:ends-with","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:ends-with","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:ends-with","C":[{"N":"data","diag":"0|0||fn:ends-with","C":[{"N":"fn","name":"id","C":[{"N":"str","val":"grammarFileName"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]}]}]}]}]},{"N":"str","val":".xml"}]},{"N":"let","line":"662","var":"Q{}grammarSource","slot":"2","flags":"e","C":[{"N":"choose","C":[{"N":"varRef","name":"Q{}inXML","slot":"1"},{"N":"fn","name":"parse-xml","C":[{"N":"check","card":"?","diag":"0|0||fn:parse-xml","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"0|0||fn:parse-xml","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:parse-xml","C":[{"N":"data","diag":"0|0||fn:parse-xml","C":[{"N":"varRef","name":"Q{}grammarSource","slot":"0"}]}]}]}]}]},{"N":"true"},{"N":"varRef","name":"Q{}grammarSource","slot":"0"}]},{"N":"try","line":"665","flags":"r","C":[{"N":"let","line":"667","var":"Q{}xml","slot":"3","flags":"e","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"ufCall","line":"665","name":"Q{https:\/\/github.com\/johnlumley}parseGrammar","tailCall":"false","bSlot":"32","C":[{"N":"check","card":"1","diag":"0|0||jwL:parseGrammar","C":[{"N":"varRef","name":"Q{}grammarSource","slot":"2"}]},{"N":"map","size":"1","C":[{"N":"str","val":"pragmas"},{"N":"true"}]}]},{"N":"str","val":"display"},{"N":"array","size":"1","C":[{"N":"map","size":"1","C":[{"N":"str","val":"debug"},{"N":"false"}]}]}]},{"N":"let","line":"668","var":"Q{}reduced","as":"1ND","slot":"4","C":[{"N":"doc","line":"669","C":[{"N":"applyT","mode":"Q{}reduceTree","bSlot":"33","C":[{"N":"varRef","role":"select","name":"Q{}xml","slot":"3"}]}]},{"N":"let","line":"671","var":"Q{}reduced","as":"1ND","slot":"5","C":[{"N":"doc","line":"672","C":[{"N":"applyT","mode":"Q{}xml2ixml","bSlot":"34","C":[{"N":"varRef","role":"select","name":"Q{}reduced","slot":"4"}]}]},{"N":"ifCall","line":"679","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}set-property","type":"?","C":[{"N":"str","val":"value"},{"N":"fn","name":"string","C":[{"N":"varRef","name":"Q{}reduced","slot":"5"}]},{"N":"check","card":"1","diag":"0|2||ixsl:set-property","C":[{"N":"fn","name":"id","C":[{"N":"str","val":"grammar"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]}]}]}]}]}]},{"N":"catch","errors":"Q{http:\/\/invisiblexml.org\/NS}*","C":[{"N":"resultDoc","line":"682","global":"method=text\n","local":"method=Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}replace-content\n","flags":"a","C":[{"N":"str","role":"href","val":"#grammarFailure"},{"N":"elem","role":"content","line":"683","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"valueOf","flags":"l","C":[{"N":"fn","line":"681","name":"concat","C":[{"N":"str","val":"Cannot reduce - Grammar failure "},{"N":"fn","name":"string","C":[{"N":"fn","name":"local-name-from-QName","C":[{"N":"treat","as":"AQ","diag":"0|0||fn:local-name-from-QName","C":[{"N":"check","card":"?","diag":"0|0||fn:local-name-from-QName","C":[{"N":"cvUntyped","to":"AQ","C":[{"N":"data","diag":"0|0||fn:local-name-from-QName","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}dynamic-error-info","type":"*","C":[{"N":"str","val":"code"}]}]}]}]}]}]}]},{"N":"str","val":": "}]}]},{"N":"elem","name":"br","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"empty"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}dynamic-error-info","type":"*","C":[{"N":"str","val":"description"}]}]}]}]},{"N":"str","val":" "}]}]}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"107","rank":"0","minImp":"0","slots":"3","matches":"NE","flags":"s","line":"635","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}button,NE nQ{}button]"},{"N":"vc","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"635","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}id"},{"N":"str","val":"reformat"}]}]},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"637","var":"Q{}grammarSource","slot":"0","flags":"e","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}get","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:get","C":[{"N":"fn","name":"id","C":[{"N":"str","val":"grammar"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]}]},{"N":"str","val":"value"}]},{"N":"let","line":"639","var":"Q{}inXML","as":"1AB","slot":"1","flags":"e","C":[{"N":"fn","name":"ends-with","C":[{"N":"check","card":"?","diag":"0|0||fn:ends-with","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:ends-with","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:ends-with","C":[{"N":"data","diag":"0|0||fn:ends-with","C":[{"N":"fn","name":"id","C":[{"N":"str","val":"grammarFileName"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]}]}]}]}]},{"N":"str","val":".xml"}]},{"N":"let","line":"641","var":"Q{}grammarSource","slot":"2","flags":"e","C":[{"N":"choose","C":[{"N":"varRef","name":"Q{}inXML","slot":"1"},{"N":"fn","name":"parse-xml","C":[{"N":"check","card":"?","diag":"0|0||fn:parse-xml","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"0|0||fn:parse-xml","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:parse-xml","C":[{"N":"data","diag":"0|0||fn:parse-xml","C":[{"N":"varRef","name":"Q{}grammarSource","slot":"0"}]}]}]}]}]},{"N":"true"},{"N":"varRef","name":"Q{}grammarSource","slot":"0"}]},{"N":"try","line":"644","flags":"r","C":[{"N":"ifCall","line":"647","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}set-property","type":"?","C":[{"N":"str","val":"value"},{"N":"check","card":"?","diag":"0|1||ixsl:set-property","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"ufCall","line":"644","name":"Q{https:\/\/github.com\/johnlumley}parseGrammar","tailCall":"false","bSlot":"35","C":[{"N":"check","card":"1","diag":"0|0||jwL:parseGrammar","C":[{"N":"varRef","name":"Q{}grammarSource","slot":"2"}]},{"N":"map","size":"1","C":[{"N":"str","val":"pragmas"},{"N":"true"}]}]},{"N":"str","val":"flat"},{"N":"array","size":"0"}]}]},{"N":"check","card":"1","diag":"0|2||ixsl:set-property","C":[{"N":"fn","name":"id","C":[{"N":"str","val":"grammar"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]}]}]},{"N":"catch","errors":"Q{http:\/\/invisiblexml.org\/NS}*","C":[{"N":"resultDoc","line":"650","global":"method=text\n","local":"method=Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}replace-content\n","flags":"a","C":[{"N":"str","role":"href","val":"#grammarFailure"},{"N":"elem","role":"content","line":"651","name":"pre","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"valueOf","flags":"l","C":[{"N":"fn","line":"649","name":"concat","C":[{"N":"str","val":"Cannot reformat - Grammar failure "},{"N":"fn","name":"string","C":[{"N":"fn","name":"local-name-from-QName","C":[{"N":"treat","as":"AQ","diag":"0|0||fn:local-name-from-QName","C":[{"N":"check","card":"?","diag":"0|0||fn:local-name-from-QName","C":[{"N":"cvUntyped","to":"AQ","C":[{"N":"data","diag":"0|0||fn:local-name-from-QName","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}dynamic-error-info","type":"*","C":[{"N":"str","val":"code"}]}]}]}]}]}]}]},{"N":"str","val":": "}]}]},{"N":"elem","name":"br","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"empty"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}dynamic-error-info","type":"*","C":[{"N":"str","val":"description"}]}]}]}]},{"N":"str","val":" "}]}]}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"106","rank":"0","minImp":"0","slots":"0","matches":"NE","flags":"s","line":"631","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}pre,NE nQ{}pre]"},{"N":"fn","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"631","name":"contains-token","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:contains-token","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:contains-token","C":[{"N":"attVal","name":"Q{}class"}]}]},{"N":"str","val":"sample"}]}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"632","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}set-property","type":"?","C":[{"N":"str","val":"value"},{"N":"fn","name":"string","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}pre,NE nQ{}pre]","flags":"a"}]},{"N":"check","card":"1","diag":"0|2||ixsl:set-property","C":[{"N":"fn","name":"id","C":[{"N":"str","val":"grammar"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]}]}]},{"N":"callT","line":"633","name":"Q{}clearAll","bSlot":"36","flags":"t"}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"47","rank":"0","minImp":"0","slots":"0","matches":"NE","flags":"s","line":"133","module":"grammar.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}button,NE nQ{}button]"},{"N":"fn","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"133","name":"contains-token","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:contains-token","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:contains-token","C":[{"N":"attVal","name":"Q{}class"}]}]},{"N":"str","val":"selectAll"}]}]},{"N":"ifCall","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"136","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:call","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}window","type":"1"},{"N":"str","val":"getSelection"},{"N":"array","size":"0"}]}]},{"N":"str","val":"selectAllChildren"},{"N":"arrayBlock","C":[{"N":"first","line":"134","C":[{"N":"axis","name":"following","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}pre,NE nQ{}pre]"}]}]}]}]}]}]},{"N":"co","id":"22","binds":"7","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}version","line":"27","module":"jwiXML.processor.3.xsl","flags":"pU","as":"1AS","slots":"0","C":[{"N":"check","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"28","card":"1","diag":"5|0|XTTE0780|jwL:version#0","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"5|0|XTTE0780|jwL:version#0","C":[{"N":"cvUntyped","to":"AS","diag":"5|0|XTTE0780|jwL:version#0","C":[{"N":"data","diag":"5|0|XTTE0780|jwL:version#0","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:call","C":[{"N":"gVarRef","name":"Q{}jwiXML","bSlot":"0"}]},{"N":"str","val":"version"},{"N":"array","size":"0"}]}]}]}]}]}]}]},{"N":"co","id":"72","binds":"","C":[{"N":"globalVariable","name":"Q{}supportInversion","as":"1AB","line":"70","module":"jwiXML.3.xsl","visibility":"PUBLIC","flags":"s","C":[{"N":"false"}]}]},{"N":"co","id":"54","binds":"","C":[{"N":"globalVariable","name":"Q{}compiler-version","as":"1AS","line":"50","module":"jwiXML.3.xsl","visibility":"PRIVATE","flags":"s","C":[{"N":"str","val":" 12.4"}]}]},{"N":"co","id":"73","binds":"","C":[{"N":"globalVariable","name":"Q{}testFnInvisibleXML","as":"1AB","line":"58","module":"jwiXML.3.xsl","visibility":"PRIVATE","flags":"s","C":[{"N":"true"}]}]},{"N":"co","id":"59","binds":"","C":[{"N":"template","name":"Q{}clearAll","flags":"os","line":"627","module":"jwiXML.3.xsl","slots":"0","C":[{"N":"sequence","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"628","C":[{"N":"resultDoc","global":"method=text\n","local":"method=Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}replace-content\n","flags":"a","C":[{"N":"str","role":"href","val":"#grammarDetails"},{"N":"empty","role":"content"}]},{"N":"resultDoc","line":"629","global":"method=text\n","local":"method=Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}replace-content\n","flags":"a","C":[{"N":"str","role":"href","val":"#result"},{"N":"empty","role":"content"}]}]}]}]},{"N":"co","id":"74","binds":"","C":[{"N":"globalParam","name":"Q{}inv-tag","as":"1AS","line":"23","module":"ixmlTreeReduce.3.xsl","visibility":"PUBLIC","C":[{"N":"str","val":"INV-"}]}]},{"N":"co","id":"75","binds":"","C":[{"N":"function","name":"Q{MyFunctions}makeRadio","line":"48","module":"toggler.xsl","flags":"pU","as":"1NE","slots":"4","C":[{"N":"arg","name":"Q{}class","as":"*"},{"N":"arg","name":"Q{}value","as":"*"},{"N":"arg","name":"Q{}checked","as":"1AB"},{"N":"arg","name":"Q{}group","as":"*"},{"N":"elem","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml H=http:\/\/www.w3.org\/1999\/xhtml array=~ doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixsl=~ map=~ saxon=~ sef=http:\/\/ns.saxonica.com\/xslt\/export t=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog xs=~ xsl=~ xml=~","line":"62","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"toggler"}]},{"N":"elem","line":"63","name":"input","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"53","name":"Q{}class","slot":"0"}]}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"radio"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"53","name":"Q{}group","slot":"3"}]}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"id","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"53","name":"Q{}value","slot":"1"}]}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"value","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"53","name":"Q{}value","slot":"1"}]}]}]},{"N":"str","val":" "}]}]},{"N":"choose","line":"64","C":[{"N":"varRef","line":"53","name":"Q{}checked","slot":"2"},{"N":"att","line":"65","name":"checked","flags":"l","C":[{"N":"str","val":""}]}]}]}]},{"N":"elem","line":"68","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"box"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"53","name":"Q{}value","slot":"1"}]}]}]},{"N":"str","val":" "}]}]}]}]},{"N":"elem","line":"69","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"text"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"53","name":"Q{}value","slot":"1"}]}]}]},{"N":"str","val":" "}]}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"53","name":"Q{}value","slot":"1"}]}]}]},{"N":"str","val":" "}]}]}]}]}]}]}]}]},{"N":"co","id":"76","binds":"","C":[{"N":"function","name":"Q{MyFunctions}makeRadio","line":"55","module":"toggler.xsl","flags":"pU","as":"1NE","slots":"6","C":[{"N":"arg","name":"Q{}class","as":"*"},{"N":"arg","name":"Q{}value","as":"*"},{"N":"arg","name":"Q{}checked","as":"1AB"},{"N":"arg","name":"Q{}group","as":"*"},{"N":"arg","name":"Q{}label","as":"*"},{"N":"arg","name":"Q{}id","as":"*"},{"N":"elem","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml H=http:\/\/www.w3.org\/1999\/xhtml array=~ doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixsl=~ map=~ saxon=~ sef=http:\/\/ns.saxonica.com\/xslt\/export t=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog xs=~ xsl=~ xml=~","line":"62","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"toggler"}]},{"N":"elem","line":"63","name":"input","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}class","slot":"0"}]}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"radio"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}group","slot":"3"}]}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"id","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}id","slot":"5"}]}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"value","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}value","slot":"1"}]}]}]},{"N":"str","val":" "}]}]},{"N":"choose","line":"64","C":[{"N":"varRef","name":"Q{}checked","slot":"2"},{"N":"att","line":"65","name":"checked","flags":"l","C":[{"N":"str","val":""}]}]}]}]},{"N":"elem","line":"68","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"box"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}id","slot":"5"}]}]}]},{"N":"str","val":" "}]}]}]}]},{"N":"elem","line":"69","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"text"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}id","slot":"5"}]}]}]},{"N":"str","val":" "}]}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}label","slot":"4"}]}]}]},{"N":"str","val":" "}]}]}]}]}]}]}]}]},{"N":"co","id":"77","binds":"78","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}invisible-xml","line":"329","module":"jwiXML.processor.3.xsl","flags":"pU","as":"1F r[1ND] a[1AS]","slots":"0","C":[{"N":"tailCallLoop","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"331","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}invisible-xml","tailCall":"foreign","bSlot":"0","C":[{"N":"empty"}]}]}]}]},{"N":"co","id":"78","binds":"70","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}invisible-xml","line":"333","module":"jwiXML.processor.3.xsl","flags":"pU","as":"1F r[1ND] a[1AS]","slots":"1","C":[{"N":"arg","name":"Q{}grammar","as":"?"},{"N":"tailCallLoop","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"336","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}invisible-xml","tailCall":"foreign","bSlot":"0","C":[{"N":"varRef","name":"Q{}grammar","slot":"0"},{"N":"map","size":"0"}]}]}]}]},{"N":"co","id":"70","binds":"79 42 64","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}invisible-xml","line":"338","module":"jwiXML.processor.3.xsl","flags":"pU","as":"1F r[1ND] a[1AS]","slots":"3","C":[{"N":"arg","name":"Q{}grammar","as":"?"},{"N":"arg","name":"Q{}options","as":"?FM"},{"N":"choose","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"341","C":[{"N":"fn","line":"342","name":"empty","C":[{"N":"varRef","name":"Q{}grammar","slot":"0"}]},{"N":"fnCoercer","line":"343","to":"1F r[1ND] a[1AS]","diag":"5|0|XTTE0780|jwL:invisible-xml#2","flags":"4","C":[{"N":"ufRef","name":"Q{http:\/\/ns.saxonica.com\/anonymous-type}f_1982876486","arity":"1","bSlot":"0"}]},{"N":"true"},{"N":"check","line":"347","card":"1","diag":"5|0|XTTE0780|jwL:invisible-xml#2","C":[{"N":"fnCoercer","to":"1F r[1ND] a[1AS]","diag":"5|0|XTTE0780|jwL:invisible-xml#2","flags":"4","C":[{"N":"treat","as":"F","diag":"5|0|XTTE0780|jwL:invisible-xml#2","C":[{"N":"try","flags":"r","C":[{"N":"let","var":"Q{}compiled","slot":"2","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}compileGrammar","tailCall":"false","bSlot":"1","C":[{"N":"check","card":"1","diag":"0|0||jwL:compileGrammar","C":[{"N":"varRef","name":"Q{}grammar","slot":"0"}]}]},{"N":"partialApply","line":"348","C":[{"N":"ufRef","name":"Q{http:\/\/ns.saxonica.com\/anonymous-type}f_799260198","arity":"3","bSlot":"2"},{"N":"null"},{"N":"varRef","name":"Q{}compiled","slot":"2"},{"N":"varRef","name":"Q{}options","slot":"1"}]}]},{"N":"catch","errors":"Q{http:\/\/www.w3.org\/2005\/xqt-errors}FOIX0002","C":[{"N":"fn","line":"350","name":"error","C":[{"N":"treat","as":"AQ","diag":"0|0||fn:error","C":[{"N":"check","card":"?","diag":"0|0||fn:error","C":[{"N":"cvUntyped","to":"AQ","C":[{"N":"data","diag":"0|0||fn:error","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}dynamic-error-info","type":"*","C":[{"N":"str","val":"code"}]}]}]}]}]},{"N":"check","card":"?","diag":"0|1||fn:error","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"0|1||fn:error","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||fn:error","C":[{"N":"data","diag":"0|1||fn:error","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}dynamic-error-info","type":"*","C":[{"N":"str","val":"description"}]}]}]}]}]},{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}dynamic-error-info","type":"*","C":[{"N":"str","val":"value"}]}]}]},{"N":"catch","errors":"*","C":[{"N":"fn","line":"352","name":"error","C":[{"N":"qName","pre":"","uri":"http:\/\/www.w3.org\/2005\/xqt-errors","loc":"FOIX0002"},{"N":"fn","name":"concat","C":[{"N":"str","val":"Invalid iXML grammar: "},{"N":"data","diag":"0|1||fn:concat","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}dynamic-error-info","type":"*","C":[{"N":"str","val":"description"}]}]}]}]}]}]}]}]}]}]}]}]},{"N":"co","id":"55","binds":"","C":[{"N":"globalParam","name":"Q{}runtime-system-property","as":"*","line":"35","module":"jwiXML.3.xsl","visibility":"PUBLIC","C":[{"N":"fn","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"35","name":"function-lookup","C":[{"N":"qName","pre":"","uri":"http:\/\/www.w3.org\/2005\/xpath-functions","loc":"system-property"},{"N":"int","val":"1"}]}]}]},{"N":"co","id":"69","binds":"","C":[{"N":"function","name":"Q{MyFunctions}readText","line":"615","module":"jwiXML.3.xsl","flags":"pU","as":"1AS","slots":"1","C":[{"N":"arg","name":"Q{}id","as":"1AS"},{"N":"check","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"617","card":"1","diag":"5|0|XTTE0780|f:readText#1","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"5|0|XTTE0780|f:readText#1","C":[{"N":"cvUntyped","to":"AS","diag":"5|0|XTTE0780|f:readText#1","C":[{"N":"data","diag":"5|0|XTTE0780|f:readText#1","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}get","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:get","C":[{"N":"fn","name":"id","C":[{"N":"varRef","name":"Q{}id","slot":"0"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]}]},{"N":"str","val":"value"}]}]}]}]}]}]}]},{"N":"co","id":"13","binds":"","C":[{"N":"mode","name":"Q{}make-controls","onNo":"SC","flags":"W","patternSlots":"0","C":[{"N":"templateRule","prec":"2","prio":"0.5","seq":"36","rank":"1","minImp":"0","slots":"2","matches":"NE","flags":"s","as":"*NE","line":"55","module":"controls.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}group,NE nQ{}group]"},{"N":"vc","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"55","op":"eq","comp":"CCC","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"radio"}]}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"56","C":[{"N":"param","name":"Q{}group.id","slot":"0","flags":"t","as":"?AS","C":[{"N":"empty","role":"select"},{"N":"check","role":"conversion","card":"?","diag":"8|0|XTTE0590|group.id","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"8|0|XTTE0590|group.id","C":[{"N":"cvUntyped","to":"AS","diag":"8|0|XTTE0590|group.id","C":[{"N":"data","diag":"8|0|XTTE0590|group.id","C":[{"N":"supplied","slot":"0"}]}]}]}]}]},{"N":"let","line":"58","var":"Q{}name","as":"?","slot":"1","C":[{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"},{"N":"true"},{"N":"fn","name":"concat","C":[{"N":"varRef","name":"Q{}group.id","slot":"0"},{"N":"fn","name":"generate-id","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}group,NE nQ{}group]","flags":"a"}]}]}]},{"N":"elem","line":"59","name":"div","nsuri":"","namespaces":"doc f","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"radio "},{"N":"fn","name":"string","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}class"}]}]}]}]}]},{"N":"att","name":"name","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"varRef","name":"Q{}name","slot":"1"}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"id","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"varRef","name":"Q{}name","slot":"1"}]}]},{"N":"str","val":" "}]}]},{"N":"applyT","line":"60","flags":"ci","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"},{"N":"withParam","name":"Q{}groupName","flags":"t","as":"?","C":[{"N":"varRef","line":"61","name":"Q{}name","slot":"1"}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"35","rank":"1","minImp":"0","slots":"2","matches":"NE","flags":"s","as":"*NE","line":"45","module":"controls.3.xsl","C":[{"N":"p.withUpper","role":"match","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]"},{"N":"p.withPredicate","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}group,NE nQ{}group]"},{"N":"vc","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"45","op":"eq","comp":"CCC","C":[{"N":"data","diag":"1|0||eq","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}type"}]},{"N":"str","val":"radio"}]}]}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"49","C":[{"N":"param","name":"Q{}groupName","slot":"0","flags":"t","as":"?AS","C":[{"N":"str","role":"select","val":"RadioOption"},{"N":"check","role":"conversion","card":"?","diag":"8|0|XTTE0590|groupName","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"8|0|XTTE0590|groupName","C":[{"N":"cvUntyped","to":"AS","diag":"8|0|XTTE0590|groupName","C":[{"N":"data","diag":"8|0|XTTE0590|groupName","C":[{"N":"supplied","slot":"0"}]}]}]}]}]},{"N":"let","ns":"=http:\/\/www.w3.org\/1999\/xhtml H=http:\/\/www.w3.org\/1999\/xhtml array=~ doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixsl=~ map=~ saxon=~ sef=http:\/\/ns.saxonica.com\/xslt\/export t=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog xs=~ xsl=~ xml=~","line":"50","var":"Q{}id","slot":"1","C":[{"N":"fn","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","name":"generate-id","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]","flags":"a"}]},{"N":"elem","module":"toggler.xsl","line":"62","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"toggler"}]},{"N":"elem","line":"63","name":"input","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"slash","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","module":"controls.3.xsl","line":"50","simple":"2","C":[{"N":"axis","name":"parent","nodeTest":"N u[NE,ND]"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}class"}]}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"radio"}]},{"N":"att","name":"name","flags":"l","C":[{"N":"varRef","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","module":"controls.3.xsl","line":"50","name":"Q{}groupName","slot":"0"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"varRef","name":"Q{}id","slot":"1"}]},{"N":"att","name":"value","flags":"l","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"first","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","module":"controls.3.xsl","line":"50","C":[{"N":"sequence","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}value"},{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]","flags":"a"}]}]}]}]}]},{"N":"choose","line":"64","C":[{"N":"fn","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","module":"controls.3.xsl","line":"50","name":"exists","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}default"}]},{"N":"att","line":"65","name":"checked","flags":"l","C":[{"N":"str","val":""}]}]}]}]},{"N":"elem","line":"68","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"box"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"varRef","name":"Q{}id","slot":"1"}]}]}]},{"N":"elem","line":"69","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"text"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"varRef","name":"Q{}id","slot":"1"}]},{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","module":"controls.3.xsl","line":"50","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]","flags":"a"}]}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"32","rank":"1","minImp":"0","slots":"0","matches":"NE","flags":"s","as":"*NE","line":"26","module":"controls.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}input,NE nQ{}input]"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"26","name":"attribute","nodeTest":"NA nQ{}label"}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"27","C":[{"N":"elem","name":"div","nsuri":"","namespaces":"doc f","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"toggler"}]},{"N":"elem","line":"28","name":"input","nsuri":"","flags":"l","namespaces":"doc f","C":[{"N":"axis","line":"29","name":"attribute","nodeTest":"NA d[NA,NA nQ{}label]"}]},{"N":"elem","line":"31","name":"label","nsuri":"","flags":"l","namespaces":"doc f","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"text"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}id"}]}]}]},{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}label"}]}]}]}]}]}]}]},{"N":"dot","line":"33","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}input,NE nQ{}input]","flags":"a"}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"30","rank":"1","minImp":"0","slots":"0","matches":"NE","flags":"s","as":"*NE","line":"18","module":"controls.3.xsl","C":[{"N":"p.withUpper","role":"match","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]"},{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}datalist,NE nQ{}datalist]"}]},{"N":"copy","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"19","flags":"cin","sit":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]","C":[{"N":"applyT","role":"content","line":"20","flags":"c","bSlot":"-1","C":[{"N":"sequence","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"NA"},{"N":"axis","name":"child","nodeTest":"NE"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"31","part":"1","rank":"0","minImp":"0","slots":"2","matches":"NE nQ{}option","flags":"s","as":"*NE","line":"23","module":"controls.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}option"},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml H=http:\/\/www.w3.org\/1999\/xhtml array=~ doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixsl=~ map=~ saxon=~ sef=http:\/\/ns.saxonica.com\/xslt\/export t=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog xs=~ xsl=~ xml=~","line":"24","var":"Q{}id","slot":"1","C":[{"N":"first","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","C":[{"N":"sequence","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}id"},{"N":"fn","name":"generate-id","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]","flags":"a"}]}]}]},{"N":"elem","module":"toggler.xsl","line":"37","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"toggler"}]},{"N":"elem","line":"38","name":"input","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"first","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","module":"controls.3.xsl","line":"24","C":[{"N":"sequence","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"},{"N":"slash","simple":"2","C":[{"N":"axis","name":"parent","nodeTest":"N u[NE,ND]"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]},{"N":"str","val":"showTest"}]}]}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"checkbox"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"varRef","name":"Q{}id","slot":"1"}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"value","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","module":"controls.3.xsl","line":"24","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]","flags":"a"}]}]}]},{"N":"choose","line":"39","C":[{"N":"fn","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","module":"controls.3.xsl","line":"24","name":"exists","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}default"}]},{"N":"att","line":"40","name":"checked","flags":"l","C":[{"N":"str","val":""}]}]}]}]},{"N":"elem","line":"43","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"box"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"varRef","name":"Q{}id","slot":"1"}]}]},{"N":"str","val":" "}]}]}]}]},{"N":"elem","line":"44","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"text"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"varRef","name":"Q{}id","slot":"1"}]}]},{"N":"str","val":" "}]}]},{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","module":"controls.3.xsl","line":"24","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]","flags":"a"}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"34","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}title","flags":"s","as":"*NE","line":"38","module":"controls.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}title"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"39","name":"label","nsuri":"","namespaces":"doc f","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"title"}]},{"N":"applyT","line":"40","flags":"ci","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"31","rank":"0","minImp":"0","slots":"2","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option","flags":"s","as":"*NE","line":"23","module":"controls.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option"},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml H=http:\/\/www.w3.org\/1999\/xhtml array=~ doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixsl=~ map=~ saxon=~ sef=http:\/\/ns.saxonica.com\/xslt\/export t=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog xs=~ xsl=~ xml=~","line":"24","var":"Q{}id","slot":"0","C":[{"N":"first","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","C":[{"N":"sequence","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}id"},{"N":"fn","name":"generate-id","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]","flags":"a"}]}]}]},{"N":"elem","module":"toggler.xsl","line":"37","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"toggler"}]},{"N":"elem","line":"38","name":"input","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"first","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","module":"controls.3.xsl","line":"24","C":[{"N":"sequence","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"},{"N":"slash","simple":"2","C":[{"N":"axis","name":"parent","nodeTest":"N u[NE,ND]"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]},{"N":"str","val":"showTest"}]}]}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"checkbox"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"varRef","name":"Q{}id","slot":"0"}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"value","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","module":"controls.3.xsl","line":"24","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]","flags":"a"}]}]}]},{"N":"choose","line":"39","C":[{"N":"fn","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","module":"controls.3.xsl","line":"24","name":"exists","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}default"}]},{"N":"att","line":"40","name":"checked","flags":"l","C":[{"N":"str","val":""}]}]}]}]},{"N":"elem","line":"43","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"box"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"varRef","name":"Q{}id","slot":"0"}]}]},{"N":"str","val":" "}]}]}]}]},{"N":"elem","line":"44","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"text"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"varRef","name":"Q{}id","slot":"0"}]}]},{"N":"str","val":" "}]}]},{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","module":"controls.3.xsl","line":"24","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]","flags":"a"}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"33","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}label","flags":"s","as":"*NE","line":"35","module":"controls.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}label"},{"N":"dot","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"36","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}label,NE nQ{}label]","flags":"a"}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"33","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}label","flags":"s","as":"*NE","line":"35","module":"controls.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}label"},{"N":"dot","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"36","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}label,NE nQ{}label]","flags":"a"}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"34","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}title","flags":"s","as":"*NE","line":"38","module":"controls.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}title"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"doc=Documentation f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"39","name":"label","nsuri":"","namespaces":"doc f","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"title"}]},{"N":"applyT","line":"40","flags":"ci","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"}]}]}]}]}]}]},{"N":"co","id":"37","binds":"","C":[{"N":"mode","name":"Q{}collect-tests","onNo":"SC","flags":"W","patternSlots":"0","C":[{"N":"templateRule","prec":"2","prio":"0.0","seq":"100","part":"2","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-case","flags":"s","line":"564","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-case"},{"N":"copy","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"565","flags":"cin","sit":"1NE","C":[{"N":"sequence","role":"content","line":"566","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"fn","name":"generate-id","C":[{"N":"dot","type":"1NE","flags":"a"}]}]},{"N":"applyT","line":"567","flags":"c","bSlot":"-1","C":[{"N":"sequence","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"NA"},{"N":"axis","name":"child","nodeTest":"N u[NP,NC,NT,NE]"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"95","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-catalog","flags":"s","line":"539","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-catalog"},{"N":"copy","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"540","flags":"cin","sit":"1NE","C":[{"N":"sequence","role":"content","line":"541","C":[{"N":"axis","name":"attribute","nodeTest":"NA"},{"N":"att","line":"542","name":"uri","flags":"l","C":[{"N":"convert","from":"AU","to":"AS","C":[{"N":"fn","name":"base-uri","C":[{"N":"dot","type":"1NE","flags":"a"}]}]}]},{"N":"applyT","line":"543","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"92","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample-catalog-ref","flags":"s","line":"528","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample-catalog-ref"},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"529","flags":"ct","bSlot":"-1","C":[{"N":"fn","role":"select","name":"doc","C":[{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|0||fn:doc","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:doc","C":[{"N":"fn","name":"resolve-uri","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:resolve-uri","C":[{"N":"data","diag":"0|0||fn:resolve-uri","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}href"}]}]}]},{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|1||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||fn:resolve-uri","C":[{"N":"fn","name":"base-uri","C":[{"N":"dot","type":"1NE","flags":"a"}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"100","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample","flags":"s","line":"564","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample"},{"N":"copy","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"565","flags":"cin","sit":"1NE","C":[{"N":"sequence","role":"content","line":"566","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"fn","name":"generate-id","C":[{"N":"dot","type":"1NE","flags":"a"}]}]},{"N":"applyT","line":"567","flags":"c","bSlot":"-1","C":[{"N":"sequence","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"NA"},{"N":"axis","name":"child","nodeTest":"N u[NP,NC,NT,NE]"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"94","rank":"1","minImp":"0","slots":"0","matches":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample-catalog","flags":"s","line":"534","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample-catalog"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"534","name":"attribute","nodeTest":"NA nQ{}baseURI"}]},{"N":"nextMatch","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"535","flags":"t","C":[{"N":"withParam","name":"Q{}baseURI","flags":"t","as":"?NA nQ{}baseURI","C":[{"N":"axis","line":"536","name":"attribute","nodeTest":"NA nQ{}baseURI"}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"93","rank":"1","minImp":"0","slots":"0","matches":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample-catalog","flags":"s","line":"531","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample-catalog"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"531","name":"child","nodeTest":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample-catalog-ref"}]},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"532","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample-catalog-ref"}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"95","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample-catalog","flags":"s","line":"539","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample-catalog"},{"N":"copy","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"540","flags":"cin","sit":"1NE","C":[{"N":"sequence","role":"content","line":"541","C":[{"N":"axis","name":"attribute","nodeTest":"NA"},{"N":"att","line":"542","name":"uri","flags":"l","C":[{"N":"convert","from":"AU","to":"AS","C":[{"N":"fn","name":"base-uri","C":[{"N":"dot","type":"1NE","flags":"a"}]}]}]},{"N":"applyT","line":"543","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"92","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-set-ref","flags":"s","line":"528","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-set-ref"},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"529","flags":"ct","bSlot":"-1","C":[{"N":"fn","role":"select","name":"doc","C":[{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|0||fn:doc","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:doc","C":[{"N":"fn","name":"resolve-uri","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:resolve-uri","C":[{"N":"data","diag":"0|0||fn:resolve-uri","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}href"}]}]}]},{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|1||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||fn:resolve-uri","C":[{"N":"fn","name":"base-uri","C":[{"N":"dot","type":"1NE","flags":"a"}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"99","rank":"1","minImp":"0","slots":"0","matches":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-set","flags":"s","line":"561","module":"jwiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-set"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"561","name":"child","nodeTest":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-set"}]},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"562","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-set"}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"100","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-set","flags":"s","line":"564","module":"jwiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-set"},{"N":"copy","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"565","flags":"cin","sit":"1NE","C":[{"N":"sequence","role":"content","line":"566","C":[{"N":"att","name":"id","flags":"l","C":[{"N":"fn","name":"generate-id","C":[{"N":"dot","type":"1NE","flags":"a"}]}]},{"N":"applyT","line":"567","flags":"c","bSlot":"-1","C":[{"N":"sequence","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"NA"},{"N":"axis","name":"child","nodeTest":"N u[NP,NC,NT,NE]"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"2.0","seq":"98","rank":"2","minImp":"0","slots":"1","matches":"NA","flags":"s","line":"557","module":"jwiXML.3.xsl","C":[{"N":"p.venn","role":"match","op":"union","C":[{"N":"p.venn","op":"union","C":[{"N":"p.withUpper","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NA nQ{}href"},{"N":"p.withUpper","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}ixml-grammar-ref"},{"N":"p.nodeTest","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample"}]}]},{"N":"p.withUpper","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NA nQ{}href"},{"N":"p.withUpper","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}vxml-grammar-ref"},{"N":"p.nodeTest","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample"}]}]}]},{"N":"p.withUpper","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NA nQ{}href"},{"N":"p.withUpper","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-string-ref"},{"N":"p.withUpper","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-case"},{"N":"p.nodeTest","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample"}]}]}]}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"558","C":[{"N":"param","name":"Q{}baseURI","slot":"0","flags":"t","C":[{"N":"fn","role":"select","name":"base-uri","C":[{"N":"dot","type":"1NA","flags":"a"}]},{"N":"supplied","role":"conversion","slot":"0"}]},{"N":"compAtt","line":"559","C":[{"N":"fn","role":"name","name":"name","C":[{"N":"dot","type":"1NA","flags":"a"}]},{"N":"convert","role":"select","from":"AU","to":"AS","C":[{"N":"fn","name":"resolve-uri","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:resolve-uri","C":[{"N":"data","diag":"0|0||fn:resolve-uri","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]},{"N":"check","card":"?","diag":"0|1||fn:resolve-uri","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"0|1||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||fn:resolve-uri","C":[{"N":"data","diag":"0|1||fn:resolve-uri","C":[{"N":"varRef","name":"Q{}baseURI","slot":"0"}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"96","part":"2","rank":"1","minImp":"0","slots":"1","matches":"NA nQ{}href","flags":"s","line":"547","module":"jwiXML.3.xsl","C":[{"N":"p.withUpper","role":"match","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NA nQ{}href"},{"N":"p.nodeTest","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-string-ref"}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"548","C":[{"N":"param","name":"Q{}baseURI","slot":"0","flags":"t","C":[{"N":"fn","role":"select","name":"base-uri","C":[{"N":"check","card":"?","diag":"0|0||fn:base-uri","C":[{"N":"axis","name":"parent","nodeTest":"N u[NE,ND]"}]}]},{"N":"supplied","role":"conversion","slot":"0"}]},{"N":"compAtt","line":"549","C":[{"N":"fn","role":"name","name":"name","C":[{"N":"dot","type":"1NA","flags":"a"}]},{"N":"convert","role":"select","from":"AU","to":"AS","C":[{"N":"fn","name":"resolve-uri","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:resolve-uri","C":[{"N":"data","diag":"0|0||fn:resolve-uri","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]},{"N":"check","card":"?","diag":"0|1||fn:resolve-uri","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"0|1||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||fn:resolve-uri","C":[{"N":"data","diag":"0|1||fn:resolve-uri","C":[{"N":"varRef","name":"Q{}baseURI","slot":"0"}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"96","part":"1","rank":"1","minImp":"0","slots":"1","matches":"NA nQ{}href","flags":"s","line":"547","module":"jwiXML.3.xsl","C":[{"N":"p.withUpper","role":"match","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NA nQ{}href"},{"N":"p.nodeTest","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}vxml-grammar-ref"}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"548","C":[{"N":"param","name":"Q{}baseURI","slot":"0","flags":"t","C":[{"N":"fn","role":"select","name":"base-uri","C":[{"N":"check","card":"?","diag":"0|0||fn:base-uri","C":[{"N":"axis","name":"parent","nodeTest":"N u[NE,ND]"}]}]},{"N":"supplied","role":"conversion","slot":"0"}]},{"N":"compAtt","line":"549","C":[{"N":"fn","role":"name","name":"name","C":[{"N":"dot","type":"1NA","flags":"a"}]},{"N":"convert","role":"select","from":"AU","to":"AS","C":[{"N":"fn","name":"resolve-uri","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:resolve-uri","C":[{"N":"data","diag":"0|0||fn:resolve-uri","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]},{"N":"check","card":"?","diag":"0|1||fn:resolve-uri","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"0|1||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||fn:resolve-uri","C":[{"N":"data","diag":"0|1||fn:resolve-uri","C":[{"N":"varRef","name":"Q{}baseURI","slot":"0"}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"96","rank":"1","minImp":"0","slots":"1","matches":"NA nQ{}href","flags":"s","line":"547","module":"jwiXML.3.xsl","C":[{"N":"p.withUpper","role":"match","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NA nQ{}href"},{"N":"p.nodeTest","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}ixml-grammar-ref"}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"548","C":[{"N":"param","name":"Q{}baseURI","slot":"0","flags":"t","C":[{"N":"fn","role":"select","name":"base-uri","C":[{"N":"check","card":"?","diag":"0|0||fn:base-uri","C":[{"N":"axis","name":"parent","nodeTest":"N u[NE,ND]"}]}]},{"N":"supplied","role":"conversion","slot":"0"}]},{"N":"compAtt","line":"549","C":[{"N":"fn","role":"name","name":"name","C":[{"N":"dot","type":"1NA","flags":"a"}]},{"N":"convert","role":"select","from":"AU","to":"AS","C":[{"N":"fn","name":"resolve-uri","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:resolve-uri","C":[{"N":"data","diag":"0|0||fn:resolve-uri","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]},{"N":"check","card":"?","diag":"0|1||fn:resolve-uri","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"0|1||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||fn:resolve-uri","C":[{"N":"data","diag":"0|1||fn:resolve-uri","C":[{"N":"varRef","name":"Q{}baseURI","slot":"0"}]}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"97","part":"2","rank":"1","minImp":"0","slots":"0","matches":"NA nQ{}local","flags":"s","line":"552","module":"jwiXML.3.xsl","C":[{"N":"p.withUpper","role":"match","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NA nQ{}local"},{"N":"p.nodeTest","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}test-string-ref"}]},{"N":"att","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"553","name":"href","C":[{"N":"convert","from":"AU","to":"AS","C":[{"N":"fn","name":"resolve-uri","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:resolve-uri","C":[{"N":"data","diag":"0|0||fn:resolve-uri","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]},{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|1||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||fn:resolve-uri","C":[{"N":"fn","name":"base-uri","C":[{"N":"check","card":"?","diag":"0|0||fn:base-uri","C":[{"N":"axis","name":"parent","nodeTest":"N u[NE,ND]"}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"97","part":"1","rank":"1","minImp":"0","slots":"0","matches":"NA nQ{}local","flags":"s","line":"552","module":"jwiXML.3.xsl","C":[{"N":"p.withUpper","role":"match","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NA nQ{}local"},{"N":"p.nodeTest","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}vxml-grammar-ref"}]},{"N":"att","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"553","name":"href","C":[{"N":"convert","from":"AU","to":"AS","C":[{"N":"fn","name":"resolve-uri","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:resolve-uri","C":[{"N":"data","diag":"0|0||fn:resolve-uri","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]},{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|1||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||fn:resolve-uri","C":[{"N":"fn","name":"base-uri","C":[{"N":"check","card":"?","diag":"0|0||fn:base-uri","C":[{"N":"axis","name":"parent","nodeTest":"N u[NE,ND]"}]}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"97","rank":"1","minImp":"0","slots":"0","matches":"NA nQ{}local","flags":"s","line":"552","module":"jwiXML.3.xsl","C":[{"N":"p.withUpper","role":"match","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NA nQ{}local"},{"N":"p.nodeTest","test":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}ixml-grammar-ref"}]},{"N":"att","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"553","name":"href","C":[{"N":"convert","from":"AU","to":"AS","C":[{"N":"fn","name":"resolve-uri","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:resolve-uri","C":[{"N":"data","diag":"0|0||fn:resolve-uri","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]},{"N":"convert","from":"AU","to":"AS","flags":"p","diag":"0|1||fn:resolve-uri","C":[{"N":"cvUntyped","to":"AS","diag":"0|1||fn:resolve-uri","C":[{"N":"fn","name":"base-uri","C":[{"N":"check","card":"?","diag":"0|0||fn:base-uri","C":[{"N":"axis","name":"parent","nodeTest":"N u[NE,ND]"}]}]}]}]}]}]}]}]}]}]},{"N":"co","id":"15","binds":"","C":[{"N":"mode","name":"Q{}highlight","onNo":"TC","flags":"W","patternSlots":"0","C":[{"N":"templateRule","prec":"2","prio":"1.0","seq":"56","rank":"2","minImp":"0","slots":"1","matches":"NE","flags":"s","line":"190","module":"grammar.3.xsl","C":[{"N":"p.withUpper","role":"match","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"},{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule,NE nQ{}rule]"}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"191","C":[{"N":"param","name":"Q{}nextLineIndent","slot":"0","flags":"ti","as":"1NE","C":[{"N":"treat","role":"conversion","as":"NE","diag":"8|0|XTTE0590|nextLineIndent","C":[{"N":"check","card":"1","diag":"8|0|XTTE0590|nextLineIndent","C":[{"N":"supplied","slot":"0"}]}]}]},{"N":"nextMatch","line":"192","flags":"i"},{"N":"choose","line":"193","C":[{"N":"isLast","test":"0"},{"N":"sequence","line":"194","C":[{"N":"valueOf","C":[{"N":"str","val":"|\n"}]},{"N":"varRef","line":"196","name":"Q{}nextLineIndent","slot":"0"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"1.0","seq":"55","rank":"2","minImp":"0","slots":"0","matches":"NE","flags":"s","line":"184","module":"grammar.3.xsl","C":[{"N":"p.withUpper","role":"match","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NE"},{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alts,NE nQ{}alts]"}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"185","C":[{"N":"nextMatch","flags":"i"},{"N":"choose","line":"186","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"187","flags":"S","C":[{"N":"str","val":"|"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"1.0","seq":"54","rank":"2","minImp":"0","slots":"0","matches":"NE","flags":"s","line":"178","module":"grammar.3.xsl","C":[{"N":"p.venn","role":"match","op":"union","C":[{"N":"p.venn","op":"union","C":[{"N":"p.withUpper","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NE"},{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"}]},{"N":"p.withUpper","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NE"},{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat0,NE nQ{}repeat0]"}]}]},{"N":"p.withUpper","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NE"},{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat1,NE nQ{}repeat1]"}]}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"179","C":[{"N":"nextMatch","flags":"i"},{"N":"choose","line":"180","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"181","C":[{"N":"str","val":", "}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"61","rank":"1","minImp":"0","slots":"0","matches":"NE","flags":"s","line":"216","module":"grammar.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat1,NE nQ{}repeat1]"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"216","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"217","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"}]},{"N":"elem","line":"218","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"occurrence"}]},{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"++"}]}]}]},{"N":"applyT","line":"219","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"60","rank":"1","minImp":"0","slots":"0","matches":"NE","flags":"s","line":"211","module":"grammar.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat0,NE nQ{}repeat0]"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"211","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"212","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"}]},{"N":"elem","line":"213","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"occurrence"}]},{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"**"}]}]}]},{"N":"applyT","line":"214","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"51","part":"1","rank":"0","minImp":"0","slots":"1","matches":"NE nQ{}rule","flags":"s","line":"157","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}rule"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"158","C":[{"N":"param","name":"Q{}colWidth","slot":"0","flags":"ti","as":"1ADI","C":[{"N":"check","role":"conversion","card":"1","diag":"8|0|XTTE0590|colWidth","C":[{"N":"convert","from":"A","to":"ADI","flags":"d","diag":"8|0|XTTE0590|colWidth","C":[{"N":"cvUntyped","to":"ADI","diag":"8|0|XTTE0590|colWidth","C":[{"N":"data","diag":"8|0|XTTE0590|colWidth","C":[{"N":"supplied","slot":"0"}]}]}]}]}]},{"N":"elem","line":"161","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"forEach","C":[{"N":"to","C":[{"N":"int","val":"1"},{"N":"arith","op":"-","calc":"i-i","C":[{"N":"varRef","name":"Q{}colWidth","slot":"0"},{"N":"arith","line":"160","op":"+","calc":"i+i","C":[{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"data","diag":"0|0||fn:string-length","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}mark"}]}]}]}]},{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"data","diag":"0|0||fn:string-length","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]}]}]},{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}alias"}]},{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"data","diag":"0|0||fn:string-length","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}alias"}]}]}]}]},{"N":"int","val":"1"}]},{"N":"true"},{"N":"int","val":"0"}]}]}]}]},{"N":"str","val":" "}]},{"N":"str","val":""}]}]}]},{"N":"applyT","line":"162","flags":"c","bSlot":"-1","C":[{"N":"sequence","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}mark"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}alias"}]}]},{"N":"valueOf","line":"163","flags":"S","C":[{"N":"str","val":":"}]},{"N":"applyT","line":"164","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]},{"N":"valueOf","line":"165","C":[{"N":"str","val":".\n"}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"68","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}member","flags":"s","line":"249","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}member"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"250","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA"}]},{"N":"choose","line":"251","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"252","flags":"S","C":[{"N":"str","val":";"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"58","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}repeat0","flags":"s","line":"203","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}repeat0"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"204","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]},{"N":"elem","line":"205","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"occurrence"}]},{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"*"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"48","part":"1","rank":"0","minImp":"0","slots":"2","matches":"NE nQ{}ixml","flags":"s","line":"140","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}ixml"},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"142","var":"Q{}colWidth","as":"?A","slot":"1","C":[{"N":"fn","name":"max","C":[{"N":"forEach","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule,NE nQ{}rule]"},{"N":"arith","op":"+","calc":"i+i","C":[{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}mark"}]}]}]},{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}name"}]}]}]}]},{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}alias"}]},{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}alias"}]}]}]},{"N":"int","val":"1"}]},{"N":"true"},{"N":"int","val":"0"}]}]}]}]},{"N":"applyT","line":"143","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"},{"N":"withParam","name":"Q{}colWidth","flags":"t","as":"?A","C":[{"N":"varRef","line":"144","name":"Q{}colWidth","slot":"1"}]},{"N":"withParam","name":"Q{}nextLineIndent","flags":"t","as":"1NE","C":[{"N":"elem","line":"146","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"forEach","C":[{"N":"to","C":[{"N":"int","val":"1"},{"N":"arith","op":"+","calc":"i+i","C":[{"N":"varRef","name":"Q{}colWidth","slot":"1"},{"N":"int","val":"1"}]}]},{"N":"str","val":" "}]},{"N":"str","val":""}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"50","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}version","flags":"s","line":"153","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}version"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"154","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}version,NE nQ{}version]","flags":"a"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"ixml version \""},{"N":"fn","name":"string","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}string"}]}]}]},{"N":"str","val":"\".\n"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"49","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}prolog","flags":"s","line":"150","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}prolog"},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"151","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"66","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}exclusion","flags":"s","line":"239","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}exclusion"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"240","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}exclusion,NE nQ{}exclusion]","flags":"a"}]}]},{"N":"valueOf","line":"241","flags":"Sl","C":[{"N":"str","val":"~["}]},{"N":"applyT","line":"242","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]},{"N":"valueOf","line":"243","flags":"Sl","C":[{"N":"str","val":"]"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"53","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alts","flags":"s","line":"173","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alts"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"174","C":[{"N":"valueOf","flags":"S","C":[{"N":"str","val":"("}]},{"N":"applyT","line":"175","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]},{"N":"valueOf","line":"176","flags":"S","C":[{"N":"str","val":")"}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"50","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}version","flags":"s","line":"153","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}version"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"154","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}version,NE nQ{}version]","flags":"a"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"ixml version \""},{"N":"fn","name":"string","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}string"}]}]}]},{"N":"str","val":"\".\n"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"52","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}comment","flags":"s","line":"168","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}comment"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"169","C":[{"N":"elem","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"comment"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"{"},{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]","flags":"a"}]}]},{"N":"str","val":"}"}]}]}]}]},{"N":"valueOf","line":"170","C":[{"N":"str","val":"\n"}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"68","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}member","flags":"s","line":"249","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}member"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"250","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA"}]},{"N":"choose","line":"251","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"252","flags":"S","C":[{"N":"str","val":";"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"58","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat0","flags":"s","line":"203","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat0"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"204","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]},{"N":"elem","line":"205","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"occurrence"}]},{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"*"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"57","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}option","flags":"s","line":"199","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}option"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"200","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]},{"N":"elem","line":"201","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"occurrence"}]},{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"?"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"48","rank":"0","minImp":"0","slots":"2","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml","flags":"s","line":"140","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml"},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"142","var":"Q{}colWidth","as":"?A","slot":"0","C":[{"N":"fn","name":"max","C":[{"N":"forEach","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule,NE nQ{}rule]"},{"N":"arith","op":"+","calc":"i+i","C":[{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}mark"}]}]}]},{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}name"}]}]}]}]},{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}alias"}]},{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}alias"}]}]}]},{"N":"int","val":"1"}]},{"N":"true"},{"N":"int","val":"0"}]}]}]}]},{"N":"applyT","line":"143","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"},{"N":"withParam","name":"Q{}colWidth","flags":"t","as":"?A","C":[{"N":"varRef","line":"144","name":"Q{}colWidth","slot":"0"}]},{"N":"withParam","name":"Q{}nextLineIndent","flags":"t","as":"1NE","C":[{"N":"elem","line":"146","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"forEach","C":[{"N":"to","C":[{"N":"int","val":"1"},{"N":"arith","op":"+","calc":"i+i","C":[{"N":"varRef","name":"Q{}colWidth","slot":"0"},{"N":"int","val":"1"}]}]},{"N":"str","val":" "}]},{"N":"str","val":""}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"59","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}repeat1","flags":"s","line":"207","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}repeat1"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"208","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]},{"N":"elem","line":"209","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"occurrence"}]},{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"+"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"52","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment","flags":"s","line":"168","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"169","C":[{"N":"elem","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"comment"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"{"},{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]","flags":"a"}]}]},{"N":"str","val":"}"}]}]}]}]},{"N":"valueOf","line":"170","C":[{"N":"str","val":"\n"}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"65","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}inclusion","flags":"s","line":"232","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}inclusion"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"233","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}inclusion,NE nQ{}inclusion]","flags":"a"}]}]},{"N":"valueOf","line":"234","flags":"Sl","C":[{"N":"str","val":"["}]},{"N":"applyT","line":"235","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]},{"N":"valueOf","line":"236","flags":"Sl","C":[{"N":"str","val":"]"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"59","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat1","flags":"s","line":"207","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat1"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"208","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]},{"N":"elem","line":"209","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"occurrence"}]},{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"+"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"67","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}literal","flags":"s","line":"246","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}literal"},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"247","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA"}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"57","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option","flags":"s","line":"199","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"200","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]},{"N":"elem","line":"201","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"occurrence"}]},{"N":"valueOf","flags":"Sl","C":[{"N":"str","val":"?"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"51","rank":"0","minImp":"0","slots":"1","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule","flags":"s","line":"157","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"158","C":[{"N":"param","name":"Q{}colWidth","slot":"0","flags":"ti","as":"1ADI","C":[{"N":"check","role":"conversion","card":"1","diag":"8|0|XTTE0590|colWidth","C":[{"N":"convert","from":"A","to":"ADI","flags":"d","diag":"8|0|XTTE0590|colWidth","C":[{"N":"cvUntyped","to":"ADI","diag":"8|0|XTTE0590|colWidth","C":[{"N":"data","diag":"8|0|XTTE0590|colWidth","C":[{"N":"supplied","slot":"0"}]}]}]}]}]},{"N":"elem","line":"161","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"forEach","C":[{"N":"to","C":[{"N":"int","val":"1"},{"N":"arith","op":"-","calc":"i-i","C":[{"N":"varRef","name":"Q{}colWidth","slot":"0"},{"N":"arith","line":"160","op":"+","calc":"i+i","C":[{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"data","diag":"0|0||fn:string-length","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}mark"}]}]}]}]},{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"data","diag":"0|0||fn:string-length","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]}]}]},{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}alias"}]},{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"data","diag":"0|0||fn:string-length","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}alias"}]}]}]}]},{"N":"int","val":"1"}]},{"N":"true"},{"N":"int","val":"0"}]}]}]}]},{"N":"str","val":" "}]},{"N":"str","val":""}]}]}]},{"N":"applyT","line":"162","flags":"c","bSlot":"-1","C":[{"N":"sequence","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}mark"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}alias"}]}]},{"N":"valueOf","line":"163","flags":"S","C":[{"N":"str","val":":"}]},{"N":"applyT","line":"164","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]},{"N":"valueOf","line":"165","C":[{"N":"str","val":".\n"}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"49","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}prolog","flags":"s","line":"150","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}prolog"},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"151","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"66","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}exclusion","flags":"s","line":"239","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}exclusion"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"240","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}exclusion,NE nQ{}exclusion]","flags":"a"}]}]},{"N":"valueOf","line":"241","flags":"Sl","C":[{"N":"str","val":"~["}]},{"N":"applyT","line":"242","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]},{"N":"valueOf","line":"243","flags":"Sl","C":[{"N":"str","val":"]"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"53","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}alts","flags":"s","line":"173","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}alts"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"174","C":[{"N":"valueOf","flags":"S","C":[{"N":"str","val":"("}]},{"N":"applyT","line":"175","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]},{"N":"valueOf","line":"176","flags":"S","C":[{"N":"str","val":")"}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"62","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{}nonterminal","flags":"s","line":"221","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}nonterminal"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"222","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA nQ{}mark"}]},{"N":"elem","line":"223","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}nonterminal,NE nQ{}nonterminal]","flags":"a"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]}]}]},{"N":"applyT","line":"224","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA nQ{}alias"}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"65","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}inclusion","flags":"s","line":"232","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}inclusion"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"233","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}inclusion,NE nQ{}inclusion]","flags":"a"}]}]},{"N":"valueOf","line":"234","flags":"Sl","C":[{"N":"str","val":"["}]},{"N":"applyT","line":"235","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE"}]},{"N":"valueOf","line":"236","flags":"Sl","C":[{"N":"str","val":"]"}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"62","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}nonterminal","flags":"s","line":"221","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}nonterminal"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"222","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA nQ{}mark"}]},{"N":"elem","line":"223","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}nonterminal,NE nQ{}nonterminal]","flags":"a"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]}]}]},{"N":"applyT","line":"224","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA nQ{}alias"}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"67","rank":"0","minImp":"0","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}literal","flags":"s","line":"246","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}literal"},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"247","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA"}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"74","rank":"0","minImp":"0","slots":"0","matches":"NA nQ{}to","flags":"s","line":"270","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA nQ{}to"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"271","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NA nQ{}to","flags":"a"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"\""},{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NA nQ{}to","flags":"a"}]}]},{"N":"str","val":"\""}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"71","rank":"0","minImp":"0","slots":"0","matches":"NA nQ{}hex","flags":"s","line":"261","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA nQ{}hex"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"262","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NA nQ{}hex","flags":"a"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"#"},{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NA nQ{}hex","flags":"a"}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"63","rank":"0","minImp":"0","slots":"0","matches":"NA nQ{}mark","flags":"s","line":"226","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA nQ{}mark"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"227","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NA","flags":"a"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"73","rank":"0","minImp":"0","slots":"0","matches":"NA nQ{}from","flags":"s","line":"267","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA nQ{}from"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"268","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NA nQ{}from","flags":"a"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"\""},{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NA nQ{}from","flags":"a"}]}]},{"N":"str","val":"\"-"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"64","rank":"0","minImp":"0","slots":"0","matches":"NA nQ{}alias","flags":"s","line":"229","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA nQ{}alias"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"230","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NA nQ{}alias","flags":"a"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":">"},{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NA nQ{}alias","flags":"a"}]}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"63","part":"1","rank":"0","minImp":"0","slots":"0","matches":"NA nQ{}tmark","flags":"s","line":"226","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA nQ{}tmark"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"227","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NA","flags":"a"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"72","rank":"0","minImp":"0","slots":"0","matches":"NA nQ{}code","flags":"s","line":"264","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA nQ{}code"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"265","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NA nQ{}code","flags":"a"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NA nQ{}code","flags":"a"}]}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.5","seq":"69","rank":"1","minImp":"0","slots":"0","matches":"NA nQ{}string","flags":"s","line":"255","module":"grammar.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NA nQ{}string"},{"N":"fn","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"255","name":"contains","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:contains","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:contains","C":[{"N":"data","diag":"0|0||fn:contains","C":[{"N":"dot","type":"1NA nQ{}string"}]}]}]},{"N":"str","val":"\""}]}]},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"256","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NA nQ{}string","flags":"a"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"'"},{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NA nQ{}string","flags":"a"}]}]},{"N":"str","val":"'"}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"70","rank":"0","minImp":"0","slots":"0","matches":"NA nQ{}string","flags":"s","line":"258","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA nQ{}string"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"259","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NA nQ{}string","flags":"a"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"\""},{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NA nQ{}string","flags":"a"}]}]},{"N":"str","val":"\""}]}]}]}]}]},{"N":"templateRule","prec":"2","prio":"0.0","seq":"63","part":"2","rank":"0","minImp":"0","slots":"0","matches":"NA nQ{}name","flags":"s","line":"226","module":"grammar.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA nQ{}name"},{"N":"elem","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ saxon=~ svg=http:\/\/www.w3.org\/2000\/svg xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsl=~ xml=~","line":"227","name":"span","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# err ixml ixt","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"name","C":[{"N":"dot","type":"1NA","flags":"a"}]}]},{"N":"valueOf","flags":"l","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]}]}]}]}]}]},{"N":"co","id":"80","vis":"PUBLIC","binds":"7","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}compileGrammarSimple","line":"31","module":"jwiXML.processor.3.xsl","flags":"pU","as":"1","slots":"1","C":[{"N":"arg","name":"Q{}grammarSource","as":"1"},{"N":"check","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"33","card":"1","diag":"5|0|XTTE0780|jwL:compileGrammarSimple#1","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:call","C":[{"N":"gVarRef","name":"Q{}jwiXML","bSlot":"0"}]},{"N":"str","val":"compile"},{"N":"arrayBlock","C":[{"N":"varRef","name":"Q{}grammarSource","slot":"0"},{"N":"map","size":"0"}]}]}]}]}]},{"N":"co","id":"25","binds":"","C":[{"N":"function","name":"Q{MyFunctions}readCheckbox","line":"611","module":"jwiXML.3.xsl","flags":"pU","as":"1AB","slots":"1","C":[{"N":"arg","name":"Q{}id","as":"1AS"},{"N":"treat","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"613","as":"AB","diag":"5|0|XTTE0780|f:readCheckbox#1","C":[{"N":"check","card":"1","diag":"5|0|XTTE0780|f:readCheckbox#1","C":[{"N":"cvUntyped","to":"AB","diag":"5|0|XTTE0780|f:readCheckbox#1","C":[{"N":"data","diag":"5|0|XTTE0780|f:readCheckbox#1","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}get","type":"*","C":[{"N":"check","card":"1","diag":"0|0||ixsl:get","C":[{"N":"fn","name":"id","C":[{"N":"varRef","name":"Q{}id","slot":"0"},{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}page","type":"1ND"}]}]},{"N":"str","val":"checked"}]}]}]}]}]}]}]},{"N":"co","id":"81","binds":"","C":[{"N":"globalVariable","name":"Q{}compiler-name","as":"1AS","line":"46","module":"jwiXML.3.xsl","visibility":"PRIVATE","flags":"s","C":[{"N":"str","val":"Saxon-EE"}]}]},{"N":"co","id":"82","binds":"","C":[{"N":"function","name":"Q{MyFunctions}makeToggler","line":"24","module":"toggler.xsl","flags":"pU","as":"1NE","slots":"4","C":[{"N":"arg","name":"Q{}class","as":"*"},{"N":"arg","name":"Q{}value","as":"*"},{"N":"arg","name":"Q{}label","as":"*"},{"N":"arg","name":"Q{}id","as":"*"},{"N":"elem","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml H=http:\/\/www.w3.org\/1999\/xhtml array=~ doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixsl=~ map=~ saxon=~ sef=http:\/\/ns.saxonica.com\/xslt\/export t=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog xs=~ xsl=~ xml=~","line":"37","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"toggler"}]},{"N":"elem","line":"38","name":"input","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"29","name":"Q{}class","slot":"0"}]}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"checkbox"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"29","name":"Q{}id","slot":"3"}]}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"value","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"29","name":"Q{}value","slot":"1"}]}]}]},{"N":"str","val":" "}]}]}]}]},{"N":"elem","line":"43","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"box"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"29","name":"Q{}id","slot":"3"}]}]}]},{"N":"str","val":" "}]}]}]}]},{"N":"elem","line":"44","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"text"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"29","name":"Q{}id","slot":"3"}]}]}]},{"N":"str","val":" "}]}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"29","name":"Q{}label","slot":"2"}]}]}]},{"N":"str","val":" "}]}]}]}]}]}]}]}]},{"N":"co","id":"58","binds":"30","C":[{"N":"globalVariable","name":"Q{http:\/\/saxon.sf.net\/generated-variable}gg1214125015","as":"*NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample","line":"376","module":"jwiXML.3.xsl","visibility":"PRIVATE","C":[{"N":"slash","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"376","simple":"2","C":[{"N":"gVarRef","name":"Q{}allThings","bSlot":"0"},{"N":"axis","name":"descendant","nodeTest":"NE nQ{https:\/\/github.com\/invisibleXML\/ixml\/test-catalog}sample"}]}]}]},{"N":"co","id":"83","binds":"","C":[{"N":"function","name":"Q{MyFunctions}makeToggler","line":"31","module":"toggler.xsl","flags":"pU","as":"1NE","slots":"5","C":[{"N":"arg","name":"Q{}class","as":"*"},{"N":"arg","name":"Q{}value","as":"*"},{"N":"arg","name":"Q{}label","as":"*"},{"N":"arg","name":"Q{}id","as":"*"},{"N":"arg","name":"Q{}checked","as":"1AB"},{"N":"elem","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml H=http:\/\/www.w3.org\/1999\/xhtml array=~ doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixsl=~ map=~ saxon=~ sef=http:\/\/ns.saxonica.com\/xslt\/export t=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog xs=~ xsl=~ xml=~","line":"37","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"toggler"}]},{"N":"elem","line":"38","name":"input","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}class","slot":"0"}]}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"checkbox"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}id","slot":"3"}]}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"value","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}value","slot":"1"}]}]}]},{"N":"str","val":" "}]}]},{"N":"choose","line":"39","C":[{"N":"varRef","name":"Q{}checked","slot":"4"},{"N":"att","line":"40","name":"checked","flags":"l","C":[{"N":"str","val":""}]}]}]}]},{"N":"elem","line":"43","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"box"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}id","slot":"3"}]}]}]},{"N":"str","val":" "}]}]}]}]},{"N":"elem","line":"44","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"text"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}id","slot":"3"}]}]}]},{"N":"str","val":" "}]}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","name":"Q{}label","slot":"2"}]}]}]},{"N":"str","val":" "}]}]}]}]}]}]}]}]},{"N":"co","id":"84","binds":"66","C":[{"N":"function","name":"Q{http:\/\/nineml.com\/ns\/coffeesacks}load-grammar","line":"21","module":"coffeeSacks.3.xsl","flags":"pU","as":"1F r[1] a[1AS]","slots":"1","C":[{"N":"arg","name":"Q{}uri","as":"1AS"},{"N":"tailCallLoop","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks err=~ ixml=http:\/\/invisiblexml.org\/NS jwL=https:\/\/github.com\/johnlumley map=~ math=~ xs=~ xsl=~ xml=~","line":"24","C":[{"N":"ufCall","name":"Q{http:\/\/nineml.com\/ns\/coffeesacks}load-grammar","tailCall":"foreign","bSlot":"0","C":[{"N":"varRef","name":"Q{}uri","slot":"0"},{"N":"map","size":"0"}]}]}]}]},{"N":"co","id":"38","binds":"","C":[{"N":"globalParam","name":"Q{}pragmaSupport","as":"*NE","line":"39","module":"jwiXML.processor.3.xsl","visibility":"PUBLIC","C":[{"N":"sequence","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"40","C":[{"N":"elem","name":"pragmaSupport","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"uri","flags":"l","C":[{"N":"str","val":"XSL\/Transform"}]},{"N":"elem","line":"41","name":"pragma","nsuri":"","flags":"l","C":[{"N":"sequence","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"str","val":"import"}]},{"N":"att","name":"stylesheet","flags":"l","C":[{"N":"str","val":"pragmas\/xsl\/include.xsl"}]}]}]},{"N":"elem","line":"42","name":"pragma","nsuri":"","flags":"l","C":[{"N":"sequence","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"str","val":"include"}]},{"N":"att","name":"stylesheet","flags":"l","C":[{"N":"str","val":"pragmas\/xsl\/include.xsl"}]}]}]},{"N":"elem","line":"43","name":"pragma","nsuri":"","flags":"l","C":[{"N":"sequence","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"str","val":"nur"}]},{"N":"att","name":"stylesheet","flags":"l","C":[{"N":"str","val":"pragmas\/xsl\/nur.xsl"}]}]}]}]}]},{"N":"elem","line":"45","name":"pragmaSupport","nsuri":"","C":[{"N":"sequence","C":[{"N":"att","name":"uri","flags":"l","C":[{"N":"str","val":""}]},{"N":"elem","line":"47","name":"pragma","nsuri":"","flags":"l","C":[{"N":"sequence","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"str","val":"import"}]},{"N":"att","name":"stylesheet","flags":"l","C":[{"N":"str","val":"pragmas\/xsl\/include.xsl"}]}]}]},{"N":"elem","line":"48","name":"pragma","nsuri":"","flags":"l","C":[{"N":"sequence","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"str","val":"include"}]},{"N":"att","name":"stylesheet","flags":"l","C":[{"N":"str","val":"pragmas\/include.xsl"}]}]}]},{"N":"elem","line":"49","name":"pragma","nsuri":"","flags":"l","C":[{"N":"sequence","C":[{"N":"att","name":"name","flags":"l","C":[{"N":"str","val":"nur"}]},{"N":"att","name":"stylesheet","flags":"l","C":[{"N":"str","val":"pragmas\/nur.xsl"}]}]}]}]}]}]}]}]},{"N":"co","id":"66","binds":"41 28","C":[{"N":"function","name":"Q{http:\/\/nineml.com\/ns\/coffeesacks}load-grammar","line":"26","module":"coffeeSacks.3.xsl","flags":"pU","as":"1F r[1] a[1AS]","slots":"3","C":[{"N":"arg","name":"Q{}uri","as":"1AS"},{"N":"arg","name":"Q{}options","as":"1FM"},{"N":"let","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks ixml=http:\/\/invisiblexml.org\/NS jwL=https:\/\/github.com\/johnlumley math=~ xs=~ xsl=~ xml=~","line":"32","var":"Q{}grammar","as":"1","slot":"2","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}compileGrammar","tailCall":"false","bSlot":"0","C":[{"N":"check","card":"1","diag":"0|0||jwL:compileGrammar","C":[{"N":"fn","line":"29","name":"unparsed-text","C":[{"N":"varRef","name":"Q{}uri","slot":"0"}]}]},{"N":"varRef","name":"Q{}options","slot":"1"}]},{"N":"partialApply","line":"33","C":[{"N":"ufRef","name":"Q{http:\/\/ns.saxonica.com\/anonymous-type}f_1592763413","arity":"2","bSlot":"1"},{"N":"null"},{"N":"varRef","name":"Q{}grammar","slot":"2"}]}]}]}]},{"N":"co","id":"44","binds":"85","C":[{"N":"function","name":"Q{MyFunctions}makeToggler","line":"13","module":"toggler.xsl","flags":"pU","as":"1NE","slots":"2","C":[{"N":"arg","name":"Q{}class","as":"*"},{"N":"arg","name":"Q{}value","as":"*"},{"N":"tailCallLoop","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml H=http:\/\/www.w3.org\/1999\/xhtml array=~ doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixsl=~ map=~ saxon=~ sef=http:\/\/ns.saxonica.com\/xslt\/export t=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog xs=~ xsl=~ xml=~","line":"16","C":[{"N":"ufCall","name":"Q{MyFunctions}makeToggler","tailCall":"foreign","bSlot":"0","C":[{"N":"varRef","name":"Q{}class","slot":"0"},{"N":"varRef","name":"Q{}value","slot":"1"},{"N":"false"}]}]}]}]},{"N":"co","id":"71","binds":"","C":[{"N":"function","name":"Q{MyFunctions}showTimes","line":"111","module":"jwiXML.3.xsl","flags":"pU","as":"*","slots":"2","C":[{"N":"arg","name":"Q{}result","as":"*"},{"N":"elem","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"113","name":"p","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"timing"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"Input length: "},{"N":"convert","from":"ADI","to":"AS","C":[{"N":"arith","op":"-","calc":"i-i","C":[{"N":"fn","name":"count","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}result","slot":"0"},{"N":"str","val":"states"}]}]},{"N":"int","val":"1"}]}]}]}]},{"N":"elem","name":"br","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"empty"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","line":"109","name":"concat","C":[{"N":"str","val":"Parse time:\n "},{"N":"fn","name":"format-number","C":[{"N":"check","line":"113","card":"?","diag":"0|0||f:roundTime","C":[{"N":"convert","from":"A","to":"AO","flags":"p","diag":"0|0||f:roundTime","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||f:roundTime","C":[{"N":"data","diag":"0|0||f:roundTime","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}result","slot":"0"},{"N":"str","val":"parseTime"}]}]}]}]}]},{"N":"str","val":"#0.00"}]},{"N":"str","val":"ms, Tree time: "},{"N":"fn","name":"format-number","C":[{"N":"check","line":"113","card":"?","diag":"0|0||f:roundTime","C":[{"N":"convert","from":"A","to":"AO","flags":"p","diag":"0|0||f:roundTime","C":[{"N":"cvUntyped","to":"AO","diag":"0|0||f:roundTime","C":[{"N":"data","diag":"0|0||f:roundTime","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}result","slot":"0"},{"N":"str","val":"treeTime"}]}]}]}]}]},{"N":"str","val":"#0.00"}]},{"N":"str","val":"ms"}]}]},{"N":"elem","line":"114","name":"br","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"empty"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":"\n #elements: "},{"N":"convert","from":"ADI","to":"AS","C":[{"N":"fn","name":"count","C":[{"N":"docOrder","intra":"0","C":[{"N":"slash","simple":"2","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|\/","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}result","slot":"0"},{"N":"str","val":"tree"}]}]},{"N":"axis","name":"descendant","nodeTest":"NE"}]}]}]}]},{"N":"str","val":", #depth:\n "},{"N":"fn","name":"string","C":[{"N":"convert","from":"ADI","to":"AS","C":[{"N":"fn","name":"max","C":[{"N":"slash","C":[{"N":"docOrder","intra":"0","C":[{"N":"slash","simple":"2","C":[{"N":"treat","as":"N","diag":"1|0|XPTY0019|\/","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}result","slot":"0"},{"N":"str","val":"tree"}]}]},{"N":"axis","name":"descendant","nodeTest":"NE"}]}]},{"N":"fn","name":"count","C":[{"N":"axis","name":"ancestor","nodeTest":"NE"}]}]}]}]}]}]}]},{"N":"elem","line":"116","name":"br","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# array err fn ixml ixt xsi","C":[{"N":"empty"}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":" #states: "},{"N":"fn","name":"string","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"fn","name":"sum","C":[{"N":"for","var":"Q{}s","slot":"1","C":[{"N":"lookup","role":"in","C":[{"N":"varRef","name":"Q{}result","slot":"0"},{"N":"str","val":"states"}]},{"N":"data","role":"return","line":"114","diag":"0|0||fn:sum","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"varRef","name":"Q{}s","slot":"1"},{"N":"str","val":"countStates"},{"N":"array","size":"0"}]}]}]},{"N":"int","val":"0"}]}]}]}]}]}]}]}]}]},{"N":"co","id":"85","binds":"","C":[{"N":"function","name":"Q{MyFunctions}makeToggler","line":"18","module":"toggler.xsl","flags":"pU","as":"1NE","slots":"3","C":[{"N":"arg","name":"Q{}class","as":"*"},{"N":"arg","name":"Q{}value","as":"*"},{"N":"arg","name":"Q{}checked","as":"1AB"},{"N":"elem","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml H=http:\/\/www.w3.org\/1999\/xhtml array=~ doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixsl=~ map=~ saxon=~ sef=http:\/\/ns.saxonica.com\/xslt\/export t=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog xs=~ xsl=~ xml=~","line":"37","name":"div","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"d","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"toggler"}]},{"N":"elem","line":"38","name":"input","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"22","name":"Q{}class","slot":"0"}]}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"type","flags":"l","C":[{"N":"str","val":"checkbox"}]},{"N":"att","name":"id","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"22","name":"Q{}value","slot":"1"}]}]}]},{"N":"str","val":" "}]}]},{"N":"att","name":"value","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"22","name":"Q{}value","slot":"1"}]}]}]},{"N":"str","val":" "}]}]},{"N":"choose","line":"39","C":[{"N":"varRef","line":"22","name":"Q{}checked","slot":"2"},{"N":"att","line":"40","name":"checked","flags":"l","C":[{"N":"str","val":""}]}]}]}]},{"N":"elem","line":"43","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"box"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"22","name":"Q{}value","slot":"1"}]}]}]},{"N":"str","val":" "}]}]}]}]},{"N":"elem","line":"44","name":"label","nsuri":"http:\/\/www.w3.org\/1999\/xhtml","flags":"dl","namespaces":"# H array doc err f ixsl map saxon sef t","C":[{"N":"sequence","C":[{"N":"att","name":"class","flags":"l","C":[{"N":"str","val":"text"}]},{"N":"att","name":"for","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"22","name":"Q{}value","slot":"1"}]}]}]},{"N":"str","val":" "}]}]},{"N":"valueOf","flags":"l","C":[{"N":"fn","name":"string-join","C":[{"N":"convert","from":"A","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","C":[{"N":"varRef","line":"22","name":"Q{}value","slot":"1"}]}]}]},{"N":"str","val":" "}]}]}]}]}]}]}]}]},{"N":"co","id":"35","binds":"","C":[{"N":"mode","name":"Q{}xml2ixml","onNo":"SS","flags":"W","patternSlots":"0","C":[{"N":"templateRule","prec":"1","prio":"0.5","seq":"29","rank":"1","minImp":"1","slots":"0","matches":"NE","flags":"s","line":"226","module":"xmlToiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}insertion,NE nQ{}insertion]"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"226","name":"attribute","nodeTest":"NA nQ{}hex"}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"227","C":[{"N":"valueOf","flags":"S","C":[{"N":"str","val":"+#"}]},{"N":"valueOf","line":"228","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}hex"}]}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.5","seq":"28","rank":"1","minImp":"1","slots":"0","matches":"NE","flags":"s","line":"222","module":"xmlToiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}insertion,NE nQ{}insertion]"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"222","name":"attribute","nodeTest":"NA nQ{}string"}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"223","C":[{"N":"valueOf","flags":"S","C":[{"N":"str","val":"+"}]},{"N":"applyT","line":"224","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA nQ{}string"}]}]}]},{"N":"templateRule","prec":"1","prio":"0.5","seq":"27","rank":"1","minImp":"1","slots":"0","matches":"NE","flags":"s","line":"219","module":"xmlToiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}member,NE nQ{}member]"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"219","name":"attribute","nodeTest":"NA nQ{}code"}]},{"N":"valueOf","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"220","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}code"}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.5","seq":"25","rank":"1","minImp":"1","slots":"0","matches":"NE","flags":"s","line":"205","module":"xmlToiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}member,NE nQ{}member]"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"205","name":"attribute","nodeTest":"NA nQ{}from"}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"206","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA nQ{}from"}]},{"N":"valueOf","line":"207","flags":"S","C":[{"N":"str","val":"-"}]},{"N":"applyT","line":"208","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA nQ{}to"}]}]}]},{"N":"templateRule","prec":"1","prio":"0.5","seq":"24","rank":"1","minImp":"1","slots":"0","matches":"NE","flags":"s","line":"201","module":"xmlToiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}member,NE nQ{}member]"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"201","name":"attribute","nodeTest":"NA nQ{}hex"}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"202","C":[{"N":"valueOf","flags":"S","C":[{"N":"str","val":"#"}]},{"N":"valueOf","line":"203","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}hex"}]}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.5","seq":"23","rank":"1","minImp":"1","slots":"0","matches":"NE","flags":"s","line":"198","module":"xmlToiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}member,NE nQ{}member]"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"198","name":"attribute","nodeTest":"NA nQ{}string"}]},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"199","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA nQ{}string"}]}]},{"N":"templateRule","prec":"1","prio":"0.5","seq":"21","rank":"1","minImp":"1","slots":"0","matches":"NE","flags":"s","line":"177","module":"xmlToiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}literal,NE nQ{}literal]"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"177","name":"attribute","nodeTest":"NA nQ{}hex"}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"178","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA nQ{}tmark"}]},{"N":"valueOf","line":"179","flags":"S","C":[{"N":"str","val":"#"}]},{"N":"valueOf","line":"180","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}hex"}]}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.5","seq":"20","rank":"1","minImp":"1","slots":"0","matches":"NE","flags":"s","line":"174","module":"xmlToiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}literal,NE nQ{}literal]"},{"N":"axis","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"174","name":"attribute","nodeTest":"NA nQ{}string"}]},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"175","flags":"ct","bSlot":"-1","C":[{"N":"sequence","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}tmark"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}string"}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"10","part":"1","rank":"0","minImp":"1","slots":"4","matches":"NE nQ{}rule","flags":"s","line":"69","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}rule"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"70","C":[{"N":"param","name":"Q{}longest.start","slot":"0","flags":"ti","as":"1ADI","C":[{"N":"check","role":"conversion","card":"1","diag":"8|0|XTTE0590|longest.start","C":[{"N":"convert","from":"A","to":"ADI","flags":"d","diag":"8|0|XTTE0590|longest.start","C":[{"N":"cvUntyped","to":"ADI","diag":"8|0|XTTE0590|longest.start","C":[{"N":"data","diag":"8|0|XTTE0590|longest.start","C":[{"N":"supplied","slot":"0"}]}]}]}]}]},{"N":"param","line":"71","name":"Q{}indent","slot":"1","flags":"ti","as":"1AS","C":[{"N":"check","role":"conversion","card":"1","diag":"8|0|XTTE0590|indent","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"8|0|XTTE0590|indent","C":[{"N":"cvUntyped","to":"AS","diag":"8|0|XTTE0590|indent","C":[{"N":"data","diag":"8|0|XTTE0590|indent","C":[{"N":"supplied","slot":"1"}]}]}]}]}]},{"N":"valueOf","line":"72","C":[{"N":"fn","name":"string-join","C":[{"N":"sequence","C":[{"N":"forEach","C":[{"N":"to","C":[{"N":"int","val":"1"},{"N":"arith","op":"-","calc":"i-i","C":[{"N":"varRef","name":"Q{}longest.start","slot":"0"},{"N":"check","line":"25","card":"1","diag":"5|0|XTTE0780|f:name-length#1","C":[{"N":"forEach","C":[{"N":"dot","line":"72","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule,NE nQ{}rule]","flags":"a"},{"N":"arith","line":"26","op":"+","calc":"i+i","C":[{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}mark"}]}]}]},{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}name"}]}]}]}]},{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}alias"}]},{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}alias"}]}]}]},{"N":"int","val":"1"}]},{"N":"true"},{"N":"int","val":"0"}]}]}]}]}]}]},{"N":"str","val":""}]},{"N":"fn","name":"concat","C":[{"N":"data","diag":"0|0||fn:concat","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}mark"}]},{"N":"data","diag":"0|1||fn:concat","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"str","val":" "}]}]},{"N":"applyT","line":"73","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA nQ{}alias"}]},{"N":"valueOf","line":"74","C":[{"N":"str","val":": "}]},{"N":"applyT","line":"75","flags":"c","bSlot":"-1","C":[{"N":"filter","role":"select","flags":"b","C":[{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"NE"}]},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]"}]}]}]},{"N":"choose","line":"77","C":[{"N":"every","var":"Q{}c","slot":"3","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]]"},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"varRef","name":"Q{}c","slot":"3"},{"N":"and","op":"and","C":[{"N":"and","op":"and","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"}]},{"N":"compareToInt","op":"eq","val":"1","C":[{"N":"fn","name":"count","C":[{"N":"fn","name":"subsequence","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"1"},{"N":"int","val":"2"}]}]}]}]},{"N":"fn","name":"exists","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}literal,NE nQ{}literal]"}]}]}]}]}]},{"N":"forEach","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"80","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]]"},{"N":"sequence","line":"81","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]]"}]},{"N":"choose","line":"82","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"83","C":[{"N":"str","val":"; "}]}]}]}]},{"N":"true"},{"N":"forEach","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"90","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]]"},{"N":"sequence","line":"91","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]]"}]},{"N":"choose","line":"92","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"93","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":" |\n"},{"N":"varRef","name":"Q{}indent","slot":"1"}]}]}]}]}]}]},{"N":"applyT","line":"99","flags":"c","bSlot":"-1","C":[{"N":"filter","role":"select","flags":"b","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]"},{"N":"fn","name":"exists","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"NE"}]}]}]},{"N":"valueOf","line":"100","C":[{"N":"str","val":".\n"}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"14","part":"3","rank":"0","minImp":"1","slots":"12","matches":"NE nQ{}repeat0","flags":"s","line":"134","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}repeat0"},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"136","var":"Q{}op","as":"1AS","slot":"6","C":[{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]"}]},{"N":"str","val":"?"},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat0,NE nQ{}repeat0]"}]},{"N":"str","val":"*"},{"N":"true"},{"N":"str","val":"+"}]},{"N":"let","line":"137","var":"Q{}needsBrackets","as":"1AB","slot":"7","C":[{"N":"fn","name":"exists","C":[{"N":"tail","start":"2","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"}]}]},{"N":"sequence","line":"138","C":[{"N":"choose","C":[{"N":"varRef","name":"Q{}needsBrackets","slot":"7"},{"N":"valueOf","line":"139","flags":"S","C":[{"N":"str","val":"("}]}]},{"N":"forEach","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"143","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"},{"N":"sequence","line":"144","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"}]},{"N":"choose","line":"145","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"146","C":[{"N":"str","val":", "}]}]}]}]},{"N":"choose","line":"149","C":[{"N":"varRef","name":"Q{}needsBrackets","slot":"7"},{"N":"valueOf","line":"150","flags":"S","C":[{"N":"str","val":")"}]}]},{"N":"choose","line":"152","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]},{"N":"fn","name":"string-join","C":[{"N":"sequence","C":[{"N":"varRef","name":"Q{}op","slot":"6"},{"N":"varRef","name":"Q{}op","slot":"6"}]}]},{"N":"true"},{"N":"varRef","name":"Q{}op","slot":"6"}]},{"N":"applyT","line":"153","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"13","part":"1","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{}subtraction","flags":"s","line":"124","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}subtraction"},{"N":"forEach","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"127","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"sequence","line":"128","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE"}]},{"N":"choose","line":"129","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"130","C":[{"N":"str","val":" ¬ "}]}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"4","part":"1","rank":"0","minImp":"1","slots":"2","matches":"NE nQ{}ixml","flags":"s","line":"31","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}ixml"},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"33","var":"Q{}longest.start","as":"1ADI","slot":"1","C":[{"N":"check","card":"1","diag":"3|0|XTTE0570|longest.start","C":[{"N":"fn","name":"max","C":[{"N":"forEach","C":[{"N":"slash","simple":"2","C":[{"N":"slash","simple":"1","C":[{"N":"root"},{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml,NE nQ{}ixml]"}]},{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule,NE nQ{}rule]"}]},{"N":"check","line":"25","card":"1","diag":"5|0|XTTE0780|f:name-length#1","C":[{"N":"forEach","C":[{"N":"dot","line":"33","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule,NE nQ{}rule]"},{"N":"arith","line":"26","op":"+","calc":"i+i","C":[{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}mark"}]}]}]},{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}name"}]}]}]}]},{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}alias"}]},{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}alias"}]}]}]},{"N":"int","val":"1"}]},{"N":"true"},{"N":"int","val":"0"}]}]}]}]}]}]}]},{"N":"applyT","line":"36","flags":"cti","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"},{"N":"withParam","name":"Q{}longest.start","flags":"t","as":"1ADI","C":[{"N":"varRef","line":"37","name":"Q{}longest.start","slot":"1"}]},{"N":"withParam","name":"Q{}indent","flags":"t","as":"1AS","C":[{"N":"fn","line":"35","name":"string-join","C":[{"N":"forEach","C":[{"N":"to","C":[{"N":"int","val":"1"},{"N":"arith","op":"+","calc":"i+i","C":[{"N":"varRef","name":"Q{}longest.start","slot":"1"},{"N":"int","val":"2"}]}]},{"N":"str","val":" "}]}]}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"5","part":"1","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{}version","flags":"s","line":"41","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}version"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"42","C":[{"N":"valueOf","C":[{"N":"str","val":"ixml version "}]},{"N":"applyT","line":"43","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA nQ{}string"}]},{"N":"valueOf","line":"44","C":[{"N":"str","val":".\n"}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"8","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}pragma","flags":"s","line":"59","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}pragma"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"60","C":[{"N":"valueOf","C":[{"N":"str","val":" {["}]},{"N":"valueOf","line":"61","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"valueOf","line":"62","C":[{"N":"str","val":" "}]},{"N":"applyT","line":"63","flags":"ci","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"}]},{"N":"valueOf","line":"64","C":[{"N":"str","val":"]} "}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"22","part":"2","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}exclusion","flags":"s","line":"182","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}exclusion"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"183","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA nQ{}tmark"}]},{"N":"choose","line":"184","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}exclusion,NE nQ{}exclusion]"}]},{"N":"valueOf","line":"185","flags":"S","C":[{"N":"str","val":"~"}]}]},{"N":"valueOf","line":"187","flags":"S","C":[{"N":"str","val":"["}]},{"N":"forEach","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"190","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"sequence","line":"191","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE"}]},{"N":"choose","line":"192","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"193","flags":"S","C":[{"N":"str","val":";"}]}]}]}]},{"N":"valueOf","line":"196","flags":"S","C":[{"N":"str","val":"]"}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"12","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alts","flags":"s","line":"112","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alts"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"113","C":[{"N":"valueOf","flags":"S","C":[{"N":"str","val":"("}]},{"N":"forEach","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"116","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"sequence","line":"117","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE"}]},{"N":"choose","line":"118","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"119","C":[{"N":"str","val":"; "}]}]}]}]},{"N":"valueOf","line":"122","flags":"S","C":[{"N":"str","val":")"}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"11","part":"1","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{}alt","flags":"s","line":"103","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}alt"},{"N":"forEach","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"104","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"sequence","line":"105","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE"}]},{"N":"choose","line":"106","C":[{"N":"and","op":"and","C":[{"N":"and","op":"and","C":[{"N":"fn","name":"empty","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]"}]},{"N":"fn","name":"empty","C":[{"N":"filter","flags":"b","C":[{"N":"first","C":[{"N":"axis","name":"following-sibling","nodeTest":"NE"}]},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]"}]}]}]}]},{"N":"isLast","test":"0"}]},{"N":"valueOf","line":"107","C":[{"N":"str","val":", "}]}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"5","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}version","flags":"s","line":"41","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}version"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"42","C":[{"N":"valueOf","C":[{"N":"str","val":"ixml version "}]},{"N":"applyT","line":"43","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA nQ{}string"}]},{"N":"valueOf","line":"44","C":[{"N":"str","val":".\n"}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"11","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt","flags":"s","line":"103","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt"},{"N":"forEach","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"104","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"sequence","line":"105","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE"}]},{"N":"choose","line":"106","C":[{"N":"and","op":"and","C":[{"N":"and","op":"and","C":[{"N":"fn","name":"empty","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]"}]},{"N":"fn","name":"empty","C":[{"N":"filter","flags":"b","C":[{"N":"first","C":[{"N":"axis","name":"following-sibling","nodeTest":"NE"}]},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]"}]}]}]}]},{"N":"isLast","test":"0"}]},{"N":"valueOf","line":"107","C":[{"N":"str","val":", "}]}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"9","part":"1","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{}pragma-data","flags":"s","line":"66","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}pragma-data"},{"N":"valueOf","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"67","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}pragma-data,NE nQ{}pragma-data]","flags":"a"}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"6","part":"1","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{}comment","flags":"s","line":"47","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}comment"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"48","C":[{"N":"valueOf","C":[{"N":"str","val":" {"}]},{"N":"applyT","line":"49","flags":"ci","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"}]},{"N":"valueOf","line":"50","C":[{"N":"str","val":"} "}]},{"N":"choose","line":"51","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"parent","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml,NE nQ{}ixml]"}]},{"N":"valueOf","line":"52","C":[{"N":"str","val":"\n"}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"14","part":"2","rank":"0","minImp":"1","slots":"12","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat0","flags":"s","line":"134","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat0"},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"136","var":"Q{}op","as":"1AS","slot":"4","C":[{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]"}]},{"N":"str","val":"?"},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat0,NE nQ{}repeat0]"}]},{"N":"str","val":"*"},{"N":"true"},{"N":"str","val":"+"}]},{"N":"let","line":"137","var":"Q{}needsBrackets","as":"1AB","slot":"5","C":[{"N":"fn","name":"exists","C":[{"N":"tail","start":"2","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"}]}]},{"N":"sequence","line":"138","C":[{"N":"choose","C":[{"N":"varRef","name":"Q{}needsBrackets","slot":"5"},{"N":"valueOf","line":"139","flags":"S","C":[{"N":"str","val":"("}]}]},{"N":"forEach","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"143","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"},{"N":"sequence","line":"144","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"}]},{"N":"choose","line":"145","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"146","C":[{"N":"str","val":", "}]}]}]}]},{"N":"choose","line":"149","C":[{"N":"varRef","name":"Q{}needsBrackets","slot":"5"},{"N":"valueOf","line":"150","flags":"S","C":[{"N":"str","val":")"}]}]},{"N":"choose","line":"152","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]},{"N":"fn","name":"string-join","C":[{"N":"sequence","C":[{"N":"varRef","name":"Q{}op","slot":"4"},{"N":"varRef","name":"Q{}op","slot":"4"}]}]},{"N":"true"},{"N":"varRef","name":"Q{}op","slot":"4"}]},{"N":"applyT","line":"153","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"14","part":"1","rank":"0","minImp":"1","slots":"12","matches":"NE nQ{}option","flags":"s","line":"134","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}option"},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"136","var":"Q{}op","as":"1AS","slot":"2","C":[{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]"}]},{"N":"str","val":"?"},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat0,NE nQ{}repeat0]"}]},{"N":"str","val":"*"},{"N":"true"},{"N":"str","val":"+"}]},{"N":"let","line":"137","var":"Q{}needsBrackets","as":"1AB","slot":"3","C":[{"N":"fn","name":"exists","C":[{"N":"tail","start":"2","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"}]}]},{"N":"sequence","line":"138","C":[{"N":"choose","C":[{"N":"varRef","name":"Q{}needsBrackets","slot":"3"},{"N":"valueOf","line":"139","flags":"S","C":[{"N":"str","val":"("}]}]},{"N":"forEach","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"143","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"},{"N":"sequence","line":"144","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"}]},{"N":"choose","line":"145","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"146","C":[{"N":"str","val":", "}]}]}]}]},{"N":"choose","line":"149","C":[{"N":"varRef","name":"Q{}needsBrackets","slot":"3"},{"N":"valueOf","line":"150","flags":"S","C":[{"N":"str","val":")"}]}]},{"N":"choose","line":"152","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]},{"N":"fn","name":"string-join","C":[{"N":"sequence","C":[{"N":"varRef","name":"Q{}op","slot":"2"},{"N":"varRef","name":"Q{}op","slot":"2"}]}]},{"N":"true"},{"N":"varRef","name":"Q{}op","slot":"2"}]},{"N":"applyT","line":"153","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"13","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}subtraction","flags":"s","line":"124","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}subtraction"},{"N":"forEach","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"127","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"sequence","line":"128","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE"}]},{"N":"choose","line":"129","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"130","C":[{"N":"str","val":" ¬ "}]}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"4","rank":"0","minImp":"1","slots":"2","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml","flags":"s","line":"31","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml"},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"32","var":"Q{}longest.start","as":"1ADI","slot":"0","C":[{"N":"check","line":"33","card":"1","diag":"3|0|XTTE0570|longest.start","C":[{"N":"fn","name":"max","C":[{"N":"forEach","C":[{"N":"slash","simple":"2","C":[{"N":"slash","simple":"1","C":[{"N":"root"},{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml,NE nQ{}ixml]"}]},{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule,NE nQ{}rule]"}]},{"N":"check","line":"25","card":"1","diag":"5|0|XTTE0780|f:name-length#1","C":[{"N":"forEach","C":[{"N":"dot","line":"33","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule,NE nQ{}rule]"},{"N":"arith","line":"26","op":"+","calc":"i+i","C":[{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}mark"}]}]}]},{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}name"}]}]}]}]},{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}alias"}]},{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}alias"}]}]}]},{"N":"int","val":"1"}]},{"N":"true"},{"N":"int","val":"0"}]}]}]}]}]}]}]},{"N":"applyT","line":"36","flags":"cti","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"},{"N":"withParam","name":"Q{}longest.start","flags":"t","as":"1ADI","C":[{"N":"varRef","line":"37","name":"Q{}longest.start","slot":"0"}]},{"N":"withParam","name":"Q{}indent","flags":"t","as":"1AS","C":[{"N":"fn","line":"35","name":"string-join","C":[{"N":"forEach","C":[{"N":"to","C":[{"N":"int","val":"1"},{"N":"arith","op":"+","calc":"i+i","C":[{"N":"varRef","name":"Q{}longest.start","slot":"0"},{"N":"int","val":"2"}]}]},{"N":"str","val":" "}]}]}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"14","part":"5","rank":"0","minImp":"1","slots":"12","matches":"NE nQ{}repeat1","flags":"s","line":"134","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}repeat1"},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"136","var":"Q{}op","as":"1AS","slot":"10","C":[{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]"}]},{"N":"str","val":"?"},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat0,NE nQ{}repeat0]"}]},{"N":"str","val":"*"},{"N":"true"},{"N":"str","val":"+"}]},{"N":"let","line":"137","var":"Q{}needsBrackets","as":"1AB","slot":"11","C":[{"N":"fn","name":"exists","C":[{"N":"tail","start":"2","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"}]}]},{"N":"sequence","line":"138","C":[{"N":"choose","C":[{"N":"varRef","name":"Q{}needsBrackets","slot":"11"},{"N":"valueOf","line":"139","flags":"S","C":[{"N":"str","val":"("}]}]},{"N":"forEach","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"143","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"},{"N":"sequence","line":"144","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"}]},{"N":"choose","line":"145","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"146","C":[{"N":"str","val":", "}]}]}]}]},{"N":"choose","line":"149","C":[{"N":"varRef","name":"Q{}needsBrackets","slot":"11"},{"N":"valueOf","line":"150","flags":"S","C":[{"N":"str","val":")"}]}]},{"N":"choose","line":"152","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]},{"N":"fn","name":"string-join","C":[{"N":"sequence","C":[{"N":"varRef","name":"Q{}op","slot":"10"},{"N":"varRef","name":"Q{}op","slot":"10"}]}]},{"N":"true"},{"N":"varRef","name":"Q{}op","slot":"10"}]},{"N":"applyT","line":"153","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"6","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment","flags":"s","line":"47","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"48","C":[{"N":"valueOf","C":[{"N":"str","val":" {"}]},{"N":"applyT","line":"49","flags":"ci","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"}]},{"N":"valueOf","line":"50","C":[{"N":"str","val":"} "}]},{"N":"choose","line":"51","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"parent","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}ixml,NE nQ{}ixml]"}]},{"N":"valueOf","line":"52","C":[{"N":"str","val":"\n"}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"22","part":"1","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{}inclusion","flags":"s","line":"182","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}inclusion"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"183","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA nQ{}tmark"}]},{"N":"choose","line":"184","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}exclusion,NE nQ{}exclusion]"}]},{"N":"valueOf","line":"185","flags":"S","C":[{"N":"str","val":"~"}]}]},{"N":"valueOf","line":"187","flags":"S","C":[{"N":"str","val":"["}]},{"N":"forEach","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"190","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"sequence","line":"191","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE"}]},{"N":"choose","line":"192","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"193","flags":"S","C":[{"N":"str","val":";"}]}]}]}]},{"N":"valueOf","line":"196","flags":"S","C":[{"N":"str","val":"]"}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"14","part":"4","rank":"0","minImp":"1","slots":"12","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat1","flags":"s","line":"134","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat1"},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"136","var":"Q{}op","as":"1AS","slot":"8","C":[{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]"}]},{"N":"str","val":"?"},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat0,NE nQ{}repeat0]"}]},{"N":"str","val":"*"},{"N":"true"},{"N":"str","val":"+"}]},{"N":"let","line":"137","var":"Q{}needsBrackets","as":"1AB","slot":"9","C":[{"N":"fn","name":"exists","C":[{"N":"tail","start":"2","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"}]}]},{"N":"sequence","line":"138","C":[{"N":"choose","C":[{"N":"varRef","name":"Q{}needsBrackets","slot":"9"},{"N":"valueOf","line":"139","flags":"S","C":[{"N":"str","val":"("}]}]},{"N":"forEach","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"143","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"},{"N":"sequence","line":"144","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"}]},{"N":"choose","line":"145","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"146","C":[{"N":"str","val":", "}]}]}]}]},{"N":"choose","line":"149","C":[{"N":"varRef","name":"Q{}needsBrackets","slot":"9"},{"N":"valueOf","line":"150","flags":"S","C":[{"N":"str","val":")"}]}]},{"N":"choose","line":"152","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]},{"N":"fn","name":"string-join","C":[{"N":"sequence","C":[{"N":"varRef","name":"Q{}op","slot":"8"},{"N":"varRef","name":"Q{}op","slot":"8"}]}]},{"N":"true"},{"N":"varRef","name":"Q{}op","slot":"8"}]},{"N":"applyT","line":"153","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"14","rank":"0","minImp":"1","slots":"12","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option","flags":"s","line":"134","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option"},{"N":"let","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"136","var":"Q{}op","as":"1AS","slot":"0","C":[{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}option,NE nQ{}option]"}]},{"N":"str","val":"?"},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}repeat0,NE nQ{}repeat0]"}]},{"N":"str","val":"*"},{"N":"true"},{"N":"str","val":"+"}]},{"N":"let","line":"137","var":"Q{}needsBrackets","as":"1AB","slot":"1","C":[{"N":"fn","name":"exists","C":[{"N":"tail","start":"2","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"}]}]},{"N":"sequence","line":"138","C":[{"N":"choose","C":[{"N":"varRef","name":"Q{}needsBrackets","slot":"1"},{"N":"valueOf","line":"139","flags":"S","C":[{"N":"str","val":"("}]}]},{"N":"forEach","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"143","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"},{"N":"sequence","line":"144","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]]"}]},{"N":"choose","line":"145","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"146","C":[{"N":"str","val":", "}]}]}]}]},{"N":"choose","line":"149","C":[{"N":"varRef","name":"Q{}needsBrackets","slot":"1"},{"N":"valueOf","line":"150","flags":"S","C":[{"N":"str","val":")"}]}]},{"N":"choose","line":"152","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]},{"N":"fn","name":"string-join","C":[{"N":"sequence","C":[{"N":"varRef","name":"Q{}op","slot":"0"},{"N":"varRef","name":"Q{}op","slot":"0"}]}]},{"N":"true"},{"N":"varRef","name":"Q{}op","slot":"0"}]},{"N":"applyT","line":"153","flags":"ct","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}sep,NE nQ{}sep]"}]}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"8","part":"1","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{}pragma","flags":"s","line":"59","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}pragma"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"60","C":[{"N":"valueOf","C":[{"N":"str","val":" {["}]},{"N":"valueOf","line":"61","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"valueOf","line":"62","C":[{"N":"str","val":" "}]},{"N":"applyT","line":"63","flags":"ci","bSlot":"-1","C":[{"N":"axis","role":"select","name":"child","nodeTest":"N"}]},{"N":"valueOf","line":"64","C":[{"N":"str","val":"]} "}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"10","rank":"0","minImp":"1","slots":"4","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule","flags":"s","line":"69","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"70","C":[{"N":"param","name":"Q{}longest.start","slot":"0","flags":"ti","as":"1ADI","C":[{"N":"check","role":"conversion","card":"1","diag":"8|0|XTTE0590|longest.start","C":[{"N":"convert","from":"A","to":"ADI","flags":"d","diag":"8|0|XTTE0590|longest.start","C":[{"N":"cvUntyped","to":"ADI","diag":"8|0|XTTE0590|longest.start","C":[{"N":"data","diag":"8|0|XTTE0590|longest.start","C":[{"N":"supplied","slot":"0"}]}]}]}]}]},{"N":"param","line":"71","name":"Q{}indent","slot":"1","flags":"ti","as":"1AS","C":[{"N":"check","role":"conversion","card":"1","diag":"8|0|XTTE0590|indent","C":[{"N":"convert","from":"A","to":"AS","flags":"p","diag":"8|0|XTTE0590|indent","C":[{"N":"cvUntyped","to":"AS","diag":"8|0|XTTE0590|indent","C":[{"N":"data","diag":"8|0|XTTE0590|indent","C":[{"N":"supplied","slot":"1"}]}]}]}]}]},{"N":"valueOf","line":"72","C":[{"N":"fn","name":"string-join","C":[{"N":"sequence","C":[{"N":"forEach","C":[{"N":"to","C":[{"N":"int","val":"1"},{"N":"arith","op":"-","calc":"i-i","C":[{"N":"varRef","name":"Q{}longest.start","slot":"0"},{"N":"check","line":"25","card":"1","diag":"5|0|XTTE0780|f:name-length#1","C":[{"N":"forEach","C":[{"N":"dot","line":"72","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}rule,NE nQ{}rule]","flags":"a"},{"N":"arith","line":"26","op":"+","calc":"i+i","C":[{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}mark"}]}]}]},{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}name"}]}]}]}]},{"N":"choose","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}alias"}]},{"N":"arith","op":"+","calc":"i+i","C":[{"N":"fn","name":"string-length","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:string-length","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:string-length","C":[{"N":"attVal","name":"Q{}alias"}]}]}]},{"N":"int","val":"1"}]},{"N":"true"},{"N":"int","val":"0"}]}]}]}]}]}]},{"N":"str","val":""}]},{"N":"fn","name":"concat","C":[{"N":"data","diag":"0|0||fn:concat","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}mark"}]},{"N":"data","diag":"0|1||fn:concat","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"}]}]}]},{"N":"str","val":" "}]}]},{"N":"applyT","line":"73","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA nQ{}alias"}]},{"N":"valueOf","line":"74","C":[{"N":"str","val":": "}]},{"N":"applyT","line":"75","flags":"c","bSlot":"-1","C":[{"N":"filter","role":"select","flags":"b","C":[{"N":"first","C":[{"N":"axis","name":"child","nodeTest":"NE"}]},{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]"}]}]}]},{"N":"choose","line":"76","C":[{"N":"every","line":"77","var":"Q{}c","slot":"2","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]]"},{"N":"fn","name":"exists","C":[{"N":"filter","flags":"b","C":[{"N":"varRef","name":"Q{}c","slot":"2"},{"N":"and","op":"and","C":[{"N":"and","op":"and","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}alt,NE nQ{}alt]"}]},{"N":"compareToInt","op":"eq","val":"1","C":[{"N":"fn","name":"count","C":[{"N":"fn","name":"subsequence","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"int","val":"1"},{"N":"int","val":"2"}]}]}]}]},{"N":"fn","name":"exists","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}literal,NE nQ{}literal]"}]}]}]}]}]},{"N":"forEach","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"80","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]]"},{"N":"sequence","line":"81","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]]"}]},{"N":"choose","line":"82","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"83","C":[{"N":"str","val":"; "}]}]}]}]},{"N":"true"},{"N":"forEach","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"90","C":[{"N":"axis","name":"child","nodeTest":"NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]]"},{"N":"sequence","line":"91","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE d[NE,NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]]"}]},{"N":"choose","line":"92","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"93","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":" |\n"},{"N":"varRef","name":"Q{}indent","slot":"1"}]}]}]}]}]}]},{"N":"applyT","line":"99","flags":"c","bSlot":"-1","C":[{"N":"filter","role":"select","flags":"b","C":[{"N":"axis","name":"child","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]"},{"N":"fn","name":"exists","C":[{"N":"axis","name":"preceding-sibling","nodeTest":"NE"}]}]}]},{"N":"valueOf","line":"100","C":[{"N":"str","val":".\n"}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"9","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}pragma-data","flags":"s","line":"66","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}pragma-data"},{"N":"valueOf","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"67","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}pragma-data,NE nQ{}pragma-data]","flags":"a"}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"22","part":"3","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{}exclusion","flags":"s","line":"182","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}exclusion"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"183","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA nQ{}tmark"}]},{"N":"choose","line":"184","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}exclusion,NE nQ{}exclusion]"}]},{"N":"valueOf","line":"185","flags":"S","C":[{"N":"str","val":"~"}]}]},{"N":"valueOf","line":"187","flags":"S","C":[{"N":"str","val":"["}]},{"N":"forEach","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"190","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"sequence","line":"191","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE"}]},{"N":"choose","line":"192","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"193","flags":"S","C":[{"N":"str","val":";"}]}]}]}]},{"N":"valueOf","line":"196","flags":"S","C":[{"N":"str","val":"]"}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"12","part":"1","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{}alts","flags":"s","line":"112","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}alts"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"113","C":[{"N":"valueOf","flags":"S","C":[{"N":"str","val":"("}]},{"N":"forEach","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"116","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"sequence","line":"117","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE"}]},{"N":"choose","line":"118","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"119","C":[{"N":"str","val":"; "}]}]}]}]},{"N":"valueOf","line":"122","flags":"S","C":[{"N":"str","val":")"}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"16","part":"1","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{}nonterminal","flags":"s","line":"158","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{}nonterminal"},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"159","flags":"ct","bSlot":"-1","C":[{"N":"sequence","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}mark"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}alias"},{"N":"axis","name":"child","nodeTest":"NE"}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"22","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}inclusion","flags":"s","line":"182","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}inclusion"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"183","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"axis","role":"select","name":"attribute","nodeTest":"NA nQ{}tmark"}]},{"N":"choose","line":"184","C":[{"N":"fn","name":"exists","C":[{"N":"axis","name":"self","nodeTest":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}exclusion,NE nQ{}exclusion]"}]},{"N":"valueOf","line":"185","flags":"S","C":[{"N":"str","val":"~"}]}]},{"N":"valueOf","line":"187","flags":"S","C":[{"N":"str","val":"["}]},{"N":"forEach","ns":"err=~ f=MyFunctions map=~ math=~ xs=~ xsl=~ xml=~","line":"190","C":[{"N":"axis","name":"child","nodeTest":"NE"},{"N":"sequence","line":"191","C":[{"N":"applyT","flags":"c","bSlot":"-1","C":[{"N":"dot","role":"select","type":"1NE"}]},{"N":"choose","line":"192","C":[{"N":"isLast","test":"0"},{"N":"valueOf","line":"193","flags":"S","C":[{"N":"str","val":";"}]}]}]}]},{"N":"valueOf","line":"196","flags":"S","C":[{"N":"str","val":"]"}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"16","rank":"0","minImp":"1","slots":"0","matches":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}nonterminal","flags":"s","line":"158","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http:\/\/www.w3.org\/1999\/xhtml}nonterminal"},{"N":"applyT","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"159","flags":"ct","bSlot":"-1","C":[{"N":"sequence","role":"select","C":[{"N":"axis","name":"attribute","nodeTest":"NA nQ{}mark"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}name"},{"N":"axis","name":"attribute","nodeTest":"NA nQ{}alias"},{"N":"axis","name":"child","nodeTest":"NE"}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"26","part":"1","rank":"0","minImp":"1","slots":"0","matches":"NA nQ{}to","flags":"s","line":"210","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA nQ{}to"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"211","C":[{"N":"choose","C":[{"N":"fn","name":"not","C":[{"N":"fn","name":"starts-with","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:starts-with","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:starts-with","C":[{"N":"data","diag":"0|0||fn:starts-with","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]},{"N":"str","val":"#"}]}]},{"N":"valueOf","line":"212","flags":"S","C":[{"N":"str","val":"\""}]}]},{"N":"valueOf","line":"214","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]},{"N":"choose","line":"215","C":[{"N":"fn","name":"not","C":[{"N":"fn","name":"starts-with","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:starts-with","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:starts-with","C":[{"N":"data","diag":"0|0||fn:starts-with","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]},{"N":"str","val":"#"}]}]},{"N":"valueOf","line":"216","flags":"S","C":[{"N":"str","val":"\""}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"26","rank":"0","minImp":"1","slots":"0","matches":"NA nQ{}from","flags":"s","line":"210","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA nQ{}from"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"211","C":[{"N":"choose","C":[{"N":"fn","name":"not","C":[{"N":"fn","name":"starts-with","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:starts-with","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:starts-with","C":[{"N":"data","diag":"0|0||fn:starts-with","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]},{"N":"str","val":"#"}]}]},{"N":"valueOf","line":"212","flags":"S","C":[{"N":"str","val":"\""}]}]},{"N":"valueOf","line":"214","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]},{"N":"choose","line":"215","C":[{"N":"fn","name":"not","C":[{"N":"fn","name":"starts-with","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:starts-with","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:starts-with","C":[{"N":"data","diag":"0|0||fn:starts-with","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]},{"N":"str","val":"#"}]}]},{"N":"valueOf","line":"216","flags":"S","C":[{"N":"str","val":"\""}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"15","part":"1","rank":"0","minImp":"1","slots":"0","matches":"NA nQ{}mark","flags":"s","line":"155","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA nQ{}mark"},{"N":"valueOf","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"156","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"17","rank":"0","minImp":"1","slots":"0","matches":"NA nQ{}alias","flags":"s","line":"161","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA nQ{}alias"},{"N":"valueOf","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"162","C":[{"N":"fn","name":"concat","C":[{"N":"str","val":">"},{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NA nQ{}alias","flags":"a"}]}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"15","part":"2","rank":"0","minImp":"1","slots":"0","matches":"NA nQ{}tmark","flags":"s","line":"155","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA nQ{}tmark"},{"N":"valueOf","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"156","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.5","seq":"19","rank":"1","minImp":"1","slots":"0","matches":"NA nQ{}string","flags":"s","line":"169","module":"xmlToiXML.3.xsl","C":[{"N":"p.withPredicate","role":"match","C":[{"N":"p.nodeTest","test":"NA nQ{}string"},{"N":"fn","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"169","name":"contains","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:contains","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:contains","C":[{"N":"data","diag":"0|0||fn:contains","C":[{"N":"dot","type":"1NA nQ{}string"}]}]}]},{"N":"str","val":"\""}]}]},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"170","C":[{"N":"valueOf","flags":"S","C":[{"N":"str","val":"'"}]},{"N":"valueOf","line":"171","C":[{"N":"fn","name":"replace","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:replace","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:replace","C":[{"N":"data","diag":"0|0||fn:replace","C":[{"N":"dot","type":"1NA nQ{}string","flags":"a"}]}]}]},{"N":"str","val":"'"},{"N":"str","val":"''"},{"N":"str","val":""},{"N":"empty"}]}]},{"N":"valueOf","line":"172","flags":"S","C":[{"N":"str","val":"'"}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"18","rank":"0","minImp":"1","slots":"0","matches":"NA nQ{}string","flags":"s","line":"164","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA nQ{}string"},{"N":"sequence","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"165","C":[{"N":"valueOf","flags":"S","C":[{"N":"str","val":"\""}]},{"N":"valueOf","line":"166","C":[{"N":"fn","name":"replace","C":[{"N":"convert","from":"AZ","to":"AS","flags":"p","diag":"0|0||fn:replace","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||fn:replace","C":[{"N":"data","diag":"0|0||fn:replace","C":[{"N":"dot","type":"1NA nQ{}string","flags":"a"}]}]}]},{"N":"str","val":"\""},{"N":"str","val":"\"\""},{"N":"str","val":""},{"N":"empty"}]}]},{"N":"valueOf","line":"167","flags":"S","C":[{"N":"str","val":"\""}]}]}]},{"N":"templateRule","prec":"1","prio":"0.0","seq":"15","rank":"0","minImp":"1","slots":"0","matches":"NA nQ{}name","flags":"s","line":"155","module":"xmlToiXML.3.xsl","C":[{"N":"p.nodeTest","role":"match","test":"NA nQ{}name"},{"N":"valueOf","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"156","C":[{"N":"convert","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"dot","type":"1NA","flags":"a"}]}]}]}]},{"N":"templateRule","prec":"1","prio":"0.5","seq":"7","rank":"1","minImp":"1","slots":"0","matches":"NT","flags":"s","line":"56","module":"xmlToiXML.3.xsl","C":[{"N":"p.withUpper","role":"match","axis":"parent","upFirst":"false","C":[{"N":"p.nodeTest","test":"NT"},{"N":"p.nodeTest","test":"NE u[NE nQ{http:\/\/www.w3.org\/1999\/xhtml}comment,NE nQ{}comment]"}]},{"N":"dot","role":"action","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions math=~ xs=~ xsl=~ xml=~","line":"57","type":"1NT","flags":"a"}]}]}]},{"N":"co","id":"53","binds":"","C":[{"N":"globalVariable","name":"Q{}version","as":"1AS","line":"36","module":"jwiXML.3.xsl","visibility":"PRIVATE","C":[{"N":"str","val":"1.5"}]}]},{"N":"co","id":"56","binds":"","C":[{"N":"template","name":"Q{}registerFileReaders","flags":"os","line":"462","module":"jwiXML.3.xsl","slots":"0","C":[{"N":"sequence","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"=http:\/\/www.w3.org\/1999\/xhtml array=~ cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions fn=~ ixml=http:\/\/invisiblexml.org\/NS ixsl=~ ixt=https:\/\/github.com\/cmsmcq\/ixml-tests js=~ jwL=https:\/\/github.com\/johnlumley map=~ math=~ qt=http:\/\/www.w3.org\/2010\/09\/qt-fots-catalog saxon=~ svg=http:\/\/www.w3.org\/2000\/svg tc=https:\/\/github.com\/invisibleXML\/ixml\/test-catalog xlink=http:\/\/www.w3.org\/1999\/xlink xs=~ xsi=~ xsl=~ xml=~","line":"463","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}window","type":"1"},{"N":"str","val":"addFileCollect"},{"N":"array","size":"2","C":[{"N":"str","val":"grammarFile"},{"N":"str","val":"grammar"}]}]},{"N":"ifCall","line":"464","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}window","type":"1"},{"N":"str","val":"addFileCollect"},{"N":"array","size":"2","C":[{"N":"str","val":"inputFile"},{"N":"str","val":"input"}]}]}]}]}]},{"N":"co","id":"86","vis":"PUBLIC","binds":"87","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}parse-repeat","line":"244","module":"jwiXML.processor.3.xsl","flags":"pU","as":"1FM","slots":"2","C":[{"N":"arg","name":"Q{}grammar","as":"*"},{"N":"arg","name":"Q{}input","as":"1AS"},{"N":"tailCallLoop","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"248","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}parse-repeat","tailCall":"foreign","bSlot":"0","C":[{"N":"varRef","name":"Q{}grammar","slot":"0"},{"N":"varRef","name":"Q{}input","slot":"1"},{"N":"map","size":"0"}]}]}]}]},{"N":"co","id":"65","binds":"26","C":[{"N":"function","name":"Q{http:\/\/ns.saxonica.com\/anonymous-type}f_1904609259","line":"0","flags":"pU","as":"1","slots":"2","C":[{"N":"arg","name":"Q{}input2","as":"1AS"},{"N":"arg","name":"Q{}grammar","as":"*"},{"N":"check","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks ixml=http:\/\/invisiblexml.org\/NS jwL=https:\/\/github.com\/johnlumley math=~ xs=~ xsl=~ xml=~","line":"49","card":"1","diag":"5|0|XTTE0780|anon:f_1904609259#2","C":[{"N":"lookup","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}parse","tailCall":"false","bSlot":"0","C":[{"N":"varRef","name":"Q{}grammar","slot":"1"},{"N":"varRef","name":"Q{}input2","slot":"0"},{"N":"map","size":"1","C":[{"N":"str","val":"justOne"},{"N":"false"}]}]},{"N":"str","val":"tree"}]}]}]}]},{"N":"co","id":"87","vis":"PUBLIC","binds":"26 26","C":[{"N":"function","name":"Q{https:\/\/github.com\/johnlumley}parse-repeat","line":"250","module":"jwiXML.processor.3.xsl","flags":"pU","as":"1FM","slots":"5","C":[{"N":"arg","name":"Q{}grammar","as":"*"},{"N":"arg","name":"Q{}input","as":"1AS"},{"N":"arg","name":"Q{}options","as":"1FM"},{"N":"let","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"258","var":"Q{}result","as":"1FM","slot":"3","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}parse","tailCall":"false","bSlot":"0","C":[{"N":"varRef","name":"Q{}grammar","slot":"0"},{"N":"varRef","name":"Q{}input","slot":"1"},{"N":"varRef","name":"Q{}options","slot":"2"}]},{"N":"let","line":"259","var":"Q{}others","as":"*AO","slot":"4","flags":"e","C":[{"N":"convert","line":"260","from":"A","to":"AO","flags":"p","diag":"3|0|XTTE0570|others","C":[{"N":"cvUntyped","to":"AO","diag":"3|0|XTTE0570|others","C":[{"N":"data","diag":"3|0|XTTE0570|others","C":[{"N":"forEach","C":[{"N":"to","C":[{"N":"int","val":"1"},{"N":"check","card":"?","diag":"1|1||to","C":[{"N":"convert","from":"A","to":"ADI","flags":"d","diag":"1|1||to","C":[{"N":"cvUntyped","to":"ADI","diag":"1|1||to","C":[{"N":"data","diag":"1|1||to","C":[{"N":"first","line":"255","C":[{"N":"sequence","C":[{"N":"lookup","C":[{"N":"varRef","name":"Q{}options","slot":"2"},{"N":"str","val":"repeats"}]},{"N":"int","val":"0"}]}]}]}]}]}]}]},{"N":"choose","line":"261","C":[{"N":"vc","op":"gt","onEmpty":"0","comp":"CalVC","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}timestamp","type":"1AMP"},{"N":"atomic","val":"1900-01-01T00:00:00-05:00","type":"AMP"}]},{"N":"lookup","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}parse","tailCall":"false","bSlot":"1","C":[{"N":"varRef","name":"Q{}grammar","slot":"0"},{"N":"varRef","name":"Q{}input","slot":"1"},{"N":"varRef","name":"Q{}options","slot":"2"}]},{"N":"str","val":"parseTime"}]}]}]}]}]}]},{"N":"check","line":"264","card":"1","diag":"5|0|XTTE0780|jwL:parse-repeat#3","C":[{"N":"sequence","C":[{"N":"treat","as":"FM","diag":"5|0|XTTE0780|jwL:parse-repeat#3","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}set-property","type":"?","C":[{"N":"str","val":"extra"},{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/array}_from-sequence","type":"1FA","C":[{"N":"varRef","name":"Q{}others","slot":"4"}]},{"N":"varRef","name":"Q{}result","slot":"3"}]}]},{"N":"varRef","line":"265","name":"Q{}result","slot":"3"}]}]}]}]}]}]},{"N":"co","id":"88","binds":"88","C":[{"N":"function","name":"Q{MyFunctions}serialize","line":"10","module":"serialize.xsl","flags":"pU","as":"*AS","slots":"6","C":[{"N":"arg","name":"Q{}in","as":"*"},{"N":"arg","name":"Q{}indent","as":"1AS"},{"N":"forEach","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions map=~ xs=~ xsl=~ xml=~","line":"13","C":[{"N":"varRef","name":"Q{}in","slot":"0"},{"N":"choose","line":"14","C":[{"N":"instance","line":"15","of":"1FM","C":[{"N":"dot"}]},{"N":"let","line":"16","var":"Q{}indent","as":"1AS","slot":"2","C":[{"N":"fn","name":"concat","C":[{"N":"varRef","name":"Q{}indent","slot":"1"},{"N":"str","val":" "}]},{"N":"fn","line":"27","name":"concat","C":[{"N":"str","val":"map{\n"},{"N":"let","line":"28","var":"Q{}m","slot":"3","C":[{"N":"dot"},{"N":"let","var":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","as":"1F","slot":"4","flags":"l","C":[{"N":"treat","as":"F","diag":"21|0||$vv:v0","C":[{"N":"varRef","name":"Q{}m","slot":"3"}]},{"N":"fn","name":"string-join","C":[{"N":"forEach","C":[{"N":"ifCall","name":"Q{http:\/\/www.w3.org\/2005\/xpath-functions\/map}keys","type":"*A","C":[{"N":"treat","as":"FM","diag":"0|0||map:keys","C":[{"N":"dot"}]}]},{"N":"fn","name":"concat","C":[{"N":"varRef","name":"Q{}indent","slot":"2"},{"N":"fn","name":"string","C":[{"N":"dot","type":"1A"}]},{"N":"str","val":":"},{"N":"let","var":"Q{}p","slot":"5","C":[{"N":"ufCall","name":"Q{MyFunctions}serialize","tailCall":"false","bSlot":"0","C":[{"N":"ifCall","name":"Q{http:\/\/saxon.sf.net\/}apply","type":"*","C":[{"N":"varRef","name":"Q{http:\/\/saxon.sf.net\/generated-variable}v0","slot":"4"},{"N":"arrayBlock","C":[{"N":"dot","type":"1A"}]}]},{"N":"varRef","name":"Q{}indent","slot":"2"}]},{"N":"choose","C":[{"N":"compareToInt","op":"eq","val":"1","C":[{"N":"fn","name":"count","C":[{"N":"fn","name":"subsequence","C":[{"N":"varRef","name":"Q{}p","slot":"5"},{"N":"int","val":"1"},{"N":"int","val":"2"}]}]}]},{"N":"varRef","name":"Q{}p","slot":"5"},{"N":"true"},{"N":"fn","name":"concat","C":[{"N":"str","val":"("},{"N":"fn","name":"string-join","C":[{"N":"varRef","name":"Q{}p","slot":"5"},{"N":"str","val":","}]},{"N":"str","val":")"}]}]}]}]}]},{"N":"str","val":",\n"}]}]}]},{"N":"str","val":"}"}]}]},{"N":"instance","line":"29","of":"1NA","C":[{"N":"dot"}]},{"N":"fn","line":"30","name":"concat","C":[{"N":"fn","name":"name","C":[{"N":"treat","as":"N","diag":"0|0||fn:name","C":[{"N":"dot"}]}]},{"N":"str","val":"=\""},{"N":"fn","name":"string","C":[{"N":"dot"}]},{"N":"str","val":"\""}]},{"N":"instance","line":"32","of":"1AS","C":[{"N":"dot"}]},{"N":"fn","line":"33","name":"concat","C":[{"N":"str","val":"\""},{"N":"fn","name":"string","C":[{"N":"dot"}]},{"N":"str","val":"\""}]},{"N":"instance","line":"35","of":"1A","C":[{"N":"dot"}]},{"N":"fn","line":"36","name":"string","C":[{"N":"dot"}]},{"N":"true"},{"N":"fn","line":"43","name":"serialize","C":[{"N":"dot"},{"N":"map","size":"2","C":[{"N":"str","val":"omit-xml-declaration"},{"N":"true"},{"N":"str","val":"indent"},{"N":"true"}]}]}]}]}]}]},{"N":"co","id":"79","binds":"1 10","C":[{"N":"function","name":"Q{http:\/\/ns.saxonica.com\/anonymous-type}f_1982876486","line":"0","flags":"pU","as":"1","slots":"1","C":[{"N":"arg","name":"Q{}input","as":"1AS"},{"N":"check","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"343","card":"1","diag":"5|0|XTTE0780|anon:f_1982876486#1","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}grammarToXML","tailCall":"false","bSlot":"0","C":[{"N":"ufCall","name":"Q{https:\/\/github.com\/johnlumley}parseGrammar","tailCall":"false","bSlot":"1","C":[{"N":"varRef","name":"Q{}input","slot":"0"}]}]}]}]}]},{"N":"co","id":"7","binds":"","C":[{"N":"globalVariable","name":"Q{}jwiXML","as":"*","line":"25","module":"jwiXML.processor.3.xsl","visibility":"PRIVATE","C":[{"N":"ifCall","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"cs=http:\/\/nineml.com\/ns\/coffeesacks doc=http:\/\/www.saxonica.com\/ns\/documentation err=~ f=MyFunctions ixml=http:\/\/invisiblexml.org\/NS ixsl=~ js=~ jwL=https:\/\/github.com\/johnlumley map=~ saxon=~ xs=~ xsl=~ xml=~","line":"25","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}call","type":"*","C":[{"N":"ifCall","name":"Q{http:\/\/saxonica.com\/ns\/interactiveXSLT}window","type":"1"},{"N":"str","val":"jwiXML"},{"N":"array","size":"0"}]}]}]},{"N":"co","id":"14","binds":"88","C":[{"N":"function","name":"Q{MyFunctions}serialize","line":"6","module":"serialize.xsl","flags":"pU","as":"*AS","slots":"1","C":[{"N":"arg","name":"Q{}in","as":"*"},{"N":"tailCallLoop","role":"body","defaultElementNS":"http:\/\/www.w3.org\/1999\/xhtml","ns":"f=MyFunctions map=~ xs=~ xsl=~ xml=~","line":"8","C":[{"N":"ufCall","name":"Q{MyFunctions}serialize","tailCall":"foreign","bSlot":"0","C":[{"N":"varRef","name":"Q{}in","slot":"0"},{"N":"str","val":""}]}]}]}]},{"N":"overridden"},{"N":"output","C":[{"N":"property","name":"method","value":"text"},{"N":"property","name":"Q{http:\/\/saxon.sf.net\/}stylesheet-version","value":"40"}]},{"N":"strip","C":[{"N":"s","test":"NE","prec":"1"}]},{"N":"decimalFormat"}],"Σ":"2718788a"}