diff --git a/src/saxon-js/SaxonJS2.js b/src/saxon-js/SaxonJS2.js index c86f53a..39cba5b 100644 --- a/src/saxon-js/SaxonJS2.js +++ b/src/saxon-js/SaxonJS2.js @@ -1,5 +1,5 @@ (function(){// Input 0 -var oa; +var na; // Input 1 Resources={regexCategories:{IsBasicLatin:[["0000","007F"]],"IsLatin-1Supplement":[["0080","00FF"]],"IsLatinExtended-A":[["0100","017F"]],"IsLatinExtended-B":[["0180","024F"]],IsIPAExtensions:[["0250","02AF"]],IsSpacingModifierLetters:[["02B0","02FF"]],IsCombiningDiacriticalMarks:[["0300","036F"]],IsGreek:[["0370","03FF"]],IsGreekandCoptic:[["0370","03FF"]],IsCyrillic:[["0400","04FF"]],IsCyrillicSupplementary:[["0500","052F"]],IsCyrillicSupplement:[["0500","052F"]],IsArmenian:[["0530","058F"]],IsHebrew:[["0590", "05FF"]],IsArabic:[["0600","06FF"]],IsSyriac:[["0700","074F"]],IsArabicSupplement:[["0750","077F"]],IsThaana:[["0780","07BF"]],IsNKo:[["07C0","07FF"]],IsSamaritan:[["0800","083F"]],IsMandaic:[["0840","085F"]],IsDevanagari:[["0900","097F"]],IsBengali:[["0980","09FF"]],IsGurmukhi:[["0A00","0A7F"]],IsGujarati:[["0A80","0AFF"]],IsOriya:[["0B00","0B7F"]],IsTamil:[["0B80","0BFF"]],IsTelugu:[["0C00","0C7F"]],IsKannada:[["0C80","0CFF"]],IsMalayalam:[["0D00","0D7F"]],IsSinhala:[["0D80","0DFF"]],IsThai:[["0E00", @@ -132,4767 +132,4422 @@ asin:[1],atan:[1],atan2:[2],cos:[1],exp:[1],exp10:[1],log:[1],log10:[1],pi:[0],p positiveInteger:[1],unsignedLong:[1],unsignedInt:[1],unsignedShort:[1],unsignedByte:[1],yearMonthDuration:[1],dayTimeDuration:[1],dateTimeStamp:[1],normalizedString:[1],token:[1],language:[1],Name:[1],NMTOKEN:[1],NCName:[1],ID:[1],IDREF:[1],ENTITY:[1],NMTOKENS:[1],ENTITIES:[1],IDREFS:[1],error:[1]},"http://saxonica.com/ns/interactiveXSLT":{apply:[2],call:[3],contains:[2],eval:[1],event:[0],get:[2],location:[0],page:[0],"query-params":[0],source:[0],style:[1],window:[0]}},elements:{accept:{},accumulator:{}, "accumulator-rule":{},"analyze-string":{},"apply-imports":{},"apply-templates":{},assert:{},attribute:{},"attribute-set":{},"break":{},"call-template":{},"catch":{},"character-map":{},choose:{},comment:{},"context-item":{},copy:{},"copy-of":{},"decimal-format":{},document:{},element:{},evaluate:{},expose:{},fallback:{},"for-each":{},"for-each-group":{},fork:{},"function":{},"global-context-item":{},"if":{},"import":{},include:{},iterate:{},key:{},map:{},"map-entry":{},"matching-substring":{},merge:{}, "merge-action":{},"merge-key":{},"merge-source":{},message:{},mode:{},namespace:{},"namespace-alias":{},"next-iteration":{},"next-match":{},"non-matching-substring":{},number:{},"on-completion":{},"on-empty":{},"on-non-empty":{},otherwise:{},output:{},"output-character":{},override:{},"package":{},param:{},"perform-sort":{},"preserve-space":{},"processing-instruction":{},"result-document":{},sequence:{},sort:{},"source-document":{},"strip-space":{},stylesheet:{},template:{},text:{},transform:{},"try":{}, -"use-package":{},"value-of":{},variable:{},when:{},"where-populated":{},"with-param":{}},compiler:{N:"package",when:"2023-10-13T11:54:43.458948+01:00",id:"0",version:"30",packageVersion:"1",saxonProduct:"SAXON-EE",saxonVersion:"11.6",buildDateTime:"2023-10-13T11:54:43.459085+01:00",target:"JS",targetVersion:"2",relocatable:"true",implicit:"true",C:[{N:"co",id:"0",binds:"",C:[{N:"function",name:"Q{MyTypes}makeOptional",line:"193",module:"sequenceType.xsl",eval:"8",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg", -name:"Q{}type",as:"1AS"},{N:"fn",role:"body",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"196",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"^1"},{N:"str",val:"?"},{N:"str",val:""}]},{N:"str",val:"^\\+"},{N:"str",val:"*"},{N:"str",val:""}]}]}]},{N:"co",id:"1",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.ANY_ITEM_TYPE",as:"1AS",line:"160",module:"type.xsl",visibility:"PRIVATE", -flags:"s",C:[{N:"str",val:"item()"}]}]},{N:"co",id:"2",binds:"3 3",C:[{N:"template",name:"Q{}process-decimal-format",flags:"os",as:"*NA",line:"73",module:"decimal-format.xsl",slots:"0",C:[{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"76",C:[{N:"filter",flags:"b",C:[{N:"except",op:"except",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{http://ns.saxonica.com/xslt/export}*,NA nQ{}name]"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"matches",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:":"},{N:"str",val:""}]}]}]},{N:"compAtt",line:"89",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"fn",role:"select", -name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"infinity"},{N:"str",val:"NaN"}]},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"data",C:[{N:"dot",type:"1NA"}]},{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"string-length",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:string-length",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"0",eval:"0 16 16",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"str",val:"Value must be a single character - value supplied is '"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"'"}]},{N:"dot",type:"1NA"}]}]}]},{N:"and",op:"and",C:[{N:"compareToString",op:"eq",val:"zero-digit",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"str",val:"0\u0660\u06f0\u0966\u09e6\u0a66\u0ae6\u0b66\u0be6\u0c66\u0ce6\u0d66\u0e50\u0ed0\u0f20\u1040\u17e0\u1810\u1946\u19d0\uff10\ud801\udca0\ud835\udfce\ud835\udfd8\ud835\udfe2\ud835\udfec\ud835\udff6"}, -{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||fn:contains",C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",eval:"0 16 16",C:[{N:"str",val:"XTSE1295"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:decimal-format/@zero-digit must be a digit character with value zero - value supplied is codepoint '"},{N:"fn",name:"string-to-codepoints",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:string-to-codepoints",C:[{N:"dot", -type:"1NA"}]}]}]},{N:"str",val:"'"}]},{N:"dot",type:"1NA"}]}]}]},{N:"true"},{N:"fn",name:"string-to-codepoints",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:string-to-codepoints",C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"co",id:"4",binds:"",C:[{N:"function",name:"Q{MyFunctions}is-last",line:"257",module:"lib.xsl",eval:"8",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}context",as:"*"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"259",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"axis",name:"following-sibling",nodeTest:"NE"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}fallback,NE nQ{http://www.w3.org/1999/XSL/Transform}catch]"}]}]}]}]}]},{N:"co",id:"5",binds:"",C:[{N:"function",name:"Q{MyTypes}alphaRelationship",line:"170",module:"type.xsl",eval:"16", -flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}R",as:"1AS"},{N:"arg",name:"Q{}S",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"185",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"0"},{N:"varRef",name:"Q{}S",slot:"1"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"0"},{N:"varRef",name:"Q{}S",slot:"1"}]}, -{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"1"},{N:"varRef",name:"Q{}R",slot:"0"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]},{N:"co",id:"6",binds:"",C:[{N:"globalVariable",name:"Q{}XTSE0010",as:"1AQ",line:"340",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0010"}]}]},{N:"co",id:"7",binds:"",C:[{N:"globalVariable",name:"Q{}XSL-ignore",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}ignore c~untyped", -line:"131",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"elem",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"132",name:"xsl:ignore",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"empty"}]}]}]},{N:"co",id:"8",binds:"",C:[{N:"function",name:"Q{MyTypes}cardinalityCode",line:"46",module:"type.xsl",eval:"16",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}indic",as:"?AS"}, -{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"66",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"*"}]},{N:"str",val:"Z1M"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"+"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}indic",slot:"0"}]}]}, -{N:"str",val:"1"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"?"}]},{N:"str",val:"Z1"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]}]}]},{N:"co",id:"9",binds:"",C:[{N:"globalVariable",name:"Q{}ST.ANY_SEQUENCE",as:"1FM k[AS] v[1AS]",line:"9",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str", -val:"p"},{N:"str",val:""}]}]}]},{N:"co",id:"10",binds:"",C:[{N:"globalVariable",name:"Q{}roleMap",as:"1FM k[AS] v[1AS]",line:"1779",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"map",size:"9",C:[{N:"str",val:"for-each-source"},{N:"str",val:"forEachStream"},{N:"str",val:"match"},{N:"str",val:"match"},{N:"str",val:"initial-value"},{N:"str",val:"init"},{N:"str",val:"with-params"},{N:"str",val:"wp"},{N:"str",val:"context-item"},{N:"str",val:"cxt"},{N:"str",val:"for-each-item"},{N:"str",val:"forEachItem"}, -{N:"str",val:"select"},{N:"str",val:"select"},{N:"str",val:"xpath"},{N:"str",val:"xpath"},{N:"str",val:"namespace-context"},{N:"str",val:"nsCxt"}]}]}]},{N:"co",id:"11",binds:"12 13",C:[{N:"function",name:"Q{MyTypes}cardCheck",line:"964",module:"type.xsl",eval:"9",flags:"pU",as:"1NE",slots:"4",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}reqCard",as:"1ADI"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"970",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{MyTypes}card-symbols",bSlot:"0"},{N:"varRef",name:"Q{}reqCard",slot:"1"}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false", -bSlot:"1",eval:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"slash",line:"971",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"971",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"14",binds:"",C:[{N:"function",name:"Q{MyFunctions}timestamp",line:"22",module:"lib.xsl",eval:"8",flags:"pU",as:"1AMP",slots:"0",C:[{N:"ifCall",role:"body", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"23",name:"Q{http://saxon.sf.net/}timestamp",type:"1AMP"}]}]},{N:"co",id:"15",binds:"",C:[{N:"function",name:"Q{MyFunctions}lastCommon",line:"791",module:"type.xsl",eval:"16",flags:"pU",as:"1AS",slots:"5",C:[{N:"arg",name:"Q{}set1",as:"*AS"},{N:"arg",name:"Q{}set2",as:"*AS"},{N:"arg",name:"Q{}default",as:"1AS"},{N:"treat", -role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"796",as:"AS",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"data",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"iterate",C:[{N:"varRef",role:"select",name:"Q{}set1",slot:"0"},{N:"params",role:"params",line:"797",C:[{N:"param",name:"Q{}common", -slot:"3",C:[{N:"varRef",role:"select",name:"Q{}default",slot:"2"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param",line:"798",name:"Q{}this2",slot:"4",C:[{N:"varRef",role:"select",name:"Q{}set2",slot:"1"},{N:"supplied",role:"conversion",slot:"4"}]}]},{N:"varRef",role:"on-completion",line:"799",name:"Q{}common",slot:"3"},{N:"choose",role:"action",line:"802",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1AS"},{N:"atomSing", -card:"?",diag:"1|1||eq",C:[{N:"first",C:[{N:"varRef",name:"Q{}this2",slot:"4"}]}]}]},{N:"nextIteration",line:"804",C:[{N:"withParam",name:"Q{}common",as:"1",slot:"3",C:[{N:"dot",type:"1AS"}]},{N:"withParam",name:"Q{}this2",slot:"4",C:[{N:"tail",line:"805",start:"2",C:[{N:"varRef",name:"Q{}this2",slot:"4"}]}]}]},{N:"true"},{N:"sequence",line:"809",C:[{N:"varRef",name:"Q{}common",slot:"3"},{N:"break"}]}]}]}]}]}]}]}]}]},{N:"co",id:"16",binds:"3",C:[{N:"function",name:"Q{MyFunctions}check-iterate",line:"138", -module:"repetition.xsl",eval:"4",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}instruction",as:"*"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"140",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]},{N:"axis",name:"ancestor", -nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"ufCall",line:"141",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0",eval:"0 16 16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1N"}]}]},{N:"str",val:" can only be the descendant of xsl:iterate"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"check",card:"1", -diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]}]}]}]}]}]}]},{N:"co",id:"17",binds:"",C:[{N:"function",name:"Q{MyTypes}cardUnion",line:"140",module:"type.xsl",eval:"16",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}c1",as:"1AS"},{N:"arg",name:"Q{}c2",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"144",C:[{N:"vc",op:"eq",onEmpty:"0", -comp:"CCC",C:[{N:"varRef",name:"Q{}c1",slot:"0"},{N:"varRef",name:"Q{}c2",slot:"1"}]},{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|t:cardUnion#2",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"varRef",name:"Q{}c1",slot:"0"}]}]},{N:"gc",line:"145",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}c1",slot:"0"},{N:"varRef",name:"Q{}c2",slot:"1"}]},{N:"str",val:"*"}]},{N:"str",val:"*"},{N:"gc",line:"146",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}c1",slot:"0"},{N:"varRef", -name:"Q{}c2",slot:"1"}]},{N:"str",val:"+"}]},{N:"choose",line:"153",C:[{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}c1",slot:"0"},{N:"varRef",name:"Q{}c2",slot:"1"}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"?"}]}]},{N:"str",val:"*"},{N:"true"},{N:"str",val:"+"}]},{N:"gc",line:"155",op:"=",card:"M:N",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}c1",slot:"0"},{N:"varRef",name:"Q{}c2",slot:"1"}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str", -val:"?"}]}]},{N:"str",val:"?"},{N:"true"},{N:"str",val:"1"}]}]}]},{N:"co",id:"18",binds:"13",C:[{N:"function",name:"Q{MyTypes}cardCheck",line:"954",module:"type.xsl",eval:"9",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"958",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{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{}requiredType",slot:"1"},{N:"str",val:"o"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"1"}]}]},{N:"att", -name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"959",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"959",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"19",binds:"13",C:[{N:"function",name:"Q{MyTypes}cast",line:"847",module:"type.xsl",eval:"16",flags:"pU",as:"1NE",slots:"4",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"}, -{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"851","var":"Q{}singleType",slot:"3",eval:"8",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"851",name:"Q{}type",slot:"1"},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]},{N:"check",line:"853",card:"1",diag:"5|0|XTTE0780|t:cast#3",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"choose",line:"855", -C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"p"}]}]},{N:"str",val:"AO"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE n*:dec,NE n*:int],NE n*:flt]"}]}]},{N:"elem",line:"856",name:"dbl",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l", -C:[{N:"str",val:"1AO"}]},{N:"axis",line:"857",name:"attribute",nodeTest:"NA nQ{}val"},{N:"axis",line:"857",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"and",line:"860",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"p"}]}]},{N:"str",val:"AF"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE n*:dec,NE n*:int],NE n*:dbl]"}]}]}, -{N:"elem",line:"861",name:"flt",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AF"}]},{N:"axis",line:"862",name:"attribute",nodeTest:"NA nQ{}val"},{N:"axis",line:"862",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"and",line:"865",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type", -slot:"1"},{N:"str",val:"p"}]}]},{N:"str",val:"AD"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE n*:int"}]}]},{N:"elem",line:"866",name:"dec",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AD"}]},{N:"axis",line:"867",name:"attribute",nodeTest:"NA nQ{}val"},{N:"axis",line:"867",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"true"},{N:"elem",line:"871",name:"cast",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"varRef",name:"Q{}singleType",slot:"3"}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"ae"}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"axis",line:"872",name:"attribute",nodeTest:"NA nQ{}role"},{N:"dot",line:"872",type:"1NE"}]}]}]}]}]}]}]}]},{N:"co",id:"20",binds:"21",C:[{N:"function",name:"Q{MyFunctions}closure", -line:"597",module:"XSLT-SEF-compiler.xsl",eval:"4",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}root",as:"1AS"},{N:"arg",name:"Q{}dependencies",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"600",C:[{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"foreign",bSlot:"0",eval:"1 1 1 0",C:[{N:"varRef",name:"Q{}root", -slot:"0"},{N:"varRef",name:"Q{}root",slot:"0"},{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"empty"}]}]}]}]},{N:"co",id:"22",binds:"",C:[{N:"function",name:"Q{MyFunctions}precedence-sort",line:"652",module:"XSLT-SEF-compiler.xsl",eval:"4",flags:"pU",as:"*NE",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*NE"},{N:"sort",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"654",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"0"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"co",id:"21",binds:"21",C:[{N:"function",name:"Q{MyFunctions}closure", -line:"604",module:"XSLT-SEF-compiler.xsl",eval:"4",flags:"pU",as:"*",slots:"7",C:[{N:"arg",name:"Q{}root",as:"1AS"},{N:"arg",name:"Q{}current",as:"1AS"},{N:"arg",name:"Q{}dependencies",as:"1FM"},{N:"arg",name:"Q{}found",as:"*AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"609","var":"Q{}next",slot:"4",eval:"3",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"varRef",name:"Q{}dependencies",slot:"2"},{N:"varRef",name:"Q{}current",slot:"1"}]},{N:"let",line:"610","var":"Q{}depends",as:"*A",slot:"5",eval:"4",C:[{N:"fn",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}found",slot:"3"},{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"varRef",name:"Q{}next",slot:"4"}]}]}]},{N:"sequence",line:"611",C:[{N:"choose",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{}next",slot:"4"}]},{N:"varRef",name:"Q{}root",slot:"0"}]},{N:"fn",line:"614",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0640"},{N:"fn",name:"concat",C:[{N:"str",val:"Circular reference to attribute set "},{N:"varRef",name:"Q{}root",slot:"0"},{N:"str",val:" through attribute sets "},{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}found",slot:"3"},{N:"data",diag:"0|0||fn:string-join",C:[{N:"varRef",name:"Q{}next",slot:"4"}]}]}, -{N:"str",val:","}]}]}]}]},{N:"choose",line:"622",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}next",slot:"4"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*AS",slot:"6",eval:"4",C:[{N:"treat",as:"AS",diag:"0|3||f:closure",C:[{N:"cvUntyped",to:"AS",C:[{N:"varRef",name:"Q{}depends",slot:"5"}]}]},{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}next",slot:"4"},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false", -bSlot:"0",eval:"1 16 1 1",C:[{N:"varRef",name:"Q{}root",slot:"0"},{N:"treat",as:"AS",diag:"0|1||f:closure",C:[{N:"check",card:"1",diag:"0|1||f:closure",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||f:closure",C:[{N:"dot"}]}]}]}]},{N:"varRef",name:"Q{}dependencies",slot:"2"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"}]}]}]}]}]},{N:"true"},{N:"varRef",name:"Q{}found",slot:"3"}]}]}]}]}]}]},{N:"co",id:"23",binds:"",C:[{N:"mode",onNo:"TC",flags:"dW",patternSlots:"0",C:[{N:"templateRule", -prec:"0",prio:"0.5",seq:"69",rank:"0",minImp:"0",slots:"0",matches:"NA nQ{}standalone",flags:"s",line:"517",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NA nQ{}standalone"},{N:"compareToString",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"517",op:"eq",val:"omit",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot", -type:"1NA nQ{}standalone"}]}]}]}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"518",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}standalone",flags:"a"}]},{N:"str",role:"select",val:"omit"}]}]}]}]},{N:"co",id:"24",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}RPAREN",as:"1ADI",line:"16",module:"XSLT-value-template.xsl", -visibility:"PRIVATE",C:[{N:"int",val:"41"}]}]},{N:"co",id:"25",binds:"",C:[{N:"globalParam",name:"Q{}staticParameters",as:"1FM k[AQ]",line:"174",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",C:[{N:"map",size:"0"}]}]},{N:"co",id:"26",binds:"",C:[{N:"function",name:"Q{MyFunctions}isTopLevel",line:"767",module:"normalize.xsl",eval:"8",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"slash",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"769",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]},{N:"co",id:"27",binds:"3",C:[{N:"function",name:"Q{MyFunctions}make-namespace-alias-map",line:"1873",module:"XSLT-SEF-compiler.xsl",eval:"8",flags:"pU",as:"*",slots:"8",C:[{N:"arg",name:"Q{}root",as:"1NE"},{N:"ifCall", -role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1880",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"slash",role:"select",line:"1880",simple:"1",C:[{N:"varRef",name:"Q{}root", -slot:"0"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"let",role:"key",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -"var":"Q{}prefix",as:"1AS",slot:"6",eval:"16",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}stylesheet-prefix",chk:"0"}]}]},{N:"let","var":"Q{}element",as:"1NE",slot:"7",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"},{N:"choose",module:"namespaces.xsl",line:"177",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}prefix",slot:"6"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"7"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"6"},{N:"varRef",name:"Q{}element",slot:"7"}]}]}]}]}, -{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"1883","var":"Q{}highest-precedence",as:"1AS",slot:"1",eval:"16",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|highest-precedence",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"let",line:"1885","var":"Q{}active-declarations",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias", -slot:"2",eval:"8",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active-declarations",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{N:"varRef",name:"Q{}highest-precedence",slot:"1"}]}]}]},{N:"let",line:"1887","var":"Q{}result-uris",slot:"3",eval:"4",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}active-declarations",slot:"2"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -"var":"Q{}prefix",as:"1AS",slot:"4",eval:"16",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}result-prefix",chk:"0"}]}]},{N:"let","var":"Q{}element",as:"1NE",slot:"5",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"},{N:"choose",module:"namespaces.xsl",line:"177",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"5"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"4"},{N:"varRef",name:"Q{}element",slot:"5"}]}]}]}]}]}, -{N:"sequence",line:"1889",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"varRef",name:"Q{}result-uris",slot:"3"}]}]}]},{N:"ufCall",line:"1892",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",eval:"0 16 16",C:[{N:"str",val:"XTSE0810"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple conflicting declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" for namespace "},{N:"currentGroupingKey"}]},{N:"check", -card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]},{N:"ifCall",line:"1896",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:"currentGroupingKey"}]},{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}active-declarations",slot:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}result-prefix"}]}]},{N:"lastOf",C:[{N:"varRef",name:"Q{}result-uris",slot:"3"}]}]}]}]}]}]}]}]}]}, -{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"co",id:"28",binds:"13",C:[{N:"function",name:"Q{MyTypes}convert",line:"921",module:"type.xsl",eval:"16",flags:"pU",as:"1NE",slots:"4",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"925","var":"Q{}t",slot:"3",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"check",line:"926",card:"1",diag:"5|0|XTTE0780|t:convert#3",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"choose",line:"929",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef", -name:"Q{}type",slot:"1"},{N:"str",val:"p"}]}]},{N:"str",val:"AO"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE n*:dec,NE n*:int],NE n*:flt]"}]}]},{N:"elem",line:"930",name:"dbl",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AO"}]},{N:"axis",line:"931",name:"attribute",nodeTest:"NA nQ{}val"},{N:"axis",line:"931",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"and",line:"934",op:"and",C:[{N:"vc", -op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"p"}]}]},{N:"str",val:"AD"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE n*:int"}]}]},{N:"elem",line:"935",name:"dec",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AD"}]},{N:"axis",line:"936",name:"attribute", -nodeTest:"NA nQ{}val"},{N:"axis",line:"936",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"true"},{N:"elem",line:"940",name:"convert",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"to",flags:"l",C:[{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{}type",slot:"1"},{N:"str",val:"p"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}t",slot:"3"}]}, -{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"choose",line:"941",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"p"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"AO"},{N:"str",val:"AF"}]}]},{N:"att",line:"942",name:"flags",flags:"l",C:[{N:"str",val:"p"}]}]},{N:"axis",line:"944",name:"attribute",nodeTest:"NA nQ{}role"},{N:"dot", -line:"944",type:"1NE"}]}]}]}]}]}]}]}]},{N:"co",id:"29",binds:"",C:[{N:"function",name:"Q{MyTypes}withCardinality",line:"317",module:"type.xsl",eval:"8",flags:"pU",as:"1FM",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}indicator",as:"1AS"},{N:"ifCall",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM", -C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"o"},{N:"varRef",name:"Q{}indicator",slot:"1"}]},{N:"str",val:"code"}]}]}]},{N:"co",id:"30",binds:"",C:[{N:"globalVariable",name:"Q{}errInfo",as:"1AQ",line:"344",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"info"}]}]},{N:"co",id:"31",binds:"13 9",C:[{N:"globalVariable",name:"Q{}SJ.ANY_SEQUENCE", -as:"1AS",line:"43",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"43",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"1"}]}]}]},{N:"co",id:"32",binds:"",C:[{N:"template",name:"Q{}check-use-when",flags:"os",as:"1AB",line:"1097",module:"static.xsl",slots:"7",C:[{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1098",card:"1",diag:"7|0|XTTE0505|check-use-when",C:[{N:"sequence",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1099",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1100","var":"Q{}use-expression",as:"1AS",slot:"2",eval:"16",C:[{N:"choose",line:"1102",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]},{N:"treat",line:"1103",as:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|use-expression", -C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]}]}]}]}]},{N:"true"},{N:"check",line:"1106",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}use-when",chk:"0"}]}]}]}]},{N:"let",line:"1110","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",eval:"9",C:[{N:"let",line:"1111","var":"Q{}dot",as:"1",slot:"4",eval:"16",C:[{N:"dot",flags:"a"},{N:"let",line:"1115","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE",slot:"5",eval:"13",C:[{N:"treat",as:"NE",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}dot",slot:"4"}]},{N:"compElem",line:"1112",C:[{N:"str",role:"name",val:"dummy"}, -{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach",role:"content",line:"1113",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"treat",as:"NE",diag:"0|0||fn:in-scope-prefixes",C:[{N:"dot",flags:"a"}]}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"1115",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]}, -{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"5"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]}]},{N:"treat",line:"1123",as:"AB",diag:"7|0|XTTE0505|check-use-when",C:[{N:"cvUntyped",to:"AB",diag:"7|0|XTTE0505|check-use-when",C:[{N:"data",diag:"7|0|XTTE0505|check-use-when",C:[{N:"try",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath", -name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:base-uri",C:[{N:"dot",flags:"a"}]}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"withParam",name:"Q{}compileSyntax",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}errorsAsMessages", -as:"1AB",C:[{N:"false"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"1131",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Y"},{N:"treat",as:"AS",diag:"0|1||fn:error",C:[{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",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:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"let",line:"1136","var":"Q{}possibleCode",as:"1AS",slot:"6",eval:"8",C:[{N:"fn",name:"substring-before",C:[{N:"treat",as:"AS",diag:"0|0||fn:substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:substring-before",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]},{N:"choose", -line:"1143",C:[{N:"castable",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"error",C:[{N:"cast",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"substring-after",C:[{N:"treat",as:"AS",diag:"0|0||fn:substring-after",C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}, -{N:"str",val:" "}]}]},{N:"true"},{N:"fn",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:"treat",as:"AS",diag:"0|1||fn:error",C:[{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",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:"co",id:"33",binds:"34",C:[{N:"function",name:"Q{MyFunctions}normalize-boolean",line:"34",module:"normalize.xsl",eval:"8",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}input",as:"1"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"36",name:"string",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string", -tailCall:"false",bSlot:"0",eval:"16",C:[{N:"treat",as:"NA",diag:"0|0||f:boolean-string",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]},{N:"co",id:"35",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}LPAREN",as:"1ADI",line:"15",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"40"}]}]},{N:"co",id:"36",binds:"37",C:[{N:"function",name:"Q{MyFunctions}isKnownCollation",line:"18",module:"sorting.xsl",eval:"16",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}uri",as:"1AS"}, -{N:"or",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"21",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1705558790",bSlot:"0"},{N:"varRef",name:"Q{}uri",slot:"0"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}uri",slot:"0"},{N:"str",val:"http://www.w3.org/2013/collation/UCA"}]}]}]}]}, -{N:"co",id:"38",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_DOUBLE",as:"1FM k[AS] v[1AS]",line:"16",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"AO"}]}]}]},{N:"co",id:"39",binds:"40 40 40",C:[{N:"template",name:"Q{}sequence-constructor",flags:"os",as:"1",line:"86",module:"select-sequence.xsl",slots:"5",C:[{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"87",card:"1",diag:"7|0|XTTE0505|sequence-constructor",C:[{N:"sequence",C:[{N:"param",name:"Q{}xml-space-preserve",slot:"0",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|xml-space-preserve",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|xml-space-preserve",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|xml-space-preserve",C:[{N:"data",diag:"8|0|XTTE0590|xml-space-preserve",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"88",name:"Q{}attr", -slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"param",line:"89",name:"Q{}include-params",slot:"2",as:"1AB",C:[{N:"true",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|include-params",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|include-params",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|include-params",C:[{N:"data",diag:"8|0|XTTE0590|include-params",C:[{N:"supplied",slot:"2"}]}]}]}]}]}, -{N:"param",line:"90",name:"Q{}others",slot:"3",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|others",C:[{N:"supplied",slot:"3"}]}]},{N:"let",line:"96","var":"Q{}nodes",as:"*N",slot:"4",eval:"4",C:[{N:"union",op:"|",C:[{N:"except",line:"95",op:"except",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"union",line:"94",op:"|",C:[{N:"union",op:"|",C:[{N:"union",op:"|", -C:[{N:"filter",flags:"ib",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}include-params",slot:"2"}]}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]}]}]},{N:"filter",line:"92",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean",C:[{N:"fn", -name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]},{N:"choose",line:"98",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}nodes",slot:"4"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}others",slot:"3"}]}]},{N:"elem",line:"99",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"varRef",line:"100",name:"Q{}attr",slot:"1"}]},{N:"and",line:"103",op:"and",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}others",slot:"3"}]},{N:"compareToInt", -op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}nodes",slot:"4"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]}]},{N:"condSeq",line:"104",C:[{N:"applyT",mode:"Q{}sef",bSlot:"0",C:[{N:"varRef",role:"select",name:"Q{}nodes",slot:"4"},{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"105",name:"Q{}attr",slot:"1"}]}]},{N:"onEmpty",line:"108",C:[{N:"elem",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"varRef",line:"109",name:"Q{}attr", -slot:"1"}]}]}]},{N:"and",line:"113",op:"and",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}nodes",slot:"4"}]},{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}others",slot:"3"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]}]},{N:"condSeq",line:"114",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}others",slot:"3"},{N:"copy",line:"116",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}attr", -slot:"1"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"onEmpty",line:"120",C:[{N:"elem",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]},{N:"fn",line:"123",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}nodes",slot:"4"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"}]}]}]},{N:"elem",line:"124",name:"condSeq",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"125", -C:[{N:"varRef",name:"Q{}attr",slot:"1"},{N:"varRef",name:"Q{}others",slot:"3"},{N:"applyT",line:"126",mode:"Q{}sef",bSlot:"1",C:[{N:"varRef",role:"select",name:"Q{}nodes",slot:"4"}]}]}]},{N:"true"},{N:"elem",line:"130",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"131",C:[{N:"varRef",name:"Q{}attr",slot:"1"},{N:"varRef",name:"Q{}others",slot:"3"},{N:"applyT",line:"132",mode:"Q{}sef",bSlot:"2",C:[{N:"varRef",role:"select",name:"Q{}nodes",slot:"4"}]}]}]}]}]}]}]}]}]}, -{N:"co",id:"41",binds:"",C:[{N:"globalVariable",name:"Q{}codepoint.collation",as:"1AU",line:"25",module:"sorting.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"atomic",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint",type:"AU"}]}]},{N:"co",id:"42",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_ATOMIC",as:"1FM k[AS] v[1AS]",line:"13",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]}, -{N:"co",id:"43",binds:"",C:[{N:"function",name:"Q{MyFunctions}message-count",line:"26",module:"lib.xsl",eval:"8",flags:"pU",as:"1ADI",slots:"1",C:[{N:"arg",name:"Q{}code",as:"?AQ"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"28",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI",C:[{N:"varRef",name:"Q{}code",slot:"0"}]}]}]},{N:"co", -id:"34",binds:"3",C:[{N:"function",name:"Q{MyFunctions}boolean-string",line:"36",module:"lib.xsl",eval:"16",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}input",as:"1NA"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"1"},{N:"str",val:"yes"},{N:"str", -val:"true"}]},{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]},{N:"true"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"no"},{N:"str",val:"false"}]},{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]},{N:"false"},{N:"true"},{N:"treat",as:"AB",diag:"5|0|XTTE0780|f:boolean-string#1", -C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"cvUntyped",to:"AB",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"data",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",eval:"0 16 1",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}input",slot:"0"}]},{N:"str",val:"' is not a valid boolean keyword"}]},{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]}]}]}]}, -{N:"co",id:"44",binds:"34 45 3 31 27 46 47 47 3 3 48 3 49 3 40 3 45 3 40 3 50 50 3 40 51 52 53 40 51 20 3 3 54 51 3 40 51 3 3 55 40 51 40 14 53 56 57",C:[{N:"mode",name:"Q{}sef.top",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"5.0",seq:"325",rank:"8",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +"use-package":{},"value-of":{},variable:{},when:{},"where-populated":{},"with-param":{}},compiler:{N:"package",when:"2024-10-17T11:57:47.897041+01:00",expiry:"2025-08-14",id:"0",version:"30",packageVersion:"1",saxonProduct:"SAXON-EE",saxonVersion:"12.4",buildDateTime:"2024-10-17T11:57:47.897224+01:00",target:"JS",targetVersion:"2",relocatable:"true",implicit:"true",C:[{N:"co",id:"0",binds:"1 1",C:[{N:"function",name:"Q{MyTypes}unmarshalType0",line:"74",module:"sequenceType.xsl",flags:"pU",as:"1AS", +slots:"3",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"convert",role:"body",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"78",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|t:unmarshalType0#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|t:unmarshalType0#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"valueOf",C:[{N:"fn",name:"concat", +C:[{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"o"}]},{N:"str",val:"1"}]}]}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]}]}]},{N:"str",val:" "}]}]},{N:"forEach",line:"79",C:[{N:"filter",flags:"b",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}type", +slot:"0"}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"literal",count:"2",C:[{N:"str",val:"o"},{N:"str",val:"p"}]},{N:"dot",type:"1A"}]}]}]},{N:"let",line:"80","var":"Q{}key",as:"1",slot:"1",C:[{N:"dot",type:"1A"},{N:"let",line:"81","var":"Q{}value",slot:"2",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"varRef",name:"Q{}key",slot:"1"}]},{N:"choose", +line:"84",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"literal",count:"3",C:[{N:"str",val:"n"},{N:"str",val:"c"},{N:"str",val:"t"}]},{N:"varRef",name:"Q{}key",slot:"1"}]},{N:"valueOf",line:"94",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}key",slot:"1"},{N:"choose",C:[{N:"instance",of:"1FM",C:[{N:"varRef",name:"Q{}value",slot:"2"}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}value", +slot:"2"},{N:"str",val:"code"}]}]},{N:"true"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}value",slot:"2"}]}]}]},{N:"str",val:" "}]}]},{N:"gc",line:"96",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"literal",count:"4",C:[{N:"str",val:"k"},{N:"str",val:"r"},{N:"str",val:"v"},{N:"str",val:"e"}]},{N:"varRef",name:"Q{}key",slot:"1"}]},{N:"valueOf",line:"97",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"varRef",name:"Q{}key",slot:"1"},{N:"str",val:"["}]},{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"treat",as:"FM",diag:"0|0||t:unmarshalType",C:[{N:"check",card:"1",diag:"0|0||t:unmarshalType",C:[{N:"varRef",name:"Q{}value",slot:"2"}]}]}]}]},{N:"str",val:"] "}]}]},{N:"gc",line:"99",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"literal",count:"2",C:[{N:"str",val:"a"},{N:"str",val:"u"}]},{N:"varRef",name:"Q{}key", +slot:"1"}]},{N:"sequence",line:"102",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}key",slot:"1"},{N:"str",val:"["}]}]},{N:"valueOf",line:"103",C:[{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"choose",line:"101",C:[{N:"instance",of:"1FA",C:[{N:"varRef",name:"Q{}value",slot:"2"}]},{N:"lookupAll",C:[{N:"varRef",name:"Q{}value",slot:"2"}]},{N:"true"},{N:"varRef",name:"Q{}value",slot:"2"}]},{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"1",C:[{N:"treat",as:"FM", +diag:"0|0||t:unmarshalType",C:[{N:"dot"}]}]}]},{N:"str",val:","}]}]},{N:"valueOf",line:"104",C:[{N:"str",val:"] "}]}]}]}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]},{N:"co",id:"2",binds:"1",C:[{N:"function",name:"Q{MyTypes}cast",line:"847",module:"type.xsl",flags:"pU",as:"1NE",slots:"4",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"851","var":"Q{}singleType",slot:"3",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"851",name:"Q{}type",slot:"1"},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]},{N:"check",line:"853",card:"1",diag:"5|0|XTTE0780|t:cast#3",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"choose",line:"854",C:[{N:"and",line:"855",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"p"}]}]},{N:"str", +val:"AO"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE n*:dec,NE n*:int],NE n*:flt]"}]}]},{N:"elem",line:"856",name:"dbl",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AO"}]},{N:"axis",line:"857",name:"attribute",nodeTest:"NA nQ{}val"},{N:"axis",line:"857",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"and",line:"860",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"p"}]}]},{N:"str",val:"AF"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE n*:dec,NE n*:int],NE n*:dbl]"}]}]},{N:"elem",line:"861",name:"flt",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AF"}]},{N:"axis",line:"862",name:"attribute",nodeTest:"NA nQ{}val"},{N:"axis",line:"862",name:"attribute", +nodeTest:"NA nQ{}role"}]}]},{N:"and",line:"865",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"p"}]}]},{N:"str",val:"AD"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE n*:int"}]}]},{N:"elem",line:"866",name:"dec",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l", +C:[{N:"str",val:"1AD"}]},{N:"axis",line:"867",name:"attribute",nodeTest:"NA nQ{}val"},{N:"axis",line:"867",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"true"},{N:"elem",line:"871",name:"cast",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}singleType",slot:"3"}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"ae"}]},{N:"att",name:"diag",flags:"l", +C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"axis",line:"872",name:"attribute",nodeTest:"NA nQ{}role"},{N:"dot",line:"872",type:"1NE"}]}]}]}]}]}]}]}]},{N:"co",id:"3",binds:"4",C:[{N:"globalVariable",name:"Q{}standard.attributes",as:"*NA",line:"330",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"docOrder",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"330",intra:"0",C:[{N:"filter", +flags:"b",C:[{N:"slash",simple:"2",C:[{N:"gVarRef",name:"Q{}xslt.standard.attributes",bSlot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{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{}name"}]}]}]},{N:"str",val:"_"}]}]}]}]}]}]},{N:"co",id:"5",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_FLOAT", +as:"1FM k[AS] v[1AS]",line:"19",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AF"}]}]}]},{N:"co",id:"6",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_DOCUMENT",as:"1FM k[AS] v[1AS]",line:"30",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"ND"}]}]}]},{N:"co",id:"7",binds:"",C:[{N:"function",name:"Q{MyTypes}marshalType", +line:"187",module:"sequenceType.xsl",flags:"pmU",as:"1FM",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"treat",role:"body",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"189",as:"FM",diag:"5|0|XTTE0780|t:marshalType#1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}marshal-type",type:"1F",C:[{N:"varRef",name:"Q{}type",slot:"0"}]}]}]}]},{N:"co",id:"8",binds:"",C:[{N:"function",name:"Q{MyTypes}allowsZero",line:"127",module:"type.xsl", +flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"*"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"129",card:"1",diag:"5|0|XTTE0780|t:allowsZero#1",C:[{N:"vc",op:"ne",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"arith",op:"mod",calc:"a%a",C:[{N:"cvUntyped",to:"AO",C:[{N:"atomSing",card:"?",diag:"1|0||mod",C:[{N:"varRef",name:"Q{}cardinality", +slot:"0"}]}]},{N:"int",val:"2"}]},{N:"int",val:"0"}]}]}]}]},{N:"co",id:"9",binds:"1",C:[{N:"function",name:"Q{MyTypes}convert",line:"921",module:"type.xsl",flags:"pU",as:"1NE",slots:"4",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"925", +"var":"Q{}t",slot:"3",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"check",line:"926",card:"1",diag:"5|0|XTTE0780|t:convert#3",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"choose",line:"928",C:[{N:"and",line:"929",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type", +slot:"1"},{N:"str",val:"p"}]}]},{N:"str",val:"AO"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE n*:dec,NE n*:int],NE n*:flt]"}]}]},{N:"elem",line:"930",name:"dbl",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AO"}]},{N:"axis",line:"931",name:"attribute",nodeTest:"NA nQ{}val"},{N:"axis",line:"931",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"and",line:"934",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0", +comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"p"}]}]},{N:"str",val:"AD"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE n*:int"}]}]},{N:"elem",line:"935",name:"dec",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AD"}]},{N:"axis",line:"936",name:"attribute",nodeTest:"NA nQ{}val"}, +{N:"axis",line:"936",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"true"},{N:"elem",line:"940",name:"convert",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"to",flags:"l",C:[{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{}type",slot:"1"},{N:"str",val:"p"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}t",slot:"3"}]},{N:"att",name:"diag", +flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"choose",line:"941",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"p"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"AO"},{N:"str",val:"AF"}]}]},{N:"att",line:"942",name:"flags",flags:"l",C:[{N:"str",val:"p"}]}]},{N:"axis",line:"944",name:"attribute",nodeTest:"NA nQ{}role"},{N:"dot",line:"944",type:"1NE"}]}]}]}]}]}]}]}]}, +{N:"co",id:"10",binds:"11 11 11",C:[{N:"mode",name:"Q{}normalize-serialization-property",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"207",rank:"0",minImp:"0",slots:"0",matches:"NA",flags:"s",as:"1AS",line:"145",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"fn",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"146", +name:"string",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"208",part:"1",rank:"1",minImp:"0",slots:"9",matches:"NA nQ{}suppress-indentation",flags:"s",as:"1AS",line:"149",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}suppress-indentation"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"150","var":"Q{}decl", +as:"*N u[NE,ND]",slot:"3",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"151","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"?AS",slot:"4",flags:"l",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|3||f:EQName",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"3"}]}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"1NE i[NE,N u[NE,ND]]",slot:"5",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"3"}]},{N:"fn",name:"string-join",C:[{N:"forEach",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:"1NA",flags:"a"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"0",C:[{N:"dot",type:"1AS"},{N:"varRef", +name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"5"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"4"}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"208",part:"2",rank:"2",minImp:"0",slots:"9",matches:"NA nQ{}method",flags:"s",as:"1AS",line:"149",module:"output.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NA nQ{}method"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"149",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{}method"}]}]}]},{N:"str",val:":"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"150","var":"Q{}decl",as:"*N u[NE,ND]",slot:"6",C:[{N:"axis",name:"parent", +nodeTest:"N u[NE,ND]"},{N:"let",line:"151","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"?AS",slot:"7",flags:"l",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|3||f:EQName",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"6"}]}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"8", +flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"6"}]},{N:"fn",name:"string-join",C:[{N:"forEach",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:"1NA",flags:"a"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"1",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", +slot:"8"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"7"}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"208",rank:"1",minImp:"0",slots:"9",matches:"NA nQ{}cdata-section-elements",flags:"s",as:"1AS",line:"149",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}cdata-section-elements"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"150","var":"Q{}decl",as:"*N u[NE,ND]",slot:"0",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"151","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"?AS",slot:"1",flags:"l",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|3||f:EQName",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"0"}]}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"1NE i[NE,N u[NE,ND]]",slot:"2",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"0"}]},{N:"fn",name:"string-join",C:[{N:"forEach",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:"1NA",flags:"a"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"2",C:[{N:"dot",type:"1AS"},{N:"varRef", +name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"1"}]}]},{N:"str",val:" "}]}]}]}]}]}]}]},{N:"co",id:"12",binds:"",C:[{N:"function",name:"Q{MyFunctions}distinct-values-retaining-order",line:"459",module:"lib.xsl",flags:"pU",as:"*A",slots:"1",C:[{N:"arg",name:"Q{}in",as:"*A"},{N:"forEachGroup",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"461",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}in",slot:"0"},{N:"dot",role:"key",type:"1A"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"dot",role:"content",line:"462",type:"1A"}]}]}]},{N:"co",id:"13",binds:"",C:[{N:"globalVariable",name:"Q{}lre.attributes",as:"1NE n~attributeGroup c~untyped",line:"292",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"elem",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"293",name:"xs:attributeGroup",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"literal-result-element-attributes"}]},{N:"elem",line:"294",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-collation"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:uri-list"}]}]}]},{N:"elem", +line:"295",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-mode"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:default-mode-type"}]}]}]},{N:"elem",line:"296",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-validation"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:validation-strip-or-preserve"}]}, +{N:"att",name:"default",flags:"l",C:[{N:"str",val:"strip"}]}]}]},{N:"elem",line:"297",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"expand-text"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:yes-or-no"}]}]}]},{N:"elem",line:"298",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"extension-element-prefixes"}]}, +{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:prefixes"}]}]}]},{N:"elem",line:"299",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"exclude-result-prefixes"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:prefixes"}]}]}]},{N:"elem",line:"300",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema", +flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"xpath-default-namespace"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:anyURI"}]}]}]},{N:"elem",line:"301",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"inherit-namespaces"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type",flags:"l", +C:[{N:"str",val:"xsl:yes-or-no"}]},{N:"att",name:"default",flags:"l",C:[{N:"str",val:"yes"}]}]}]},{N:"elem",line:"302",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-attribute-sets"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:EQNames"}]},{N:"att",name:"default",flags:"l",C:[{N:"str",val:""}]}]}]},{N:"elem",line:"303",name:"xs:attribute", +nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-when"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:expression"}]}]}]},{N:"elem",line:"304",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"version"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att", +name:"type",flags:"l",C:[{N:"str",val:"xs:decimal"}]}]}]},{N:"elem",line:"305",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"type"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:EQName"}]}]}]},{N:"elem",line:"306",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str", +val:"validation"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:validation-type"}]}]}]}]}]}]}]},{N:"co",id:"14",binds:"",C:[{N:"function",name:"Q{MyFunctions}is-aliased-name",line:"572",module:"creating-new-nodes.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}original-name",as:"1AQ"},{N:"arg",name:"Q{}namespace-aliases",as:"1FM"},{N:"and",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"577",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"fn",line:"576",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"0"}]}]}]}]}]},{N:"co",id:"15",binds:"16 17 18 19 18",C:[{N:"mode",name:"Q{}select.or.sequence",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"4.0", +seq:"140",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"14",module:"select-sequence.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"14",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"15",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"applyT",line:"16",mode:"Q{}create.xpath",flags:"t",bSlot:"0",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"},{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"sequence",line:"17",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"3.0",seq:"141",rank:"3",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"22",module:"select-sequence.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"22",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"22",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"25",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"1"}]},{N:"att",name:"base",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE",flags:"a"},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]},{N:"fn", +name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"elem",line:"26",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"27",mode:"Q{}sef",bSlot:"2",C:[{N:"axis", +role:"select",name:"child",nodeTest:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.8",seq:"142",rank:"1",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"34",module:"select-sequence.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"34",name:"empty",C:[{N:"union",op:"|",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",name:"empty",C:[{N:"union",op:"|",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",name:"empty",C:[{N:"union",op:"|",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}, +{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",name:"empty",C:[{N:"union",op:"|",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"35",C:[{N:"fn",line:"36",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"elem",line:"37",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]}]},{N:"true"},{N:"elem",line:"40",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"1.5",seq:"145",rank:"0",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"69",module:"select-sequence.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"70",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"72",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"varRef",line:"73",name:"Q{}attr",slot:"0"}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"144",rank:"0",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"62",module:"select-sequence.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", +test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"62",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"63",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA", +C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"callT",line:"65",name:"Q{}sequence-constructor",bSlot:"3",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"varRef",line:"66",name:"Q{}attr",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"143",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sequence",flags:"s",as:"1NE",line:"46",module:"select-sequence.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sequence"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"choose",line:"48",C:[{N:"fn", +line:"49",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"elem",line:"50",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]},{N:"true"},{N:"elem",line:"53",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"54",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"56",mode:"Q{}sef",bSlot:"4",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]}]}]}]}]},{N:"co",id:"20",binds:"21 22 21 22", +C:[{N:"template",name:"Q{}compile-decimal-formats",flags:"os",as:"*NE",line:"19",module:"decimal-format.xsl",slots:"9",C:[{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"21","var":"Q{}named-decimal-formats",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}decimal-format",slot:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",line:"20",simple:"1",C:[{N:"treat",as:"N", +diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}decimal-format"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"let",line:"22","var":"Q{}compiled-formats",as:"+NE",slot:"1",C:[{N:"sequence",line:"24",C:[{N:"forEach",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}named-decimal-formats",slot:"0"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"25","var":"Q{}format-name",as:"1",slot:"2",C:[{N:"dot",type:"1A"},{N:"elem",line:"26",name:"decimalFormat",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}format-name",slot:"2"}]}]},{N:"let",line:"27","var":"Q{}processed",as:"*NE",slot:"3",C:[{N:"forEach",line:"29",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current500785456", +as:"1",slot:"4",C:[{N:"dot",type:"1A"},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}named-decimal-formats",slot:"0"},{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current500785456",slot:"4"}]}]}]},{N:"elem",line:"30",name:"dF",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"31",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}, +{N:"callT",line:"32",name:"Q{}process-decimal-format",bSlot:"0"}]}]}]},{N:"forEachGroup",line:"36",algorithm:"by",C:[{N:"conditionalSort",role:"select",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}processed",slot:"3"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}processed",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str", +role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"37","var":"Q{}property",as:"*A",slot:"5",C:[{N:"currentGroupingKey"},{N:"let",line:"39","var":"Q{}highest-precedence",as:"?AS",slot:"6",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}, +{N:"let",line:"41","var":"Q{}active",slot:"7",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"6"}]}]},{N:"sequence",line:"43",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values", +C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"varRef",name:"Q{}active",slot:"7"}]}]}]}]},{N:"ufCall",line:"46",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE1290"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:decimal-format "},{N:"varRef",name:"Q{}format-name",slot:"2"}]},{N:"str",val:" contains conflicting values for property "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef", +name:"Q{}property",slot:"5"}]}]},{N:"str",val:" at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"48",C:[{N:"varRef",name:"Q{}active",slot:"7"}]}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"53",name:"decimalFormat",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"forEach",line:"55",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot", +flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}decimal-format"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"callT",line:"56",name:"Q{}process-decimal-format",bSlot:"2"}]}]}]},{N:"treat",line:"70",as:"NE",diag:"7|0|XTTE0505|compile-decimal-formats",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}compiled-formats",slot:"1"},{N:"let","var":"Q{}picture-chars",slot:"8",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}decimal-separator"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-separator"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}percent"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}per-mille"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}zero-digit"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}digit"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}pattern-separator"}]},{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values", +C:[{N:"varRef",name:"Q{}picture-chars",slot:"8"}]}]}]},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}picture-chars",slot:"8"}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"3",C:[{N:"str",val:"XTSE1300"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:decimal-format "},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" contains the same symbol used in two different picture character roles"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}decimalFormat c~untyped"}]}, +{N:"true"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}decimalFormat c~untyped"}]}]}]}]}]}]}]}]},{N:"co",id:"23",binds:"24",C:[{N:"function",name:"Q{MyFunctions}closure",line:"597",module:"XSLT-SEF-compiler.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}root",as:"1AS"},{N:"arg",name:"Q{}dependencies",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"600",C:[{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}root",slot:"0"},{N:"varRef",name:"Q{}root",slot:"0"},{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"empty"}]}]}]}]},{N:"co",id:"25",binds:"26 26 25 25 25 1",C:[{N:"function",name:"Q{MyTypes}displayType",line:"120",module:"sequenceType.xsl",flags:"pU",as:"1AS",slots:"4",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"123","var":"Q{}alphaCode",slot:"1",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]},{N:"convert",line:"125",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|t:displayType#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|t:displayType#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",line:"126",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"o"}]}]},{N:"str",val:"0"}]},{N:"valueOf",line:"126",flags:"S",C:[{N:"str",val:"empty-sequence()"}]},{N:"vc",line:"127",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"valueOf",line:"127",flags:"S",C:[{N:"str",val:"item()"}]},{N:"fn",line:"128", +name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"A"}]},{N:"let",line:"130","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*A",slot:"2",flags:"l",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"slash",C:[{N:"filter", +flags:"b",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1033972644",bSlot:"0"},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"},{N:"attVal",name:"Q{}p"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"fn",line:"132",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"N"}]},{N:"let",line:"141","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"*A",slot:"3",flags:"l",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"gVarRef", +name:"Q{http://saxon.sf.net/generated-variable}gg1033972644",bSlot:"1"},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"3"},{N:"attVal",name:"Q{}p"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"str",val:"("}]},{N:"choose",C:[{N:"instance",of:"1FM",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"n"}]}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat", +C:[{N:"lookup",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"n"}]},{N:"str",val:"code"}]}]},{N:"true"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"n"}]}]}]}]},{N:"str",val:")"}]}]},{N:"and",line:"143",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str", +val:"FA"}]},{N:"fn",name:"empty",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"v"}]}]}]},{N:"str",val:"array(*)"},{N:"vc",line:"146",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:"FA"}]},{N:"fn",line:"147",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"array("},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"2", +C:[{N:"treat",as:"FM",diag:"0|0||t:displayType",C:[{N:"check",card:"1",diag:"0|0||t:displayType",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"v"}]}]}]}]}]},{N:"str",val:")"}]},{N:"and",line:"149",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:"FA"}]},{N:"fn",name:"empty",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type", +slot:"0"},{N:"str",val:"v"}]}]}]},{N:"str",val:"array(*)"},{N:"vc",line:"152",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:"FM"}]},{N:"str",val:"map(*)"},{N:"vc",line:"156",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str", +val:"F"}]},{N:"choose",line:"164",C:[{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"a"}]}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"(function("},{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"a"}]},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"3",C:[{N:"treat",as:"FM",diag:"0|0||t:displayType",C:[{N:"dot"}]}]}]}, +{N:"str",val:","}]}]},{N:"str",val:") as "}]},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"4",C:[{N:"treat",as:"FM",diag:"0|0||t:displayType",C:[{N:"check",card:"1",diag:"0|0||t:displayType",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"r"}]}]}]}]}]},{N:"str",val:")"}]},{N:"true"},{N:"str",val:"function(*)"}]},{N:"vc",line:"166",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq", +C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:"E"}]},{N:"str",val:"empty-sequence()"},{N:"true"},{N:"ufCall",line:"171",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"5",C:[{N:"varRef",name:"Q{}type",slot:"0"}]}]},{N:"valueOf",line:"174",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"filter",flags:"b",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"o"}]},{N:"and",op:"and",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:"dot"}]},{N:"str",val:"1"}]},{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:"dot"}]},{N:"str",val:"0"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]}]},{N:"co",id:"27",binds:"",C:[{N:"mode",name:"Q{}roleMap",onNo:"FF",flags:"W",patternSlots:"0",C:[{N:"templateRule", +prec:"0",prio:"-0.5",seq:"406",rank:"0",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"1815",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"396",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}match",flags:"s",line:"1785",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}match"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1786",name:"role",C:[{N:"str",val:"match"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"400",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}context-item",flags:"s",line:"1797",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}context-item"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1798",name:"role", +C:[{N:"str",val:"cxt"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"405",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://saxon.sf.net/}options",flags:"s",line:"1812",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://saxon.sf.net/}options"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1813",name:"role", +C:[{N:"str",val:"options"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"401",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}for-each-item",flags:"s",line:"1800",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}for-each-item"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1801",name:"role",C:[{N:"str",val:"forEachItem"}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"397",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}xpath",flags:"s",line:"1788",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}xpath"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1789",name:"role",C:[{N:"str",val:"xpath"}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"403",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}initial-value",flags:"s",line:"1806",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}initial-value"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1807",name:"role",C:[{N:"str",val:"init"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"398",rank:"1", +minImp:"0",slots:"0",matches:"NA nQ{}namespace-context",flags:"s",line:"1791",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}namespace-context"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1792",name:"role",C:[{N:"str",val:"nsCxt"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"399",rank:"1",minImp:"0", +slots:"0",matches:"NA nQ{}with-params",flags:"s",line:"1794",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}with-params"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1795",name:"role",C:[{N:"str",val:"wp"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"404",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}select", +flags:"s",line:"1809",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}select"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1810",name:"role",C:[{N:"str",val:"selectRows"}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"395",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}select",flags:"s",line:"1782",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}select"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1783",name:"role",C:[{N:"str",val:"select"}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"402",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}for-each-source",flags:"s",line:"1803",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}for-each-source"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1804",name:"role",C:[{N:"str",val:"forEachStream"}]}]}]}]},{N:"co",id:"28",binds:"",C:[{N:"template", +name:"Q{}record-location",flags:"os",as:"*NA",line:"1542",module:"XSLT-SEF-compiler.xsl",slots:"0",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1543",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}]}, +{N:"att",line:"1544",name:"line",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}lineNr"}]}]}]}]},{N:"choose",line:"1546",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"att",line:"1547",name:"module",C:[{N:"lastOf", +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:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]}]}]}]}]},{N:"co",id:"29",binds:"22 22 22 22 30 22 31 31 22 32 33 22 34 22 22 35 34 22 22 22 36 37 22 22 22 22 38 38 22 39 22 34 34 22 22 34 34 22 34 22 22 34 22 35 22 22 22 22 34 34 34 34 22 22 22 40 3 38 22 22 22 41 32 38 22 38 22 41 41 41 41 22 42 22 22 22 32 32 22 22 22 22 11 22 22 22 22 11 22 22 22 41 41 11 11 11 11 41 38 38 22 41 43 41 41 22 41 22 22 41 32 41 22 25 1 32 22 41 41 22 41 41 43 22 22 22 22 41 41 22 22 41 41 43 22 22 22 41 44 22 22 22 22 22 45 32 22 45 32 46 45 32 45 32 45 32 45 32 45 32 45 32 32 45 32 45 45 32 45 32 45 32 22 32 32 22 41 41", +C:[{N:"mode",name:"Q{}normalize",onNo:"SC",flags:"W",patternSlots:"1",C:[{N:"templateRule",prec:"0",prio:"5.01",seq:"330",rank:"16",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"25",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"25",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"26",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"31",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", +name:"Q{}xpath-default-namespace",flags:"t",as:"1NA",C:[{N:"att",line:"29",name:"xpath-default-namespace",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"5.0",seq:"325",rank:"15",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", +test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param", +name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"32", +rank:"14",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"39",module:"normalize.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"39",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE"}, +{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"39",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}type"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"40",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE1660"},{N:"str",val:"Attribute @[xsl:]type is not allowed (SaxonJS is not schema-aware)"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:type"}]}]},{N:"nextMatch",line:"41",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"3.2",seq:"37",rank:"13",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"145",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"145",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{http://www.w3.org/XML/1998/namespace}space"}]},{N:"str",val:"preserve"}]}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"146",flags:"t",C:[{N:"withParam",name:"Q{}xml-space-preserve",flags:"t",as:"1AB",C:[{N:"true"}]}]}]},{N:"templateRule",prec:"0", +prio:"3.2",seq:"33",rank:"13",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"45",module:"normalize.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"45",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}validation"}, +{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}validation"}]},{N:"literal",count:"3",C:[{N:"str",val:"strip"},{N:"str",val:"preserve"},{N:"str",val:"lax"}]}]}]}]}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"45",flags:"b",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}validation"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}validation"}]},{N:"literal",count:"3",C:[{N:"str",val:"strip"},{N:"str",val:"preserve"},{N:"str",val:"lax"}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"47",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE1660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Attribute @[xsl:]validation with value "},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:validation"}]}]},{N:"str",val:" is not allowed (SaxonJS is not schema-aware)"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:validation"}]}]}, +{N:"nextMatch",line:"48",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"34",rank:"12",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"53",module:"normalize.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"53",flags:"b", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-validation"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}default-validation"}]},{N:"literal",count:"3",C:[{N:"str",val:"strip"},{N:"str",val:"preserve"},{N:"str",val:"lax"}]}]}]}]}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"53",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-validation"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-validation"}]},{N:"literal",count:"3",C:[{N:"str",val:"strip"},{N:"str",val:"preserve"},{N:"str",val:"lax"}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"55",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"2",C:[{N:"str",val:"XTSE1660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Attribute @[xsl:]default-validation with value "},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:default-validation"}]}]},{N:"str",val:" is not allowed (SaxonJS is not schema-aware)"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:default-validation"}]}]}, +{N:"nextMatch",line:"56",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"3.0",seq:"35",rank:"11",minImp:"0",slots:"4",matches:"NE",flags:"s",line:"59",module:"normalize.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"59",name:"attribute", +nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"59",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"60",C:[{N:"param",name:"Q{}extension-element-namespaces",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"data",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"let",line:"61","var":"Q{}att",as:"?NA",slot:"1",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}extension-element-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]},{N:"let",line:"64","var":"Q{}context",as:"1",slot:"2",C:[{N:"dot",type:"1NE",flags:"a"},{N:"nextMatch",line:"88",flags:"t",C:[{N:"withParam",name:"Q{}extension-element-namespaces",flags:"t",as:"*AS",C:[{N:"sequence",line:"89",C:[{N:"varRef",name:"Q{}extension-element-namespaces",slot:"0"},{N:"convert",line:"65",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|uris", +C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|uris",C:[{N:"data",diag:"3|0|XTTE0570|uris",C:[{N:"forEach",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{}att",slot:"1"}]}]}]}]},{N:"let",line:"75","var":"Q{}uri",as:"?AS",slot:"3",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"3|0|XTTE0570|uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|uri", +C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"choose",line:"74",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot",type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"dot",type:"1AS"}]},{N:"varRef",name:"Q{}context",slot:"2"}]}]}]},{N:"sequence",line:"76",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}uri",slot:"3"}]},{N:"ufCall",line:"77",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"3",C:[{N:"str",val:"XTSE1430"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"str",val:"Extension element prefix "},{N:"dot",type:"1AS"}]},{N:"str",val:" is not bound to any URI"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}att",slot:"1"}]}]}]},{N:"choose",line:"79",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}reserved-namespaces",bSlot:"4"},{N:"varRef",name:"Q{}uri",slot:"3"}]},{N:"ufCall",line:"82",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"5",C:[{N:"str",val:"XTSE0085"},{N:"fn",name:"concat",C:[{N:"fn", +name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Extension element prefix "},{N:"dot",type:"1AS"}]},{N:"str",val:" cannot be bound to the reserved namespace "}]},{N:"varRef",name:"Q{}uri",slot:"3"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}att",slot:"1"}]}]}]},{N:"varRef",line:"84",name:"Q{}uri",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.5",seq:"30",rank:"10",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"27",module:"normalize4.xsl", +C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}when"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"27",name:"Q{MyFunctions}selectAndContent",tailCall:"false",bSlot:"6",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}when"}]}]},{N:"p.withPredicate",C:[{N:"p.nodeTest", +test:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"27",name:"Q{MyFunctions}selectAndContent",tailCall:"false",bSlot:"7",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"28",C:[{N:"param",name:"Q{}allowSyntaxExtensions",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"choose",line:"29",C:[{N:"varRef",line:"30",name:"Q{}allowSyntaxExtensions",slot:"0"},{N:"ufCall",line:"31",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"8",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" cannot have both @select and content"}]},{N:"dot",type:"1NE", +flags:"a"}]},{N:"true"},{N:"nextMatch",line:"34",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"1.6",seq:"40",rank:"8",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"205",module:"normalize.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"205",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"205",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"206",flags:"t",C:[{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"let",line:"215","var":"Q{}mode",slot:"0",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]},{N:"choose",C:[{N:"compareToString",op:"eq",val:"#unnamed",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped", +to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"varRef",name:"Q{}mode",slot:"0"}]}]}]}]}]},{N:"str",val:"#unnamed"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"9",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"varRef",name:"Q{}mode",slot:"0"}]}]}]}]},{N:"dot",type:"1NE",flags:"a"}, +{N:"str",val:"XTSE0020"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"39",rank:"7",minImp:"0",slots:"2",matches:"NE",flags:"s",line:"182",module:"normalize.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"182",name:"attribute", +nodeTest:"NA nQ{}version"}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"182",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"183",C:[{N:"fn",line:"184",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"}]},{N:"nextMatch",line:"185",flags:"t"},{N:"true"},{N:"let",line:"189","var":"Q{}rawValue",as:"1AS",slot:"0",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:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]}]}]},{N:"str",val:"^\\+"},{N:"str",val:""},{N:"str",val:""}]},{N:"let",line:"196","var":"Q{}version",as:"1AD",slot:"1",C:[{N:"choose",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"varRef",name:"Q{}rawValue",slot:"0"}]},{N:"cast",flags:"a",as:"1AD",C:[{N:"varRef",name:"Q{}rawValue",slot:"0"}]},{N:"true"},{N:"dec",val:"3"}]},{N:"nextMatch",line:"197",flags:"t",C:[{N:"withParam",name:"Q{}XSLT-version",flags:"t", +as:"1AD",C:[{N:"varRef",line:"198",name:"Q{}version",slot:"1"}]},{N:"withParam",name:"Q{}forward-compatibility-mode",flags:"t",as:"1AB",C:[{N:"vc",line:"199",op:"gt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"1"},{N:"dec",val:"3"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.2",seq:"36",rank:"6",minImp:"0",slots:"2",matches:"NE",flags:"s",line:"93",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"94",C:[{N:"param",name:"Q{}extension-element-namespaces",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"data",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"choose",line:"96",C:[{N:"fn",line:"97",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}, +{N:"let",line:"98","var":"Q{}possible-fallbacks",as:"*NE",slot:"1",C:[{N:"callT",line:"99",name:"Q{}check-syntax-primary",bSlot:"10"},{N:"choose",line:"101",C:[{N:"fn",line:"102",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}possible-fallbacks",slot:"1"},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}ignore"}]}]},{N:"message",line:"103",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"IGNORING "},{N:"fn",name:"serialize",C:[{N:"dot", +type:"1NE",flags:"a"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"fn",line:"105",name:"exists",C:[{N:"varRef",name:"Q{}possible-fallbacks",slot:"1"}]},{N:"applyT",line:"107",flags:"ct",bSlot:"-1",C:[{N:"conditionalSort",role:"select",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}possible-fallbacks",slot:"1"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"varRef", +name:"Q{}possible-fallbacks",slot:"1"},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]},{N:"true"},{N:"nextMatch",line:"110",flags:"t"}]}]},{N:"and",line:"118",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}extension-element-namespaces",slot:"0"}]},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}extension-element-namespaces",slot:"0"},{N:"fn",name:"namespace-uri", +C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"fn",name:"not",C:[{N:"slash",line:"777",C:[{N:"dot",line:"118",type:"1NE",flags:"a"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]},{N:"choose",line:"119",C:[{N:"compareToString",line:"120",op:"eq",val:"http://saxon.sf.net/",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot", +type:"1NE",flags:"a"}]}]},{N:"nextMatch",line:"122",flags:"t"},{N:"compareToString",line:"124",op:"eq",val:"http://saxonica.com/ns/interactiveXSLT",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"nextMatch",line:"126",flags:"t"},{N:"fn",line:"128",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]},{N:"elem",line:"129",name:"xsl:sequence",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",line:"130",name:"select", +flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"error(QName('http://www.w3.org/2005/xqt-errors', 'XTDE1450'), 'Extension element "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:"\n must contain at least one xsl:fallback child')"}]}]}]}]}]},{N:"true"},{N:"applyT",line:"135",flags:"ct",bSlot:"-1",C:[{N:"slash",role:"select",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}, +{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]},{N:"true"},{N:"nextMatch",line:"140",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"87",rank:"5",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}output",flags:"s",line:"635",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"635",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}build-tree"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"636","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"637",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"forEach",line:"639",C:[{N:"varRef", +name:"Q{}temp",slot:"0"},{N:"copy",line:"640",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"641",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"compAtt",line:"642",flags:"l",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"convert",role:"namespace",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",role:"select",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped", +to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"axis",line:"646",name:"child",nodeTest:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.5",seq:"31",rank:"10",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}if",flags:"s",line:"39",module:"normalize4.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}if"},{N:"and",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"39",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}then"}]},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"axis",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}fallback]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"40",C:[{N:"param",name:"Q{}allowSyntaxExtensions",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"choose",line:"41",C:[{N:"varRef",line:"42",name:"Q{}allowSyntaxExtensions",slot:"0"},{N:"ufCall",line:"43",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}if",flags:"a"}]},{N:"str",val:" cannot have both @then and content"}]}, +{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}if",flags:"a"}]},{N:"true"},{N:"nextMatch",line:"46",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"116",rank:"5",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback",flags:"s",line:"915",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"915",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"},{N:"fn",name:"not",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge"}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"916",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"12",C:[{N:"str",val:"xsl:fallback must be the last children of xsl:merge"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}fallback",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"93",part:"1",rank:"3",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates",flags:"s",line:"707",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"}, +{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"707",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"708",C:[{N:"param",name:"Q{}default-mode",slot:"0", +flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"let",line:"710","var":"Q{}temp",as:"1NE",slot:"2",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch", +flags:"i"}]}]},{N:"forEach",line:"712",C:[{N:"varRef",name:"Q{}temp",slot:"2"},{N:"copy",line:"713",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"714",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"715",name:"mode",flags:"l",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-mode",slot:"0"},{N:"str",val:"#unnamed"}]}]}]},{N:"axis",line:"716",name:"child",nodeTest:"N"}]}]}]}]}]}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"136",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}use-package",flags:"s",line:"1001",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}use-package"},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"1002",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", +bSlot:"13",C:[{N:"str",val:"XTSE3000"},{N:"str",val:"xsl:use-package - not currently supported"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}use-package",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"132",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"s",line:"985",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"}, +{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"985",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"985",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]}, +{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"986",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",C:[{N:"str",val:"XTSE1040"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"a"}]},{N:"str",val:" with @select must have no sequence constructor"}]},{N:"dot", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"99",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose",flags:"s",line:"845",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"845",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}when"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"846",name:"Q{MyFunctions}missingChild",tailCall:"false",bSlot:"15",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}choose",flags:"a"},{N:"str",val:"xsl:when"}]}]},{N:"templateRule", +prec:"0",prio:"0.5",seq:"98",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose",flags:"s",line:"842",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"842",name:"exists",C:[{N:"tail",start:"2",C:[{N:"axis", +name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"843",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",C:[{N:"str",val:"xsl:choose may only have one xsl:otherwise child"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}choose",flags:"a"}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"109",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"s",line:"882",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"882",name:"attribute",nodeTest:"NA nQ{}collation"}]},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"882",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-starting-with"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-ending-with"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"885",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",C:[{N:"str",val:"XTSE1090"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"a"}]},{N:"str",val:" may not have @collation with @"}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"slash",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}group-starting-with,NA nQ{}group-ending-with]"},{N:"fn",name:"name",C:[{N:"dot", +type:"1NA"}]}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"108",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"s",line:"877",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"877",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}bind-group"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}bind-grouping-key"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"880",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"18",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name", +C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"a"}]},{N:"str",val:" no longer supports "}]},{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}bind-group,NA nQ{}bind-grouping-key]"},{N:"fn",name:"concat",C:[{N:"str",val:"@"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:" or "}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5", +seq:"107",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"s",line:"872",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"},{N:"compareToInt",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"872",op:"ne",val:"1",C:[{N:"fn",name:"count", +C:[{N:"fn",name:"subsequence",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA u[NA u[NA nQ{}group-by,NA nQ{}group-starting-with],NA nQ{}group-ending-with],NA nQ{}group-adjacent]"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"875",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",C:[{N:"str", +val:"XTSE1080"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"a"}]},{N:"str",val:" must have exactly one of @group-by|@group-starting-with|@group-ending-with|@group-adjacent"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"114",rank:"3",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"s",line:"907", +module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"907",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"},{N:"fn",name:"not",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +"var":"Q{}uri",as:"1AS",slot:"0",C:[{N:"convert",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:isKnownCollation",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:isKnownCollation",C:[{N:"data",diag:"0|0||f:isKnownCollation",C:[{N:"dot",type:"1NA nQ{}collation"}]}]}]},{N:"or",module:"sorting.xsl",line:"21",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC", +C:[{N:"sequence",C:[{N:"gVarRef",name:"Q{}codepoint.collation",bSlot:"20"},{N:"gVarRef",name:"Q{}html-ascii-case-insensitive.collation",bSlot:"21"}]},{N:"varRef",name:"Q{}uri",slot:"0"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}uri",slot:"0"},{N:"str",val:"http://www.w3.org/2013/collation/UCA"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"22",C:[{N:"str",val:"XTSE1210"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"a"}]},{N:"str",val:" uses unknown collation: "}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"113",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"s",line:"904",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"904",name:"empty",C:[{N:"sequence", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"905",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"23",C:[{N:"str",val:"XTSE1205"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" must have just one of @use or content"}]}, +{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"113",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"s",line:"904",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"904",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"904",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"905",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"24",C:[{N:"str",val:"XTSE1205"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" must have just one of @use or content"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"102",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",flags:"s",line:"855",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest", +test:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"855",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"855",op:"eq",comp:"CCC", +C:[{N:"attVal",name:"Q{}use"},{N:"str",val:"absent"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"856",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"25",C:[{N:"str",val:"XTSE3089"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",flags:"a"}]},{N:"str", +val:" cannot be absent and typed"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"59",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",flags:"s",line:"402",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"403",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",C:[{N:"sequence",role:"content",line:"404",C:[{N:"att",name:"use",flags:"l",C:[{N:"str",val:"optional"}]},{N:"applyT",line:"405",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"90",rank:"5",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s", +line:"672",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"672",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"672",name:"not",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"attVal",name:"Q{}as"}]}]},{N:"str",val:"\\?$|\\*$"},{N:"str",val:""}]}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"672",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}, +{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"674","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"675",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"forEach",line:"677",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"copy", +line:"678",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"679",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"680",name:"ex:implicit-mandatory",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"str",val:"true"}]},{N:"axis",line:"681",name:"child",nodeTest:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"130",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"981",module:"normalize.xsl",C:[{N:"p.withPredicate", +role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"981",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"981",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"26",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]}]},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"981",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"fn",name:"not",C:[{N:"ufCall", +name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"27",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]}]}]}]}]},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"981",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"ufCall",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"982",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"28",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"required xsl:param "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" must not have a default value"}]},{N:"dot", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"128",rank:"3",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"975",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"975",name:"not",C:[{N:"ufCall",name:"Q{MyFunctions}isTopLevel",tailCall:"false",bSlot:"29",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"975",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC", +C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"976",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"30",C:[{N:"str",val:"XTSE0580"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:param siblings may not have the same @name: "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"127",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param", +flags:"s",line:"971",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"971",name:"empty",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package],NE nQ{http://www.w3.org/1999/XSL/Transform}template]"}]}]}, +{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"971",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"972",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"31",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"str",val:" as a child of "}]},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"str",val:" may only be preceded by "}]},{N:"fn", +name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"str",val:"*"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"126",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"964",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}, +{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"964",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE"},{N:"fn",name:"not",C:[{N:"union",op:"|",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]}, +{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"967",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"32",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"str",val:" as a child of "}]},{N:"fn",name:"name", +C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"str",val:" may only be preceded by xsl:context-item?, xsl:param*"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"112",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"898",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate", +C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"898",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"898",name:"empty",C:[{N:"union",op:"|",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"898",name:"not",C:[{N:"or",op:"or",C:[{N:"fn",name:"ends-with",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]}]}]},{N:"str",val:"?"}]},{N:"fn",name:"ends-with",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]}]}]},{N:"str",val:"*"}]}]}]}]}, +{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"900",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"33",C:[{N:"str",val:"XTSE3520"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Implicitly mandatory parameter $"},{N:"data",diag:"0|1||fn:concat", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" of xsl:iterate must have a value initialisation"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"elem",line:"901",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"110",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"888",module:"normalize.xsl",C:[{N:"p.withUpper", +role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"888",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]}, +{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"889",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"34",C:[{N:"str",val:"XTSE0760"},{N:"str",val:"A function parameter must have no default value"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"121",rank:"3",minImp:"0", +slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action",flags:"s",line:"930",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"930",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action"}]}, +{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"931",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"35",C:[{N:"str",val:"xsl:merge must have exactly one xsl:merge-action child"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"124",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise", +flags:"s",line:"941",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"941",name:"exists",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"942",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"36",C:[{N:"str",val:"xsl:otherwise must be the last child of xsl:choose"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"138",rank:"3",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"s",line:"1009",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}, +{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"1009",flags:"",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"data",diag:"1|1||eq",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef", +name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"1010",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"37",C:[{N:"str",val:"XTSE0670"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:with-param siblings may not have the same @name: "}, +{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"137",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"s",line:"1005",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"1005",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}with-param,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"1006",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", +bSlot:"38",C:[{N:"str",val:"xsl:with-param may only be preceded by (xsl:with-param|xsl:sort)*"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"103",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"s",line:"858",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}, +{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"858",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]}]}]}]},{N:"str",val:"absent"}]}]}, +{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"858",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"859",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"39",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"a"}]},{N:"str",val:" of a purely template rule cannot have @use=absent"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"101",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item", +flags:"s",line:"852",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"852",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"compareToString",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"852",op:"eq",val:"absent",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"attVal",name:"Q{}use"}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"853",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"40", +C:[{N:"str",val:"XTSE3088"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"a"}]},{N:"str",val:" cannot have @as with @use=absent"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"100",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"s",line:"849",module:"normalize.xsl",C:[{N:"p.withPredicate", +role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"849",C:[{N:"fn",name:"reverse",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]},{N:"fn",name:"reverse",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NT"},{N:"fn",name:"matches",C:[{N:"convert", +from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"\\S"},{N:"str",val:""}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"850",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"41",C:[{N:"fn",name:"concat", +C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"a"}]},{N:"str",val:" as a child of "}]},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"str",val:" may have no preceding sibling nodes"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"77",rank:"3", +minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode",flags:"s",line:"574",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"574",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"copy", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"575",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}mode",C:[{N:"sequence",role:"content",line:"576",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]},{N:"applyT",line:"577",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA"}]}]}]}]},{N:"templateRule",prec:"0", +prio:"0.5",seq:"135",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}try",flags:"s",line:"997",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}try"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"997",name:"attribute",nodeTest:"NA nQ{}select"}]}, +{N:"except",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"997",op:"except",C:[{N:"union",op:"|",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches", +C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"\\S"},{N:"str",val:""}]}]}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}catch,NE nQ{http://www.w3.org/1999/XSL/Transform}fallback]"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"998",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"42",C:[{N:"str",val:"XTSE3140"}, +{N:"str",val:"xsl:try with @select may only have xsl:catch|xsl:fallback children"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}try",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"97",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator",flags:"s",line:"838",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"838",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"839",name:"Q{MyFunctions}missingChild",tailCall:"false",bSlot:"43",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator",flags:"a"},{N:"str",val:"xsl:accumulator-rule"}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"120",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"926",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"926",name:"attribute",nodeTest:"NA nQ{}for-each-item"}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"926",name:"attribute",nodeTest:"NA nQ{}for-each-source"}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"927", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"44",C:[{N:"str",val:"XTSE3195"},{N:"str",val:"xsl:merge-source cannot contain both @for-each-item and @for-each-source"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"118",rank:"3",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"923",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate", +C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"923",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"924", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"45",C:[{N:"str",val:"XTSE3190"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:merge-source siblings cannot have the same name:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"134",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template", +flags:"s",line:"993",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"993",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}priority,NA nQ{}mode]"}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"993",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"994",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"46",C:[{N:"str",val:"XTSE0500"},{N:"str",val:"xsl:template with @priority or @mode must have @match"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template", +flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"133",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"989",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"989", +name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}name,NA nQ{}match]"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"990",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"47",C:[{N:"str",val:"XTSE0500"},{N:"str",val:"xsl:template must have at least one of @name or @match"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template", +flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"93",rank:"3",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"707",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"707",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"707",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"708",C:[{N:"param",name:"Q{}default-mode",slot:"0",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"let",line:"709","var":"Q{}temp",as:"1NE",slot:"1",C:[{N:"treat",line:"710",as:"NE",diag:"3|0|XTTE0570|temp", +C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"forEach",line:"712",C:[{N:"varRef",name:"Q{}temp",slot:"1"},{N:"copy",line:"713",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"714",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"715",name:"mode",flags:"l",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-mode",slot:"0"},{N:"str",val:"#unnamed"}]}]}]},{N:"axis",line:"716", +name:"child",nodeTest:"N"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"123",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"s",line:"937",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"937",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"N"},{N:"fn",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"},{N:"filter",flags:"b",C:[{N:"axis",name:"self",nodeTest:"NT"},{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"^\\s*$"},{N:"str",val:""}]}]}]}]}]}]}, +{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"938",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"48",C:[{N:"str",val:"xsl:on-empty must be the last instruction in a sequence constructor"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"122",rank:"3",minImp:"0", +slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"s",line:"934",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"934",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"}]}, +{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"935",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"49",C:[{N:"str",val:"A sequence constructor may contain only one xsl:on-empty child"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"115",rank:"5",minImp:"0", +slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge",flags:"s",line:"912",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"912",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}]}]}, +{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"913",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"50",C:[{N:"str",val:"xsl:merge must have at least one xsl:merge-source child"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"121",part:"1",rank:"3",minImp:"0", +slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge",flags:"s",line:"930",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"930",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action"}]}]}, +{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"931",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"51",C:[{N:"str",val:"xsl:merge must have exactly one xsl:merge-action child"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"117",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge", +flags:"s",line:"918",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge"},{N:"compareToInt",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"918",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}, +{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key"}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"919",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"52",C:[{N:"str",val:"XTSE2200"},{N:"str",val:"xsl:merge-source siblings must have the same number of keys"}, +{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"106",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}expose",flags:"s",line:"868",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}expose"},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"869",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"53",C:[{N:"str",val:"XTSE3000"},{N:"str",val:"xsl:expose - not currently supported"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}expose",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"29",rank:"9",minImp:"0",slots:"1",matches:"NA",flags:"s",line:"10",module:"normalize4.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"false", +C:[{N:"p.nodeTest",test:"NA nQ{}select"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}when"}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}select"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"}]}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}then"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}if"}]}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest", +test:"NA nQ{}else"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}if"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"11",C:[{N:"param",name:"Q{}allowSyntaxExtensions",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"choose",line:"12",C:[{N:"varRef",line:"13",name:"Q{}allowSyntaxExtensions", +slot:"0"},{N:"dot",line:"14",type:"1NA",flags:"a"},{N:"true"},{N:"ufCall",line:"17",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"54",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"str",val:" cannot have @"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0", +prio:"1.0",seq:"83",rank:"5",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"610",module:"normalize.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}stylesheet-prefix"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"610",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq", +C:[{N:"dot",type:"1NA nQ{}stylesheet-prefix"}]},{N:"str",val:"#default"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"}]},{N:"p.withUpper",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}result-prefix"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"610",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq", +C:[{N:"dot",type:"1NA nQ{}result-prefix"}]},{N:"str",val:"#default"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"}]}]},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"611",type:"1NA",flags:"a"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"70",rank:"5",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}*", +flags:"s",line:"521",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}*"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"522",type:"1NA nQ{http://ns.saxonica.com/xslt/export}*",flags:"a"}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"71",rank:"3",minImp:"0",slots:"1",matches:"NA",flags:"s",line:"524",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"525", +C:[{N:"param",name:"Q{}forward-compatibility-mode",slot:"0",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"data",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"choose",line:"526",C:[{N:"varRef",line:"527",name:"Q{}forward-compatibility-mode", +slot:"0"},{N:"choose",line:"531",C:[{N:"gc",line:"528",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|pa.names",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|permitted.attributes",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|permitted.attributes",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"gVarRef",name:"Q{}xslt.schema",bSlot:"55"},{N:"fn",name:"local-name",C:[{N:"check",card:"?",diag:"0|0||fn:local-name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"permitted.attributes"}]}]}]}]}]}]},{N:"convert",line:"530",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|pa.names",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"data",diag:"3|0|XTTE0570|pa.names",C:[{N:"gVarRef",name:"Q{}standard.attributes",bSlot:"56"}]}]}]}]},{N:"fn",line:"531", +name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"nextMatch",line:"532",flags:"t"}]},{N:"true"},{N:"nextMatch",line:"536",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"68",rank:"3",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"508",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn", +op:"union",C:[{N:"p.nodeTest",test:"NA nQ{}build-tree"},{N:"p.nodeTest",test:"NA nQ{}byte-order-mark"}]},{N:"p.nodeTest",test:"NA nQ{}escape-uri-attributes"}]},{N:"p.nodeTest",test:"NA nQ{}include-content-type"}]},{N:"p.nodeTest",test:"NA nQ{}indent"}]},{N:"p.nodeTest",test:"NA nQ{}omit-xml-declaration"}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}standalone"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"508",name:"not",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}standalone"}]}]},{N:"str",val:"omit"}]}]}]}]},{N:"p.nodeTest",test:"NA nQ{}undeclare-prefixes"}]},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"508",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn", +name:"exists",C:[{N:"sequence",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document"}]}]}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"508",name:"not",C:[{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:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"{"}]}]}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"514",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"choose",role:"select",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false", +bSlot:"57",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:"yes"},{N:"true"},{N:"str",val:"no"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"54",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"353",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"354",C:[{N:"param",name:"Q{}forward-compatibility-mode",slot:"0",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode", +C:[{N:"data",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"ufCall",line:"355",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"58",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"str",val:" cannot have attribute "}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}*", +flags:"a"}]}]},{N:"str",val:" in the XSLT namespace"}]},{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"-0.25",seq:"53",rank:"1",minImp:"0",slots:"1",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"343",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"344",C:[{N:"param",name:"Q{}forward-compatibility-mode",slot:"0",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"data",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"choose",line:"351",C:[{N:"varRef",name:"Q{}forward-compatibility-mode", +slot:"0"},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"59",C:[{N:"str",val:"XTSE0805"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]},{N:"str",val:" is not a permitted attribute in the XSLT namespace"}]},{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"50",part:"1",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes", +flags:"s",line:"309",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"312",type:"1NA",flags:"a"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"84",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}result-prefix",flags:"s", +line:"618",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}result-prefix"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"618",name:"empty",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:namespace-uri-for-prefix",C:[{N:"cvUntyped", +to:"AS",diag:"0|0||fn:namespace-uri-for-prefix",C:[{N:"data",diag:"0|0||fn:namespace-uri-for-prefix",C:[{N:"dot",type:"1NA nQ{}result-prefix"}]}]}]},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"619",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"60",C:[{N:"str",val:"XTSE0812"},{N:"fn",name:"concat",C:[{N:"str",val:"Undeclared namespace prefix - "},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"dot",type:"1NA",flags:"a"}]},{N:"dot",line:"620",type:"1NA",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"3",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}composite",flags:"s",line:"500",module:"normalize.xsl", +C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}composite"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean", +tailCall:"false",bSlot:"61",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"46",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}default-mode",flags:"s",line:"273",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}default-mode"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"280",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"convert",role:"namespace",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"choose",role:"select",C:[{N:"compareToString",op:"eq",val:"#unnamed",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA", +flags:"a"}]}]}]}]}]},{N:"str",val:"#unnamed"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"62",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"91",part:"1",rank:"3", +minImp:"0",slots:"2",matches:"NA nQ{}tunnel",flags:"s",line:"686",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}tunnel"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"687","var":"Q{}value",slot:"1",C:[{N:"ufCall", +name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"63",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"sequence",line:"689",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}value",slot:"1"},{N:"fn",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"axis",name:"self",nodeTest:"NE u[NE u[NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}template,NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates],NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports],NE nQ{http://www.w3.org/1999/XSL/Transform}call-template],NE nQ{http://www.w3.org/1999/XSL/Transform}next-match]"}]}]}]}, +{N:"ufCall",line:"692",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"64",C:[{N:"str",val:"XTSE0020"},{N:"str",val:"@tunnel=true only permitted on definition and invocations of templates or global parameters"},{N:"dot",type:"1NA",flags:"a"}]}]},{N:"compAtt",line:"694",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"fn",role:"select",name:"string",C:[{N:"varRef",name:"Q{}value",slot:"1"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"91",rank:"3",minImp:"0", +slots:"2",matches:"NA nQ{}tunnel",flags:"s",line:"686",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}tunnel"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"687","var":"Q{}value",slot:"0",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string", +tailCall:"false",bSlot:"65",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"sequence",line:"689",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}value",slot:"0"},{N:"fn",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"axis",name:"self",nodeTest:"NE u[NE u[NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}template,NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates],NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports],NE nQ{http://www.w3.org/1999/XSL/Transform}call-template],NE nQ{http://www.w3.org/1999/XSL/Transform}next-match]"}]}]}]}, +{N:"ufCall",line:"692",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"66",C:[{N:"str",val:"XTSE0020"},{N:"str",val:"@tunnel=true only permitted on definition and invocations of templates or global parameters"},{N:"dot",type:"1NA",flags:"a"}]}]},{N:"compAtt",line:"694",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"fn",role:"select",name:"string",C:[{N:"varRef",name:"Q{}value",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"6",rank:"3", +minImp:"0",slots:"0",matches:"NA nQ{}expand-text",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}expand-text"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name", +name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"67",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"11",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}inherit-namespaces",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}inherit-namespaces"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"}]}, +{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"68",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"10",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}inherit-namespaces", +flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}inherit-namespaces"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]}, +{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"69",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"47",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-validation",flags:"s",line:"283",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-validation"},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"285",type:"1NA",flags:"a"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"75",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}sort-before-merge",flags:"s",line:"559",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}sort-before-merge"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"566",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"choose",role:"select",C:[{N:"compareToString",op:"eq",val:"maybe",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"str",val:"maybe"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}normalize-boolean",tailCall:"false", +bSlot:"70",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"61",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}html-version",flags:"s",line:"412",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}html-version"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"412",name:"not",C:[{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:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA nQ{}html-version"}]}]}]},{N:"str",val:"{"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"420",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}html-version",flags:"a"}]},{N:"fn",role:"select",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"dot",type:"1NA nQ{}html-version",flags:"a"}]}]},{N:"data",C:[{N:"dot",type:"1NA nQ{}html-version",flags:"a"}]},{N:"true"},{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"71",C:[{N:"str", +val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"str",val:"@html-version must be decimal - supplied value:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA nQ{}html-version",flags:"a"}]}]},{N:"dot",type:"1NA nQ{}html-version",flags:"a"}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"48",rank:"3",minImp:"0",slots:"6",matches:"NA nQ{}default-collation",flags:"s",line:"288",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false", +C:[{N:"p.nodeTest",test:"NA nQ{}default-collation"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"289","var":"Q{}tokens",as:"*AS",slot:"0",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:"1NA",flags:"a"}]}]}]}]},{N:"let",line:"290","var":"Q{}recognized",as:"?AS",slot:"1",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}tokens",slot:"0"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}uri",as:"1AS",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +type:"1AS"},{N:"or",module:"sorting.xsl",line:"21",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1396801698",bSlot:"72"},{N:"varRef",name:"Q{}uri",slot:"2"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}uri",slot:"2"},{N:"str",val:"http://www.w3.org/2013/collation/UCA"}]}]}]}]}]}, +{N:"compAtt",line:"300",C:[{N:"choose",role:"name",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"str",val:"defaultCollation"},{N:"true"},{N:"str",val:"xsl:defaultCollation"}]},{N:"fn",role:"select",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"varRef",name:"Q{}recognized",slot:"1"},{N:"varRef",name:"Q{}recognized",slot:"1"},{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence", +C:[{N:"varRef",name:"Q{}tokens",slot:"0"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"73",C:[{N:"str",val:"XTSE0125"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'Unknown default collation "'},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:'"'}]},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"true"},{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"74",C:[{N:"str",val:"XTSE0125"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'No recognized collation in "'},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:'"'}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"65",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}mode",flags:"s",line:"464",module:"normalize.xsl", +C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}mode"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"465",C:[{N:"param",name:"Q{}default-mode",slot:"0",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion", +card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"compAtt",line:"480",C:[{N:"fn",role:"name",name:"local-name",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"}]},{N:"fn",role:"select",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"let","var":"Q{}t",slot:"1", +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:"1NA nQ{}mode",flags:"a"}]}]}]}]},{N:"choose",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}t",slot:"1"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"75",C:[{N:"str", +val:"XXXXX"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:apply-templates/@mode must only have one value - supplied values:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"}]}]},{N:"dot",type:"1NA nQ{}mode",flags:"a"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"check",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}t",slot:"1"}]},{N:"str",val:"#default"}]},{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-mode",slot:"0"},{N:"str",val:"#unnamed"}]}]}, +{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"varRef",name:"Q{}t",slot:"1"},{N:"literal",count:"2",C:[{N:"str",val:"#current"},{N:"str",val:"#unnamed"}]}]},{N:"varRef",name:"Q{}t",slot:"1"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"76",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"varRef",name:"Q{}t",slot:"1"}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"63",rank:"3",minImp:"0",slots:"3",matches:"NA nQ{}mode",flags:"s",line:"426",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}mode"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"427",C:[{N:"param",name:"Q{}default-mode",slot:"0",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"compAtt",line:"450",C:[{N:"fn",role:"name",name:"local-name",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"}]}, +{N:"fn",role:"select",name:"string-join",C:[{N:"let","var":"Q{}modes",slot:"1",C:[{N:"for","var":"Q{}m",as:"AS",slot:"2",C:[{N:"fn",role:"in",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:"1NA nQ{}mode",flags:"a"}]}]}]}]},{N:"choose",role:"return",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}m",slot:"2"}]},{N:"first",C:[{N:"sequence", +C:[{N:"varRef",name:"Q{}default-mode",slot:"0"},{N:"str",val:"#unnamed"}]}]},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"#all"},{N:"str",val:"#unnamed"}]},{N:"varRef",name:"Q{}m",slot:"2"}]},{N:"varRef",name:"Q{}m",slot:"2"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"77",C:[{N:"varRef",name:"Q{}m",slot:"2"},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0550"}]}]}]}, +{N:"choose",C:[{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}modes",slot:"1"},{N:"str",val:"#all"}]},{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}modes",slot:"1"}]}]}]},{N:"data",diag:"0|0||fn:string-join",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"78",C:[{N:"str",val:"XTSE0550"},{N:"str",val:"@mode=#all must be alone"},{N:"dot",type:"1NA nQ{}mode",flags:"a"}]}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}modes", +slot:"1"}]},{N:"data",diag:"0|0||fn:string-join",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"79",C:[{N:"str",val:"XTSE0550"},{N:"str",val:"@mode must have a mode name"},{N:"dot",type:"1NA nQ{}mode",flags:"a"}]}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"fn",name:"distinct-values",C:[{N:"varRef",name:"Q{}modes",slot:"1"}]}]},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}modes",slot:"1"}]}]},{N:"data",diag:"0|0||fn:string-join",C:[{N:"ufCall", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"80",C:[{N:"str",val:"XTSE0550"},{N:"str",val:"Modes in a template declaration must be unique"},{N:"dot",type:"1NA nQ{}mode",flags:"a"}]}]},{N:"true"},{N:"varRef",name:"Q{}modes",slot:"1"}]}]},{N:"str",val:" "}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"42",rank:"3",minImp:"0",slots:"7",matches:"NA nQ{}type",flags:"s",line:"226",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest", +test:"NA nQ{}type"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"227",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check", +card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"228",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}validation"}]}]},{N:"ufCall",line:"229",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"81",C:[{N:"str",val:"XTSE1505"},{N:"str",val:"@type and @validation must not both be present"},{N:"dot",type:"1NA",flags:"a"}]}]},{N:"let",line:"231", +"var":"Q{}eqName",as:"1AS",slot:"1",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"82",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE1520"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|3||f:EQName", +C:[{N:"data",diag:"0|3||f:EQName",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]},{N:"let",line:"232","var":"Q{}qName",as:"1AQ",slot:"2",C:[{N:"let",module:"lib.xsl",line:"168","var":"Q{}parts",as:"*AS",slot:"3",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"substring",C:[{N:"varRef",module:"normalize.xsl",line:"232",name:"Q{}eqName",slot:"1"},{N:"int",val:"3"}]},{N:"str",val:"\\}"},{N:"str",val:""}]},{N:"fn",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"fn", +line:"169",name:"QName",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"3"}]},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"3"},{N:"int",val:"2"}]}]}]}]},{N:"sequence",line:"233",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"http://www.w3.org/2001/XMLSchema",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qName",slot:"2"}]}]}]},{N:"ufCall",line:"234",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", +bSlot:"83",C:[{N:"str",val:"XTSE1520"},{N:"fn",name:"concat",C:[{N:"str",val:"Unknown type "},{N:"varRef",name:"Q{}eqName",slot:"1"}]},{N:"dot",type:"1NA",flags:"a"}]}]},{N:"choose",line:"236",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"4",C:[{N:"str",val:"anyType"},{N:"str",val:"untyped"},{N:"str",val:"anyAtomicType"},{N:"str",val:"untypedAtomic"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qName",slot:"2"}]}]}]},{N:"ufCall",line:"237", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"84",C:[{N:"str",val:"XTSE1660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Cannot validate nodes as type "},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:" (processor is not schema-aware)"}]},{N:"dot",type:"1NA",flags:"a"}]}]},{N:"choose",line:"240",C:[{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"anyAtomicType"}, +{N:"str",val:"untypedAtomic"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qName",slot:"2"}]}]},{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"}]}]}]},{N:"fn",name:"empty",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of"}]}]}]}, +{N:"ufCall",line:"242",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"85",C:[{N:"str",val:"XTSE1660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Cannot validate element nodes as type "},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:" (processor is not schema-aware)"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"42",part:"1",rank:"3",minImp:"0",slots:"7",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}type", +flags:"s",line:"226",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}type"},{N:"p.nodeTest",test:"NE"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"227",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA", +C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"228",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}validation"}]}]},{N:"ufCall",line:"229",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"86",C:[{N:"str",val:"XTSE1505"}, +{N:"str",val:"@type and @validation must not both be present"},{N:"dot",type:"1NA",flags:"a"}]}]},{N:"let",line:"231","var":"Q{}eqName",as:"1AS",slot:"4",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"87",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}, +{N:"str",val:"XTSE1520"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|3||f:EQName",C:[{N:"data",diag:"0|3||f:EQName",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]},{N:"let",line:"232","var":"Q{}qName",as:"1AQ",slot:"5",C:[{N:"let",module:"lib.xsl",line:"168","var":"Q{}parts",as:"*AS",slot:"6",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"substring",C:[{N:"varRef",module:"normalize.xsl",line:"232",name:"Q{}eqName", +slot:"4"},{N:"int",val:"3"}]},{N:"str",val:"\\}"},{N:"str",val:""}]},{N:"fn",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"fn",line:"169",name:"QName",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"6"}]},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"6"},{N:"int",val:"2"}]}]}]}]},{N:"sequence",line:"233",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"http://www.w3.org/2001/XMLSchema",C:[{N:"fn",name:"namespace-uri-from-QName", +C:[{N:"varRef",name:"Q{}qName",slot:"5"}]}]}]},{N:"ufCall",line:"234",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"88",C:[{N:"str",val:"XTSE1520"},{N:"fn",name:"concat",C:[{N:"str",val:"Unknown type "},{N:"varRef",name:"Q{}eqName",slot:"4"}]},{N:"dot",type:"1NA",flags:"a"}]}]},{N:"choose",line:"236",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"4",C:[{N:"str",val:"anyType"},{N:"str",val:"untyped"},{N:"str",val:"anyAtomicType"},{N:"str",val:"untypedAtomic"}]}, +{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qName",slot:"5"}]}]}]},{N:"ufCall",line:"237",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"89",C:[{N:"str",val:"XTSE1660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Cannot validate nodes as type "},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:" (processor is not schema-aware)"}]},{N:"dot",type:"1NA",flags:"a"}]}]},{N:"choose",line:"240",C:[{N:"and", +op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"anyAtomicType"},{N:"str",val:"untypedAtomic"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qName",slot:"5"}]}]},{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"}]}]}]}, +{N:"fn",name:"empty",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of"}]}]}]},{N:"ufCall",line:"242",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"90",C:[{N:"str",val:"XTSE1660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Cannot validate element nodes as type "},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:" (processor is not schema-aware)"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}copy-namespaces",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}copy-namespaces"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"91",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}copy-namespaces",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}copy-namespaces"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"}]}, +{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"92",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"96",part:"1",rank:"3",minImp:"0",slots:"3",matches:"NA nQ{}elements", +flags:"s",line:"757",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}elements"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"758",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t", +as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"760","var":"Q{}context",as:"*N u[NE,ND]",slot:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"att",line:"772",name:"elements",C:[{N:"fn",name:"string-join",C:[{N:"forEach",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:"1NA",flags:"a"}]}]}]}]},{N:"choose",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"compareToString",op:"eq",val:"*",C:[{N:"dot",type:"1AS"}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"*:"}]}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"Q{"}]}]},{N:"dot",type:"1AS"},{N:"fn",name:"ends-with",C:[{N:"dot",type:"1AS"},{N:"str",val:":*"}]},{N:"fn",name:"replace", +C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"93",C:[{N:"fn",name:"replace",C:[{N:"dot",type:"1AS"},{N:"str",val:"\\*$"},{N:"str",val:"Z"},{N:"str",val:""}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}context",slot:"2"}]},{N:"str",val:"XTSE0020"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|3||f:EQName",C:[{N:"data",diag:"0|3||f:EQName",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]},{N:"str", +val:"Z$"},{N:"str",val:"*"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"94",C:[{N:"dot",type:"1AS"},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}context",slot:"2"}]},{N:"str",val:"XTSE0020"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|3||f:EQName",C:[{N:"data",diag:"0|3||f:EQName",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"96",rank:"3",minImp:"0",slots:"3",matches:"NA nQ{}elements",flags:"s",line:"757",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}elements"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"758",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"760","var":"Q{}context",as:"*N u[NE,ND]",slot:"1",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"att",line:"772",name:"elements",C:[{N:"fn",name:"string-join",C:[{N:"forEach",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:"1NA",flags:"a"}]}]}]}]},{N:"choose",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"compareToString",op:"eq",val:"*",C:[{N:"dot",type:"1AS"}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"*:"}]}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"Q{"}]}]},{N:"dot",type:"1AS"},{N:"fn", +name:"ends-with",C:[{N:"dot",type:"1AS"},{N:"str",val:":*"}]},{N:"fn",name:"replace",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"95",C:[{N:"fn",name:"replace",C:[{N:"dot",type:"1AS"},{N:"str",val:"\\*$"},{N:"str",val:"Z"},{N:"str",val:""}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"XTSE0020"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|3||f:EQName",C:[{N:"data",diag:"0|3||f:EQName", +C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]},{N:"str",val:"Z$"},{N:"str",val:"*"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"96",C:[{N:"dot",type:"1AS"},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"XTSE0020"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|3||f:EQName",C:[{N:"data",diag:"0|3||f:EQName",C:[{N:"varRef",name:"Q{}xpath-default-namespace", +slot:"0"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"7",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}warning-on-no-match",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}warning-on-no-match"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"97",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"72",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}override",flags:"s",line:"541",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}override"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"542",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}override-extension-function"}]}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string", +tailCall:"false",bSlot:"98",C:[{N:"dot",type:"1NA nQ{}override",flags:"a"}]},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"99",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}override-extension-function"}]}]}]}]}]},{N:"ufCall",line:"543",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"100",C:[{N:"str",val:"XTSE0020"},{N:"str",val:"@override and @override-extension-function must have the same boolean value"}, +{N:"dot",type:"1NA nQ{}override",flags:"a"}]}]},{N:"compAtt",line:"545",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}override",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"101",C:[{N:"dot",type:"1NA nQ{}override",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"47",part:"1",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace",flags:"s",line:"283",module:"normalize.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"285",type:"1NA",flags:"a"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"56",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}use-character-maps",flags:"s",line:"373",module:"normalize.xsl",C:[{N:"p.withUpper", +role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-character-maps"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"374",name:"use-character-maps",C:[{N:"fn",name:"string-join",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1785111044", +as:"1",slot:"0",C:[{N:"dot",type:"1NA nQ{}use-character-maps",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"1",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1785111044",slot:"0"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"sequence",C:[{N:"str",val:" "},{N:"forEach",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:"1NA nQ{}use-character-maps",flags:"a"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"102",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"1"}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"14",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}override-extension-function", +flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}override-extension-function"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA", +flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"103",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"66",rank:"5",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text",flags:"s",line:"486",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"487",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"104",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"84",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}stylesheet-prefix",flags:"s",line:"618",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match", +axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}stylesheet-prefix"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"618",name:"empty",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:namespace-uri-for-prefix",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:namespace-uri-for-prefix",C:[{N:"data", +diag:"0|0||fn:namespace-uri-for-prefix",C:[{N:"dot",type:"1NA nQ{}stylesheet-prefix"}]}]}]},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"619", +C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"105",C:[{N:"str",val:"XTSE0812"},{N:"fn",name:"concat",C:[{N:"str",val:"Undeclared namespace prefix - "},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"dot",type:"1NA",flags:"a"}]},{N:"dot",line:"620",type:"1NA",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"2",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}copy-accumulators",flags:"s",line:"500",module:"normalize.xsl", +C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}copy-accumulators"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean", +tailCall:"false",bSlot:"106",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"125",rank:"3",minImp:"0",slots:"4",matches:"NA nQ{}package-version",flags:"s",line:"945",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}package-version"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"946",C:[{N:"param",name:"Q{}XSLT-version",slot:"0",flags:"ti",as:"1AD",C:[{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"data",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"let",line:"947","var":"Q{}parts",as:"*AS",slot:"1",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:"1NA nQ{}package-version",flags:"a"}]}]}]},{N:"str",val:"-"},{N:"str",val:""}]},{N:"let",line:"948","var":"Q{}numeric",as:"*AS",slot:"2",C:[{N:"fn",name:"tokenize",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"1"}]},{N:"str",val:"\\."},{N:"str",val:""}]},{N:"choose",line:"960",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts", +slot:"1"},{N:"int",val:"2"}]}]},{N:"castable",flags:"a",as:"1ASNTNC",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"int",val:"2"}]}]}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}numeric",slot:"2"}]}]},{N:"every","var":"Q{}n",slot:"3",C:[{N:"varRef",name:"Q{}numeric",slot:"2"},{N:"castable",flags:"a",as:"1ADI",C:[{N:"varRef",name:"Q{}n",slot:"3"}]}]}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"107",C:[{N:"str",val:"XTSE0020"}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"@package-version "},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA nQ{}package-version",flags:"a"}]}]},{N:"str",val:" is invalid"}]},{N:"dot",type:"1NA nQ{}package-version",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"64",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}priority",flags:"s",line:"453",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest", +test:"NA nQ{}priority"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"461",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"dot",type:"1NA nQ{}priority",flags:"a"}]}]},{N:"dot",type:"1NA nQ{}priority",flags:"a"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"108",C:[{N:"str",val:"XTSE0530"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:template/@priority must be decimal - supplied value:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA nQ{}priority",flags:"a"}]}]},{N:"dot",type:"1NA nQ{}priority",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"52",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}version",flags:"s",line:"339",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent", +upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}version"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"340",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"convert",role:"namespace",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA", +flags:"a"}]}]},{N:"fn",role:"select",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",flags:"a"}]}]}]},{N:"str",val:"^\\+"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"9",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}declared-modes",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent", +upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}declared-modes"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"109", +C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"46",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode",flags:"s",line:"273",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"280",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"convert",role:"namespace",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"choose",role:"select",C:[{N:"compareToString",op:"eq",val:"#unnamed",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA", +flags:"a"}]}]}]}]}]},{N:"str",val:"#unnamed"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"110",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"50",rank:"3",minImp:"0", +slots:"0",matches:"NA nQ{}extension-element-prefixes",flags:"s",line:"309",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}extension-element-prefixes"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"312",type:"1NA", +flags:"a"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"75",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}new-each-time",flags:"s",line:"559",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}new-each-time"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"566",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"choose",role:"select",C:[{N:"compareToString",op:"eq",val:"maybe",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"str",val:"maybe"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}normalize-boolean",tailCall:"false", +bSlot:"111",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"104",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}as",flags:"s",line:"861",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}as"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"861", +name:"matches",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{}as"}]}]}]}]},{N:"str",val:"(\\*|\\+|\\?)\\s*$"},{N:"str",val:""}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"862",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"112",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE i[NE,N u[NE,ND]]"}]}]}]},{N:"str",val:"/@as="}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]}]},{N:"str",val:" cannot have an occurrence indicator"}]}, +{N:"dot",type:"1NA nQ{}as",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"41",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}as",flags:"s",line:"219",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}as"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"220",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"221","var":"Q{}parsedType",as:"1FM",slot:"1",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"convert",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"normalize.xsl",line:"221",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type", +C:[{N:"data",diag:"0|0||f:parse-sequence-type",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]}]}]},{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"normalize.xsl",line:"221",card:"1",diag:"0|1||f:parse-sequence-type",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"convert",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"normalize.xsl",line:"221",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:parse-sequence-type",C:[{N:"data",diag:"0|2||f:parse-sequence-type",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]},{N:"sequence",line:"222",C:[{N:"att",name:"as",C:[{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"113",C:[{N:"varRef",name:"Q{}parsedType",slot:"1"}]}]},{N:"att",line:"223",name:"ex:asJ",nsuri:"http://ns.saxonica.com/xslt/export", +C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"114",C:[{N:"varRef",name:"Q{}parsedType",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"60",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}format",flags:"s",line:"409",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}format"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"409",name:"not",C:[{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:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA nQ{}format"}]}]}]},{N:"str",val:"{"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"410",C:[{N:"fn",role:"name",name:"local-name",C:[{N:"dot",type:"1NA nQ{}format",flags:"a"}]},{N:"fn",role:"select",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"145",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"normalize.xsl",line:"410",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"115",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA nQ{}format",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTDE1460"}]},{N:"str",val:"\\{"},{N:"str",val:"{{"},{N:"str",val:""}]},{N:"str",val:"\\}"},{N:"str",val:"}}"}, +{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"111",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}streamability",flags:"s",line:"891",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}streamability"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"891",op:"ne", +comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}streamability"}]},{N:"str",val:"unclassified"}]}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"891",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]}, +{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"893",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"116",C:[{N:"str",val:"XTSE3155"},{N:"fn",name:"concat",C:[{N:"str",val:"Parameterless functions can only have @streamability=unclassified. Value given is "},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA nQ{}streamability", +flags:"a"}]}]},{N:"dot",type:"1NA nQ{}streamability",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"4",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}required",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}required"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"117",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"49",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces",flags:"s",line:"304",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}, +{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"305",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"118",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces", +flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"85",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}start-at",flags:"s",line:"623",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}start-at"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}number"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"624","var":"Q{}value",as:"1AS",slot:"0",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{}start-at",flags:"a"}]}]}]}]},{N:"sequence",line:"625",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"varRef",name:"Q{}value",slot:"0"},{N:"str",val:"{"}]}]},{N:"fn",name:"not", +C:[{N:"fn",name:"matches",C:[{N:"varRef",name:"Q{}value",slot:"0"},{N:"str",val:"-?[0-9]+(\\s+-?[0-9]+)*"},{N:"str",val:""}]}]}]},{N:"ufCall",line:"626",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"119",C:[{N:"str",val:"XTSE0020"},{N:"str",val:"Value must be numeric"},{N:"dot",type:"1NA nQ{}start-at",flags:"a"}]}]},{N:"dot",line:"628",type:"1NA nQ{}start-at",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"92",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}stable",flags:"s", +line:"698",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}stable"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"698",name:"not",C:[{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:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA nQ{}stable"}]}]}]},{N:"str",val:"{"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"699",name:"stable",C:[{N:"ufCall",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"120",C:[{N:"dot",type:"1NA nQ{}stable", +flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"67",part:"5",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}ZZZexpand-text",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}ZZZexpand-text"},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"121",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"52",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}version",flags:"s",line:"339",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"},{N:"compAtt", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"340",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"convert",role:"namespace",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"fn",role:"select",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",flags:"a"}]}]}]},{N:"str",val:"^\\+"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"55",rank:"3",minImp:"0",slots:"4",matches:"NA nQ{}use-attribute-sets",flags:"s",line:"361",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-attribute-sets"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}, +{N:"try",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"364",flags:"r",C:[{N:"compAtt",C:[{N:"fn",role:"name",name:"concat",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"http://www.w3.org/1999/XSL/Transform",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:"xsl:"},{N:"true"},{N:"str",val:""}]},{N:"str",val:"use-attribute-sets"}]}, +{N:"fn",role:"select",name:"string-join",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1313960293",as:"1",slot:"0",C:[{N:"dot",type:"1NA",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"1",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1313960293",slot:"0"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"forEach",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:"1NA",flags:"a"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"122",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"1"}]}]}]}]},{N:"str",val:" "}]}]},{N:"catch",errors:"*",C:[{N:"ufCall",line:"368",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", +bSlot:"123",C:[{N:"str",val:"XTSE0710"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"@"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:" must be a whitespace-separated list of EQNames; supplied: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:" Cause: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info", +type:"*",C:[{N:"str",val:"description"}]}]}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.9",seq:"82",rank:"4",minImp:"0",slots:"1",matches:"NA nQ{}visibility",flags:"s",line:"597",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}visibility"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"598","var":"Q{}value",as:"1AS",slot:"0",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{}visibility",flags:"a"}]}]}]}]},{N:"sequence",line:"599",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"}]}, +{N:"varRef",name:"Q{}value",slot:"0"}]}]},{N:"ufCall",line:"600",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"124",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"dot",type:"1NA nQ{}visibility",flags:"a"}]},{N:"str",val:" is not a permitted value for mode visibility"}]},{N:"dot",type:"1NA nQ{}visibility",flags:"a"}]}]},{N:"choose",line:"602",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent", +nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"private",C:[{N:"varRef",name:"Q{}value",slot:"0"}]}]}]},{N:"ufCall",line:"603",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"125",C:[{N:"str",val:"XTSE0020"},{N:"str",val:"private is the only permitted value for visibility of the unnamed mode"},{N:"dot",type:"1NA nQ{}visibility",flags:"a"}]}]},{N:"nextMatch",line:"605",flags:"t"}]}]}]},{N:"templateRule", +prec:"0",prio:"0.5",seq:"58",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}visibility",flags:"s",line:"389",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}visibility"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"399", +name:"visibility",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"let","var":"Q{}n",slot:"0",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{}visibility",flags:"a"}]}]}]}]},{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"5",C:[{N:"str", +val:"private"},{N:"str",val:"public"},{N:"str",val:"final"},{N:"str",val:"abstract"},{N:"str",val:"hidden"}]},{N:"varRef",name:"Q{}n",slot:"0"}]},{N:"varRef",name:"Q{}n",slot:"0"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"126",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"dot",type:"1NA nQ{}visibility",flags:"a"}]},{N:"str",val:" is not a permitted value for visibility"}]},{N:"dot",type:"1NA nQ{}visibility", +flags:"a"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"13",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}disable-output-escaping",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}disable-output-escaping"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"127",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"12",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}disable-output-escaping",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}disable-output-escaping"}, +{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}value-of"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"128",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule", +prec:"0",prio:"0.0",seq:"51",part:"1",rank:"2",minImp:"0",slots:"6",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes",flags:"s",line:"316",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"319","var":"Q{}att", +as:"1",slot:"3",C:[{N:"dot",type:"1NA",flags:"a"},{N:"let",line:"320","var":"Q{}parent",as:"*N u[NE,ND]",slot:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"336","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"5",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}parent",slot:"4"}]},{N:"compAtt",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"fn",role:"select",name:"string-join", +C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",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:"1NA",flags:"a"}]}]}]}]},{N:"choose",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"dot",type:"1AS"}]},{N:"dot",type:"1AS"},{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot",type:"1AS"}]},{N:"choose",C:[{N:"fn",name:"empty", +C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}parent",slot:"4"}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"129",C:[{N:"str",val:"XTSE0809"},{N:"str",val:"No default namespace is in scope"},{N:"varRef",name:"Q{}att",slot:"3"}]},{N:"true"},{N:"dot",type:"1AS"}]},{N:"fn",name:"empty",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", +slot:"5"}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"130",C:[{N:"str",val:"XTSE0808"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Prefix "},{N:"dot",type:"1AS"}]},{N:"str",val:" is not declared"}]},{N:"varRef",name:"Q{}att",slot:"3"}]},{N:"true"},{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.9",seq:"78",rank:"4",minImp:"0",slots:"0",matches:"NA nQ{}typed",flags:"s",line:"580",module:"normalize.xsl", +C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}typed"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"580",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}typed"}]},{N:"literal",count:"3",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"unspecified"}]}]}]}, +{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"581",type:"1NA nQ{}typed",flags:"a"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"79",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}typed",flags:"s",line:"583",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false", +C:[{N:"p.nodeTest",test:"NA nQ{}typed"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"584",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"131",C:[{N:"dot",type:"1NA", +flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"62",rank:"5",minImp:"0",slots:"0",matches:"NA nQ{}standalone",flags:"s",line:"422",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}standalone"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"422",op:"eq",comp:"CCC", +C:[{N:"data",diag:"1|0||eq",C:[{N:"dot",type:"1NA nQ{}standalone"}]},{N:"str",val:"omit"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document"}]},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"423",type:"1NA nQ{}standalone",flags:"a"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"76",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}terminate", +flags:"s",line:"569",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}terminate"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"569",name:"not",C:[{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:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA nQ{}terminate"}]}]}]},{N:"str",val:"{"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}message"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"570",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}terminate",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean", +tailCall:"false",bSlot:"132",C:[{N:"dot",type:"1NA nQ{}terminate",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"81",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}on-multiple-match",flags:"s",line:"594",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}on-multiple-match"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"595",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}on-multiple-match",flags:"a"}]},{N:"fn",role:"select",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{}on-multiple-match",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"55",part:"1",rank:"2",minImp:"0",slots:"4",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets", +flags:"s",line:"361",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets"},{N:"try",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"364",flags:"r",C:[{N:"compAtt",C:[{N:"fn",role:"name",name:"concat",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"http://www.w3.org/1999/XSL/Transform",C:[{N:"fn", +name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:"xsl:"},{N:"true"},{N:"str",val:""}]},{N:"str",val:"use-attribute-sets"}]},{N:"fn",role:"select",name:"string-join",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1313960293",as:"1",slot:"2",C:[{N:"dot",type:"1NA",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"3",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"slash",simple:"1",C:[{N:"varRef", +name:"Q{http://saxon.sf.net/generated-variable}current1313960293",slot:"2"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"forEach",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:"1NA",flags:"a"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"133",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", +slot:"3"}]}]}]}]},{N:"str",val:" "}]}]},{N:"catch",errors:"*",C:[{N:"ufCall",line:"368",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"134",C:[{N:"str",val:"XTSE0710"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"@"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:" must be a whitespace-separated list of EQNames; supplied: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat", +C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:" Cause: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"51",rank:"3",minImp:"0",slots:"6",matches:"NA nQ{}exclude-result-prefixes",flags:"s",line:"316",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest", +test:"NA nQ{}exclude-result-prefixes"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"319","var":"Q{}att",as:"1",slot:"0",C:[{N:"dot",type:"1NA",flags:"a"},{N:"let",line:"320","var":"Q{}parent",as:"*N u[NE,ND]",slot:"1",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"336", +"var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"2",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}parent",slot:"1"}]},{N:"compAtt",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"fn",role:"select",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",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:"1NA",flags:"a"}]}]}]}]},{N:"choose",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"dot",type:"1AS"}]},{N:"dot",type:"1AS"},{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot",type:"1AS"}]},{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}parent",slot:"1"}]}]}]}, +{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"135",C:[{N:"str",val:"XTSE0809"},{N:"str",val:"No default namespace is in scope"},{N:"varRef",name:"Q{}att",slot:"0"}]},{N:"true"},{N:"dot",type:"1AS"}]},{N:"fn",name:"empty",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"136",C:[{N:"str",val:"XTSE0808"},{N:"fn", +name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Prefix "},{N:"dot",type:"1AS"}]},{N:"str",val:" is not declared"}]},{N:"varRef",name:"Q{}att",slot:"0"}]},{N:"true"},{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"8",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}warning-on-multiple-match",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}warning-on-multiple-match"}, +{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"137",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule", +prec:"0",prio:"0.0",seq:"48",part:"1",rank:"2",minImp:"0",slots:"6",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",flags:"s",line:"288",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"289","var":"Q{}tokens", +as:"*AS",slot:"3",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:"1NA",flags:"a"}]}]}]}]},{N:"let",line:"290","var":"Q{}recognized",as:"?AS",slot:"4",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}tokens",slot:"3"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +"var":"Q{}uri",as:"1AS",slot:"5",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",type:"1AS"},{N:"or",module:"sorting.xsl",line:"21",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg438493423", +bSlot:"138"},{N:"varRef",name:"Q{}uri",slot:"5"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}uri",slot:"5"},{N:"str",val:"http://www.w3.org/2013/collation/UCA"}]}]}]}]}]},{N:"compAtt",line:"300",C:[{N:"choose",role:"name",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"str",val:"defaultCollation"},{N:"true"},{N:"str",val:"xsl:defaultCollation"}]},{N:"fn",role:"select",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose", +C:[{N:"varRef",name:"Q{}recognized",slot:"4"},{N:"varRef",name:"Q{}recognized",slot:"4"},{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}tokens",slot:"3"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"139",C:[{N:"str",val:"XTSE0125"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'Unknown default collation "'},{N:"atomSing", +card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:'"'}]},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"true"},{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"140",C:[{N:"str",val:"XTSE0125"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'No recognized collation in "'},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:'"'}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]}, +{N:"str",val:" "}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"73",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}lang",flags:"s",line:"548",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}lang"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"549",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NA nQ{}lang",flags:"a"}]}]}]},{N:"str",val:"\\{"},{N:"str",val:""}]}]},{N:"fn",name:"not",C:[{N:"castable",flags:"a",as:"1ASNTL",C:[{N:"data",diag:"2|0||castable as",C:[{N:"dot",type:"1NA nQ{}lang",flags:"a"}]}]}]}]},{N:"ufCall",line:"550", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"141",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"dot",type:"1NA nQ{}lang",flags:"a"}]},{N:"str",val:" is not a valid xs:language value"}]},{N:"dot",type:"1NA nQ{}lang",flags:"a"}]}]},{N:"dot",line:"552",type:"1NA nQ{}lang",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"95",part:"1",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}name",flags:"s",line:"736",module:"normalize.xsl", +C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"736",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{}name"}]}]}]},{N:"str",val:":"}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"736",name:"not",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NA nQ{}name"}]}]}]},{N:"str",val:"\\{"},{N:"str", +val:""}]}]}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"736",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"751","var":"Q{}p",slot:"1",C:[{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:"data",diag:"0|0||fn:substring-before",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"str",val:":"}]},{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"1"},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"axis",name:"parent", +nodeTest:"N u[NE,ND]"}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"142",C:[{N:"choose",line:"742",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"}]},{N:"str",val:"XTDE0830"},{N:"true"},{N:"str",val:"XTDE0860"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'Prefix "'},{N:"varRef",name:"Q{}p",slot:"1"}]},{N:"str",val:'" is not bound to a namespace'}]},{N:"dot",type:"1NA",flags:"a"}]}, +{N:"true"},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"95",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}name",flags:"s",line:"736",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"736",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{}name"}]}]}]},{N:"str",val:":"}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"736",name:"not",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p", +diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NA nQ{}name"}]}]}]},{N:"str",val:"\\{"},{N:"str",val:""}]}]}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"736",name:"empty",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}namespace"}]}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"751","var":"Q{}p",slot:"0",C:[{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:"data",diag:"0|0||fn:substring-before",C:[{N:"dot", +type:"1NA",flags:"a"}]}]}]},{N:"str",val:":"}]},{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"0"},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"143",C:[{N:"choose",line:"742",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"}]}, +{N:"str",val:"XTDE0830"},{N:"true"},{N:"str",val:"XTDE0860"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'Prefix "'},{N:"varRef",name:"Q{}p",slot:"0"}]},{N:"str",val:'" is not bound to a namespace'}]},{N:"dot",type:"1NA",flags:"a"}]},{N:"true"},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"94",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}name",flags:"s",line:"722",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false", +C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"731",name:"name",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"let","var":"Q{}n",slot:"0",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved", +tailCall:"false",bSlot:"144",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"145",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA nQ{}name",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA nQ{}name",flags:"a"}]},{N:"choose",C:[{N:"fn",name:"starts-with",C:[{N:"varRef", +name:"Q{}n",slot:"0"},{N:"str",val:"Q{}"}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"146",C:[{N:"str",val:"XTSE0740"},{N:"str",val:"Function must be in a namespace"},{N:"dot",type:"1NA nQ{}name",flags:"a"}]},{N:"true"},{N:"varRef",name:"Q{}n",slot:"0"}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"88",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"663",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent", +upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"664",name:"name",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"147",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"148",C:[{N:"convert", +from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA nQ{}name",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE1570"}]},{N:"dot",type:"1NA nQ{}name",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"74",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"555",module:"normalize.xsl",C:[{N:"p.withUpper", +role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"556",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}name",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}NCName", +tailCall:"false",bSlot:"149",C:[{N:"dot",type:"1NA nQ{}name",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"45",part:"5",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"269",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"270",name:"name",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"150",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"151",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"45",part:"4",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"269",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"270",name:"name",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"152",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"153",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"45",part:"3",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"269",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}decimal-format"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"270",name:"name",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"154",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"155",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"45",part:"2",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"269",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"270",name:"name",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"156",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"157",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"45",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"269",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"270",name:"name",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"158",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"159",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"45",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"269",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"270",name:"name",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"160",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"161",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"44",part:"1",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}name",flags:"s",line:"251",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"260",name:"name",C:[{N:"let","var":"Q{}n",slot:"1",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"162",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"choose",C:[{N:"compareToString",op:"eq",val:"Q{http://www.w3.org/1999/XSL/Transform}initial-template", +C:[{N:"varRef",name:"Q{}n",slot:"1"}]},{N:"varRef",name:"Q{}n",slot:"1"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"163",C:[{N:"varRef",name:"Q{}n",slot:"1"},{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"44",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}name",flags:"s",line:"251",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]}, +{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"260",name:"name",C:[{N:"let","var":"Q{}n",slot:"0",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"164",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}, +{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"choose",C:[{N:"compareToString",op:"eq",val:"Q{http://www.w3.org/1999/XSL/Transform}initial-template",C:[{N:"varRef",name:"Q{}n",slot:"0"}]},{N:"varRef",name:"Q{}n",slot:"0"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"165",C:[{N:"varRef",name:"Q{}n",slot:"0"},{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5", +seq:"43",part:"2",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"246",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"248",name:"name", +C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"166",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"167",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule", +prec:"0",prio:"0.5",seq:"43",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"246",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"248",name:"name",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"168",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"169",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"43",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"246",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"248",name:"name",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"170",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"171",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"105",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}use",flags:"s",line:"864",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}use"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"864",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"CCC", +C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{}use"}]}]}]}]},{N:"literal",count:"3",C:[{N:"str",val:"required"},{N:"str",val:"optional"},{N:"str",val:"absent"}]}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"865",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"172",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE i[NE,N u[NE,ND]]"}]}]}]},{N:"str",val:"/@use="}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA nQ{}use",flags:"a"}]}]},{N:"str",val:" must be one of required|optional|absent"}]}, +{N:"dot",type:"1NA nQ{}use",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"57",rank:"3",minImp:"0",slots:"3",matches:"NA nQ{}use-accumulators",flags:"s",line:"377",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-accumulators"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"386",name:"use-accumulators",C:[{N:"fn",name:"string-join",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1482748887",as:"1",slot:"0",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"},{N:"let","var":"Q{}n",slot:"1",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]}]}, +{N:"choose",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"varRef",name:"Q{}n",slot:"1"}]},{N:"str",val:"#all"},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"2",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1482748887",slot:"0"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}n", +slot:"1"}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"173",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"},{N:"str",val:"XTSE3300"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"86",rank:"5",minImp:"0",slots:"0",matches:"NA nQ{}method",flags:"s",line:"631",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}method"}, +{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"631",op:"=",card:"M:N",comp:"CCC",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{}method"}]}]}]}]},{N:"literal",count:"6",C:[{N:"str", +val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"json"},{N:"str",val:"adaptive"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"632",name:"method",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{}method",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"89",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}method",flags:"s",line:"667",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}method"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"}]},{N:"att",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"668",name:"method",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"174",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA nQ{}method",flags:"a"}]}]}]},{N:"check",card:"1",diag:"0|1||f:EQName", +C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE1570"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"80",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}on-no-match",flags:"s",line:"586",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}on-no-match"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"589",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"6",C:[{N:"str",val:"deep-copy"},{N:"str",val:"shallow-copy"},{N:"str",val:"deep-skip"},{N:"str",val:"shallow-skip"},{N:"str",val:"text-only-copy"},{N:"str",val:"fail"}]},{N:"fn",line:"587",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot", +type:"1NA nQ{}on-no-match",flags:"a"}]}]}]}]}]}]},{N:"ufCall",line:"590",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"175",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"dot",type:"1NA nQ{}on-no-match",flags:"a"}]},{N:"str",val:" is not a permitted value for on-no-match on mode"}]},{N:"dot",type:"1NA nQ{}on-no-match",flags:"a"}]}]},{N:"compAtt",line:"592",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}on-no-match", +flags:"a"}]},{N:"fn",role:"select",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{}on-no-match",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"79",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}streamable",flags:"s",line:"583",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent", +upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}streamable"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"584",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"176", +C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"15",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}streamable",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}streamable"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"177",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"38",rank:"0",minImp:"0",slots:"1",matches:"NT",flags:"s",line:"153",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NT"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"154",C:[{N:"param",name:"Q{}xml-space-preserve",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"choose",line:"155",C:[{N:"fn",line:"156",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT",flags:"a"}]}]},{N:"dot",line:"157",type:"1NT",flags:"a"},{N:"fn",line:"162",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE u[NE u[NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}choose,NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string],NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports],NE nQ{http://www.w3.org/1999/XSL/Transform}next-match],NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates],NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set],NE nQ{http://www.w3.org/1999/XSL/Transform}call-template]"}]}, +{N:"empty"},{N:"and",line:"164",op:"and",C:[{N:"varRef",name:"Q{}xml-space-preserve",slot:"0"},{N:"fn",name:"empty",C:[{N:"axis",name:"following-sibling",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}param,NE nQ{http://www.w3.org/1999/XSL/Transform}sort],NE nQ{http://www.w3.org/1999/XSL/Transform}context-item]"}]}]},{N:"elem",line:"165",name:"xsl:text",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"dot",line:"166",type:"1NT",flags:"a"}]},{N:"true"},{N:"dot",line:"170",type:"1NT", +flags:"a"}]}]}]}]}]},{N:"co",id:"47",binds:"48",C:[{N:"function",name:"Q{MyFunctions}decode-namespaces",line:"85",module:"namespaces.xsl",flags:"pU",as:"?FM",slots:"3",C:[{N:"arg",name:"Q{}ns",as:"*"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"98",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize", +C:[{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}ns",slot:"0"}]}]}]},{N:"let","var":"Q{}prefix",slot:"1",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"2",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"1"},{N:"choose",C:[{N:"compareToString",op:"eq", +val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"},{N:"varRef",name:"Q{}prefix",slot:"1"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"2"}]}]}]}]}]},{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:"49",binds:"48",C:[{N:"function",name:"Q{MyFunctions}record-namespaces", +line:"15",module:"namespaces.xsl",flags:"pU",as:"?AS",slots:"8",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}excluded",as:"*AS"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",C:[{N:"gc",line:"19",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}excluded",slot:"1"},{N:"str",val:"#all"}]},{N:"str",val:""},{N:"true"},{N:"let",line:"23", +"var":"Q{}exNS",as:"?NA",slot:"2",C:[{N:"check",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",line:"23",name:"Q{}context",slot:"0"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"choose",line:"24", +C:[{N:"or",line:"25",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}excluded",slot:"1"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}exNS",slot:"2"}]}]},{N:"fn",line:"26",name:"string",C:[{N:"varRef",name:"Q{}exNS",slot:"2"}]},{N:"true"},{N:"let",line:"29","var":"Q{}all",slot:"3",C:[{N:"ifCall",line:"98",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"varRef",line:"29",name:"Q{}exNS",slot:"2"}]}]}, +{N:"let","var":"Q{}prefix",slot:"4",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"5",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"4"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"},{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"5"}]}]}]}]}]},{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:"32","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1FM",slot:"6",flags:"l",C:[{N:"check",card:"1",diag:"0|0||map:get",C:[{N:"varRef",name:"Q{}all",slot:"3"}]},{N:"convert",line:"31", +from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:record-namespaces#2",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:record-namespaces#2",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}all",slot:"3"}]}]},{N:"gc",op:"!=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"dot",type:"1A"},{N:"str",val:"xml"}]}]},{N:"let",line:"32","var":"Q{}uri",slot:"7",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"},{N:"dot",type:"1A"}]},{N:"choose",line:"33",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}uri",slot:"7"}]},{N:"varRef",name:"Q{}excluded", +slot:"1"}]}]},{N:"fn",line:"34",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"dot",type:"1A"},{N:"str",val:"="}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}uri",slot:"7"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"24",binds:"24",C:[{N:"function",name:"Q{MyFunctions}closure",line:"604",module:"XSLT-SEF-compiler.xsl",flags:"pU",as:"*",slots:"7",C:[{N:"arg",name:"Q{}root",as:"1AS"},{N:"arg",name:"Q{}current",as:"1AS"},{N:"arg",name:"Q{}dependencies",as:"1FM"}, +{N:"arg",name:"Q{}found",as:"*AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"609","var":"Q{}next",slot:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}dependencies",slot:"2"},{N:"varRef",name:"Q{}current",slot:"1"}]},{N:"let",line:"610","var":"Q{}depends",as:"*A",slot:"5", +C:[{N:"fn",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}found",slot:"3"},{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"varRef",name:"Q{}next",slot:"4"}]}]}]},{N:"sequence",line:"611",C:[{N:"choose",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{}next",slot:"4"}]},{N:"varRef",name:"Q{}root",slot:"0"}]},{N:"fn",line:"614",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors", +loc:"XTDE0640"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Circular reference to attribute set "},{N:"varRef",name:"Q{}root",slot:"0"}]},{N:"str",val:" through attribute sets "}]},{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}found",slot:"3"},{N:"data",diag:"0|0||fn:string-join",C:[{N:"varRef",name:"Q{}next",slot:"4"}]}]},{N:"str",val:","}]}]}]}]},{N:"choose",line:"622",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}next",slot:"4"}]}, +{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*AS",slot:"6",flags:"l",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|3||f:closure",C:[{N:"cvUntyped",to:"AS",diag:"0|3||f:closure",C:[{N:"varRef",name:"Q{}depends",slot:"5"}]}]},{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}next",slot:"4"},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}root",slot:"0"},{N:"check",card:"1", +diag:"0|1||f:closure",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:closure",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:closure",C:[{N:"data",diag:"0|1||f:closure",C:[{N:"dot"}]}]}]}]},{N:"varRef",name:"Q{}dependencies",slot:"2"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"}]}]}]}]}]},{N:"true"},{N:"varRef",name:"Q{}found",slot:"3"}]}]}]}]}]}]},{N:"co",id:"30",binds:"48",C:[{N:"globalVariable",name:"Q{}reserved-namespaces",as:"+AU",line:"555",module:"XSLT-SEF-compiler.xsl", +visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"555",C:[{N:"forEach",C:[{N:"literal",count:"3",C:[{N:"str",val:"xsl"},{N:"str",val:"xs"},{N:"str",val:"fn"}]},{N:"cast",flags:"ae",as:"?AU",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"}, +{N:"dot",type:"1AS"}]}]}]},{N:"atomic",val:"http://www.w3.org/2001/XMLSchema",type:"AU"}]}]}]},{N:"co",id:"50",binds:"",C:[{N:"mode",name:"Q{}xpath-with-current",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"301",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fn",flags:"s",line:"1545",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1545",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"str",val:"current"}]}]},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1547",name:"varRef",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"fn-current"}]}, +{N:"att",name:"slot",flags:"l",C:[{N:"str",val:"199"}]},{N:"axis",line:"1548",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"co",id:"51",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1486277532",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join", +C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTDE0030"},{N:"str",val:"xsl:number/@lang"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"53",binds:"",C:[{N:"globalVariable",name:"Q{}group.function-names",as:"*AS",line:"958",module:"xpath.xsl",visibility:"PRIVATE",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"958",C:[{N:"literal",count:"2",C:[{N:"str",val:"group"},{N:"str",val:"grouping-key"}]},{N:"fn",name:"concat",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions}current-"},{N:"dot",type:"1AS"}]}]}]}]},{N:"co",id:"54",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg159823385",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"xsl:accumulator-rule/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"55",binds:"",C:[{N:"globalVariable",name:"Q{}compileSyntax",as:"1AB",line:"184",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC", +flags:"s",C:[{N:"false"}]}]},{N:"co",id:"56",binds:"",C:[{N:"function",name:"Q{MyFunctions}string-map",line:"448",module:"lib.xsl",flags:"pU",as:"1FM",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*FM"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"456",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"varRef",name:"Q{}input", +slot:"0"},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]},{N:"co",id:"57",binds:"58",C:[{N:"function",name:"Q{MyTypes}typeRelationship",line:"191",module:"type.xsl",flags:"pU",as:"1AS",slots:"10",C:[{N:"arg",name:"Q{}required",as:"1FM"},{N:"arg",name:"Q{}supplied",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"203","var":"Q{}combinedRel",slot:"2",C:[{N:"let",line:"201","var":"Q{}rel1",as:"1AS",slot:"3",C:[{N:"check",card:"1",diag:"0|0||f:combinedRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:combinedRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:combinedRelationship",C:[{N:"data",diag:"0|0||f:combinedRelationship",C:[{N:"ufCall",name:"Q{MyTypes}cardinalityRelationship",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||t:cardinalityRelationship",C:[{N:"convert", +from:"A",to:"AS",flags:"p",diag:"0|0||t:cardinalityRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:cardinalityRelationship",C:[{N:"data",diag:"0|0||t:cardinalityRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"o"}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||t:cardinalityRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:cardinalityRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:cardinalityRelationship",C:[{N:"data",diag:"0|1||t:cardinalityRelationship", +C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"o"}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"202","var":"Q{}rel2",as:"1AS",slot:"4",C:[{N:"let","var":"Q{}R",as:"1AS",slot:"5",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"data",diag:"0|0||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]}]}]}]}, +{N:"let","var":"Q{}S",as:"1AS",slot:"6",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"data",diag:"0|1||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"p"}]}]}]}]}]},{N:"choose",line:"185",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"5"},{N:"varRef",name:"Q{}S",slot:"6"}]},{N:"str", +val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"5"},{N:"varRef",name:"Q{}S",slot:"6"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"6"},{N:"varRef",name:"Q{}R",slot:"5"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]},{N:"choose",line:"314",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}rel1",slot:"3"},{N:"varRef",name:"Q{}rel2",slot:"4"}]},{N:"varRef",name:"Q{}rel1",slot:"3"},{N:"gc",op:"=",card:"N:1",comp:"CCC", +C:[{N:"sequence",C:[{N:"varRef",name:"Q{}rel1",slot:"3"},{N:"varRef",name:"Q{}rel2",slot:"4"}]},{N:"str",val:"DJ"}]},{N:"str",val:"DJ"},{N:"compareToString",op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel1",slot:"3"}]},{N:"varRef",name:"Q{}rel2",slot:"4"},{N:"compareToString",op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel2",slot:"4"}]},{N:"varRef",name:"Q{}rel1",slot:"3"},{N:"true"},{N:"str",val:"OV"}]}]}]},{N:"choose",line:"204",C:[{N:"or",line:"205",op:"or",C:[{N:"or",op:"or",C:[{N:"compareToString", +op:"eq",val:"DJ",C:[{N:"varRef",name:"Q{}combinedRel",slot:"2"}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]},{N:"str",val:""}]}]},{N:"varRef",line:"206",name:"Q{}combinedRel",slot:"2"},{N:"true"},{N:"let",line:"209","var":"Q{}R",slot:"7",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"n"}]},{N:"let",line:"210","var":"Q{}S",slot:"8",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"n"}]},{N:"let",line:"223","var":"Q{}rel2",as:"1AS",slot:"9", +C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}R",slot:"7"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}S",slot:"8"}]}]},{N:"str",val:"LT"},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}S",slot:"8"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}R",slot:"7"}]}]},{N:"str",val:"GT"},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}R",slot:"7"},{N:"varRef",name:"Q{}S",slot:"8"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"map",size:"0"}]},{N:"str",val:"EQ"},{N:"true"},{N:"str",val:"DJ"}]},{N:"choose",line:"314",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",line:"225",name:"Q{}combinedRel",slot:"2"},{N:"varRef",name:"Q{}rel2",slot:"9"}]},{N:"varRef",line:"225",name:"Q{}combinedRel",slot:"2"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",line:"225",name:"Q{}combinedRel",slot:"2"},{N:"varRef",name:"Q{}rel2",slot:"9"}]},{N:"str",val:"DJ"}]},{N:"str",val:"DJ"},{N:"compareToString", +line:"225",op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}combinedRel",slot:"2"}]},{N:"varRef",name:"Q{}rel2",slot:"9"},{N:"compareToString",op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel2",slot:"9"}]},{N:"varRef",line:"225",name:"Q{}combinedRel",slot:"2"},{N:"true"},{N:"str",val:"OV"}]}]}]}]}]}]}]}]},{N:"co",id:"59",binds:"",C:[{N:"function",name:"Q{MyFunctions}abbreviated-module-uri",line:"441",module:"lib.xsl",flags:"pU",as:"1AS",slots:"3",C:[{N:"arg",name:"Q{}uri",as:"1AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"443","var":"Q{}tokens",as:"*AS",slot:"1",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}uri",slot:"0"},{N:"str",val:"/"},{N:"str",val:""}]},{N:"let",line:"444","var":"Q{}n",as:"1ADI",slot:"2",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}tokens",slot:"1"}]},{N:"fn",line:"445",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}tokens",slot:"1"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}n",slot:"2"},{N:"int",val:"1"}]}]},{N:"str",val:"/"}]},{N:"subscript", +C:[{N:"varRef",name:"Q{}tokens",slot:"1"},{N:"varRef",name:"Q{}n",slot:"2"}]}]}]}]}]}]},{N:"co",id:"60",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_DOCUMENT",as:"1FM k[AS] v[1AS]",line:"31",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"ND"}]}]}]},{N:"co",id:"61",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_MAP",as:"1FM k[AS] v[1AS]",line:"41",module:"sequenceType.xsl",visibility:"PRIVATE", +C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"FM"}]}]}]},{N:"co",id:"62",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1317395634",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence", +C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0570"},{N:"str",val:"check"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"63",binds:"",C:[{N:"function",name:"Q{MyFunctions}parse-sequence-type",line:"1528",module:"xpath.xsl",flags:"pU",as:"1FM",slots:"3",C:[{N:"arg",name:"Q{}input",as:"1AS"},{N:"arg",name:"Q{}nsContext", +as:"1NE"},{N:"arg",name:"Q{}xpathDefaultNamespace",as:"?AS"},{N:"treat",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"varRef",name:"Q{}input",slot:"0"},{N:"varRef",name:"Q{}nsContext",slot:"1"},{N:"varRef", +name:"Q{}xpathDefaultNamespace",slot:"2"}]}]}]}]},{N:"co",id:"64",binds:"1 65",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_ATOMIC",as:"1AS",line:"58",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"58",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_ATOMIC",bSlot:"1"}]}]}]},{N:"co",id:"66",binds:"",C:[{N:"globalParam",name:"Q{}options", +as:"1FM",line:"181",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",C:[{N:"map",size:"0"}]}]},{N:"co",id:"67",binds:"",C:[{N:"globalVariable",name:"Q{}XTSE0010",as:"1AQ",line:"340",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0010"}]}]},{N:"co",id:"68",binds:"",C:[{N:"globalVariable",name:"Q{}roleMap",as:"1FM k[AS] v[1AS]",line:"1779",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"map",size:"9",C:[{N:"str", +val:"for-each-source"},{N:"str",val:"forEachStream"},{N:"str",val:"match"},{N:"str",val:"match"},{N:"str",val:"initial-value"},{N:"str",val:"init"},{N:"str",val:"with-params"},{N:"str",val:"wp"},{N:"str",val:"context-item"},{N:"str",val:"cxt"},{N:"str",val:"for-each-item"},{N:"str",val:"forEachItem"},{N:"str",val:"select"},{N:"str",val:"select"},{N:"str",val:"xpath"},{N:"str",val:"xpath"},{N:"str",val:"namespace-context"},{N:"str",val:"nsCxt"}]}]}]},{N:"co",id:"69",binds:"",C:[{N:"function",name:"Q{MyTypes}commonType", +line:"815",module:"type.xsl",flags:"pU",as:"1FM",slots:"8",C:[{N:"arg",name:"Q{}sequence.types",as:"+FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"817","var":"Q{}alphaCodes",as:"*AS",slot:"2",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|alphaCodes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|alphaCodes",C:[{N:"data",diag:"3|0|XTTE0570|alphaCodes",C:[{N:"lookup", +C:[{N:"varRef",name:"Q{}sequence.types",slot:"0"},{N:"str",val:"p"}]}]}]}]},{N:"let",line:"828","var":"Q{}maxCardinality",as:"1AS",slot:"3",flags:"e",C:[{N:"check",line:"829",card:"1",diag:"3|0|XTTE0570|maxCardinality",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|maxCardinality",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|maxCardinality",C:[{N:"data",diag:"3|0|XTTE0570|maxCardinality",C:[{N:"iterate",C:[{N:"varRef",role:"select",name:"Q{}sequence.types",slot:"0"},{N:"params",role:"params", +line:"830",C:[{N:"param",name:"Q{}maxSoFar",slot:"1",C:[{N:"str",role:"select",val:"0"},{N:"supplied",role:"conversion",slot:"1"}]}]},{N:"varRef",role:"on-completion",line:"831",name:"Q{}maxSoFar",slot:"1"},{N:"choose",role:"action",line:"832",C:[{N:"vc",line:"833",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}maxSoFar",slot:"1"}]},{N:"str",val:"*"}]},{N:"sequence",line:"834",C:[{N:"str",val:"*"}, +{N:"break"}]},{N:"true"},{N:"nextIteration",line:"837",C:[{N:"withParam",name:"Q{}maxSoFar",as:"1AS",slot:"1",C:[{N:"let",line:"838","var":"Q{}c1",as:"1AS",slot:"4",C:[{N:"check",card:"1",diag:"0|0||t:cardUnion",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:cardUnion",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:cardUnion",C:[{N:"data",diag:"0|0||t:cardUnion",C:[{N:"varRef",name:"Q{}maxSoFar",slot:"1"}]}]}]}]},{N:"let","var":"Q{}c2",as:"1AS",slot:"5",C:[{N:"check",card:"1",diag:"0|1||t:cardUnion", +C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:cardUnion",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:cardUnion",C:[{N:"data",diag:"0|1||t:cardUnion",C:[{N:"lookup",C:[{N:"dot",type:"1FM"},{N:"str",val:"o"}]}]}]}]}]},{N:"choose",line:"144",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}c1",slot:"4"},{N:"varRef",name:"Q{}c2",slot:"5"}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|t:cardUnion#2",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|t:cardUnion#2",C:[{N:"cast", +flags:"a",as:"1AZ",C:[{N:"varRef",name:"Q{}c1",slot:"4"}]}]}]},{N:"gc",line:"145",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}c1",slot:"4"},{N:"varRef",name:"Q{}c2",slot:"5"}]},{N:"str",val:"*"}]},{N:"str",val:"*"},{N:"gc",line:"146",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}c1",slot:"4"},{N:"varRef",name:"Q{}c2",slot:"5"}]},{N:"str",val:"+"}]},{N:"choose",line:"153",C:[{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}c1", +slot:"4"},{N:"varRef",name:"Q{}c2",slot:"5"}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"?"}]}]},{N:"str",val:"*"},{N:"true"},{N:"str",val:"+"}]},{N:"gc",line:"155",op:"=",card:"M:N",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}c1",slot:"4"},{N:"varRef",name:"Q{}c2",slot:"5"}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"?"}]}]},{N:"str",val:"?"},{N:"true"},{N:"str",val:"1"}]}]}]}]}]}]}]}]}]}]}]},{N:"ifCall",line:"844",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:"p"},{N:"fn",name:"substring",C:[{N:"first",C:[{N:"varRef",name:"Q{}alphaCodes",slot:"2"}]},{N:"int",val:"1"},{N:"let",line:"819","var":"Q{}minLength",as:"1ADI",slot:"6",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|minLength",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}alphaCodes",slot:"2"},{N:"fn",name:"string-length",C:[{N:"dot",type:"1AS"}]}]}]}]},{N:"treat", +line:"820",as:"ADI",diag:"3|0|XTTE0570|longestCommonPrefix",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|longestCommonPrefix",C:[{N:"cvUntyped",to:"ADI",diag:"3|0|XTTE0570|longestCommonPrefix",C:[{N:"data",diag:"3|0|XTTE0570|longestCommonPrefix",C:[{N:"iterate",C:[{N:"to",role:"select",C:[{N:"int",val:"1"},{N:"varRef",name:"Q{}minLength",slot:"6"}]},{N:"params",role:"params"},{N:"varRef",role:"on-completion",line:"821",name:"Q{}minLength",slot:"6"},{N:"let",role:"action",line:"822","var":"Q{}this",as:"1", +slot:"7",C:[{N:"dot",type:"1ADI"},{N:"choose",line:"823",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}alphaCodes",slot:"2"},{N:"fn",name:"substring",C:[{N:"dot",type:"1AS"},{N:"int",val:"1"},{N:"varRef",name:"Q{}this",slot:"7"}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"sequence",line:"824",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}this",slot:"7"},{N:"int", +val:"1"}]},{N:"break"}]}]}]}]}]}]}]}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"o"},{N:"varRef",name:"Q{}maxCardinality",slot:"3"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]}]}]},{N:"co",id:"70",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_DOUBLE",as:"1FM k[AS] v[1AS]",line:"16",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map", +size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"AO"}]}]}]},{N:"co",id:"71",binds:"",C:[{N:"function",name:"Q{MyFunctions}makeProperties",line:"193",module:"output.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}map",as:"1FM"},{N:"convert",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"196",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:makeProperties#1", +C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}map",slot:"0"}]},{N:"let",line:"197","var":"Q{}value",slot:"1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}map",slot:"0"},{N:"dot", +type:"1A"}]},{N:"valueOf",line:"199",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"dot",type:"1A"},{N:"str",val:"="}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"choose",line:"198",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"item-separator"}]},{N:"fn",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A", +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:"varRef",name:"Q{}value",slot:"1"}]}]}]}]},{N:"str",val:"%"},{N:"str",val:"%%"},{N:"str",val:""}]},{N:"str",val:"\n"},{N:"str",val:"%n"},{N:"str",val:""}]},{N:"true"},{N:"varRef",line:"199",name:"Q{}value",slot:"1"}]}]}]},{N:"str",val:"\n"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]},{N:"co",id:"72",binds:"1 73",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_STRING",as:"1AS", +line:"59",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"59",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"1"}]}]}]},{N:"co",id:"74",binds:"",C:[{N:"globalVariable",name:"Q{}compiler.version",as:"1ND",line:"192",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"doc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"192",flags:"t",text:"1.0.9",C:[{N:"valueOf",flags:"Sl",C:[{N:"str",val:"1.0.9"}]}]}]}]},{N:"co",id:"75",binds:"22",C:[{N:"function",name:"Q{MyFunctions}wrongAttribute",line:"803",module:"normalize.xsl",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"+NA"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"811",C:[{N:"first",C:[{N:"varRef", +name:"Q{}context",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"choose",line:"810",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"str",val:"XTSE0090"},{N:"true"},{N:"str",val:"XTSE0020"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name", +C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]},{N:"str",val:" must not have attribute @"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"dot",type:"1NA"}]}]}]}]},{N:"co",id:"76",binds:"",C:[{N:"function",name:"Q{MyFunctions}has-same-namespaces",line:"117",module:"namespaces.xsl",flags:"pU",as:"1AB",slots:"5",C:[{N:"arg",name:"Q{}n1",as:"1NE"},{N:"arg",name:"Q{}n2",as:"1NE"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"120","var":"Q{}n1.prefixes",as:"*AS",slot:"2",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"varRef",name:"Q{}n1",slot:"0"}]},{N:"let",line:"121","var":"Q{}n2.prefixes",as:"*AS",slot:"3",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"varRef",name:"Q{}n2",slot:"1"}]},{N:"and",line:"127",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}n1.prefixes",slot:"2"}]},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}n2.prefixes",slot:"3"}]}]},{N:"every","var":"Q{}p", +slot:"4",C:[{N:"varRef",name:"Q{}n1.prefixes",slot:"2"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}n2.prefixes",slot:"3"},{N:"varRef",name:"Q{}p",slot:"4"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"4"},{N:"varRef",name:"Q{}n1",slot:"0"}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"4"},{N:"varRef",name:"Q{}n2",slot:"1"}]}]}]}]}]}]}]}]}]},{N:"co",id:"77",binds:"22 15 78 79 78 79 78 79 78 79 78 79 78 79", +C:[{N:"template",name:"Q{}make-sort-key",flags:"os",as:"1NE",line:"33",module:"sorting.xsl",slots:"5",C:[{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",card:"1",diag:"7|0|XTTE0505|make-sort-key",C:[{N:"sequence",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion", +as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"35",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"36",name:"Q{}backward-compatibility",slot:"2",flags:"t",as:"1AB", +C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"data",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"37",name:"Q{}role",slot:"3",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?", +diag:"8|0|XTTE0590|role",C:[{N:"supplied",slot:"3"}]}]}]},{N:"choose",line:"39",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}stable"}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|11|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]},{N:"treat", +line:"40",as:"NE",diag:"7|0|XTTE0505|make-sort-key",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE1017"},{N:"str",val:"@stable may only appear on the first xsl:sort"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}stable"}]}]}]}]}]},{N:"elem",line:"48",name:"sortKey",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",line:"49",C:[{N:"varRef",name:"Q{}role",slot:"3"},{N:"choose",line:"51",C:[{N:"fn",line:"52",name:"empty",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"53",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]}]},{N:"true"},{N:"let",line:"56", +"var":"Q{}content",as:"*NE",slot:"4",C:[{N:"treat",line:"57",as:"NE",diag:"3|0|XTTE0570|content",C:[{N:"applyT",mode:"Q{}select.or.sequence",bSlot:"1",C:[{N:"dot",role:"select",flags:"a"}]}]},{N:"choose",line:"59",C:[{N:"varRef",line:"60",name:"Q{}backward-compatibility",slot:"2"},{N:"elem",line:"61",name:"first",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"BC",flags:"l",C:[{N:"str",val:"added"}]}, +{N:"varRef",line:"62",name:"Q{}content",slot:"4"}]}]},{N:"true"},{N:"varRef",line:"66",name:"Q{}content",slot:"4"}]}]}]},{N:"callT",line:"71",name:"Q{MyFunctions}AVT",bSlot:"2",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}order",C:[{N:"slash",line:"72",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}order"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"ascending"}]},{N:"withParam", +name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"74",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"3"},{N:"str",val:"order"}]}]}]}]}]},{N:"callT",line:"76",name:"Q{MyFunctions}AVT",bSlot:"4",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}lang",C:[{N:"slash",line:"77",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}lang"}]}]}, +{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"en"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"79",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"5"},{N:"str",val:"lang"}]}]}]}]}]},{N:"callT",line:"81",name:"Q{MyFunctions}AVT",bSlot:"6",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}case-order",C:[{N:"slash",line:"82",simple:"1",C:[{N:"treat",as:"N", +diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}case-order"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"#default"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"84",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"7"},{N:"str",val:"caseOrder"}]}]}]}]}]},{N:"choose",line:"86",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1", +C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}data-type"}]}]},{N:"callT",line:"87",name:"Q{MyFunctions}AVT",bSlot:"8",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}data-type",C:[{N:"slash",line:"88",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}data-type"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"text"}]},{N:"withParam", +name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"90",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"9"},{N:"str",val:"dataType"}]}]}]}]}]}]},{N:"callT",line:"93",name:"Q{MyFunctions}AVT",bSlot:"10",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}stable",C:[{N:"slash",line:"94",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}stable"}]}]}, +{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"true"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"96",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"11"},{N:"str",val:"stable"}]}]}]}]}]},{N:"choose",line:"98",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}, +{N:"callT",line:"99",name:"Q{MyFunctions}AVT",bSlot:"12",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}collation",C:[{N:"slash",line:"100",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"$codepoint.collation"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"102",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check", +card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"13"},{N:"str",val:"collation"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"80",binds:"",C:[{N:"function",name:"Q{MyFunctions}line-number",line:"17",module:"lib.xsl",flags:"pU",as:"1ADI",slots:"2",C:[{N:"arg",name:"Q{}node",as:"1N"},{N:"treat",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", +C:[{N:"varRef",name:"Q{}node",slot:"0"}]},{N:"choose",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"1"},{N:"int",val:"-1"}]},{N:"instance",of:"1NE",C:[{N:"varRef",name:"Q{}node",slot:"0"}]}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"1"}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"81",binds:"",C:[{N:"function",name:"Q{MyTypes}cardUnion", +line:"140",module:"type.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}c1",as:"1AS"},{N:"arg",name:"Q{}c2",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"143",C:[{N:"vc",line:"144",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}c1",slot:"0"},{N:"varRef",name:"Q{}c2",slot:"1"}]},{N:"convert",line:"144",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|t:cardUnion#2", +C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|t:cardUnion#2",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"varRef",name:"Q{}c1",slot:"0"}]}]}]},{N:"gc",line:"145",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}c1",slot:"0"},{N:"varRef",name:"Q{}c2",slot:"1"}]},{N:"str",val:"*"}]},{N:"str",val:"*"},{N:"gc",line:"146",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}c1",slot:"0"},{N:"varRef",name:"Q{}c2",slot:"1"}]},{N:"str",val:"+"}]},{N:"choose",line:"153",C:[{N:"gc", +op:"=",card:"M:N",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}c1",slot:"0"},{N:"varRef",name:"Q{}c2",slot:"1"}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"?"}]}]},{N:"str",val:"*"},{N:"true"},{N:"str",val:"+"}]},{N:"gc",line:"155",op:"=",card:"M:N",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}c1",slot:"0"},{N:"varRef",name:"Q{}c2",slot:"1"}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"?"}]}]},{N:"str",val:"?"},{N:"true"},{N:"str",val:"1"}]}]}]},{N:"co", +id:"82",vis:"PRIVATE",binds:"",C:[{N:"function",name:"Q{MyFunctions}pvt-emit-expression",line:"29",module:"XSLT-value-template.xsl",flags:"pU",as:"1NA",slots:"1",C:[{N:"arg",name:"Q{}in",as:"1AS"},{N:"att",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation f=MyFunctions xs=~ xsl=~ xml=~",line:"32",name:"expression",C:[{N:"varRef",name:"Q{}in",slot:"0"}]}]}]},{N:"co",id:"83",binds:"1 84",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_COMMENT",as:"1AS",line:"51",module:"sequenceType.xsl",visibility:"PRIVATE", +C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"51",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_COMMENT",bSlot:"1"}]}]}]},{N:"co",id:"85",binds:"",C:[{N:"globalVariable",name:"Q{}ST.ANY_SEQUENCE",as:"1FM k[AS] v[1AS]",line:"9",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]}]}]}, +{N:"co",id:"86",binds:"",C:[{N:"function",name:"Q{MyTypes}makeOptional",line:"193",module:"sequenceType.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"fn",role:"body",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"196",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"^1"},{N:"str",val:"?"},{N:"str",val:""}]},{N:"str",val:"^\\+"},{N:"str",val:"*"},{N:"str",val:""}]}]}]}, +{N:"co",id:"87",binds:"",C:[{N:"mode",onNo:"TC",flags:"dW",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"69",rank:"0",minImp:"0",slots:"0",matches:"NA nQ{}standalone",flags:"s",line:"517",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NA nQ{}standalone"},{N:"compareToString",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"517", +op:"eq",val:"omit",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}standalone"}]}]}]}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"518",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}standalone",flags:"a"}]},{N:"str",role:"select",val:"omit"}]}]}]}]},{N:"co",id:"88",binds:"",C:[{N:"globalVariable", +name:"Q{}ST.SINGLE_MAP",as:"1FM k[AS] v[1AS]",line:"40",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"FM"}]}]}]},{N:"co",id:"89",binds:"",C:[{N:"function",name:"Q{MyFunctions}syntax-error",line:"221",module:"lib.xsl",flags:"pU",as:"*",slots:"3",C:[{N:"arg",name:"Q{}code",as:"1AS"},{N:"arg",name:"Q{}message",as:"1AS"},{N:"arg",name:"Q{}location",as:"1AS"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"226",name:"error",C:[{N:"fn",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"varRef",line:"226",name:"Q{}code",slot:"0"}]},{N:"varRef",name:"Q{}message",slot:"1"}]}]}]},{N:"co",id:"90",binds:"",C:[{N:"function",name:"Q{MyFunctions}syntax-error",line:"214",module:"lib.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}code",as:"1AS"},{N:"arg",name:"Q{}message",as:"1AS"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"218",name:"error",C:[{N:"fn",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"varRef",line:"218",name:"Q{}code",slot:"0"}]},{N:"varRef",name:"Q{}message",slot:"1"}]}]}]},{N:"co",id:"91",binds:"90",C:[{N:"function",name:"Q{MyFunctions}syntax-error",line:"206",module:"lib.xsl",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}message",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"209",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error",tailCall:"foreign",bSlot:"0",C:[{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{}message",slot:"0"}]}]}]}]},{N:"co",id:"92",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ZERO_OR_MORE",as:"1ADI",line:"109",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"7"}]}]},{N:"co",id:"93",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.DISJOINT",as:"1AS",line:"165",module:"type.xsl",visibility:"PRIVATE",flags:"s", +C:[{N:"str",val:"DJ"}]}]},{N:"co",id:"73",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_STRING",as:"1FM k[AS] v[1AS]",line:"24",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AS"}]}]}]},{N:"co",id:"94",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_NAMESPACE",as:"1FM k[AS] v[1AS]",line:"39",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str", +val:"p"},{N:"str",val:"NN"}]}]}]},{N:"co",id:"95",binds:"95 95",C:[{N:"function",name:"Q{MyFunctions}is-tail-position",line:"261",module:"lib.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"263",card:"1",diag:"5|0|XTTE0780|f:is-tail-position#1",C:[{N:"forEach",C:[{N:"varRef", +name:"Q{}context",slot:"0"},{N:"and",line:"270",op:"and",C:[{N:"fn",line:"259",name:"empty",C:[{N:"filter",line:"270",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE"},{N:"axis",line:"259",name:"following-sibling",nodeTest:"NE"}]},{N:"fn",line:"259",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}fallback,NE nQ{http://www.w3.org/1999/XSL/Transform}catch]"}]}]}]},{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent", +nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}iterate,NE nQ{http://www.w3.org/1999/XSL/Transform}try],NE nQ{http://www.w3.org/1999/XSL/Transform}catch]"}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}if"}]},{N:"ufCall",name:"Q{MyFunctions}is-tail-position",tailCall:"false",bSlot:"0",C:[{N:"treat",as:"NE",diag:"0|0||f:is-tail-position",C:[{N:"check",card:"1",diag:"0|0||f:is-tail-position",C:[{N:"axis",name:"parent", +nodeTest:"N u[NE,ND]"}]}]}]},{N:"true"},{N:"false"}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}when,NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise]"}]},{N:"ufCall",name:"Q{MyFunctions}is-tail-position",tailCall:"false",bSlot:"1",C:[{N:"treat",as:"NE",diag:"0|0||f:is-tail-position",C:[{N:"check",card:"1",diag:"0|0||f:is-tail-position",C:[{N:"docOrder",intra:"1",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent", +nodeTest:"N u[NE,ND]"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]}]}]},{N:"true"},{N:"false"}]}]}]}]}]}]}]},{N:"co",id:"52",binds:"",C:[{N:"globalVariable",name:"Q{}roleKind",as:"1FM k[AS] v[1ADI]",line:"532",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"18",C:[{N:"str",val:"TEMPLATE_RESULT"},{N:"int",val:"7"},{N:"str",val:"GROUPING_KEY"},{N:"int",val:"11"},{N:"str",val:"EVALUATE_RESULT"},{N:"int",val:"12"},{N:"str",val:"CONTEXT_ITEM"},{N:"int",val:"13"}, +{N:"str",val:"FUNCTION_RESULT"},{N:"int",val:"5"},{N:"str",val:"UNARY_EXPR"},{N:"int",val:"9"},{N:"str",val:"TYPE_OP"},{N:"int",val:"2"},{N:"str",val:"CHARACTER_MAP_EXPANSION"},{N:"int",val:"16"},{N:"str",val:"ORDER_BY"},{N:"int",val:"6"},{N:"str",val:"AXIS_STEP"},{N:"int",val:"14"},{N:"str",val:"DOCUMENT_ORDER"},{N:"int",val:"17"},{N:"str",val:"PARAM"},{N:"int",val:"8"},{N:"str",val:"INSTRUCTION"},{N:"int",val:"4"},{N:"str",val:"UPDATING_EXPR"},{N:"int",val:"10"},{N:"str",val:"BINARY_EXPR"},{N:"int", +val:"1"},{N:"str",val:"OPTION"},{N:"int",val:"15"},{N:"str",val:"FUNCTION"},{N:"int",val:"0"},{N:"str",val:"VARIABLE"},{N:"int",val:"3"}]}]}]},{N:"co",id:"19",binds:"18 18 18",C:[{N:"template",name:"Q{}sequence-constructor",flags:"os",as:"1",line:"86",module:"select-sequence.xsl",slots:"5",C:[{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"87",card:"1", +diag:"7|0|XTTE0505|sequence-constructor",C:[{N:"sequence",C:[{N:"param",name:"Q{}xml-space-preserve",slot:"0",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|xml-space-preserve",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|xml-space-preserve",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|xml-space-preserve",C:[{N:"data",diag:"8|0|XTTE0590|xml-space-preserve",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"88",name:"Q{}attr",slot:"1",as:"*NA", +C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"param",line:"89",name:"Q{}include-params",slot:"2",as:"1AB",C:[{N:"true",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|include-params",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|include-params",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|include-params",C:[{N:"data",diag:"8|0|XTTE0590|include-params",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param", +line:"90",name:"Q{}others",slot:"3",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|others",C:[{N:"supplied",slot:"3"}]}]},{N:"let",line:"96","var":"Q{}nodes",as:"*N",slot:"4",C:[{N:"union",op:"|",C:[{N:"except",line:"95",op:"except",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"union",line:"94",op:"|",C:[{N:"union",op:"|",C:[{N:"union",op:"|",C:[{N:"filter",flags:"ib", +C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}include-params",slot:"2"}]}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot", +flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]}]}]},{N:"filter",line:"92",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space", +C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]},{N:"choose",line:"97",C:[{N:"and",line:"98",op:"and",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}nodes",slot:"4"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}others",slot:"3"}]}]},{N:"elem",line:"99",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"varRef",line:"100",name:"Q{}attr",slot:"1"}]},{N:"and",line:"103",op:"and",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}others",slot:"3"}]},{N:"compareToInt",op:"eq", +val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}nodes",slot:"4"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]}]},{N:"condSeq",line:"104",C:[{N:"applyT",mode:"Q{}sef",bSlot:"0",C:[{N:"varRef",role:"select",name:"Q{}nodes",slot:"4"},{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"105",name:"Q{}attr",slot:"1"}]}]},{N:"onEmpty",line:"108",C:[{N:"elem",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"varRef",line:"109",name:"Q{}attr", +slot:"1"}]}]}]},{N:"and",line:"113",op:"and",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}nodes",slot:"4"}]},{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}others",slot:"3"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]}]},{N:"condSeq",line:"114",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}others",slot:"3"},{N:"copy",line:"115",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"116",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef", +name:"Q{}attr",slot:"1"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"onEmpty",line:"120",C:[{N:"elem",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]},{N:"fn",line:"123",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}nodes",slot:"4"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"}]}]}]},{N:"elem",line:"124",name:"condSeq",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +line:"125",C:[{N:"varRef",name:"Q{}attr",slot:"1"},{N:"varRef",name:"Q{}others",slot:"3"},{N:"applyT",line:"126",mode:"Q{}sef",bSlot:"1",C:[{N:"varRef",role:"select",name:"Q{}nodes",slot:"4"}]}]}]},{N:"true"},{N:"elem",line:"130",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"131",C:[{N:"varRef",name:"Q{}attr",slot:"1"},{N:"varRef",name:"Q{}others",slot:"3"},{N:"applyT",line:"132",mode:"Q{}sef",bSlot:"2",C:[{N:"varRef",role:"select",name:"Q{}nodes",slot:"4"}]}]}]}]}]}]}]}]}]}, +{N:"co",id:"96",binds:"",C:[{N:"function",name:"Q{MyTypes}alphaRelationship",line:"170",module:"type.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}R",as:"1AS"},{N:"arg",name:"Q{}S",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"185",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"0"},{N:"varRef",name:"Q{}S",slot:"1"}]},{N:"str", +val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"0"},{N:"varRef",name:"Q{}S",slot:"1"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"1"},{N:"varRef",name:"Q{}R",slot:"0"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]},{N:"co",id:"97",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_ATTRIBUTE",as:"1FM k[AS] v[1AS]",line:"36",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"}, +{N:"str",val:"p"},{N:"str",val:"NA"}]}]}]},{N:"co",id:"98",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}QUOT",as:"1ADI",line:"21",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"34"}]}]},{N:"co",id:"99",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1542155234",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTDE0980"},{N:"str",val:"xsl:number/@value"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"100",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_PROCESSING_INSTRUCTION",as:"1FM k[AS] v[1AS]",line:"38",module:"sequenceType.xsl", +visibility:"PRIVATE",C:[{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"NP"}]}]}]},{N:"co",id:"101",binds:"",C:[{N:"mode",name:"Q{}exportNS",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"302",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"1562",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"compElem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1563",C:[{N:"fn",role:"name",name:"local-name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",role:"namespace",val:"http://ns.saxonica.com/xslt/export"},{N:"applyT",role:"content",line:"1564",flags:"c",bSlot:"-1",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"namespace",nodeTest:"NN"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"303",part:"3",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}ns", +flags:"s",line:"1567",module:"xpath.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}ns"},{N:"p.nodeTest",test:"NE nQ{}gVarRef"}]},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"303",part:"2",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}ns",flags:"s",line:"1567",module:"xpath.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}ns"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"}]}, +{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"303",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}ns",flags:"s",line:"1567",module:"xpath.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}ns"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"303",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}ns",flags:"s",line:"1567",module:"xpath.xsl", +C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}ns"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}int"}]},{N:"empty",role:"action"}]}]}]},{N:"co",id:"102",binds:"",C:[{N:"globalVariable",name:"Q{}top-level-declarations",as:"+NE",line:"268",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"269", +C:[{N:"elem",name:"accumulator",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"270",name:"attribute-set",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"271",name:"character-map",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"272",name:"decimal-format",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"273",name:"function",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"274",name:"global-context-item",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"275",name:"import",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"276",name:"import-schema", +nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"277",name:"include",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"278",name:"key",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"279",name:"mode",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"280",name:"namespace-alias",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"281",name:"output",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"282",name:"param",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"283",name:"preserve-space",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"284",name:"strip-space", +nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"285",name:"template",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"286",name:"use-package",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"287",name:"variable",nsuri:"",C:[{N:"empty"}]}]}]}]},{N:"co",id:"103",binds:"",C:[{N:"globalVariable",name:"Q{}FAST_JAVA_XPATH",as:"1AB",line:"103",module:"xpath.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"104",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_NODE",as:"1FM k[AS] v[1AS]",line:"32",module:"sequenceType.xsl", +visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"N"}]}]}]},{N:"co",id:"16",binds:"48 27 48 68 48 68",C:[{N:"mode",name:"Q{}create.xpath",onNo:"FF",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.0",seq:"409",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"s",as:"*NA",line:"1866",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}, +{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1867",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"att",line:"1868",name:"cxt",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"templateRule",prec:"0", +prio:"-0.5",seq:"407",rank:"0",minImp:"0",slots:"13",matches:"NA",flags:"s",line:"1818",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1819",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat", +role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1820",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"1821",name:"Q{}backward-compatibility", +slot:"2",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"data",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"1822",name:"Q{}role",slot:"3",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|role", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"1826",name:"Q{}ns",slot:"4",flags:"t",as:"?AS",C:[{N:"check",role:"select",card:"?",diag:"8|0|XTTE0600|ns",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0600|ns",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0600|ns",C:[{N:"data",diag:"8|0|XTTE0600|ns",C:[{N:"first",C:[{N:"sequence",C:[{N:"lastOf",C:[{N:"slash",simple:"2",C:[{N:"fn",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NA", +flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"9",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +card:"1",diag:"0|0||f:encode-namespaces",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"9"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS", +diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"9"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"9"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0", +comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|ns",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|ns", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|ns",C:[{N:"data",diag:"8|0|XTTE0590|ns",C:[{N:"supplied",slot:"4"}]}]}]}]}]},{N:"param",line:"1827",name:"Q{}attr",slot:"5",C:[{N:"empty",role:"select"},{N:"supplied",role:"conversion",slot:"5"}]},{N:"param",line:"1828",name:"Q{}type",slot:"6",C:[{N:"empty",role:"select"},{N:"supplied",role:"conversion",slot:"6"}]},{N:"param",line:"1831",name:"Q{}checkType",slot:"7",C:[{N:"empty",role:"select"},{N:"supplied",role:"conversion",slot:"7"}]},{N:"param",line:"1832", +name:"Q{}diagnostic",slot:"8",C:[{N:"empty",role:"select"},{N:"supplied",role:"conversion",slot:"8"}]},{N:"elem",line:"1835",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"fn",name:"string",C:[{N:"choose",C:[{N:"varRef",name:"Q{}type",slot:"6"},{N:"fn",name:"concat",C:[{N:"str",val:" treat as "},{N:"atomSing",card:"?", +diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}type",slot:"6"}]}]}]}]}]}]},{N:"att",name:"loc",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"10",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +type:"1NA",flags:"a"},{N:"convert",module:"lib.xsl",line:"407",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"10"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/@"},{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"10"}]}]}]}]}]}]}]}, +{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"11",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:line-number", +C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"11"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let", +"var":"Q{}ln",slot:"12",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"11"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"12"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"11"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"12"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns", +slot:"4"}]},{N:"varRef",line:"1836",name:"Q{}role",slot:"3"},{N:"choose",line:"1837",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}role",slot:"3"}]},{N:"applyT",line:"1838",mode:"Q{}roleMap",bSlot:"1",C:[{N:"dot",role:"select",type:"1NA",flags:"a"}]}]},{N:"choose",line:"1840",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"2"},{N:"att",line:"1841",name:"BC",flags:"l",C:[{N:"str",val:"true"}]}]},{N:"choose",line:"1843",C:[{N:"varRef",name:"Q{}checkType",slot:"7"},{N:"sequence",line:"1844", +C:[{N:"att",name:"checkType",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{}checkType",slot:"7"}]}]}]},{N:"str",val:" "}]}]},{N:"att",line:"1845",name:"diagnostic",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{}diagnostic",slot:"8"}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"varRef",line:"1847",name:"Q{}attr",slot:"5"},{N:"varRef",line:"1847",name:"Q{}xpath-default-namespace", +slot:"0"},{N:"varRef",line:"1847",name:"Q{}default-collation",slot:"1"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"408",part:"1",rank:"2",minImp:"0",slots:"8",matches:"NA nQ{}match",flags:"s",line:"1851",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}match"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1852",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1853",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?", +diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"1855",name:"Q{}ns",slot:"2",flags:"t",as:"?AS",C:[{N:"check",role:"select",card:"?",diag:"8|0|XTTE0600|ns",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0600|ns",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0600|ns",C:[{N:"data",diag:"8|0|XTTE0600|ns",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}, +{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"7",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:encode-namespaces",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"choose", +module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"7"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"7"},{N:"attVal", +name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"7"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces", +bSlot:"2"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|ns",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|ns",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|ns",C:[{N:"data",diag:"8|0|XTTE0590|ns",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param", +line:"1856",name:"Q{}role",slot:"3",C:[{N:"lookup",role:"select",C:[{N:"gVarRef",name:"Q{}roleMap",bSlot:"3"},{N:"str",val:"match"}]},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param",line:"1857",name:"Q{}attr",slot:"4",C:[{N:"empty",role:"select"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"param",line:"1858",name:"Q{}surroundFunction",slot:"5",C:[{N:"str",role:"select",val:""},{N:"supplied",role:"conversion",slot:"5"}]},{N:"elem",line:"1859",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",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{}role",slot:"3"}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"2"}]},{N:"varRef",line:"1860",name:"Q{}attr",slot:"4"},{N:"varRef",line:"1860",name:"Q{}xpath-default-namespace", +slot:"0"},{N:"varRef",line:"1860",name:"Q{}default-collation",slot:"1"},{N:"choose",line:"1861",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"applyT",line:"1862",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"408", +rank:"2",minImp:"0",slots:"8",matches:"NA nQ{}match",flags:"s",line:"1851",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}match"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1852", +C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1853",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation", +C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"1855",name:"Q{}ns",slot:"2",flags:"t",as:"?AS",C:[{N:"check",role:"select",card:"?",diag:"8|0|XTTE0600|ns",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0600|ns",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0600|ns",C:[{N:"data",diag:"8|0|XTTE0600|ns",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"let", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"6",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:encode-namespaces",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"choose", +module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"attVal", +name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces", +bSlot:"4"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|ns",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|ns",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|ns",C:[{N:"data",diag:"8|0|XTTE0590|ns",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param", +line:"1856",name:"Q{}role",slot:"3",C:[{N:"lookup",role:"select",C:[{N:"gVarRef",name:"Q{}roleMap",bSlot:"5"},{N:"str",val:"match"}]},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param",line:"1857",name:"Q{}attr",slot:"4",C:[{N:"empty",role:"select"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"param",line:"1858",name:"Q{}surroundFunction",slot:"5",C:[{N:"str",role:"select",val:""},{N:"supplied",role:"conversion",slot:"5"}]},{N:"elem",line:"1859",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",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{}role",slot:"3"}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"2"}]},{N:"varRef",line:"1860",name:"Q{}attr",slot:"4"},{N:"varRef",line:"1860",name:"Q{}xpath-default-namespace", +slot:"0"},{N:"varRef",line:"1860",name:"Q{}default-collation",slot:"1"},{N:"choose",line:"1861",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"applyT",line:"1862",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]}]}]}]}]}]}]}]}]},{N:"co",id:"17",binds:"1 6",C:[{N:"globalVariable", +name:"Q{}SJ.SINGLE_DOCUMENT",as:"1AS",line:"48",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"48",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_DOCUMENT",bSlot:"1"}]}]}]},{N:"co",id:"105",binds:"106",C:[{N:"template",name:"Q{}staticText",flags:"os",line:"929",module:"static.xsl",slots:"2",C:[{N:"sequence",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"930",C:[{N:"param",name:"Q{}xml-space-preserve",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"iterate",line:"932",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"params",role:"params",line:"933",C:[{N:"param",name:"Q{}pending-text",slot:"1",as:"1AS",C:[{N:"str",role:"select",val:""},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|pending-text", +C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|pending-text",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|pending-text",C:[{N:"data",diag:"8|0|XTTE0590|pending-text",C:[{N:"supplied",slot:"1"}]}]}]}]}]}]},{N:"choose",role:"on-completion",line:"935",C:[{N:"or",op:"or",C:[{N:"fn",name:"normalize-space",C:[{N:"varRef",name:"Q{}pending-text",slot:"1"}]},{N:"varRef",name:"Q{}xml-space-preserve",slot:"0"}]},{N:"valueOf",line:"936",C:[{N:"varRef",name:"Q{}pending-text",slot:"1"}]}]},{N:"choose", +role:"action",line:"940",C:[{N:"instance",of:"1NE",C:[{N:"dot",type:"1N u[NT,NC,NE,NP]"}]},{N:"sequence",line:"941",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"normalize-space",C:[{N:"varRef",name:"Q{}pending-text",slot:"1"}]},{N:"varRef",name:"Q{}xml-space-preserve",slot:"0"}]},{N:"valueOf",line:"942",C:[{N:"varRef",name:"Q{}pending-text",slot:"1"}]}]},{N:"applyT",line:"944",mode:"Q{}static",bSlot:"0",C:[{N:"dot",role:"select",type:"1N u[NT,NC,NE,NP]"}]},{N:"nextIteration",line:"945",C:[{N:"withParam", +name:"Q{}pending-text",as:"1AS",slot:"1",C:[{N:"str",val:""}]}]}]},{N:"instance",line:"949",of:"1NT",C:[{N:"dot",type:"1N u[NT,NC,NE,NP]"}]},{N:"nextIteration",line:"950",C:[{N:"withParam",name:"Q{}pending-text",as:"1AS",slot:"1",C:[{N:"fn",line:"951",name:"concat",C:[{N:"varRef",name:"Q{}pending-text",slot:"1"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1N u[NT,NC,NE,NP]"}]}]}]}]}]}]}]}]}]},{N:"co",id:"107",binds:"36 37",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg728602192", +as:"+AU",line:"21",module:"sorting.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"21",C:[{N:"gVarRef",name:"Q{}codepoint.collation",bSlot:"0"},{N:"gVarRef",name:"Q{}html-ascii-case-insensitive.collation",bSlot:"1"}]}]}]},{N:"co",id:"108",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ATTRIBUTE",as:"1FM k[AS] v[1AS]", +line:"35",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"NA"}]}]}]},{N:"co",id:"109",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_INTEGER",as:"1FM k[AS] v[1AS]",line:"23",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"ADI"}]}]}]},{N:"co",id:"110",binds:"111 110 111",C:[{N:"function",name:"Q{MyFunctions}serialize", +line:"297",module:"lib.xsl",flags:"pU",as:"*AS",slots:"7",C:[{N:"arg",name:"Q{}in",as:"*"},{N:"arg",name:"Q{}indent",as:"1AS"},{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"304",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}in",slot:"0"}]},{N:"str",val:"()"}]},{N:"forEach",line:"308",C:[{N:"varRef",name:"Q{}in",slot:"0"}, +{N:"choose",line:"309",C:[{N:"instance",line:"311",of:"1FM",C:[{N:"dot"}]},{N:"let",line:"312","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:"325",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"map{\n"},{N:"let","var":"Q{}m",slot:"3",C:[{N:"dot"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1FM",slot:"4",flags:"l",C:[{N:"treat",as:"FM",diag:"0|0||map:get",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:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}indent",slot:"2"},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"0",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:"1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"4"},{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:"check",card:"?",diag:"0|1||fn:concat", +C:[{N:"varRef",name:"Q{}p",slot:"5"}]},{N:"true"},{N:"fn",name:"concat",C:[{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:"331",of:"1FA",C:[{N:"dot"}]},{N:"fn",line:"332",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"["},{N:"fn",name:"string-join",C:[{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"2", +C:[{N:"lookupAll",C:[{N:"dot"}]}]},{N:"str",val:","}]}]},{N:"str",val:"]"}]},{N:"instance",line:"334",of:"1F",C:[{N:"dot"}]},{N:"str",val:"function(*)"},{N:"instance",line:"337",of:"1NA",C:[{N:"dot"}]},{N:"fn",line:"338",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",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:"340",of:"1AQ",C:[{N:"dot"}]},{N:"fn", +line:"341",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"let","var":"Q{}qname",as:"1AQ",slot:"6",C:[{N:"treat",as:"AQ",diag:"0|0||f:QNameToEQ",C:[{N:"check",card:"1",diag:"0|0||f:QNameToEQ",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||f:QNameToEQ",C:[{N:"dot"}]}]}]}]},{N:"fn",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"6"}]}]},{N:"str",val:"}"}]}, +{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"6"}]}]}]}]},{N:"str",val:"'"}]},{N:"instance",line:"343",of:"1AS",C:[{N:"dot"}]},{N:"fn",line:"344",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot"}]}]},{N:"str",val:"'"}]},{N:"instance",line:"346",of:"1AB",C:[{N:"dot"}]},{N:"fn",line:"353",name:"concat",C:[{N:"choose",C:[{N:"dot"},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]},{N:"str",val:"()"}]}, +{N:"instance",line:"355",of:"1NN",C:[{N:"dot"}]},{N:"fn",line:"356",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xmlns:"},{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:"instance",line:"358",of:"1A",C:[{N:"dot"}]},{N:"fn",line:"360",name:"string",C:[{N:"dot"}]},{N:"true"},{N:"fn",line:"363",name:"serialize",C:[{N:"dot"},{N:"map",size:"2",C:[{N:"str",val:"method"},{N:"str", +val:"adaptive"},{N:"str",val:"indent"},{N:"true"}]}]}]}]}]}]}]},{N:"co",id:"111",binds:"110",C:[{N:"function",name:"Q{MyFunctions}serialize",line:"293",module:"lib.xsl",flags:"pU",as:"*AS",slots:"1",C:[{N:"arg",name:"Q{}in",as:"*"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"295",C:[{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"foreign", +bSlot:"0",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"str",val:""}]}]}]}]},{N:"co",id:"112",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_URI",as:"1FM k[AS] v[1AS]",line:"27",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AU"}]}]}]},{N:"co",id:"113",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg411425835",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-property/@object"}]}]}, +{N:"str",val:"|"}]}]}]},{N:"co",id:"114",binds:"",C:[{N:"function",name:"Q{MyFunctions}get-excluded-namespaces",line:"900",module:"static.xsl",flags:"pU",as:"*AS",slots:"3",C:[{N:"arg",name:"Q{}origin",as:"1NE"},{N:"forEach",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"909",C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"slash",C:[{N:"varRef",name:"Q{}origin",slot:"0"},{N:"fn",name:"reverse",C:[{N:"axis", +name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"true"},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]}]}]}, +{N:"let",line:"910","var":"Q{}owner",as:"*N u[NE,ND]",slot:"1",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"choose",line:"911",C:[{N:"compareToString",line:"912",op:"eq",val:"#all",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]}]}]},{N:"forEach",line:"913",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}owner",slot:"1"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NN"}]}]},{N:"true"},{N:"let",line:"923","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"1NE i[NE,N u[NE,ND]]",slot:"2",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}owner",slot:"1"}]},{N:"forEach",C:[{N:"forEach",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:"1NA"}]}]}]}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot", +type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"dot",type:"1AS"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"}]}]},{N:"fn",name:"string",C:[{N:"dot",type:"1AU"}]}]}]}]}]}]}]}]},{N:"co",id:"115",binds:"",C:[{N:"globalVariable",name:"Q{}platform",as:"1AS",line:"188",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"str",val:"JS"}]}]},{N:"co",id:"116",binds:"117 117",C:[{N:"function",name:"Q{MyTypes}isPlain",line:"446",module:"type.xsl",flags:"pU",as:"1AB", +slots:"1",C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"448",card:"1",diag:"5|0|XTTE0780|t:isPlain#1",C:[{N:"sequence",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}types",bSlot:"0"},{N:"varRef",name:"Q{}type",slot:"0"}]},{N:"str", +val:"isPlain"}]}]},{N:"false"}]},{N:"treat",line:"451",as:"AB",diag:"5|0|XTTE0780|t:isPlain#1",C:[{N:"cvUntyped",to:"AB",diag:"5|0|XTTE0780|t:isPlain#1",C:[{N:"data",diag:"5|0|XTTE0780|t:isPlain#1",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}types",bSlot:"1"},{N:"varRef",name:"Q{}type",slot:"0"}]},{N:"str",val:"isPlain"}]}]}]}]}]}]}]}]},{N:"co",id:"118",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_ITEM",as:"1FM k[AS] v[1AS]", +line:"12",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]}]}]},{N:"co",id:"119",binds:"64",C:[{N:"function",name:"Q{MyTypes}data",line:"901",module:"type.xsl",flags:"pU",as:"1NE",slots:"2",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"904",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"0"}]},{N:"slash",line:"905",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"905",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"120",binds:"106 22 22 22",C:[{N:"template",name:"Q{}XSLT-version",flags:"os",as:"1AD",line:"36",module:"static.xsl", +slots:"2",C:[{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"37","var":"Q{}version-attribute",as:"*NA",slot:"0",C:[{N:"choose",line:"39",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_version"}]}]},{N:"treat",line:"40",as:"NA",diag:"3|0|XTTE0570|version-attribute",C:[{N:"applyT", +mode:"Q{}static",bSlot:"0",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_version"}]}]}]},{N:"fn",line:"50",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"slash",line:"50",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"true"},{N:"slash",line:"50",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]},{N:"check",line:"54",card:"1",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis", +name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}version-attribute",slot:"0"}]}]},{N:"treat",line:"55",as:"AD",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"cvUntyped",to:"AD",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"data",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name", +C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" lacks @version"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"choose",line:"57",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}version-attribute",slot:"0"}]}]},{N:"sequence",line:"58",C:[{N:"treat", +as:"AD",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"cvUntyped",to:"AD",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"data",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Root element "},{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:namespace-uri",C:[{N:"dot",flags:"a"}]}]}]},{N:"str",val:" - "},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"dot",flags:"a"}]}]}, +{N:"str",val:"; Version attribute "},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"varRef",name:"Q{}version-attribute",slot:"0"}]}]},{N:"str",val:" = "},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}version-attribute",slot:"0"}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]}]},{N:"treat",line:"59",as:"AD",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"cvUntyped", +to:"AD",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"data",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"2",C:[{N:"str",val:"XTSE0150"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Simplified stylesheet "},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]},{N:"str",val:" lacks @xsl:version"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]}]},{N:"let", +line:"61","var":"Q{}version-string",as:"1AS",slot:"1",C:[{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:"varRef",name:"Q{}version-attribute",slot:"0"}]}]}]}]},{N:"str",val:"^\\+"},{N:"str",val:""},{N:"str",val:""}]},{N:"sequence",line:"62",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"varRef", +name:"Q{}version-string",slot:"1"}]}]},{N:"treat",line:"64",as:"AD",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"cvUntyped",to:"AD",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"data",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"3",C:[{N:"str",val:"XTSE0110"},{N:"fn",name:"concat",C:[{N:"str",val:"Stylesheet version must be an xs:decimal value. Value is "},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}version-attribute",slot:"0"}]}]}, +{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"choose",line:"75",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"varRef",name:"Q{}version-string",slot:"1"}]},{N:"cast",flags:"a",as:"1AD",C:[{N:"varRef",name:"Q{}version-string",slot:"1"}]},{N:"true"},{N:"dec",val:"3"}]}]}]}]}]}]}]}]},{N:"co",id:"121",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1307630072",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"xsl:analyze-string/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"122",binds:"",C:[{N:"function",name:"Q{MyFunctions}text-nodes",line:"236",module:"lib.xsl",flags:"pU",as:"*N",slots:"2",C:[{N:"arg", +name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}xml-space-preserve",as:"1AB"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"245",C:[{N:"varRef",name:"Q{}xml-space-preserve",slot:"1"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"true"},{N:"filter",flags:"b",C:[{N:"slash",simple:"1", +C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"\\S"},{N:"str",val:""}]}]}]}]}]},{N:"co",id:"123",binds:"",C:[{N:"function",name:"Q{MyFunctions}line-loc",line:"413",module:"lib.xsl",flags:"pU",as:"1AS",slots:"7",C:[{N:"arg",name:"Q{}node",as:"1N"}, +{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"415","var":"Q{}containingElement",as:"*N u[NE,ND]",slot:"1",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"axis",name:"self",nodeTest:"NA"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"slash",simple:"1",C:[{N:"axis",name:"self",nodeTest:"NT"}, +{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"axis",name:"self",nodeTest:"NE"}]}]},{N:"convert",line:"418",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:line-loc#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:line-loc#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"let","var":"Q{}lineNumber",as:"1ADI",slot:"2",C:[{N:"let",line:"419","var":"Q{}lineAtt",as:"*NA",slot:"3",C:[{N:"forEach",C:[{N:"varRef", +name:"Q{}containingElement",slot:"1"},{N:"lastOf",C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}]}]}]}]},{N:"choose",line:"421",C:[{N:"gc",op:">=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||>=",C:[{N:"varRef", +name:"Q{}lineAtt",slot:"3"}]},{N:"int",val:"0"}]},{N:"check",line:"422",card:"1",diag:"3|0|XTTE0570|lineNumber",C:[{N:"cast",flags:"ae",as:"?ADI",C:[{N:"atomSing",card:"?",diag:"2|0||cast as",C:[{N:"varRef",name:"Q{}lineAtt",slot:"3"}]}]}]},{N:"true"},{N:"check",line:"426",card:"1",diag:"3|0|XTTE0570|lineNumber",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"check",card:"?",diag:"0|0||saxon:line-number",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"}]}]}]}]}]},{N:"sequence", +line:"433",C:[{N:"choose",C:[{N:"compareToInt",op:"ge",val:"0",C:[{N:"varRef",name:"Q{}lineNumber",slot:"2"}]},{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:" on line "},{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}lineNumber",slot:"2"}]}]}]}]},{N:"let",line:"436","var":"Q{}module",as:"?",slot:"4",C:[{N:"first",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"},{N:"lastOf",C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"fn",name:"reverse",C:[{N:"axis", +name:"ancestor-or-self",nodeTest:"NE"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}baseUri"}]}]}]}]}]},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"}]}]}]}]},{N:"choose",line:"437",C:[{N:"varRef",name:"Q{}module",slot:"4"},{N:"valueOf",C:[{N:"fn",line:"443",name:"concat",C:[{N:"str",val:" in "},{N:"let","var":"Q{}tokens", +as:"*AS",slot:"5",C:[{N:"fn",name:"tokenize",C:[{N:"check",line:"437",card:"1",diag:"0|0||f:abbreviated-module-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:abbreviated-module-uri",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:abbreviated-module-uri",C:[{N:"data",diag:"0|0||f:abbreviated-module-uri",C:[{N:"varRef",name:"Q{}module",slot:"4"}]}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]},{N:"let",line:"444","var":"Q{}n",as:"1ADI",slot:"6",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}tokens", +slot:"5"}]},{N:"fn",line:"445",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}tokens",slot:"5"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}n",slot:"6"},{N:"int",val:"1"}]}]},{N:"str",val:"/"}]},{N:"subscript",C:[{N:"varRef",name:"Q{}tokens",slot:"5"},{N:"varRef",name:"Q{}n",slot:"6"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]}]},{N:"co",id:"124",binds:"",C:[{N:"mode",name:"Q{}param.type",onNo:"TC",flags:"We",patternSlots:"0"}]},{N:"co",id:"125", +binds:"7 7 7 126 127 52 128 126 129 73 127 73 51 1 69 7 7 7 7 130 62 127 73 52 66 129 131 132 69 7 1 1 1 69 7 22 126 127 133 134 7 22 7 1 7 135 7 127 136 72 137 7 7 137 137 7 126 137 22 22 7 22 25 7 127 65 99 137 48 101 137 123 123 25 138 127 7 50 1 69 7 137 7 66 139 127 61 140 126 126 141 126 7 127 52 127 52 66 137 101 137 123 142 54 7 135 7 127 143 64 144 72 7 22 25 7 1 69 7 66 67 67 67 127 7 145 132 1 7 146 146 137 22 1 137 7 127 52 126 132 69 7 1 1 137 7 1 69 7 132 69 7 1 1 126 141 127 7 52", +C:[{N:"mode",name:"Q{}process-xpath",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"3.0",seq:"291",rank:"5",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"853",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"853",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"854",flags:"t",C:[{N:"withParam",name:"Q{}nsAttribute",flags:"t",as:"1NA",C:[{N:"check",line:"855",card:"1",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ns"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"282",rank:"4",minImp:"0",slots:"2",matches:"NE",flags:"s",line:"561",module:"xpath.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"561",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"literal",count:"2",C:[{N:"str",val:"count"},{N:"str",val:"from"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nodeNum"}]},{N:"p.withUpper",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"561",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"match"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}key"}]}]},{N:"p.withUpper",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"561",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"match"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"562","var":"Q{}temp", +as:"*NE",slot:"1",C:[{N:"treat",line:"563",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]},{N:"iterate",line:"565",C:[{N:"tail",role:"select",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"1"}]},{N:"params",role:"params",line:"566",C:[{N:"param",name:"Q{}partial",slot:"0",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}temp",slot:"1"}]},{N:"supplied",role:"conversion",slot:"0"}]}]},{N:"varRef",role:"on-completion",line:"567",name:"Q{}partial",slot:"0"},{N:"nextIteration",role:"action", +line:"568",C:[{N:"withParam",name:"Q{}partial",as:"1NE",slot:"0",C:[{N:"elem",line:"570",name:"p.venn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"op",flags:"l",C:[{N:"str",val:"union"}]},{N:"docOrder",line:"571",intra:"0",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}partial",slot:"0"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"varRef", +line:"571",name:"Q{}partial",slot:"0"},{N:"dot",line:"571",type:"1NE"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"275",rank:"3",minImp:"0",slots:"5",matches:"NE",flags:"s",line:"252",module:"xpath.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}template"}]}, +{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"254",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables", +C:[{N:"supplied",slot:"0"}]}]}]},{N:"copy",line:"262",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"263",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"},{N:"choose",line:"264",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"att",line:"266",name:"slot",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"subscript", +C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"int",val:"2"}]},{N:"int",val:"0"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"let",line:"270","var":"Q{}def",as:"1NE",slot:"1",C:[{N:"choose",line:"271",C:[{N:"compareToInt",line:"272",op:"le",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:"treat",line:"273",as:"NE",diag:"3|0|XTTE0570|def",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|def",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"elem",line:"276",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"body"}]},{N:"applyT",line:"277",flags:"c",bSlot:"-1", +C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"sequence",line:"282",C:[{N:"choose",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1887583512",as:"1",slot:"2",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"3",flags:"l",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1887583512",slot:"2"},{N:"attVal",name:"Q{}name"}]},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis", +name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]}]}]}]},{N:"fn",line:"285",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors", +loc:"XPST0008"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Global variable "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" cannot refer to itself in its definition"}]}]}]},{N:"let",line:"293","var":"Q{}requiredType",as:"?FM",slot:"4",C:[{N:"first",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false", +bSlot:"0",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType", +C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{}sType"}]}]}]}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"forEach",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, +{N:"int",val:"3"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"2",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot"}]}]}]}]}]}]}]}]}]},{N:"choose",line:"296",C:[{N:"and",line:"297",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data", +diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"3"}]}]},{N:"ufCall",line:"300",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"4",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck", +C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"5"},{N:"str",val:"TYPE_OP"}]}]},{N:"str",val:"0"},{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"300",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}type-error-map",bSlot:"6"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"300",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]}, +{N:"choose",line:"260",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:' match="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"str",val:'"'}]},{N:"true"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:' name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]}]}]},{N:"str", +val:"|"}]}]}]}]}]}]},{N:"fn",line:"302",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"sequence",line:"303",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"varRef",name:"Q{}def",slot:"1"}]},{N:"true"},{N:"sequence",line:"307",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"vc", +op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"dot",type:"1NA nQ{}sType"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"7"}]}]},{N:"varRef",name:"Q{}def",slot:"1"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"288",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"639",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"union",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"639",op:"|",C:[{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}VARDEF,NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}ZZZparams"},{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]}]}]}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"641",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"642",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"643","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"644",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"callT",name:"Q{}process-variables",bSlot:"8",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"axis",line:"645",name:"child",nodeTest:"NE"}]}]}]},{N:"sequence",line:"648",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef", +name:"Q{}temp",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"varRef",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"262",rank:"2",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"83",module:"regular-expressions.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"83",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"literal",count:"2",C:[{N:"str",val:"matching"},{N:"str",val:"nonMatching"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}analyzeString"}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"84", +flags:"t",C:[{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM k[AS] v[1AS]",C:[{N:"gVarRef",line:"85",name:"Q{}ST.SINGLE_STRING",bSlot:"9"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"234",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"116",module:"numbering.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"116",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"lang"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"117","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"118",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"120",name:"Q{MyFunctions}typeCheck", +tailCall:"false",bSlot:"10",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"11"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1486277532",bSlot:"12"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.25",seq:"259",rank:"0",minImp:"0",slots:"1", +matches:"NE n*:analyzeString",flags:"s",line:"53",module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE n*:analyzeString"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"55","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"56",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", +name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"60",flags:"cin",sit:"1NE n*:analyzeString",C:[{N:"sequence",role:"content",line:"61",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",line:"58",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"13",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"14",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC", +C:[{N:"literal",count:"2",C:[{N:"str",val:"matching"},{N:"str",val:"nonMatching"}]},{N:"attVal",name:"Q{}role"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"15",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"axis",line:"62", +name:"attribute",nodeTest:"NA"},{N:"varRef",line:"62",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"156",rank:"4",minImp:"0",slots:"4",matches:"NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"s",line:"208",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"209",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"210","var":"Q{}parts",as:"*NE",slot:"1",C:[{N:"treat",line:"211",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"213","var":"Q{}select", +as:"*NE",slot:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"select"}]}]},{N:"copy",line:"214",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",C:[{N:"sequence",role:"content",line:"215",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"217",C:[{N:"and",line:"218",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"},{N:"axis", +name:"self",nodeTest:"NE n*:slash"}]}]},{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"3",C:[{N:"lookup",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"rules.xsl",line:"218",name:"Q{MyTypes}marshalType", +tailCall:"false",bSlot:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]}]}, +{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"3"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}alphaCode", +slot:"3"}]}]}]}]},{N:"str",val:"N"}]}]}]}]},{N:"elem",line:"219",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"varRef",line:"220",name:"Q{}select",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"224",name:"Q{}select",slot:"2"}]},{N:"except",line:"227",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}parts",slot:"1"}]},{N:"docOrder", +intra:"0",C:[{N:"varRef",name:"Q{}select",slot:"2"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"277",rank:"1",minImp:"0",slots:"8",matches:"NE nQ{http://ns.saxonica.com/xslt/export}treat",flags:"s",line:"353",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}treat"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"355","var":"Q{}required-type",slot:"0",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"17",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"let",line:"356","var":"Q{}required-cardinality",as:"1AS",slot:"1",C:[{N:"fn", +name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required-type",slot:"0"},{N:"str",val:"o"}]}]}]},{N:"let",line:"357","var":"Q{}required-baseType",slot:"2",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required-type",slot:"0"},{N:"str",val:"p"}]},{N:"let",line:"358","var":"Q{}attributes",as:"*NA",slot:"3",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"359","var":"Q{}role",as:"?NA",slot:"4",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}, +{N:"let",line:"360","var":"Q{}source",as:"*NE",slot:"5",C:[{N:"treat",line:"361",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"363","var":"Q{}sourceSequenceType",slot:"6",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"18",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType", +C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}source",slot:"5"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}source",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"364","var":"Q{}sourceType",slot:"7",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}sourceSequenceType",slot:"6"},{N:"str",val:"p"}]},{N:"choose",line:"365",C:[{N:"and",line:"367", +op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}required-baseType",slot:"2"}]}]}]}]},{N:"str",val:"A"}]},{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}sourceType",slot:"7"}]}]}]}]},{N:"str",val:"N"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}sourceType",slot:"7"}]},{N:"str",val:""}]}]}]},{N:"copy",line:"368",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat",C:[{N:"sequence",role:"content",line:"369",C:[{N:"varRef",name:"Q{}attributes", +slot:"3"},{N:"elem",line:"370",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"axis",line:"371",name:"attribute",nodeTest:"NA nQ{}diag"},{N:"elem",line:"373",name:"cvUntyped",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"to",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{}required-baseType",slot:"2"}]}]}]},{N:"str",val:" "}]}]},{N:"elem",line:"375",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"376",name:"Q{}source",slot:"5"}]}]}]}]}]}]}]},{N:"compareToString",line:"382",op:"ne",val:"*",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"copy",line:"383",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat",C:[{N:"sequence",role:"content",line:"384",C:[{N:"varRef",name:"Q{}attributes", +slot:"3"},{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg409114060", +bSlot:"19"}]},{N:"elem",line:"385",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"except",line:"386",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}attributes",slot:"3"}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{http://ns.saxonica.com/xslt/export}asJ,NA nQ{}jsTest]"}]},{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1317395634",bSlot:"20"}]},{N:"varRef",line:"391",name:"Q{}source",slot:"5"}]}]}]}]},{N:"fn",line:"395",name:"deep-equal",C:[{N:"varRef",name:"Q{}required-type",slot:"0"},{N:"varRef",name:"Q{}sourceSequenceType", +slot:"6"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]},{N:"forEach",line:"396",C:[{N:"varRef",name:"Q{}source",slot:"5"},{N:"copy",line:"397",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"398",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"403",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat",C:[{N:"sequence",role:"content", +line:"404",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"varRef",name:"Q{}attributes",slot:"3"},{N:"varRef",name:"Q{}source",slot:"5"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"285",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}namespace",flags:"s",line:"593",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}namespace"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"595",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}namespace",C:[{N:"sequence",role:"content",line:"597",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"598","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"599",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"sequence",line:"603",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"21",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck", +C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]}]},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"22"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn", +name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"23"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTDE0920"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"603", +name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'namespace name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]},{N:"subscript",line:"604",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"int",val:"2"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"276",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co",flags:"s",line:"339",module:"xpath.xsl",C:[{N:"p.nodeTest", +role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"340",C:[{N:"choose",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}options",bSlot:"24"},{N:"str",val:"traceProgress"}]},{N:"message",line:"348",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting XPath on component"},{N:"fn", +name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE n*:mode"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"string", +C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",val:" templates"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"nextMatch",line:"350",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"287",rank:"3",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sequence",flags:"s",line:"623",module:"xpath.xsl",C:[{N:"p.withPredicate", +role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"},{N:"union",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"623",op:"|",C:[{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}VARDEF,NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"}, +{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]}]}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"626","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"627",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"callT",name:"Q{}process-variables",bSlot:"25",C:[{N:"withParam",name:"Q{}parts", +flags:"c",as:"*NE",C:[{N:"axis",line:"628",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-base-uri",flags:"t",as:"1AS",C:[{N:"check",line:"631",card:"1",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"slash", +simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}sequence",flags:"a"},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:baseUri"}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA n*:baseUri"}]},{N:"str",val:"dummy-base-uri"}]}]}]}]}]}]}]}]}]},{N:"callT",line:"634",name:"Q{}Sequence-and-type",bSlot:"26",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"varRef",line:"635",name:"Q{}temp",slot:"0"}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"281",rank:"1",minImp:"0",slots:"15",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sequence",flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"444","var":"Q{}parts", +as:"*NE",slot:"0",C:[{N:"treat",line:"445",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"448",C:[{N:"fn",line:"449",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"27"}]},{N:"axis",line:"451",name:"attribute", +nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM",slot:"1",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"28",C:[{N:"check",card:"+",diag:"0|0||t:commonType", +C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"29",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"2",C:[{N:"ufCall", +name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"30",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"1"}]},{N:"choose",line:"458",C:[{N:"every",line:"461","var":"Q{}p",slot:"3",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}p",slot:"3"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att", +name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]}]},{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att",line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"0"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"469",flags:"in",sit:"1NE",C:[{N:"sequence", +role:"content",line:"470",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"472",name:"Q{}parts",slot:"0"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"4",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}, +{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"copy",line:"478",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"479",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"484",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"486",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType", +tailCall:"false",bSlot:"31",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"1"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"490",name:"Q{}parts",slot:"0"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"183",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}try",flags:"s",line:"279",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}try"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"280","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"281",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"285",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"286",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"287",name:"sType",flags:"l",C:[{N:"ufCall",line:"284",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"32",C:[{N:"ufCall",name:"Q{MyTypes}commonType", +tailCall:"false",bSlot:"33",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"34",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]}, +{N:"varRef",line:"288",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"266",rank:"4",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator",flags:"s",line:"59",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"60","var":"Q{}init",as:"1NE",slot:"0",C:[{N:"treat",line:"61",as:"NE",diag:"3|0|XTTE0570|init",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|init",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let",line:"65","var":"Q{}rules",as:"*NE",slot:"1",C:[{N:"treat",line:"66",as:"NE",diag:"3|0|XTTE0570|rules",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam", +name:"Q{}valueType",flags:"t",as:"1AS",C:[{N:"check",line:"67",card:"1",diag:"8|0|XTTE0590|valueType",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|valueType",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|valueType",C:[{N:"data",diag:"8|0|XTTE0590|valueType",C:[{N:"first",line:"64",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}init",slot:"0"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}sType"}]},{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{}sType"}]}]}]},{N:"str",val:"0"}]}]}]},{N:"str",val:"*"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"73",C:[{N:"choose",C:[{N:"gc",line:"72",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"distinct-values", +C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}rules",slot:"1"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"}]},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"accumulator-before"},{N:"str",val:"accumulator-after"}]},{N:"attVal",name:"Q{}name"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]},{N:"data",line:"73",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ufCall",line:"76",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"35",C:[{N:"str",val:"XTDE3400"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Accumulator "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" refers to itself"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}accumulator", +flags:"a"}]}]},{N:"copy",line:"78",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}accumulator",C:[{N:"sequence",role:"content",line:"79",C:[{N:"att",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}init",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"axis",line:"80",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"88",name:"Q{}init",slot:"0"},{N:"varRef",line:"91",name:"Q{}rules",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"165",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration",flags:"s",line:"217",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"218",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}nextIteration", +C:[{N:"sequence",role:"content",line:"219",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"36"}]},{N:"axis",line:"220",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"221",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"149",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mode",flags:"s",line:"68",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}, +{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mode",C:[{N:"sequence",role:"content",line:"70",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"71","var":"Q{}templates",as:"*NE",slot:"0",C:[{N:"treat",line:"72",as:"NE",diag:"3|0|XTTE0570|templates",C:[{N:"applyT",flags:"c", +bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"forEach",line:"74",C:[{N:"sort",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"0"},{N:"sortKey",line:"75",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prec"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{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:"sortKey",line:"76",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prio"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{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:"sortKey",line:"77",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}seq"}]}, +{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{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:"copy",line:"78",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"79",C:[{N:"att",name:"rank",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int", +val:"1"}]}]}]},{N:"axis",line:"80",name:"attribute",nodeTest:"NA"},{N:"axis",line:"80",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"243",rank:"1",minImp:"0",slots:"10",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey",flags:"s",line:"158",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"159",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"160","var":"Q{}input",as:"1NE",slot:"1",C:[{N:"treat",line:"161",as:"NE",diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}, +{N:"let",line:"164","var":"Q{}properties",as:"*NE",slot:"2",C:[{N:"sequence",line:"165",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|properties",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"choose",line:"166",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"collation"},{N:"str",val:"lang"},{N:"str",val:"caseOrder"}]}, +{N:"attVal",name:"Q{}role"}]}]}]},{N:"elem",line:"167",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"collation"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]},{N:"let",line:"175","var":"Q{}dataType",as:"*NE",slot:"3",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}properties",slot:"2"}, +{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"dataType"}]}]},{N:"let",line:"178","var":"Q{}atomizedInput",slot:"4",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"37",C:[{N:"varRef",name:"Q{}input",slot:"1"},{N:"gVarRef",name:"Q{}ST.OPTIONAL_ATOMIC",bSlot:"38"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289", +name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg638404853",bSlot:"39"}]}]}]}]}]},{N:"let",line:"179","var":"Q{}input",as:"1NE",slot:"5",C:[{N:"choose",line:"180",C:[{N:"fn",line:"200",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"select"}]}]},{N:"treat", +line:"201",as:"NE",diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"forEach",C:[{N:"check",card:"?",diag:"4|0|XTTE3180|xsl:copy/select",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]},{N:"copy",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"202",C:[{N:"copyOf",flags:"c",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]},{N:"att",line:"203",name:"role",flags:"l",C:[{N:"str", +val:"select"}]},{N:"copyOf",line:"204",flags:"c",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"208",as:"NE",diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]}]}]},{N:"let",line:"214","var":"Q{}principal",slot:"6",C:[{N:"lookup",C:[{N:"ufCall",line:"213",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"40", +C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"p"}]},{N:"let",line:"216","var":"Q{}sortNumeric",slot:"7",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}alphaCode", +as:"1AS",slot:"8",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||t:isNumeric",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:isNumeric",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:isNumeric",C:[{N:"data",diag:"0|0||t:isNumeric",C:[{N:"varRef",name:"Q{}principal",slot:"6"}]}]}]}]},{N:"or",module:"type.xsl",line:"438",op:"or",C:[{N:"or", +op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"8"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"8"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"8"},{N:"str",val:"AF"}]}]}]},{N:"let",line:"219","var":"Q{}sortTemporal",as:"1AB",slot:"9",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}principal", +slot:"6"}]},{N:"literal",count:"3",C:[{N:"str",val:"AM"},{N:"str",val:"AA"},{N:"str",val:"AT"}]}]},{N:"copy",line:"222",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}sortKey",C:[{N:"sequence",role:"content",line:"223",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"224",C:[{N:"fn",line:"172",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}properties",slot:"2"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}, +{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"caseOrder"},{N:"str",val:"lang"}]},{N:"attVal",name:"Q{}role"}]}]}]}]},{N:"att",line:"245",name:"comp",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",line:"174",flags:"",C:[{N:"varRef",name:"Q{}properties",slot:"2"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal", +name:"Q{}role"},{N:"str",val:"order"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]},{N:"str",val:"descending"}]},{N:"str",val:"DESC"}]},{N:"choose",C:[{N:"varRef",name:"Q{}sortNumeric",slot:"7"},{N:"str",val:"DblSC"},{N:"vc",line:"218",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef", +name:"Q{}dataType",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]}]},{N:"str",val:"number"}]},{N:"str",val:"NC"},{N:"varRef",name:"Q{}sortTemporal",slot:"9"},{N:"str",val:"CalVC"},{N:"true"},{N:"str",val:"CCC"}]}]},{N:"str",val:"|"}]}]}]},{N:"choose",line:"248",C:[{N:"vc",line:"249",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]},{N:"str",val:"xs:duration"}]},{N:"ufCall",line:"251", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"41",C:[{N:"str",val:"XTDE1030"},{N:"str",val:"xs:duration types are not comparable and may not be used in xsl:sort/@select"},{N:"varRef",name:"Q{}input",slot:"5"}]},{N:"true"},{N:"sequence",line:"282",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}input",slot:"5"}]}]},{N:"except",line:"295",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef", +name:"Q{}properties",slot:"2"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]}]},{N:"choose",line:"296",C:[{N:"and",line:"297",op:"and",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]},{N:"fn",line:"220",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}principal", +slot:"6"}]}]}]}]},{N:"str",val:"A"}]}]},{N:"empty"},{N:"fn",line:"298",name:"empty",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]},{N:"elem",line:"299",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"varRef",name:"Q{}sortNumeric",slot:"7"},{N:"varRef",name:"Q{}sortTemporal",slot:"9"}]},{N:"str",val:"number"},{N:"true"},{N:"str",val:"text"}]}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"dataType"}]}]}]}, +{N:"true"},{N:"varRef",line:"305",name:"Q{}dataType",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"242",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sort",flags:"s",line:"144",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sort"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"145",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}sort",C:[{N:"sequence",role:"content",line:"146",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"147","var":"Q{}for",as:"1NE",slot:"0",C:[{N:"treat",line:"148",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"sequence",line:"150",C:[{N:"att",name:"sType",flags:"l",C:[{N:"convert", +from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"varRef",line:"151",name:"Q{}for",slot:"0"},{N:"applyT",line:"152",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl", +line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"sorting.xsl",line:"153",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"42",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert", +from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"179",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condCont",flags:"s",line:"211",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}condCont"}, +{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"212","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"213",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"215",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}condCont", +C:[{N:"sequence",role:"content",line:"216",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"217",name:"sType",flags:"l",C:[{N:"fn",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"sequenceType.xsl",line:"196",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"conditionals.xsl",line:"217",card:"1",diag:"0|0||t:makeOptional",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:makeOptional",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:makeOptional",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"^1"},{N:"str",val:"?"},{N:"str",val:""}]},{N:"str",val:"^\\+"},{N:"str",val:"*"},{N:"str",val:""}]}]},{N:"varRef",line:"218",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"284",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}dot",flags:"s",line:"585",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}dot"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"586",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"ti",as:"1FM", +C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"copy",line:"587",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}dot",C:[{N:"sequence",role:"content",line:"588",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"43",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]}]},{N:"axis",line:"589",name:"attribute",nodeTest:"NA"}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"2.0",seq:"157",rank:"4",minImp:"0",slots:"14",matches:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule",flags:"s",line:"232",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"233",C:[{N:"param", +name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"234",name:"Q{}defaultXPathNamespace",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|defaultXPathNamespace", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"data",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"237","var":"Q{}priority",as:"?NA",slot:"2",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"},{N:"let",line:"264","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"3",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}priority",slot:"2"}]},{N:"let",line:"238","var":"Q{}attributes",as:"*NA",slot:"4", +C:[{N:"treat",line:"239",as:"NA",diag:"3|0|XTTE0570|attributes",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA nQ{}priority]"}]}]},{N:"let",line:"241","var":"Q{}requiredType",as:"?FM",slot:"5",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|requiredType",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"44",C:[{N:"convert",from:"AZ", +to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]}]},{N:"let",line:"294","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"6",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}requiredType",slot:"5"}]},{N:"let",line:"242","var":"Q{}match",as:"*NE",slot:"7",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"}, +{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"match"}]}]},{N:"let",line:"267","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"8",flags:"l",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}match",slot:"7"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]},{N:"str",val:"node()"}]},{N:"let",line:"251","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"1AS",slot:"9",flags:"l",C:[{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}match",slot:"7"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]},{N:"let",line:"243","var":"Q{}action",as:"*NE",slot:"10",C:[{N:"except",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}match",slot:"7"}]}]},{N:"let",line:"245","var":"Q{}patterns",as:"*NE",slot:"11",C:[{N:"treat",line:"246",as:"NE", +diag:"3|0|XTTE0570|patterns",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}match",slot:"7"}]}]},{N:"let",line:"249","var":"Q{}warnings",as:"*NE",slot:"12",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}patterns",slot:"11"},{N:"fn",name:"exists",C:[{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:p.warning"}]}]},{N:"sequence",line:"250",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}warnings",slot:"12"},{N:"message",line:"251",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Warning:"}, +{N:"forEach",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:p.warning"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}message"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}message"}]}]},{N:"str",val:"in pattern"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"9"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEach",line:"254",C:[{N:"except",op:"except",C:[{N:"docOrder", +intra:"0",C:[{N:"varRef",name:"Q{}patterns",slot:"11"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}warnings",slot:"12"}]}]},{N:"sequence",line:"255",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"message",line:"256",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Missing @sType"},{N:"fn",name:"serialize",C:[{N:"dot",type:"1NE"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, +{N:"elem",line:"260",name:"templateRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"261",C:[{N:"varRef",name:"Q{}attributes",slot:"4"},{N:"att",line:"262",name:"prio",flags:"l",C:[{N:"fn",line:"263",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"varRef",line:"264",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"3"},{N:"cast",line:"265",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef", +name:"Q{}priority",slot:"2"}]}]}]}]},{N:"varRef",line:"267",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"8"},{N:"atomic",val:"-0.5",type:"AZ"},{N:"true"},{N:"data",line:"269",C:[{N:"mergeAdj",C:[{N:"applyT",mode:"Q{}pattern-priority",bSlot:"45",C:[{N:"dot",role:"select",type:"1NE"}]}]}]}]}]},{N:"str",val:""}]}]},{N:"att",line:"274",name:"matches",flags:"l",C:[{N:"fn",name:"substring",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring", +C:[{N:"attVal",name:"Q{}sType"}]}]},{N:"int",val:"2"}]}]},{N:"copy",line:"275",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"276",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"277",name:"role",flags:"l",C:[{N:"str",val:"match"}]},{N:"axis",line:"278",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"283","var":"Q{}body",as:"1NE",slot:"13",C:[{N:"treat",line:"284",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1", +C:[{N:"varRef",role:"select",name:"Q{}action",slot:"10"},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"rules.xsl",line:"285",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"46",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]},{N:"choose",line:"294",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"6"},{N:"ufCall",name:"Q{MyFunctions}typeCheck", +tailCall:"false",bSlot:"47",C:[{N:"varRef",name:"Q{}body",slot:"13"},{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"varRef",name:"Q{}requiredType",slot:"5"}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg2135267024",bSlot:"48"}]}]}]}]}]},{N:"true"},{N:"varRef",name:"Q{}body", +slot:"13"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"283",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}str",flags:"s",line:"578",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}str"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"579",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}str",C:[{N:"sequence",role:"content",line:"580",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"49"}]},{N:"axis",line:"581",name:"attribute",nodeTest:"NA"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"256",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc",flags:"s",line:"103",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"104",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"50"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]}, +{N:"param",line:"105",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"1FM",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|focus-context-type",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"106","var":"Q{}forEach",as:"*NE",slot:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"gc", +op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"forEachItem"},{N:"str",val:"forEachSource"}]},{N:"attVal",name:"Q{}role"}]}]},{N:"let",line:"107","var":"Q{}select",as:"*NE",slot:"3",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"selectRows"}]}]},{N:"let",line:"108","var":"Q{}source",as:"?NE",slot:"4",C:[{N:"treat",line:"109",as:"NE",diag:"3|0|XTTE0570|source", +C:[{N:"check",card:"?",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}forEach",slot:"2"}]}]}]},{N:"copy",line:"111",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc",C:[{N:"let",role:"content",line:"112","var":"Q{}for",as:"1NE",slot:"5",C:[{N:"treat",line:"113",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}select",slot:"3"}, +{N:"withParam",name:"Q{}context-type",flags:"t",as:"?FM",C:[{N:"choose",line:"120",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}source",slot:"4"}]},{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall", +ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"merging.xsl",line:"120",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"51",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"4"}, +{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"0"}]}]}]}]}]},{N:"let",line:"124","var":"Q{}body",as:"*NE",slot:"6",C:[{N:"treat",line:"125",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"union",op:"|",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}select",slot:"3"}]},{N:"docOrder",intra:"0", +C:[{N:"varRef",name:"Q{}forEach",slot:"2"}]}]}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"126",name:"Q{}context-type",slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ufCall",line:"123",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"52",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef", +name:"Q{}for",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"sequence",line:"130",C:[{N:"att",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"5"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"axis",line:"131",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"132",name:"Q{}source",slot:"4"},{N:"varRef",line:"132",name:"Q{}for",slot:"5"},{N:"varRef",line:"132",name:"Q{}body",slot:"6"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"159",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}forEach",flags:"s",line:"70",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEach"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"71",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t", +as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"53"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"72",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"54"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type", +C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"75","var":"Q{}for",as:"1NE",slot:"2",C:[{N:"treat",line:"76",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let",line:"79","var":"Q{}forItemType",as:"1FM",slot:"3",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"repetition.xsl",line:"79",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"55",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]},{N:"let",line:"80","var":"Q{}body",as:"1NE",slot:"4",C:[{N:"treat",line:"81",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2", +C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"82",name:"Q{}context-type",slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"varRef",line:"83",name:"Q{}forItemType",slot:"3"}]}]}]}]},{N:"copy",line:"87",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}forEach",C:[{N:"sequence",role:"content",line:"89",C:[{N:"att",name:"sType",flags:"l",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"slash", +simple:"1",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"repetition.xsl",line:"89",card:"1",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"slash",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]},{N:"true"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"56"}]}]},{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}role"}, +{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}module"},{N:"choose",line:"91",C:[{N:"and",line:"92",op:"and",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"5",C:[{N:"lookup",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"repetition.xsl",line:"92",name:"Q{}forItemType",slot:"3"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}alphaCode",slot:"5"}]}]}]}]},{N:"str",val:"N"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}for",slot:"2"},{N:"axis",name:"self",nodeTest:"NE n*:slash"}]}]}]},{N:"elem",line:"93",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"varRef",line:"94",name:"Q{}for",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"98", +name:"Q{}for",slot:"2"}]},{N:"varRef",line:"101",name:"Q{}body",slot:"4"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"236",rank:"4",minImp:"0",slots:"5",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"133",module:"numbering.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"133",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"select"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nodeNum"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"134",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef", +role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"57"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"135",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}needsNode"}]}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]}]}, +{N:"fn",name:"not",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"1",C:[{N:"lookup",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"numbering.xsl",line:"135",card:"1",diag:"0|0||t:isNode", +C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"N"}]}]}]}]}]},{N:"ufCall",line:"136",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"58",C:[{N:"str",val:"XTTE0990"},{N:"str",val:"xsl:number without @select or @value must have a node() as context"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"let",line:"138","var":"Q{}outer",as:"1NE",slot:"2",C:[{N:"treat",line:"140",as:"NE",diag:"3|0|XTTE0570|outer",C:[{N:"check", +card:"1",diag:"3|0|XTTE0570|outer",C:[{N:"try",flags:"r",C:[{N:"let","var":"Q{}temp",as:"1NE",slot:"3",C:[{N:"treat",line:"141",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"varRef",line:"143",name:"Q{}temp",slot:"3"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0002 Q{http://www.w3.org/2005/xqt-errors}XPTY0020",C:[{N:"ufCall",line:"145",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"59",C:[{N:"str", +val:"XTTE0990"},{N:"str",val:"xsl:number without @select or @value must have a node() as context"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]}]}]}]},{N:"sequence",line:"148",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"4",C:[{N:"lookup",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"numbering.xsl",line:"148",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"60",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}outer",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"4"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}alphaCode",slot:"4"}]}]}]}]},{N:"str",val:"N"}]}]}]}]},{N:"ufCall",line:"149",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"61",C:[{N:"str", +val:"XTTE1000"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:number/@select must yield a result of type node(), not "},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"62",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"63",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}outer",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}, +{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"varRef",line:"151",name:"Q{}outer",slot:"2"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"235",rank:"4",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"123",module:"numbering.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"123",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"value"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}numSeqFmt"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"124","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"125",as:"NE",diag:"3|0|XTTE0570|temp", +C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"128",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"64",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"gVarRef",name:"Q{}ST.MULTIPLE_ATOMIC",bSlot:"65"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1542155234", +bSlot:"66"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"298",rank:"1",minImp:"0",slots:"29",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"964",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"966",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"967",name:"Q{}local.variables",slot:"1",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"968",name:"Q{}globals",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]}, +{N:"param",line:"969",name:"Q{}global.functions",slot:"3",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param",line:"970",name:"Q{}accumulators",slot:"4",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"param",line:"971",name:"Q{}context-type",slot:"5",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"67"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param",line:"972",name:"Q{}focus-context-type",slot:"6",flags:"t",as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type",slot:"5"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"6"}]}]}]},{N:"param",line:"973",name:"Q{}nsAttribute",slot:"7",flags:"t",as:"?NA",C:[{N:"empty",role:"select"}, +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"supplied",slot:"7"}]}]}]},{N:"param",line:"974",name:"Q{}defaultHTML5",slot:"8",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied", +slot:"8"}]}]}]}]}]},{N:"let",line:"981","var":"Q{}slotMap",as:"1FM v[?]",slot:"9",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",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:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot", +type:"1A"},{N:"subscript",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",C:[{N:"treat",as:"F",diag:"21|0||$local.variables",C:[{N:"check",card:"1",diag:"21|0||$local.variables",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]},{N:"arrayBlock",C:[{N:"dot",type:"1A"}]}]},{N:"int",val:"2"}]}]}]},{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:"982","var":"Q{}role",as:"?NA",slot:"10", +flags:"e",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"let",line:"983","var":"Q{}line",as:"?NA",slot:"11",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}line"},{N:"let",line:"984","var":"Q{}allow-empty",as:"?AB",slot:"12",flags:"e",C:[{N:"vc",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}allow-empty"}]},{N:"str",val:"true"}]},{N:"let",line:"986","var":"Q{}ns",as:"?FM k[AS] v[1AS]",slot:"13",flags:"e",C:[{N:"choose",C:[{N:"fn",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xpathDefaultNamespace"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]},{N:"let",line:"988","var":"Q{}collation",as:"?FM k[AS] v[?AS]",slot:"14",flags:"e",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"ifCall", +name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"defaultCollation"},{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:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]}]}]}]},{N:"let",line:"989","var":"Q{}backward-compatibility",as:"1AB",slot:"15",flags:"e",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}BC"}]},{N:"let",line:"991","var":"Q{}checkType",as:"?AS",slot:"16",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|checkType",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|checkType",C:[{N:"data",diag:"3|0|XTTE0570|checkType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}checkType"}]}]}]},{N:"let",line:"999","var":"Q{}namespaces",slot:"17",flags:"e",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"namespaces.xsl",line:"65","var":"Q{}ns",as:"?NA",slot:"18",C:[{N:"lastOf",C:[{N:"slash",simple:"2",C:[{N:"slash",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"999",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"choose",line:"72",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}ns",slot:"18"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespaces"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",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{}ns",slot:"18"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"19",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"20",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"19"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef", +name:"Q{}uri",slot:"20"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"68"},{N:"varRef",name:"Q{}prefix",slot:"19"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"20"}]}]}]}]}]},{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:"1006","var":"Q{}context-type",as:"?FM",slot:"21",flags:"e",C:[{N:"choose",C:[{N:"and", +op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"select"}]}]},{N:"varRef",name:"Q{}focus-context-type",slot:"6"},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"5"}]},{N:"let",line:"1011","var":"Q{}temp",as:"1",slot:"22",C:[{N:"check",line:"1042",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"try", +flags:"r",C:[{N:"applyT",line:"1044",mode:"Q{}exportNS",bSlot:"69",C:[{N:"ifCall",role:"select",line:"1042",name:"Q{http://saxon.sf.net/}compile-XPath",type:"1",C:[{N:"check",card:"1",diag:"0|0||saxon:compile-XPath",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||saxon:compile-XPath",C:[{N:"cvUntyped",to:"AS",diag:"0|0||saxon:compile-XPath",C:[{N:"data",diag:"0|0||saxon:compile-XPath",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]},{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}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"language"},{N:"str",val:"XSLT"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"html5Mode"},{N:"varRef",name:"Q{}defaultHTML5",slot:"8"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backwardCompatibility"},{N:"varRef",name:"Q{}backward-compatibility", +slot:"15"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"inCatch"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}catch"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"inTry"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot", +type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}try"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"allowEmpty"},{N:"varRef",name:"Q{}allow-empty",slot:"12"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"globals"},{N:"varRef",name:"Q{}globals",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"globalFunctions"},{N:"varRef",name:"Q{}global.functions",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"accumulators"},{N:"varRef",name:"Q{}accumulators",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"slotMap"},{N:"varRef",name:"Q{}slotMap",slot:"9"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"contextType"}, +{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}role",slot:"10"}]}]},{N:"str",val:"match"}]},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"70"},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"21"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"nsAttribute"},{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}nsAttribute",slot:"7"}]}]}]},{N:"map",size:"2",C:[{N:"str", +val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}ns",slot:"13"},{N:"varRef",name:"Q{}namespaces",slot:"17"},{N:"varRef",name:"Q{}collation",slot:"14"}]},{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:"check",card:"?",diag:"0|2||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPTY0020", +C:[{N:"fn",line:"1052",name:"error",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultedSelect"}]},{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0510"},{N:"true"},{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:"fn",name:"concat", +C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static error in XPath"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"71",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"str",val:" {"}]},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]}]},{N:"str",val:"}: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"1061",C:[{N:"elem",name:"ex:empty",nsuri:"http://ns.saxonica.com/xslt/export",C:[{N:"empty"}]},{N:"fn",line:"1064",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:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static error in XPath"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"72",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"str",val:" {"}]}, +{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]}]},{N:"str",val:"}: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]}]},{N:"let",line:"1069","var":"Q{}temp",as:"1NE", +slot:"23",C:[{N:"choose",line:"1070",C:[{N:"instance",line:"1071",of:"1FM",C:[{N:"varRef",name:"Q{}temp",slot:"22"}]},{N:"let",line:"1072","var":"Q{}type",slot:"24",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"22"},{N:"str",val:"type"}]},{N:"let",line:"1076","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"25",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{}type",slot:"24"}]}]}]},{N:"str",val:" "}]}, +{N:"treat",line:"1073",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"22"},{N:"str",val:"expr"}]},{N:"copy",line:"1074",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"1075",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"1076",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", +slot:"25"}]},{N:"slash",line:"1077",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"1082",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"varRef",name:"Q{}temp",slot:"22"}]}]},{N:"sequence",line:"1086",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultedSelect"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"check", +card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"lookup",C:[{N:"varRef",name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"N"}]}]},{N:"fn",name:"not",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef", +name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]},{N:"str",val:""}]}]}]}]},{N:"fn",line:"1089",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0510"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"The required item type of the context item for xpath '"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]},{N:"str",val:"' is node(), but the supplied expression has type "}]},{N:"ufCall", +name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"73",C:[{N:"check",card:"1",diag:"0|0||t:displayType",C:[{N:"varRef",name:"Q{}context-type",slot:"21"}]}]}]}]}]},{N:"let",line:"1091","var":"Q{}temp",as:"1NE",slot:"26",C:[{N:"choose",line:"1092",C:[{N:"choose",line:"1093",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]}, +{N:"str",val:""}]},{N:"ufCall",name:"Q{MyFunctions}requiresNodeTest",tailCall:"false",bSlot:"74",C:[{N:"varRef",name:"Q{}temp",slot:"23"}]},{N:"true"},{N:"false"}]},{N:"elem",line:"1094",name:"slash",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"simple",flags:"l",C:[{N:"str",val:"1"}]},{N:"docOrder",line:"1095",intra:"1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"23"},{N:"sequence", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"elem",line:"1096",name:"treat",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"str",val:"N"}]},{N:"att",name:"diag",flags:"l",C:[{N:"str",val:"13|0|XTTE0510|"}]},{N:"elem",line:"1097",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"empty"}]}]}]},{N:"varRef",line:"1099", +name:"Q{}temp",slot:"23"}]}]},{N:"true"},{N:"varRef",line:"1103",name:"Q{}temp",slot:"23"}]},{N:"let",line:"1107","var":"Q{}temp",as:"1NE",slot:"27",C:[{N:"choose",line:"1112",C:[{N:"and",line:"1111",op:"and",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"str",val:"^(\\+|\\*)N"},{N:"str",val:""}]},{N:"fn",name:"empty", +C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"union",op:"|",C:[{N:"union",op:"|",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE u[NE u[NE u[NE u[NE u[NE u[NE n*:sequence,NE n*:axis],NE n*:filter],NE n*:except],NE n*:for],NE n*:forEach],NE n*:varRef],NE n*:gVarRef],NE n*:copyOf]"},{N:"filter",flags:"",C:[{N:"axis",name:"self",nodeTest:"NE n*:fn"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"reverse"}]}]}]},{N:"axis",name:"self",nodeTest:"NE n*:ufCall"}]}]}]}]}, +{N:"elem",line:"1115",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",line:"1116",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}temp",slot:"26"}]}]},{N:"and",line:"1119",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}slash"}]}]}, +{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:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"attVal",name:"Q{}type"}]}]}]},{N:"str",val:"item("}]}]},{N:"elem",line:"1120",name:"homCheck",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",line:"1121",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}, +{N:"varRef",name:"Q{}temp",slot:"26"}]}]},{N:"true"},{N:"varRef",line:"1125",name:"Q{}temp",slot:"26"}]},{N:"let",line:"1129","var":"Q{}temp",as:"1NE",slot:"28",C:[{N:"choose",line:"1130",C:[{N:"varRef",line:"1131",name:"Q{}checkType",slot:"16"},{N:"treat",line:"1132",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"75",C:[{N:"varRef",name:"Q{}temp",slot:"27"},{N:"ufCall",name:"Q{MyTypes}marshalType", +tailCall:"false",bSlot:"76",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"varRef",name:"Q{}checkType",slot:"16"}]}]},{N:"check",card:"1",diag:"0|2||f:typeCheck",C:[{N:"convert",line:"992",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|diagnostic",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|diagnostic",C:[{N:"data",diag:"3|0|XTTE0570|diagnostic",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}diagnostic"}]}]}]}]}]}]}]},{N:"true"},{N:"varRef",line:"1135",name:"Q{}temp",slot:"27"}]},{N:"choose", +line:"1139",C:[{N:"fn",line:"1140",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"axis",name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"current"}]}]}]},{N:"choose",line:"1141",C:[{N:"fn",line:"1142",name:"empty",C:[{N:"varRef",name:"Q{}context-type",slot:"21"}]},{N:"elem",line:"1143",name:"error",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"code",flags:"l",C:[{N:"str",val:"XTDE1360"}]},{N:"att",name:"message",flags:"l",C:[{N:"str",val:"context absent for current()"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"1144",name:"Q{}role",slot:"10"}]}]},{N:"true"},{N:"elem",line:"1152",name:"let",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"var",flags:"l",C:[{N:"str",val:"fn-current"}]},{N:"att", +name:"slot",flags:"l",C:[{N:"str",val:"199"}]},{N:"axis",line:"1153",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"1153",name:"Q{}role",slot:"10"},{N:"varRef",line:"1153",name:"Q{}line",slot:"11"},{N:"slash",line:"1153",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"elem",line:"1154",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"empty"}]},{N:"applyT",line:"1155",mode:"Q{}xpath-with-current", +bSlot:"77",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"28"}]}]}]}]},{N:"true"},{N:"forEach",line:"1171",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"copy",line:"1172",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"1173",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"10"},{N:"varRef",name:"Q{}line",slot:"11"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"167",rank:"1",minImp:"0", +slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}choose",flags:"s",line:"29",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}choose"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"30","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"31",as:"NE",diag:"3|0|XTTE0570|parts", +C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"35",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}choose",C:[{N:"sequence",role:"content",line:"36",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"78",C:[{N:"ufCall",line:"34",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"79",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b", +C:[{N:"filter",flags:"pb",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"compareToInt",op:"eq",val:"0",C:[{N:"arith",op:"mod",calc:"i%i",C:[{N:"fn",name:"position"},{N:"int",val:"2"}]}]}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"80",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType", +C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"axis",line:"37",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"37",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"248",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup",flags:"s",line:"117",module:"grouping.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"118",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"81"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"119",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type",slot:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"1"}]}]}]},{N:"copy",line:"121",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup",C:[{N:"let",role:"content",line:"122","var":"Q{}population",as:"1NE",slot:"2",C:[{N:"treat",line:"123",as:"NE",diag:"3|0|XTTE0570|population",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|population",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let", +line:"125","var":"Q{}populationType",slot:"3",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"82",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}population",slot:"2"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"let",line:"127","var":"Q{}body",as:"+NE",slot:"4",C:[{N:"treat",line:"128",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check", +card:"+",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"129",name:"Q{}context-type",slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320", +name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"grouping.xsl",line:"126",name:"Q{}populationType",slot:"3"},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]},{N:"sequence",line:"133", +C:[{N:"att",name:"sType",flags:"l",C:[{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"grouping.xsl",line:"133",card:"1", +diag:"0|0||t:withOccurrenceIndicator",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"data",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"content"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}, +{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"axis",line:"134",name:"attribute",nodeTest:"NA"},{N:"choose",line:"135",C:[{N:"and",line:"136",op:"and",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"5",C:[{N:"lookup",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"grouping.xsl",line:"136",name:"Q{}populationType",slot:"3"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}alphaCode",slot:"5"}]}]}]}]},{N:"str",val:"N"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}population",slot:"2"},{N:"axis",name:"self",nodeTest:"NE n*:slash"}]}]}]},{N:"elem",line:"137",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"slash",line:"138",simple:"1",C:[{N:"varRef",name:"Q{}population",slot:"2"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"138",name:"Q{}population",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"142",name:"Q{}population",slot:"2"}]},{N:"varRef",line:"145",name:"Q{}body",slot:"4"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"293",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}valueOf",flags:"s",line:"866",module:"xpath.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}valueOf"}, +{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"866",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:"string-join"}]}]}]},{N:"elem",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"867",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"copy",line:"868",flags:"inl",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}valueOf",C:[{N:"sequence",role:"content",line:"869",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"870",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", +name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"272",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}MAP",flags:"s",line:"49",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}MAP"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50", +C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"83"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"51",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map}"}, +{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"target"}]}]},{N:"str",val:"JS"}]},{N:"str",val:"_new"},{N:"true"},{N:"str",val:"merge"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_MAP",bSlot:"84"}]},{N:"axis",line:"52",name:"attribute",nodeTest:"NA"},{N:"let",line:"53","var":"Q{}entries",as:"*NE", +slot:"1",C:[{N:"treat",line:"54",as:"NE",diag:"3|0|XTTE0570|entries",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"sequence",line:"56",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"85",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"varRef",name:"Q{}entries",slot:"1"}]},{N:"gVarRef",name:"Q{}ST.MULTIPLE_MAP",bSlot:"86"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck", +C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg938941445",bSlot:"87"}]}]}]}]}]},{N:"elem",line:"57",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map}"},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"target"}]}]},{N:"str",val:"JS"}]},{N:"str",val:"_new"},{N:"true"},{N:"str",val:"merge"}]}]}]},{N:"elem",line:"58",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"59",C:[{N:"elem",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]}, +{N:"att",name:"type",flags:"l",C:[{N:"str",val:"map()"}]},{N:"elem",line:"60",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"duplicates"}]}]}]},{N:"elem",line:"61",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:"reject"}]}]}]}]},{N:"elem",line:"63",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"map()"}]},{N:"elem",line:"64",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"duplicates-error-code"}]}]}]},{N:"elem",line:"65",name:"str",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:"XTDE3365"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"178",part:"1",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty",flags:"s",line:"202",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"204","var":"Q{}source",as:"1NE",slot:"1",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"206",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"207",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef", +name:"Q{}source",slot:"1"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"278",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}copyOf",flags:"s",line:"410",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}copyOf"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"411","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"412",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"414",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}copyOf",C:[{N:"sequence",role:"content",line:"415",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"axis", +name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"294",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fn",flags:"s",line:"875",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"875",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"str",val:"string-join"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"876","var":"Q{}temp",as:"*NE",slot:"0",C:[{N:"treat",line:"877",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", +name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"879",C:[{N:"fn",line:"880",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"elem",line:"881",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"882",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}name]"},{N:"slash",simple:"1",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]}, +{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"true"},{N:"copy",line:"886",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}fn",C:[{N:"sequence",role:"content",line:"887",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"888",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"290",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF",flags:"s",as:"1NE",line:"812", +module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"813",card:"1",diag:'7|0|XTTE0505|match="ex:PARAMDEF" mode="process-xpath"',C:[{N:"sequence",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select", +size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"814",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied", +slot:"1"}]}]}]}]}]},{N:"param",line:"815",name:"Q{}version",slot:"2",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"30"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|version",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"data",diag:"8|0|XTTE0590|version",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"let",line:"818","var":"Q{}init",as:"1NE",slot:"3",C:[{N:"treat",line:"819",as:"NE",diag:"3|0|XTTE0570|init",C:[{N:"check", +card:"1",diag:"3|0|XTTE0570|init",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"823",name:"param",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",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:"att",name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",line:"816",name:"Q{}no.slots",slot:"1"}]}]}, +{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"88"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, +{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"89"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"}]},{N:"str",val:"true"}]},{N:"str",val:"t"}]}]},{N:"fn",name:"string",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}, +{N:"str",val:"true"}]},{N:"str",val:"r"}]}]}]}]},{N:"applyT",line:"824",mode:"Q{}attribute-sans-prefix",bSlot:"90",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"axis",line:"825",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"825", +name:"attribute",nodeTest:"NA nQ{}module"},{N:"let",line:"828","var":"Q{}supplied",as:"1NE",slot:"4",C:[{N:"elem",line:"829",name:"supplied",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"conversion"}]},{N:"att",name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",line:"816",name:"Q{}no.slots",slot:"1"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"91"}]}]}]},{N:"choose", +line:"831",C:[{N:"fn",line:"832",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"834","var":"Q{}required",slot:"5",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"92",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]}, +{N:"sequence",line:"841",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"93",C:[{N:"varRef",name:"Q{}init",slot:"3"},{N:"varRef",name:"Q{}required",slot:"5"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"94"},{N:"str",val:"TYPE_OP"}]}]},{N:"str",val:"0"},{N:"choose",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"841", +C:[{N:"compareToInt",op:"eq",val:"20",C:[{N:"varRef",name:"Q{}version",slot:"2"}]},{N:"str",val:"XTTE0600"},{N:"true"},{N:"str",val:"XTTE0570"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"841",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'xsl:param name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]},{N:"ufCall",line:"844",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"95",C:[{N:"varRef",name:"Q{}supplied",slot:"4"},{N:"varRef",name:"Q{}required",slot:"5"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"96"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"1"},{N:"str",val:"XTTE0590"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"844",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'xsl:param name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"847",C:[{N:"varRef",name:"Q{}init",slot:"3"},{N:"varRef",name:"Q{}supplied",slot:"4"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"299",rank:"1",minImp:"0",slots:"18",matches:"NE nQ{http://ns.saxonica.com/xslt/export}pattern", +flags:"s",as:"*NE",line:"1297",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1299",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"97"},{N:"treat",role:"conversion", +as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1300",name:"Q{}local.variables",slot:"1",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"1301",name:"Q{}globals",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"param",line:"1302",name:"Q{}global.functions",slot:"3",flags:"t",C:[{N:"map",role:"select", +size:"0"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param",line:"1303",name:"Q{}accumulators",slot:"4",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"param",line:"1304",name:"Q{}context-type",slot:"5",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"98"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param", +line:"1305",name:"Q{}nsAttribute",slot:"6",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"supplied",slot:"6"}]}]}]},{N:"param",line:"1306",name:"Q{}defaultHTML5",slot:"7",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB", +diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"let",line:"1307","var":"Q{}priority",as:"*NA",slot:"8",flags:"e",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"}]},{N:"let",line:"1309","var":"Q{}slotMap",as:"1FM v[?]",slot:"9",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",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:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1A"},{N:"subscript",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",C:[{N:"treat",as:"F",diag:"21|0||$local.variables",C:[{N:"check",card:"1", +diag:"21|0||$local.variables",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]},{N:"arrayBlock",C:[{N:"dot",type:"1A"}]}]},{N:"int",val:"2"}]}]}]},{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:"1310","var":"Q{}role",as:"?NA",slot:"10",flags:"e",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"let",line:"1312","var":"Q{}ns",as:"?FM k[AS] v[1AS]",slot:"11",flags:"e",C:[{N:"choose", +C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xpathDefaultNamespace"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]},{N:"let",line:"1314","var":"Q{}xpath",as:"?NA",slot:"12",flags:"e",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"},{N:"let",line:"1329","var":"Q{}temp",as:"1",slot:"13",C:[{N:"check", +line:"1359",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"try",flags:"r",C:[{N:"applyT",mode:"Q{}exportNS",bSlot:"99",C:[{N:"ifCall",role:"select",name:"Q{http://saxon.sf.net/}compile-XPath",type:"1",C:[{N:"check",card:"1",diag:"0|0||saxon:compile-XPath",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||saxon:compile-XPath",C:[{N:"cvUntyped",to:"AS",diag:"0|0||saxon:compile-XPath",C:[{N:"data",diag:"0|0||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}xpath",slot:"12"}]}]}]}]},{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}merge",type:"1FM",C:[{N:"sequence",C:[{N:"literal",count:"2",C:[{N:"map",size:"1",C:[{N:"str",val:"language"},{N:"str",val:"XSLT"}]},{N:"map",size:"1",C:[{N:"str",val:"type"},{N:"str",val:"pattern"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"splitPattern"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}priority",slot:"8"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"globals"},{N:"varRef",name:"Q{}globals",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"globalFunctions"},{N:"varRef",name:"Q{}global.functions",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"accumulators"},{N:"varRef",name:"Q{}accumulators",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"nsAttribute"}, +{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}nsAttribute",slot:"6"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"html5Mode"},{N:"varRef",name:"Q{}defaultHTML5",slot:"7"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"slotMap"},{N:"varRef",name:"Q{}slotMap",slot:"9"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"contextType"},{N:"choose", +C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}role",slot:"10"}]}]},{N:"str",val:"match"}]},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"100"},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"5"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}ns",slot:"11"}]},{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:"check",card:"?",diag:"0|2||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"catch",errors:"*",C:[{N:"fn",line:"1368",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:"choose",line:"1366",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",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:"XPST0003"}]},{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0340"},{N:"true"},{N:"data",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static error in pattern"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"101",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}pattern",flags:"a"}]}]},{N:"str",val:" {"}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]},{N:"str",val:"}: "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall", +name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"let",line:"1373","var":"Q{}temp",as:"1NE",slot:"14",C:[{N:"choose",line:"1374",C:[{N:"instance",line:"1375",of:"1FM",C:[{N:"varRef",name:"Q{}temp",slot:"13"}]},{N:"let",line:"1376","var":"Q{}type",slot:"15",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"13"},{N:"str",val:"type"}]},{N:"let",line:"1382","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"16",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{}type",slot:"15"}]}]}]},{N:"str",val:" "}]},{N:"treat",line:"1377",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"13"},{N:"str",val:"expr"}]},{N:"copy",line:"1378",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"1379",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"1382",name:"type",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"16"}]},{N:"slash",line:"1384",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"1389",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"varRef",name:"Q{}temp",slot:"13"}]}]},{N:"let",line:"1393","var":"Q{}attr",as:"?NA",slot:"17",C:[{N:"varRef", +name:"Q{}role",slot:"10"},{N:"forEach",line:"1401",C:[{N:"choose",line:"1399",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"14"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}UnionExprP"}]}]},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"14"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"true"},{N:"varRef",name:"Q{}temp",slot:"14"}]},{N:"choose",line:"1410",C:[{N:"fn",line:"1411",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis", +name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"str",val:"current"}]}]}]},{N:"elem",line:"1412",name:"p.withCurrent",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",line:"1413",C:[{N:"varRef",name:"Q{}attr",slot:"17"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"applyT",line:"1414",mode:"Q{}pattern-with-current", +bSlot:"102",C:[{N:"dot",role:"select",type:"1NE"}]}]}]},{N:"true"},{N:"copy",line:"1418",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"1419",C:[{N:"varRef",name:"Q{}attr",slot:"17"},{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"267",rank:"4",minImp:"0",slots:"12",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accRule",flags:"s",line:"95",module:"streaming.xsl",C:[{N:"p.nodeTest", +role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}accRule"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AS",slot:"2",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck", +C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg159823385",bSlot:"103"}]}]}]}]},{N:"sequence",line:"96",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"97",name:"Q{}valueType",slot:"1",flags:"ti",as:"1AS",C:[{N:"check", +role:"conversion",card:"1",diag:"8|0|XTTE0590|valueType",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|valueType",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|valueType",C:[{N:"data",diag:"8|0|XTTE0590|valueType",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"98","var":"Q{}this",as:"1",slot:"3",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}accRule",flags:"a"},{N:"let",line:"135","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1FM k[AS] v[+]",slot:"4",flags:"l", +C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"Q{}value"},{N:"sequence",C:[{N:"varRef",name:"Q{}this",slot:"3"},{N:"int",val:"0"},{N:"varRef",name:"Q{}valueType",slot:"1"}]}]},{N:"let",line:"99","var":"Q{}priority",as:"?NA",slot:"5",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"},{N:"let",line:"117","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"6",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}priority", +slot:"5"}]},{N:"let",line:"100","var":"Q{}attributes",as:"*NA",slot:"7",C:[{N:"treat",line:"101",as:"NA",diag:"3|0|XTTE0570|attributes",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA nQ{}priority]"}]}]},{N:"let",line:"104","var":"Q{}action",as:"*NE",slot:"8",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"let",line:"106","var":"Q{}typeAsMap",slot:"9",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"104", +C:[{N:"varRef",name:"Q{}valueType",slot:"1"}]},{N:"let",line:"107","var":"Q{}patterns",as:"+NE",slot:"10",C:[{N:"treat",line:"108",as:"NE",diag:"3|0|XTTE0570|patterns",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|patterns",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"match"}]}]}]}]}]},{N:"forEach",line:"112",C:[{N:"varRef", +name:"Q{}patterns",slot:"10"},{N:"elem",line:"113",name:"accRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"valueType",flags:"l",C:[{N:"varRef",name:"Q{}valueType",slot:"1"}]},{N:"varRef",line:"114",name:"Q{}attributes",slot:"7"},{N:"att",line:"115",name:"prio",flags:"l",C:[{N:"fn",line:"116",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"varRef",line:"117",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"},{N:"cast", +line:"118",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}priority",slot:"5"}]}]}]}]},{N:"true"},{N:"data",line:"121",C:[{N:"mergeAdj",C:[{N:"applyT",mode:"Q{}pattern-priority",bSlot:"105",C:[{N:"dot",role:"select",type:"1NE"}]}]}]}]}]},{N:"str",val:""}]}]},{N:"copy",line:"125",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"126",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"127",name:"role",flags:"l",C:[{N:"str", +val:"match"}]},{N:"axis",line:"128",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"130","var":"Q{}processedAction",as:"1NE",slot:"11",C:[{N:"treat",line:"131",as:"NE",diag:"3|0|XTTE0570|processedAction",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processedAction",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}action",slot:"8"},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"streaming.xsl",line:"133",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"106",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM k[AS] v[+]",C:[{N:"varRef",line:"135",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"4"}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"int",val:"1"}]}]}]}]},{N:"ufCall",line:"142",name:"Q{MyFunctions}typeCheck", +tailCall:"false",bSlot:"107",C:[{N:"varRef",name:"Q{}processedAction",slot:"11"},{N:"varRef",name:"Q{}typeAsMap",slot:"9"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"2"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"223",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}constructSimpleContent",flags:"s",line:"362",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}constructSimpleContent"}, +{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"363","var":"Q{}parts",as:"*NE",slot:"0",C:[{N:"treat",line:"364",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"366",C:[{N:"fn",line:"367",name:"matches",C:[{N:"check",card:"?",diag:"0|0||fn:matches",C:[{N:"convert", +from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]},{N:"str",val:"^xs:string|^[1+?*]AS"},{N:"str",val:""}]},{N:"varRef",line:"368",name:"Q{}parts", +slot:"0"},{N:"true"},{N:"let",line:"371","var":"Q{}on-empty",as:"*NE n*:onEmpty",slot:"1",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"axis",name:"child",nodeTest:"NE n*:onEmpty"}]}]}]},{N:"let",line:"379","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*NE n*:onEmpty",slot:"2",flags:"l",C:[{N:"docOrder",intra:"0",C:[{N:"varRef", +name:"Q{}on-empty",slot:"1"}]},{N:"sequence",line:"372",C:[{N:"elem",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_STRING",bSlot:"108"}]},{N:"forEach",line:"374",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"elem",line:"375",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"109"}]}, +{N:"elem",line:"376",name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"copy",line:"377",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"378",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ITEM",bSlot:"110"}]},{N:"axis",line:"379",name:"attribute",nodeTest:"NA"},{N:"except",line:"379",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"}]}]}]}]}]}]}]},{N:"elem",line:"384", +name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"111"}]},{N:"elem",line:"385",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]},{N:"varRef",line:"388",name:"Q{}on-empty",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"255",rank:"1",minImp:"0",slots:"11",matches:"NE nQ{http://ns.saxonica.com/xslt/export}merge", +flags:"s",line:"58",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}merge"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"59","var":"Q{}sources",as:"*NE",slot:"0",C:[{N:"treat",line:"60",as:"NE",diag:"3|0|XTTE0570|sources",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", +name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc"}]}]},{N:"let",line:"64","var":"Q{}keyTypes",as:"*FA",slot:"1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}sources",slot:"0"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}_from-sequence",type:"1FA",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"112",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]},{N:"sequence",line:"74",C:[{N:"let","var":"Q{}h",slot:"2",C:[{N:"first",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1FA v[1FM]",slot:"3",flags:"l",C:[{N:"treat",as:"FA v[1FM]",diag:"0|0||f:comparableMergeKeys",C:[{N:"check",card:"1",diag:"0|0||f:comparableMergeKeys", +C:[{N:"varRef",name:"Q{}h",slot:"2"}]}]},{N:"choose",C:[{N:"some","var":"Q{}t",slot:"4",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"}]},{N:"fn",name:"not",C:[{N:"let","var":"Q{}k1",as:"1FA v[1FM]",slot:"5",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"},{N:"let","var":"Q{}k2",as:"1FA v[1FM]",slot:"6",C:[{N:"treat",as:"FA v[1FM]",diag:"0|1||f:comparableMergeKeys",C:[{N:"varRef",name:"Q{}t",slot:"4"}]},{N:"and",line:"100",op:"and",C:[{N:"vc",op:"eq", +onEmpty:"0",comp:"CAVC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k2",slot:"6"}]}]},{N:"every","var":"Q{}k",slot:"7",C:[{N:"to",C:[{N:"int",val:"1"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"5"}]}]},{N:"let","var":"Q{}a",slot:"8",C:[{N:"lookup", +C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k1",slot:"5"},{N:"varRef",name:"Q{}k",slot:"7"}]},{N:"str",val:"p"}]},{N:"let","var":"Q{}b",slot:"9",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k2",slot:"6"},{N:"varRef",name:"Q{}k",slot:"7"}]},{N:"str",val:"p"}]},{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}a",slot:"8"}]},{N:"atomSing",card:"?",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}a",slot:"8"}]}]}]}]},{N:"int",val:"1"},{N:"int", +val:"2"}]},{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}a",slot:"8"}]}, +{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"113",C:[{N:"str",val:"XTTE2230"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Merge key types "},{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"},{N:"forEach",C:[{N:"lookupAll",C:[{N:"dot",type:"1FA"}]},{N:"ufCall",name:"Q{MyTypes}displayType", +tailCall:"false",bSlot:"114",C:[{N:"treat",as:"FM",diag:"0|0||t:displayType",C:[{N:"dot"}]}]}]}]},{N:"str",val:","}]}]},{N:"str",val:" are not comparable"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}merge",flags:"a"}]}]}]}]},{N:"let",line:"76","var":"Q{}parts",as:"*NE",slot:"10",C:[{N:"treat",line:"77",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE d[NE,NE n*:mergeSrc]"},{N:"withParam",name:"Q{}context-type", +flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"merging.xsl",line:"78",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"115",C:[{N:"check",line:"63",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"first",C:[{N:"varRef",name:"Q{}sources",slot:"0"}]},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]},{N:"copy",line:"81",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}merge", +C:[{N:"sequence",role:"content",line:"82",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"action"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]}]},{N:"varRef",name:"Q{}sources",slot:"0"},{N:"varRef",name:"Q{}parts",slot:"10"}]}]}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"1.0",seq:"296",rank:"3",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}convert",flags:"s",line:"905",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}convert"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"905",op:"eq", +onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}to"}]},{N:"str",val:"xs:string"}]}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"905",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}data"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"906","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"907",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}data"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"choose",line:"909",C:[{N:"fn",line:"910",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"self", +nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"varRef",line:"911",name:"Q{}temp",slot:"0"},{N:"true"},{N:"copy",line:"914",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}convert",C:[{N:"sequence",role:"content",line:"915",C:[{N:"att",name:"type",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}to"}]},{N:"str",val:"*"}]}]},{N:"axis",line:"916",name:"attribute",nodeTest:"NA"},{N:"elem",line:"917",name:"data", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"choose",line:"918",C:[{N:"fn",line:"919",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:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]},{N:"str",val:"*NT"}]},{N:"elem",line:"920",name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"921",name:"Q{}temp",slot:"0"}]},{N:"true"}, +{N:"varRef",line:"925",name:"Q{}temp",slot:"0"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"295",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}convert",flags:"s",line:"898",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}convert"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"898",name:"attribute",nodeTest:"NA nQ{}to"}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"899",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}convert",C:[{N:"sequence",role:"content",line:"900",C:[{N:"att",name:"type",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}to"}]},{N:"str",val:"*"}]}]},{N:"axis",line:"901",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"902",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"183",part:"1",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}catch",flags:"s",line:"279",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}catch"},{N:"let",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"281","var":"Q{}parts",as:"*NE",slot:"1",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"285",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"286",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att", +line:"287",name:"sType",flags:"l",C:[{N:"ufCall",line:"284",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"116",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"117",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"118",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"288",name:"Q{}parts",slot:"1"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"274",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}package",flags:"s",line:"117",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}package"},{N:"copy", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"118",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}package",C:[{N:"sequence",role:"content",line:"119",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"177","var":"Q{}accumulators",as:"1FM v[1AS]",slot:"0",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"string",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"str",val:"*"}]}]}]}]}]},{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:"187","var":"Q{}global.functions",as:"1FM",slot:"1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}name"}, +{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"body"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"194", +"var":"Q{}typed-globals",as:"*NE",slot:"2",C:[{N:"treat",line:"196",as:"NE",diag:"3|0|XTTE0570|typed-globals",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalVariable,NE nQ{http://ns.saxonica.com/xslt/export}globalParam]"}]},{N:"withParam",name:"Q{}globals",flags:"t",as:"1FM k[AZ] v[1NE]",C:[{N:"ifCall",line:"200",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]}]}, +{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]}]}]},{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:"withParam",name:"Q{}global.functions",flags:"t",as:"1FM",C:[{N:"varRef",line:"201",name:"Q{}global.functions",slot:"1"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"1FM v[1AS]",C:[{N:"varRef",line:"203",name:"Q{}accumulators",slot:"0"}]}]}]},{N:"sequence",line:"207",C:[{N:"choose",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}options",bSlot:"119"},{N:"str",val:"traceProgress"}]},{N:"message",line:"208",C:[{N:"sequence",role:"select", +C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}typed-globals",slot:"2"}]},{N:"str",val:"global variables/params"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"221",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"int",val:"0"}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM k[* n~error] v[** n~error]",C:[{N:"map", +size:"0"}]},{N:"withParam",name:"Q{}globals",flags:"t",as:"1FM v[1]",C:[{N:"ifCall",line:"215",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}typed-globals",slot:"2"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"dot", +type:"1NE"}]}]},{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:"withParam",name:"Q{}global.functions",flags:"t",as:"1FM",C:[{N:"varRef",line:"229",name:"Q{}global.functions",slot:"1"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"1FM v[1AS]",C:[{N:"varRef",line:"231",name:"Q{}accumulators",slot:"0"}]},{N:"withParam",name:"Q{}named-template-params",flags:"t",as:"1FM v[1FM v[1A]]",C:[{N:"ifCall", +line:"212",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE n*:template"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"slash", +simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"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:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}version",flags:"t",as:"1ADI",C:[{N:"check",line:"233",card:"1",diag:"8|0|XTTE0590|version",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"data",diag:"8|0|XTTE0590|version",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]}]},{N:"choose", +line:"235",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"120"}]}]},{N:"fn",line:"238",name:"error",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"121"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"XPath compilation stage failed with "},{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"122"}]}]}]}, +{N:"str",val:" errors - see message console for details"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"297",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj",flags:"s",line:"934",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"935","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"936",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"938",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj",C:[{N:"sequence",role:"content",line:"939",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}sType"}]},{N:"choose",line:"940",C:[{N:"fn",line:"941",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"}]}]},{N:"varRef",line:"942",name:"Q{}temp",slot:"0"},{N:"fn",line:"944",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:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"0"}, +{N:"attVal",name:"Q{}sType"}]}]}]},{N:"str",val:"item("}]},{N:"elem",line:"945",name:"homCheck",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"946",name:"Q{}temp",slot:"0"}]},{N:"true"},{N:"varRef",line:"950",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"193",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}evaluate",flags:"s",line:"88",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", +test:"NE nQ{http://ns.saxonica.com/xslt/export}evaluate"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"88",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"89",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"process-xpath ex:evaluate @ex:asJ = "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"let",line:"91","var":"Q{}temp",as:"1NE",slot:"0",C:[{N:"treat",line:"92",as:"NE",diag:"3|0|XTTE0570|temp", +C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"95",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"123",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"ufCall",line:"90",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"124",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +name:"Q{http://saxon.sf.net/generated-variable}gg519751097",bSlot:"125"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"280",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}empty",flags:"s",line:"436",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}empty"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"437",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}empty",C:[{N:"sequence",role:"content",line:"438",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"126"}]},{N:"axis",line:"439",name:"attribute",nodeTest:"NA"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"286",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}first",flags:"s",line:"610",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", +test:"NE nQ{http://ns.saxonica.com/xslt/export}first"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"610",name:"attribute",nodeTest:"NA nQ{}BC"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"611","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"612",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"614",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}first",C:[{N:"sequence",role:"content",line:"615",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}BC]"},{N:"att",line:"617",name:"sType",flags:"l",C:[{N:"ufCall", +name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"127",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"617",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"128",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"?"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"618",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"269",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}key",flags:"s",line:"46",module:"key.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}key"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"47","var":"Q{}match",as:"*NE",slot:"0",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child", +nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"match"}]}]},{N:"let",line:"48","var":"Q{}processed-match",as:"1NE",slot:"1",C:[{N:"treat",line:"49",as:"NE",diag:"3|0|XTTE0570|processed-match",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processed-match",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}match",slot:"0"}]}]}]},{N:"copy",line:"60",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}key",C:[{N:"sequence",role:"content", +line:"61",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"62",name:"flags",flags:"l",C:[{N:"convert",line:"54",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|flags",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|flags",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}flags"},{N:"choose",line:"55",C:[{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind", +tailCall:"false",bSlot:"129",C:[{N:"varRef",name:"Q{}processed-match",slot:"1"},{N:"str",val:"NA"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"a"}]}]},{N:"choose",line:"56",C:[{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"false",bSlot:"130",C:[{N:"varRef",name:"Q{}processed-match",slot:"1"},{N:"str",val:"NN"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"n"}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]},{N:"varRef",line:"63",name:"Q{}processed-match",slot:"1"},{N:"applyT",line:"64",flags:"c", +bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}match",slot:"0"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"178",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty",flags:"s",line:"202",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"203","var":"Q{}source",as:"1NE",slot:"0",C:[{N:"treat",line:"204",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"206",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"207",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}, +{N:"varRef",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"279",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}copy",flags:"s",line:"419",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}copy"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"420",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"131"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"426",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"132",C:[{N:"str",val:"XTTE0945"}, +{N:"str",val:"No context item for xsl:copy"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}copy",flags:"a"}]}]},{N:"let",line:"427","var":"Q{}source",as:"1NE",slot:"1",C:[{N:"treat",line:"428",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"430",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}copy",C:[{N:"sequence",role:"content", +line:"431",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"133",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}context-type",slot:"0"},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"134"}]}]}]}]},{N:"axis",line:"432",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"432",name:"Q{}source",slot:"1"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"196",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function", +flags:"s",line:"178",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"178",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"179","var":"Q{}type",slot:"0",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"135",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"let",line:"180","var":"Q{}temp",as:"1NE",slot:"1",C:[{N:"treat",line:"181",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check", +card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"forEach",line:"185",C:[{N:"varRef",name:"Q{}temp",slot:"1"},{N:"copy",line:"186",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"189",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE n*:arg"},{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"136",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq", +comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"body"}]}]}]},{N:"treat",as:"FM",diag:"0|1||f:typeCheck",C:[{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"r"}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"137"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0780"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"callable-components.xsl",line:"189",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"function "},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"()"}]}]},{N:"str",val:"|"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"292",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function",flags:"s",line:"859",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"nextMatch",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"860",flags:"t",C:[{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"empty"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"197",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function",flags:"s",line:"194",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match", +test:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"195",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables", +C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"196",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"copy",line:"202",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}function",C:[{N:"sequence",role:"content", +line:"203",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE n*:arg"},{N:"applyT",line:"204",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"body"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"207",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"axis", +name:"child",nodeTest:"NE n*:arg"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE n*:arg"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]},{N:"fn",name:"string",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}, +{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"138"}]}]}]}]}]}]},{N:"varRef",name:"Q{}local.variables",slot:"0"}]},{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:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"arith",line:"208",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"1"},{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE n*:arg"}]}]}]},{N:"withParam",name:"Q{}context-type", +flags:"t",C:[{N:"empty"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"281",part:"2",rank:"1",minImp:"0",slots:"15",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fork",flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}fork"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"445","var":"Q{}parts",as:"*NE",slot:"10",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"449",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"10"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"139"}]},{N:"axis",line:"451",name:"attribute", +nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM",slot:"11",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"140",C:[{N:"check",card:"+",diag:"0|0||t:commonType", +C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"141",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"12", +C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"142",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"11"}]},{N:"choose",line:"461",C:[{N:"every","var":"Q{}p",slot:"13",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}p",slot:"13"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"10"}]}]}]},{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att",line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"12"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"10"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"469",flags:"in",sit:"1NE", +C:[{N:"sequence",role:"content",line:"470",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"12"}]},{N:"varRef",line:"472",name:"Q{}parts",slot:"10"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"14",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}role"},{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"10"},{N:"copy",line:"478",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"479",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"14"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"484",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"486",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall", +name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"143",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"11"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"490",name:"Q{}parts",slot:"10"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"164",rank:"1",minImp:"0",slots:"10",matches:"NE nQ{http://ns.saxonica.com/xslt/export}iterate",flags:"s",line:"179",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"180",C:[{N:"param",name:"Q{}no.slots",slot:"0",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"181",name:"Q{}local.variables",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", +as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"182",name:"Q{}context-type",slot:"2",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"144"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"183",name:"Q{}focus-context-type",slot:"3",flags:"t", +as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type",slot:"2"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"3"}]}]}]},{N:"copy",line:"184",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}iterate",C:[{N:"let",role:"content",line:"186","var":"Q{}for",as:"1NE",slot:"4",C:[{N:"treat",line:"187",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for", +C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"select"}]}]}]}]}]},{N:"let",line:"189","var":"Q{}bindings",as:"*NE nQ{http://ns.saxonica.com/xslt/export}for",slot:"5",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}for",slot:"4"},{N:"axis",name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}for"}]},{N:"let",line:"190","var":"Q{}new.local.variables", +as:"1FM",slot:"6",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"varRef",name:"Q{}bindings",slot:"5"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}for"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]},{N:"str", +val:""}]}]}]},{N:"varRef",name:"Q{}local.variables",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:"let",line:"191","var":"Q{}no.slots",as:"1ADI",slot:"7",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"0"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}bindings",slot:"5"}]}]},{N:"let",line:"193","var":"Q{}params",as:"1NE",slot:"8",C:[{N:"treat",line:"194",as:"NE",diag:"3|0|XTTE0570|params", +C:[{N:"check",card:"1",diag:"3|0|XTTE0570|params",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role"},{N:"str",val:"params"}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"varRef",line:"195",name:"Q{}no.slots",slot:"7"}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"varRef",line:"196",name:"Q{}new.local.variables",slot:"6"}]}]}]}]},{N:"let", +line:"201","var":"Q{}body",as:"*NE",slot:"9",C:[{N:"treat",line:"202",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"select"},{N:"str",val:"params"}]},{N:"attVal",name:"Q{}role"}]}]}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef", +line:"203",name:"Q{}context-type",slot:"2"}]},{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"repetition.xsl",line:"199",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"145",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"4"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"205", +name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}params",slot:"8"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]},{N:"fn",name:"string", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]},{N:"varRef",name:"Q{}new.local.variables",slot:"6"}]},{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:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"arith",line:"206",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"7"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}params",slot:"8"},{N:"axis",name:"child", +nodeTest:"NE"}]}]}]}]}]}]},{N:"sequence",line:"212",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",line:"211",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"146",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"147",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}body",slot:"9"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"action"},{N:"str",val:"on-completion"}]},{N:"attVal", +name:"Q{}role"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"148",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{N:"axis",line:"213",name:"attribute",nodeTest:"NA nQ{}role"},{N:"varRef",line:"214",name:"Q{}for",slot:"4"},{N:"varRef",line:"214",name:"Q{}params",slot:"8"},{N:"varRef",line:"214",name:"Q{}body", +slot:"9"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"281",part:"1",rank:"1",minImp:"0",slots:"15",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq",flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"445","var":"Q{}parts",as:"*NE",slot:"5",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"449",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"149"}]},{N:"axis",line:"451",name:"attribute", +nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM",slot:"6",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"150",C:[{N:"check",card:"+",diag:"0|0||t:commonType", +C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"151",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"7", +C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"152",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"6"}]},{N:"choose",line:"461",C:[{N:"every","var":"Q{}p",slot:"8",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}p",slot:"8"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]}]},{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att",line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"7"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"5"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"469",flags:"in",sit:"1NE", +C:[{N:"sequence",role:"content",line:"470",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"7"}]},{N:"varRef",line:"472",name:"Q{}parts",slot:"5"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"9",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}, +{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"copy",line:"478",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"479",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"9"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"484",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"486",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType", +tailCall:"false",bSlot:"153",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"6"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"490",name:"Q{}parts",slot:"5"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"289",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}VARDEF",flags:"s",as:"1NE",line:"784",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}VARDEF"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"785",card:"1",diag:'7|0|XTTE0505|match="ex:VARDEF" mode="process-xpath"',C:[{N:"sequence",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"786",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI", +diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"elem",line:"789",name:"let",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"var",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"slot",flags:"l",C:[{N:"convert", +from:"ADI",to:"AS",C:[{N:"varRef",line:"787",name:"Q{}no.slots",slot:"1"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"154"}]},{N:"applyT",line:"790",mode:"Q{}attribute-sans-prefix",bSlot:"155",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}, +{N:"axis",line:"791",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"791",name:"attribute",nodeTest:"NA nQ{}module"},{N:"let",line:"792","var":"Q{}temp",as:"*NE",slot:"2",C:[{N:"treat",line:"793",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"796",C:[{N:"fn",line:"797",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"sequence",line:"799",C:[{N:"att",name:"sType",flags:"l", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"ufCall",line:"803",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"156",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]},{N:"ufCall",line:"800",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"157",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:typeCheck",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"158"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0570"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"803",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'xsl:variable name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"806",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"},{N:"axis", +name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"varRef",name:"Q{}temp",slot:"2"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"273",rank:"2",minImp:"0",slots:"0",matches:"NT",flags:"s",line:"111", +module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NT"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"111",name:"not",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"empty",role:"action"}]}]}]},{N:"co",id:"147",binds:"22",C:[{N:"template",name:"Q{}strip-space",flags:"os", +as:"*NE",line:"1465",module:"XSLT-SEF-compiler.xsl",slots:"10",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1467",C:[{N:"param",name:"Q{}precedence-map",slot:"0",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]",diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map", +C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1468",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"choose",line:"1469",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]}]}, +{N:"let",line:"1470","var":"Q{}first",as:"?NE",slot:"2",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]}]},{N:"elem",line:"1532",name:"strip",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"forEach",line:"1533",C:[{N:"forEachGroup",line:"1472",algorithm:"by",C:[{N:"treat",role:"select", +as:"NE",diag:"3|0|XTTE0570|unique",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",C:[{N:"forEach",role:"select",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]},{N:"let",line:"1475","var":"Q{}isStrip",as:"1AB",slot:"3",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space"}]}, +{N:"let",line:"1479","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AS",slot:"4",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}isStrip",slot:"3"},{N:"str",val:"s"},{N:"true"},{N:"str",val:"p"}]},{N:"let",line:"1481","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"5",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}isStrip",slot:"3"}]},{N:"let",line:"1477","var":"Q{}precedence",as:"1ADI",slot:"6",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|precedence", +C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"0"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"1488","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AS",slot:"7",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}precedence",slot:"6"}]},{N:"forEach",line:"1478",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:"attVal",name:"Q{}elements"}]}]}]},{N:"compElem",line:"1479",C:[{N:"varRef",role:"name",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"4"},{N:"sequence",role:"content",line:"1480",C:[{N:"att",name:"elements",flags:"l",C:[{N:"dot",type:"1AS"}]},{N:"att",line:"1481",name:"strip",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"5"}]},{N:"att",line:"1487", +name:"test",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"NE"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"*",C:[{N:"dot",type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"fn",name:"concat",C:[{N:"str",val:" n"},{N:"dot",type:"1AS"}]}]}]}]},{N:"att",line:"1488",name:"prec",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"7"}]},{N:"att",line:"1497",name:"priority",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"*", +C:[{N:"dot",type:"1AS"}]},{N:"dec",val:"-0.5"},{N:"fn",name:"contains",C:[{N:"dot",type:"1AS"},{N:"str",val:"*"}]},{N:"dec",val:"-0.25"},{N:"true"},{N:"int",val:"0"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sortKey",line:"1505",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prec"}]},{N:"str",role:"order",val:"descending"},{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:"sortKey",line:"1506",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}priority"}]},{N:"str",role:"order",val:"descending"},{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:"attVal",role:"key",line:"1510",name:"Q{}elements"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"let",role:"content",line:"1512","var":"Q{}highest-precedence",as:"?AO",slot:"8",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"currentGroup"},{N:"fn",name:"number",C:[{N:"attVal",name:"Q{}prec"}]}]}]},{N:"let",line:"1514","var":"Q{}active",slot:"9",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"gc",op:"=",card:"1:1",comp:"QUNC",C:[{N:"attVal",name:"Q{}prec"},{N:"varRef",name:"Q{}highest-precedence",slot:"8"}]}]},{N:"sequence",line:"1515",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists", +C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}active",slot:"9"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}s"}]}]}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}active",slot:"9"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p"}]}]}]}]},{N:"ufCall",line:"1518",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0270"},{N:"fn",name:"concat", +C:[{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting strip and preserve space declarations for "},{N:"attVal",name:"Q{}elements"}]},{N:"str",val:" at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}first",slot:"2"}]}]}]},{N:"first",line:"1520",C:[{N:"varRef",name:"Q{}active",slot:"9"}]}]}]}]}]}]},{N:"attVal",role:"key",line:"1525",name:"Q{}prec"},{N:"sortKey",role:"sort",line:"1526",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal", +name:"Q{}prec"}]},{N:"str",role:"order",val:"descending"},{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:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sort",role:"content",line:"1527",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1528",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number", +C:[{N:"attVal",name:"Q{}priority"}]},{N:"str",role:"order",val:"descending"},{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:"copy",line:"1534",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1535",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}prec"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}code"}]}]}]}]}]}]}]}]}]},{N:"co",id:"148",binds:"22",C:[{N:"function",name:"Q{MyFunctions}wrongValue",line:"813",module:"normalize.xsl",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"+NA"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"816",C:[{N:"first",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]},{N:"str",val:" is not a permitted value for "}]},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"dot",type:"1NA"}]}]}]}]},{N:"co",id:"149",binds:"79 150",C:[{N:"template",name:"Q{}role-value-template",flags:"os",line:"177",module:"creating-new-nodes.xsl",slots:"2",C:[{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"178","var":"Q{}role",slot:"0",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"0"},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]},{N:"let",line:"180","var":"Q{}AVT",as:"1NE",slot:"1",C:[{N:"check",line:"181",card:"1",diag:"3|0|XTTE0570|AVT",C:[{N:"callT",name:"Q{}value-template",bSlot:"1"}]},{N:"forEach",line:"184",C:[{N:"varRef",name:"Q{}AVT",slot:"1"},{N:"copy",line:"185",flags:"cin", +sit:"1NE",C:[{N:"sequence",role:"content",line:"186",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"co",id:"151",binds:"1 61",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_MAP",as:"1AS",line:"63",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"63",name:"Q{MyTypes}unmarshalType",tailCall:"false", +bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_MAP",bSlot:"1"}]}]}]},{N:"co",id:"152",binds:"34",C:[{N:"function",name:"Q{MyFunctions}check-sort",line:"247",module:"lib.xsl",flags:"pU",as:"0",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"255",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b", +C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"check",card:"0",diag:"5|0|XTTE0780|f:check-sort#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0", +C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:sort+ must be the first children of "},{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"153",binds:"",C:[{N:"function",name:"Q{MyFunctions}EQNameToQName",line:"166",module:"lib.xsl",flags:"pU",as:"1AQ",slots:"2",C:[{N:"arg",name:"Q{}eqname",as:"1AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"168","var":"Q{}parts",as:"*AS",slot:"1",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}eqname",slot:"0"},{N:"int",val:"3"}]},{N:"str",val:"\\}"},{N:"str",val:""}]},{N:"fn",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"fn",line:"169",name:"QName",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"1"}]},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"int",val:"2"}]}]}]}]}]}]},{N:"co", +id:"135",binds:"154 7 154 7",C:[{N:"mode",name:"Q{}pattern-priority",onNo:"FF",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"304",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"22",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"22",flags:"S", +C:[{N:"str",val:"0"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"3",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.genPos",flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.genPos"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"308",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent",flags:"s",line:"31",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent"},{N:"applyT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"32",flags:"ct",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"306",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate",flags:"s",line:"29",module:"pattern.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"29",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}code"}]},{N:"str",val:""}]}]},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"29",flags:"S",C:[{N:"str",val:"1"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate", +flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"5",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.simPos", +flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.simPos"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"2",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.genNode", +flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.genNode"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"305",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.booleanExp", +flags:"s",line:"28",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.booleanExp"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"28",flags:"S",C:[{N:"str",val:"1"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"311",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn", +flags:"s",line:"57",module:"pattern.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"57",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"intersect"},{N:"str",val:"except"}]},{N:"attVal",name:"Q{}op"}]}]},{N:"applyT",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"58",flags:"ct",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"310",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn",flags:"s",line:"37",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"}, +{N:"fn",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",name:"string",C:[{N:"ufCall",line:"41",name:"Q{MyFunctions}nodeTestPriority",tailCall:"false",bSlot:"0",C:[{N:"choose",line:"39",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"1",C:[{N:"check",card:"1", +diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]}]}]}]},{N:"true"},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"int",val:"1"},{N:"str",val:"p"},{N:"str",val:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"4",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeSet", +flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeSet"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"307",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.any", +flags:"s",line:"30",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.any"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"30",flags:"S",C:[{N:"str",val:"-1"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper", +flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"310",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeTest", +flags:"s",line:"37",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeTest"},{N:"fn",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",name:"string",C:[{N:"ufCall",line:"41",name:"Q{MyFunctions}nodeTestPriority",tailCall:"false",bSlot:"2",C:[{N:"choose",line:"39",C:[{N:"fn",name:"exists",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"3",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]}]}]}]},{N:"true"},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"int",val:"1"},{N:"str",val:"p"},{N:"str",val:"N"}]}]}]}]}]}]}]}, +{N:"co",id:"155",binds:"156 157",C:[{N:"function",name:"Q{MyFunctions}literalType",line:"1009",module:"type.xsl",flags:"pU",as:"1FM",slots:"2",C:[{N:"arg",name:"Q{}inst",as:"1NE"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1011","var":"Q{}name",as:"1AS",slot:"1",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"0"}]},{N:"choose",line:"1013",C:[{N:"compareToString", +line:"1014",op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"ifCall",line:"1015",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:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map",size:"1",C:[{N:"str", +val:"o"},{N:"str",val:"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:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"ifCall",line:"1022",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:"p"},{N:"fn",name:"normalize-space", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"0"},{N:"attVal",name:"Q{}type"}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"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:"gc",line:"1024",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str", +val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"0"},{N:"true"},{N:"check",line:"1028",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"1"},{N:"varRef",name:"Q{}name",slot:"1"}]}]}]}]}]}]},{N:"co",id:"158",binds:"",C:[{N:"function",name:"Q{MyTypes}isAtomic",line:"458",module:"type.xsl",flags:"pU", +as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"460","var":"Q{}alphaCode",slot:"1",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]},{N:"or",line:"461",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef", +name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"A"}]}]}]}]}]},{N:"co",id:"159",binds:"",C:[{N:"function",name:"Q{MyFunctions}cast",line:"465",module:"type.xsl",flags:"pU",as:"?A",slots:"2",C:[{N:"arg", +name:"Q{}a",as:"1A"},{N:"arg",name:"Q{}type",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"468",C:[{N:"compareToString",line:"469",op:"eq",val:"AB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"470",flags:"a",as:"1AB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"472",op:"eq",val:"ASNTNCR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast", +line:"473",flags:"a",as:"1ASNTNCR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"475",op:"eq",val:"ASNTNCE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"476",flags:"a",as:"1ASNTNCE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"478",op:"eq",val:"ASNTNCI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"479",flags:"a",as:"1ASNTNCI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"481",op:"eq",val:"ASNTNC",C:[{N:"varRef", +name:"Q{}type",slot:"1"}]},{N:"cast",line:"482",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"484",op:"eq",val:"ASNTN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"485",flags:"a",as:"1ASNTN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"487",op:"eq",val:"ASNT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"488",flags:"a",as:"1ASNT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"490",op:"eq",val:"ASNTL", +C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"491",flags:"a",as:"1ASNTL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"493",op:"eq",val:"ASNTM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"494",flags:"a",as:"1ASNTK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"496",op:"eq",val:"ASN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"497",flags:"a",as:"1ASN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"499", +op:"eq",val:"AS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"500",flags:"a",as:"1AS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"502",op:"eq",val:"AQ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"503",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"505",op:"eq",val:"AU",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"506",flags:"a",as:"1AU",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"508", +op:"eq",val:"AA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"509",flags:"a",as:"1AA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"511",op:"eq",val:"AM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"512",flags:"a",as:"1AM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"514",op:"eq",val:"AMP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"515",flags:"a",as:"1AMP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"517",op:"eq",val:"AT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"518",flags:"a",as:"1AT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"520",op:"eq",val:"AR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"521",flags:"a",as:"1AR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"523",op:"eq",val:"ARD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"524",flags:"a",as:"1ARD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"526",op:"eq",val:"ARY",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"527",flags:"a",as:"1ARY",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"529",op:"eq",val:"AG",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"530",flags:"a",as:"1AG",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"532",op:"eq",val:"AH",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"533",flags:"a",as:"1AH",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"535",op:"eq",val:"AI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"536",flags:"a",as:"1AI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"538",op:"eq",val:"AJ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"539",flags:"a",as:"1AJ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"541",op:"eq",val:"AK",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"542",flags:"a",as:"1AK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"544",op:"eq",val:"AD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"545",flags:"a",as:"1AD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"547",op:"eq",val:"ADI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"548",flags:"a",as:"1ADI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"550",op:"eq",val:"ADIN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"551",flags:"a",as:"1ADIN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"553",op:"eq",val:"ADINN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"554",flags:"a",as:"1ADINN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"556",op:"eq",val:"ADIP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"557",flags:"a",as:"1ADIP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"559",op:"eq",val:"ADIPP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"560",flags:"a",as:"1ADIPP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]}, +{N:"compareToString",line:"562",op:"eq",val:"ADIPL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"563",flags:"a",as:"1ADIPL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"565",op:"eq",val:"ADIPLI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"566",flags:"a",as:"1ADIPLI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"568",op:"eq",val:"ADIPLIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"569",flags:"a",as:"1ADIPLIS",C:[{N:"varRef", +name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"571",op:"eq",val:"ADIPLISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"572",flags:"a",as:"1ADIPLISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"574",op:"eq",val:"ADIL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"575",flags:"a",as:"1ADIL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"577",op:"eq",val:"ADILI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"578",flags:"a", +as:"1ADILI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"580",op:"eq",val:"ADILIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"581",flags:"a",as:"1ADILIS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"583",op:"eq",val:"ADILISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"584",flags:"a",as:"1ADILISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"586",op:"eq",val:"AO",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast", +line:"587",flags:"a",as:"1AO",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"589",op:"eq",val:"AF",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"590",flags:"a",as:"1AF",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"592",op:"eq",val:"A2",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"593",flags:"a",as:"1A2",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"595",op:"eq",val:"AX",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast", +line:"596",flags:"a",as:"1AX",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"598",op:"eq",val:"AZ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"599",flags:"a",as:"1AZ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"true"},{N:"varRef",line:"602",name:"Q{}a",slot:"0"}]}]}]},{N:"co",id:"160",binds:"",C:[{N:"mode",name:"Q{}form.schema",onNo:"DS",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"27",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s", +as:"*FM",line:"397",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"398",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:"\\..$"},{N:"str",val:""},{N:"str",val:""}]},{N:"str", +val:"AAA"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"28",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{}sequence-constructor",flags:"s",as:"*FM",line:"400",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{}sequence-constructor"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"401",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{}sequence-constructor",flags:"a"}]},{N:"str",val:"AAA"}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"26",rank:"0",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"388",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"389",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:"\\..+$"},{N:"str",val:""},{N:"str",val:""}]},{N:"ifCall",line:"391",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:"isAVT"},{N:"fn",name:"matches",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:"\\.R?A$"},{N:"str",val:""}]}]},{N:"ifCall", +line:"392",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"values"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"str",val:"\\s*\\|\\s*"},{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:"templateRule",prec:"0",prio:"0.0",seq:"25",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{MyFunctions}selectAndContent",flags:"s",line:"384",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{MyFunctions}selectAndContent"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"385",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA nQ{MyFunctions}selectAndContent",flags:"a"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{MyFunctions}selectAndContent",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"24",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{MyFunctions}parents",flags:"s",line:"375",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{MyFunctions}parents"},{N:"ifCall", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"382",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"parents"},{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data", +diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{MyFunctions}parents",flags:"a"}]}]}]}]},{N:"str",val:"\\s*\\|\\s*"},{N:"str",val:""}]},{N:"choose",C:[{N:"compareToString",op:"eq",val:"top-level",C:[{N:"dot",type:"1AS"}]},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"true"},{N:"dot",type:"1AS"}]}]}]}]}]}]},{N:"co",id:"161",binds:"",C:[{N:"function",name:"Q{MyFunctions}map-aliased-name",line:"540",module:"creating-new-nodes.xsl", +flags:"pU",as:"*",slots:"5",C:[{N:"arg",name:"Q{}original-name",as:"1AQ"},{N:"arg",name:"Q{}namespace-aliases",as:"1FM"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"544","var":"Q{}original-uri",as:"1AU",slot:"2",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"0"}]},{N:"let",line:"545","var":"Q{}new-uri",as:"1AS", +slot:"3",C:[{N:"choose",line:"546",C:[{N:"or",line:"547",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]}]}]},{N:"convert",line:"548",from:"AU",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef", +name:"Q{}original-uri",slot:"2"}]}]},{N:"true"},{N:"check",line:"551",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]},{N:"int",val:"2"}]}]}]}]}]}]}, +{N:"choose",line:"555",C:[{N:"vc",line:"556",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"2"},{N:"varRef",name:"Q{}new-uri",slot:"3"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"0"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"4",C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]}]},{N:"fn",line:"567", +name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"3"},{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"str",val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName", +C:[{N:"varRef",name:"Q{}original-name",slot:"0"}]}]}]}]}]}]}]}]}]},{N:"co",id:"46",binds:"",C:[{N:"function",name:"Q{MyFunctions}NCName",line:"148",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"156",C:[{N:"fn",name:"matches",C:[{N:"check",card:"?",diag:"0|0||fn:matches", +C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]},{N:"str",val:"^\\i\\c*$"},{N:"str",val:""}]},{N:"check",card:"1",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"data",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"varRef",name:"Q{}input", +slot:"0"}]}]}]}]},{N:"true"},{N:"check",card:"1",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"data",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}, +{N:"str",val:"' is not a valid NCName"}]}]}]}]}]}]}]}]}]},{N:"co",id:"162",binds:"74",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg607192333",as:"1AS",line:"240",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"240",name:"concat",C:[{N:"str",val:"This is the XSLT3 compiler version "}, +{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"gVarRef",name:"Q{}compiler.version",bSlot:"0"}]}]}]}]}]},{N:"co",id:"32",binds:"11",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"90",module:"lib.xsl",flags:"pU",as:"1AS",slots:"3",C:[{N:"arg",name:"Q{}name",as:"1AS"},{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}error-code",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"94",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}name",slot:"0"},{N:"varRef",name:"Q{}context",slot:"1"},{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"empty"}]}]}]}]},{N:"co",id:"43",binds:"11",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"85",module:"lib.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}name",as:"1AS"},{N:"arg",name:"Q{}context",as:"1NE"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"88",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}name",slot:"0"},{N:"varRef",name:"Q{}context",slot:"1"},{N:"str",val:"XTSE0020"},{N:"empty"}]}]}]}]},{N:"co",id:"45",binds:"22",C:[{N:"function",name:"Q{MyFunctions}not-reserved",line:"72",module:"lib.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}eqName",as:"1AS"},{N:"arg",name:"Q{}location",as:"?N"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"75",C:[{N:"fn",line:"76",name:"matches",C:[{N:"varRef",name:"Q{}eqName",slot:"0"},{N:"str",val:"^Q\\{http://www.w3.org/(1999/XSL/Transform|2005/xpath-functions(/map|/math|/array)?|XML/1998/namespace|2001/XMLSchema(-instance)?|2005/xqt-errors|2000/xmlns/)\\}"},{N:"str",val:""}]},{N:"check",line:"77",card:"1",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"data", +diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0080"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Namespace "},{N:"fn",name:"substring-before",C:[{N:"fn",name:"substring-after",C:[{N:"varRef",name:"Q{}eqName",slot:"0"},{N:"str",val:"Q{"}]},{N:"str",val:"}"}]}]},{N:"str",val:" is reserved for system use"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}location", +slot:"1"}]}]}]}]}]}]},{N:"true"},{N:"varRef",line:"80",name:"Q{}eqName",slot:"0"}]}]}]},{N:"co",id:"163",binds:"38 28 15 79 164 17 15 15 28 15 164 28 18 18 19 79",C:[{N:"mode",name:"Q{}sef.named-templates",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"5.0",seq:"327",rank:"13",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, {N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty", -role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6",seq:"363",rank:"7",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*", +role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6",seq:"366",rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*", flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"358",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"361",rank:"11",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"104",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",eval:"16",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"354",rank:"5",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"357",rank:"10",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl", C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"96",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"343",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"62",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"339",rank:"3",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA", -C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"53",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"3.03",seq:"335",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"45",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces", -flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"331",rank:"1",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"38",flags:"t",C:[{N:"withParam", -name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"375",part:"1",rank:"0",minImp:"0",slots:"87",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform", -flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"671",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM", -diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675", -"var":"Q{}this",as:"1",slot:"2",eval:"16",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"3",eval:"8",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"4",eval:"13",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package",slot:"3"}]},{N:"let",line:"678","var":"Q{}location",as:"1NA",slot:"5",eval:"9",C:[{N:"att", -line:"679",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"6",eval:"16",C:[{N:"choose",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae", -as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"},{N:"dec",val:"3"}]},{N:"let",line:"1177","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"7",eval:"13",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"8",eval:"13",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"}, -{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"9",eval:"13",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"10",eval:"13",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility", -as:"1AB",slot:"11",eval:"16",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"12",eval:"16",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"1",eval:"8 0",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets", -as:"*A",slot:"13",eval:"4",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"702",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"}, -{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"710","var":"Q{}sorted-precedence-labels",as:"*AS",slot:"14",eval:"4",C:[{N:"treat",line:"711",as:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn",name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child", -nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]},{N:"let",line:"714","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"15",eval:"8",C:[{N:"ifCall",line:"716",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"762","var":"Q{}named-template-signatures",as:"1FM",slot:"16",eval:"8",C:[{N:"ifCall",line:"764",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor", -C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"17",eval:"8",C:[{N:"let","var":"Q{}highest-precedence",slot:"18",eval:"8",C:[{N:"fn",name:"min",C:[{N:"forEach", -C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"check",card:"+",diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"varRef",name:"Q{}highest-precedence",slot:"18"}]}]}]}]},{N:"sequence",line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists", -C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"17"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"2",eval:"0 16 16",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775", -"var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"19",eval:"16",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest",slot:"17"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"20",eval:"4",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal", -name:"Q{}tunnel",chk:"0"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}highest",slot:"19"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, -{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{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:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"20"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{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:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required", -chk:"0"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{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-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}params",slot:"20"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required",chk:"0"},{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, -{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"3"}]}]}]}]},{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:"XTDE3365"}]}]}, -{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795",C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"21",eval:"16",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases", -C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map",tailCall:"false",bSlot:"4",eval:"16",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence",line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence",role:"select",C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"5",eval:"1",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"21"}]}]},{N:"str", -role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"805","var":"Q{}defined-character-maps",as:"*A",slot:"22",eval:"4",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"806","var":"Q{}output-declarations",as:"+NE", -slot:"23",eval:"9",C:[{N:"condSeq",line:"808",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"808",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"809","var":"Q{}group-name",as:"*A",slot:"24",eval:"8",C:[{N:"currentGroupingKey"},{N:"elem",line:"810",name:"output", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"811",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]},{N:"str",val:" "}]}]}]},{N:"elem",line:"815", -name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"10"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]}, -{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS",slot:"25",eval:"8",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}, -{N:"let",line:"826","var":"Q{}active",as:"+NA",slot:"26",eval:"8",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"25"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property", -bSlot:"6",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"26"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"26"}]}]}]}]}]},{N:"forEachGroup",line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation", -val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"27",eval:"8",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property",bSlot:"7",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"27"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"27"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]},{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri",chk:"0"}]}]}]}]}]}]},{N:"let",line:"847", -"var":"Q{}use-char-maps",slot:"28",eval:"9",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}in",as:"*A",slot:"29",eval:"8",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",C:[{N:"let","var":"Q{}input", -as:"*NE",slot:"30",eval:"8",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]},{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"30"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{N:"str",role:"order",val:"descending"}, -{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:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}use-character-maps",chk:"0"}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}in",slot:"29"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"31",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"28"},{N:"choose",role:"return",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps", -slot:"22"},{N:"varRef",name:"Q{}c",slot:"31"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output "},{N:"varRef",name:"Q{}group-name",slot:"24"},{N:"str",val:" references a non-existent character map "},{N:"varRef",name:"Q{}c",slot:"31"}]}]}]}]},{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l", -C:[{N:"str",val:"use-character-maps"}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"28"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"862",C:[{N:"elem",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",line:"864",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]}, -{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"870","var":"Q{}character-maps",as:"*NE",slot:"32",eval:"8",C:[{N:"let",line:"871","var":"Q{}temp",as:"*NE",slot:"33",eval:"8",C:[{N:"treat",line:"872",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select", -line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"}, -{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"873","var":"Q{}group-name",as:"*A",slot:"34",eval:"8",C:[{N:"currentGroupingKey"},{N:"let",line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"35",eval:"8",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"877","var":"Q{}active", -slot:"36",eval:"8",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{N:"varRef",name:"Q{}highest-precedence",slot:"35"}]}]},{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active",slot:"36"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"8",eval:"0 16 16",C:[{N:"str",val:"XTSE1580"},{N:"fn",name:"concat", -C:[{N:"str",val:"xsl:character-map "},{N:"varRef",name:"Q{}group-name",slot:"34"},{N:"str",val:" is defined more than once"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]},{N:"str", -val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}use-character-maps",chk:"0"}]}]},{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"22"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"9",eval:"0 16 16",C:[{N:"str",val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"varRef",name:"Q{}group-name",slot:"34"},{N:"str",val:" uses non-existent character map "},{N:"dot",type:"1AS"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"},{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}character",chk:"0"}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string",chk:"0"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"37",eval:"8",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"33"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}use-character-maps",chk:"0"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"}, -{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE",diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}character-map-dependency",slot:"37"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"10",eval:"16 1",C:[{N:"treat",as:"AS",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"varRef", -name:"Q{}character-map-dependency",slot:"37"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"33"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",eval:"0 16 16",C:[{N:"str",val:"XTSE1600"},{N:"treat",as:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"check",card:"1",diag:"0|1||f:syntax-error-at", -C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"33"}]}]}]}]}]}]}]}]},{N:"let",line:"914","var":"Q{}expanded-character-maps",as:"*NE",slot:"38",eval:"3",C:[{N:"treat",line:"915",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps", -bSlot:"12",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"32"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"32"}]}]}]},{N:"let",line:"920","var":"Q{}global-context-item",as:"?NE",slot:"39",eval:"7",C:[{N:"let",line:"921","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",slot:"40",eval:"4",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"}, -{N:"check",line:"932",card:"?",diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]},{N:"let","var":"Q{}h",slot:"41",eval:"7",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"42",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d", -slot:"42"},{N:"varRef",name:"Q{}h",slot:"41"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",eval:"0 0 16",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"Inconsistent values for global-context-item"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"applyT", -mode:"Q{}sef",bSlot:"14",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]}]}]}]}]},{N:"let",line:"944","var":"Q{}static-context",as:"1FM k[AS]",slot:"43",eval:"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:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"11"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"6"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location",slot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"21"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"output-declarations"}, -{N:"varRef",name:"Q{}output-declarations",slot:"23"}]}]},{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:"952","var":"Q{}keys",as:"*NE",slot:"44",eval:"3",C:[{N:"sequence",line:"953",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"}, -{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"choose",role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956","var":"Q{}highest-precedence",as:"?AS",slot:"45",eval:"8",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"958","var":"Q{}highest",slot:"46",eval:"8",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC", -C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{N:"varRef",name:"Q{}highest-precedence",slot:"45"}]}]},{N:"sequence",line:"959",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest", -slot:"46"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]},{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",eval:"0 16 16",C:[{N:"str",val:"XTSE1220"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1", -diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"16",eval:"8 0",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]}, -{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",eval:"0 16 16",C:[{N:"str",val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail", -start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"977","var":"Q{}processed",as:"*NE",slot:"47",eval:"3",C:[{N:"treat",line:"978",as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"18",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"}, -{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"982",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets", -slot:"13"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}processed",slot:"47"},{N:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"48",eval:"8", -C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}flags",chk:"0"}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"994",C:[{N:"currentGroup"},{N:"copy",line:"996",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"48"},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"cvUntyped", -to:"AS",C:[{N:"attVal",name:"Q{}flags",chk:"0"}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags",chk:"0"},{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"}, -{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1009","var":"Q{}global.varPars",as:"*NE",slot:"49",eval:"3",C:[{N:"treat",line:"1011",as:"NE",diag:"3|0|XTTE0570|global.varPars",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"},{N:"sortKey",line:"655",comp:"CCC", -C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1013", -C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]}]}]}]},{N:"ufCall", -line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",eval:"0 16 16",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]},{N:"let",line:"1021","var":"Q{}global.params", -as:"*NE",slot:"50",eval:"3",C:[{N:"treat",line:"1022",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"20",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"49"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location", -flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1029",name:"Q{}defined-attribute-sets", -slot:"13"}]}]}]},{N:"let",line:"1032","var":"Q{}global.variables",as:"*NE",slot:"51",eval:"4",C:[{N:"treat",line:"1033",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"21",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"49"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1034", -name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets", -flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"13"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1047","var":"Q{}global.functions",as:"*NE",slot:"52",eval:"3", -C:[{N:"treat",line:"1048",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat",C:[{N:"str",val:"Processing function "}, -{N:"currentGroupingKey"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1052",algorithm:"by",C:[{N:"currentGroup",role:"select"},{N:"fn",role:"key",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1054",C:[{N:"choose",C:[{N:"and", -op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]}]}]}]},{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"22",eval:"0 16 16",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:' name="'},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1059","var":"Q{}head",as:"1N",slot:"53",eval:"16",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first", -C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"23",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"53"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1061",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1", -slot:"9"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"24",eval:"1",C:[{N:"varRef",name:"Q{}head", -slot:"53"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1076",C:[{N:"str",role:"select",val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1080","var":"Q{}attribute-sets",as:"*NE",slot:"54",eval:"8",C:[{N:"let",line:"1081","var":"Q{}temp",as:"*NE",slot:"55",eval:"9",C:[{N:"forEachGroup", -line:"1082",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"elem",role:"content",line:"1083",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",line:"1086",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att", -name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"56",eval:"16",C:[{N:"dot", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1", -diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}, -{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"25"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"26",C:[{N:"sequence",role:"select", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"elem",line:"1089",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",line:"1090",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}, -{N:"str",role:"order",val:"descending"},{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:"applyT",line:"1092",mode:"Q{}sef",bSlot:"27",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef", -line:"1094",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"28", -eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"57",eval:"8",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"55"},{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:"string",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter", -flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"57"}]},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"29",eval:"16 1",C:[{N:"treat",as:"AS",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}direct-dependency",slot:"57"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data", -diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"55"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"30",eval:"16 16 1",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"treat",as:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"check",card:"1",diag:"0|1||f:syntax-error-at", -C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"2"}]}]}]}]}]}]},{N:"let",line:"1134","var":"Q{}named.templates",as:"*NE",slot:"58",eval:"3",C:[{N:"treat",line:"1135",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b", -C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"}, -{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"31",eval:"0 16 16",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int", -val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"59",eval:"16",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"32",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"59"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location", -slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"8"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures", -slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1153",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1155",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"33",eval:"1",C:[{N:"varRef",name:"Q{}head",slot:"59"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]}, -{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1164","var":"Q{}accumulators",as:"*NE",slot:"60",eval:"4",C:[{N:"treat",line:"1165",as:"NE",diag:"3|0|XTTE0570|accumulators",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"}, -{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str", -role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel", -chk:"0"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"34",eval:"0 16 16",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"35",C:[{N:"first",role:"select", -C:[{N:"currentGroup"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3", -slot:"7"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall", -line:"1184",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"36",eval:"16",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1205","var":"Q{}templates", -as:"*NE",slot:"61",eval:"3",C:[{N:"forEach",line:"1206",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"62",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",C:[{N:"fn",name:"tokenize",C:[{N:"treat",as:"AS",diag:"0|0||fn:tokenize",C:[{N:"check",card:"?", -diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209","var":"Q{}mode",as:"1",slot:"63",eval:"16",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"62"},{N:"copy",line:"1212",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence", -role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1215",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}mode",slot:"63"},{N:"str",val:"#default"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef", -name:"Q{}mode",slot:"63"}]}]},{N:"axis",line:"1223",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"64",eval:"4",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates",slot:"61"},{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}mode",chk:"0"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot", -type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A",slot:"65",eval:"3",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data", -diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"12"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b", -C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility",chk:"0"},{N:"str",val:"public"}]}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"37",eval:"0 16 16", -C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:" must be declared and public in a package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"",C:[{N:"axis", -name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"12"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"64"},{N:"varRef",name:"Q{}used-modes",slot:"65"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"38",eval:"0 0 16",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1271","var":"Q{}mode.decl",as:"*NE",slot:"66",eval:"3",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter",line:"1274", -flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]},{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:"#unnamed"}]}]}]}]}]}]}, -{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute",as:"A",slot:"67",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis", -name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return","var":"Q{}a",slot:"68",eval:"8",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute", -slot:"67"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"69",eval:"8",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"68"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a",slot:"68"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"70", -eval:"4",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"68"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}max-prec",slot:"69"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef", -name:"Q{}vals",slot:"70"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}attribute",slot:"67"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot", -type:"1A"}]}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"71",eval:"4",C:[{N:"fn",name:"tokenize",C:[{N:"treat",as:"AS",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"first",C:[{N:"varRef",name:"Q{}vals",slot:"70"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"72",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]},{N:"gc", -op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"71"},{N:"varRef",name:"Q{}t",slot:"72"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"},{N:"fn",name:"concat",C:[{N:"str",val:"Mode "},{N:"currentGroupingKey"},{N:"str",val:" has conflicting property values for "},{N:"varRef",name:"Q{}attribute",slot:"67"},{N:"str",val:" which are "}, -{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"str",val:","}]},{N:"str",val:" on mode "},{N:"currentGroupingKey"}]},{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1311",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",line:"1312",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}, -{N:"str",role:"order",val:"descending"},{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:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message", -line:"1323",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"73",eval:"4",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data",diag:"3|0|XTTE0570|declared-modes", -C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"1335","var":"Q{}undeclared-modes",as:"*A",slot:"74",eval:"3",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"64"},{N:"varRef",name:"Q{}declared-modes",slot:"73"},{N:"varRef",name:"Q{}used-modes",slot:"65"},{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}declared-modes",slot:"73"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"12"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error",tailCall:"false", -bSlot:"39",eval:"0 16",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"}]},{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1354","var":"Q{}processed-templates",as:"*NE",slot:"75",eval:"4",C:[{N:"treat",line:"1355",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"40",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"61"},{N:"withParam", -name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1357",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec", -val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef", -line:"1365",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]",diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5",as:"?ADI", -slot:"76",eval:"13",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"15"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"77",eval:"13",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}, -{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}]},{N:"let",line:"737","var":"Q{}index",as:"1ADI",slot:"78",eval:"16",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"79",eval:"7",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"varRef",name:"Q{}index",slot:"78"}]},{N:"iterate", -line:"739",C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"78"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"77"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",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:"varRef",name:"Q{}start",slot:"79"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"76"}]},{N:"choose",role:"action",line:"745",C:[{N:"let", -"var":"Q{http://saxon.sf.net/generated-variable}current-1730934616",as:"1",slot:"80",eval:"16",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current-1730934616",slot:"80"}]},{N:"varRef",name:"Q{}start",slot:"79"}]}]}]},{N:"sequence",line:"749",C:[{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:"varRef",name:"Q{}start",slot:"79"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current565514831",as:"1",slot:"81",eval:"16",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"15"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"arith", -op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current565514831",slot:"81"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"41",eval:"16",C:[{N:"dot", -type:"1NE",flags:"a"}]}]}]}]},{N:"let",line:"1374","var":"Q{}modes",as:"*NE",slot:"82",eval:"4",C:[{N:"forEach",line:"1375",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l", -C:[{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"elem",line:"1376",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"let",line:"1377","var":"Q{}name",as:"?NA",slot:"83",eval:"8",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"att",line:"1385",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility",chk:"0"},{N:"str",val:"public"}]}, -{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose",line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"4"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility",chk:"0"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]}, -{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"84",eval:"4",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"83"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"75"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}mode",chk:"0"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"}, -{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"+A",slot:"85",eval:"4",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"83"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"75"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}mode",chk:"0"}]}]}, -{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"85"}]}]}]}]},{N:"let",line:"1403","var":"Q{}temp",as:"1NE",slot:"86",eval:"16",C:[{N:"treat",line:"1404",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}sef",bSlot:"42",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]", -C:[{N:"varRef",line:"1407",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"60"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp",slot:"86"},{N:"copy",line:"1414",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416",C:[{N:"varRef",name:"Q{}mode-templates",slot:"84"},{N:"copy",line:"1418",flags:"cinl",sit:"1NE",C:[{N:"sequence", -role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}modes",slot:"82"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, -{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"11"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str", -val:"SaxonJS 2.6"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att",name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l",C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp", -tailCall:"false",bSlot:"43"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select",val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]},{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ", -to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix",bSlot:"44",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"1444",name:"Q{}global-context-item", -slot:"39"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"58"},{N:"varRef",name:"Q{}global.functions",slot:"52"},{N:"varRef",name:"Q{}global.params",slot:"50"},{N:"varRef",name:"Q{}global.variables",slot:"51"},{N:"varRef",name:"Q{}attribute-sets",slot:"54"},{N:"varRef",name:"Q{}modes",slot:"82"}]},{N:"copy",line:"1448",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"att",name:"id",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-", -calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis",line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"varRef",line:"1454",name:"Q{}keys",slot:"44"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"23"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps",slot:"38"},{N:"varRef",line:"1454",name:"Q{}accumulators", -slot:"60"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"45"},{N:"callT",line:"1457",name:"Q{}strip-space",bSlot:"46",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", -seq:"375",rank:"0",minImp:"0",slots:"87",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet",flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"671",C:[{N:"param",name:"Q{}options", -slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data", -diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675","var":"Q{}this",as:"1",slot:"2",eval:"16",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"3",eval:"8",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"4",eval:"13",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package", -slot:"3"}]},{N:"let",line:"678","var":"Q{}location",as:"1NA",slot:"5",eval:"9",C:[{N:"att",line:"679",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"6",eval:"16",C:[{N:"choose",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}, -{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"},{N:"dec",val:"3"}]},{N:"let",line:"1177","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"7",eval:"13",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"8",eval:"13", -C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"9",eval:"13",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"10",eval:"13",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version", -slot:"6"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility",as:"1AB",slot:"11",eval:"16",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"12",eval:"16",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"1",eval:"8 0",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"}, -{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets",as:"*A",slot:"13",eval:"4",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"702",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]}, -{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"710","var":"Q{}sorted-precedence-labels",as:"*AS",slot:"14",eval:"4",C:[{N:"treat",line:"711",as:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn", -name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]},{N:"let",line:"714","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"15",eval:"8",C:[{N:"ifCall",line:"716",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse",C:[{N:"varRef",name:"Q{}sorted-precedence-labels", -slot:"14"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"762","var":"Q{}named-template-signatures",as:"1FM",slot:"16",eval:"8",C:[{N:"ifCall",line:"764",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}, -{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"17", -eval:"8",C:[{N:"let","var":"Q{}highest-precedence",slot:"18",eval:"8",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"check",card:"+",diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"varRef", -name:"Q{}highest-precedence",slot:"18"}]}]}]}]},{N:"sequence",line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"17"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"2",eval:"0 16 16",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"check",card:"1", -diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775","var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"19",eval:"16",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest",slot:"17"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"20",eval:"4",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"child", -nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal",name:"Q{}tunnel",chk:"0"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "},{N:"fn",name:"serialize", -C:[{N:"varRef",name:"Q{}highest",slot:"19"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{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:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"20"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{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:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required",chk:"0"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{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-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef", -name:"Q{}params",slot:"20"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required",chk:"0"},{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"3"}]}]}]}]},{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:"XTDE3365"}]}]},{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795",C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, -{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"21",eval:"16",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map",tailCall:"false",bSlot:"4",eval:"16",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence",line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence", -role:"select",C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"5",eval:"1",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"21"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"805","var":"Q{}defined-character-maps",as:"*A",slot:"22",eval:"4",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child", -nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"806","var":"Q{}output-declarations",as:"+NE",slot:"23",eval:"9",C:[{N:"condSeq",line:"808",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"808",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel", -chk:"0"},{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:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"let",role:"content",line:"809","var":"Q{}group-name",as:"*A",slot:"24",eval:"8",C:[{N:"currentGroupingKey"},{N:"elem",line:"810",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"811",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn", -name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]},{N:"str",val:" "}]}]}]},{N:"elem",line:"815",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"10"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder", -role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS", -slot:"25",eval:"8",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"826","var":"Q{}active",as:"+NA",slot:"26",eval:"8",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing", -card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"25"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property",bSlot:"6",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"26"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"26"}]}]}]}]}]},{N:"forEachGroup", -line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"27",eval:"8",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active", -C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property",bSlot:"7",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"27"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"27"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]},{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att", -name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri",chk:"0"}]}]}]}]}]}]},{N:"let",line:"847","var":"Q{}use-char-maps",slot:"28",eval:"9",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}in",as:"*A",slot:"29",eval:"8",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",C:[{N:"let","var":"Q{}input",as:"*NE",slot:"30",eval:"8",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]}, -{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"30"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{N:"str",role:"order",val:"descending"},{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:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS", -C:[{N:"attVal",name:"Q{}use-character-maps",chk:"0"}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}in",slot:"29"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}, -{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"31",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"28"},{N:"choose",role:"return",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"22"},{N:"varRef",name:"Q{}c",slot:"31"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"str", -val:"xsl:output "},{N:"varRef",name:"Q{}group-name",slot:"24"},{N:"str",val:" references a non-existent character map "},{N:"varRef",name:"Q{}c",slot:"31"}]}]}]}]},{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-character-maps"}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"28"}]},{N:"str", -val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"862",C:[{N:"elem",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",line:"864",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"6"}, -{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"870","var":"Q{}character-maps",as:"*NE",slot:"32",eval:"8",C:[{N:"let",line:"871","var":"Q{}temp",as:"*NE",slot:"33",eval:"8",C:[{N:"treat",line:"872",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel", -chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"873","var":"Q{}group-name",as:"*A",slot:"34",eval:"8",C:[{N:"currentGroupingKey"},{N:"let", -line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"35",eval:"8",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"877","var":"Q{}active",slot:"36",eval:"8",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{N:"varRef",name:"Q{}highest-precedence",slot:"35"}]}]}, -{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active",slot:"36"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"8",eval:"0 16 16",C:[{N:"str",val:"XTSE1580"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"varRef",name:"Q{}group-name",slot:"34"},{N:"str",val:" is defined more than once"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"}, -{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]},{N:"str",val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}use-character-maps",chk:"0"}]}]}, -{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"22"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"9",eval:"0 16 16",C:[{N:"str",val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"varRef",name:"Q{}group-name",slot:"34"},{N:"str",val:" uses non-existent character map "},{N:"dot", -type:"1AS"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"},{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}character", -chk:"0"}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string",chk:"0"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"37",eval:"8",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"33"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}use-character-maps",chk:"0"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE",diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys", -type:"*A",C:[{N:"varRef",name:"Q{}character-map-dependency",slot:"37"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"10",eval:"16 1",C:[{N:"treat",as:"AS",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}character-map-dependency",slot:"37"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp", -slot:"33"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",eval:"0 16 16",C:[{N:"str",val:"XTSE1600"},{N:"treat",as:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at", -C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"33"}]}]}]}]}]}]}]}]},{N:"let",line:"914","var":"Q{}expanded-character-maps",as:"*NE",slot:"38",eval:"3",C:[{N:"treat",line:"915",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps",bSlot:"12",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"32"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"32"}]}]}]},{N:"let",line:"920","var":"Q{}global-context-item", -as:"?NE",slot:"39",eval:"7",C:[{N:"let",line:"921","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",slot:"40",eval:"4",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"check",line:"932",card:"?",diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]},{N:"let","var":"Q{}h", -slot:"41",eval:"7",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"42",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d",slot:"42"},{N:"varRef",name:"Q{}h",slot:"41"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",eval:"0 0 16",C:[{N:"str",val:"XTSE3087"}, -{N:"str",val:"Inconsistent values for global-context-item"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"applyT",mode:"Q{}sef",bSlot:"14",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]}]}]}]}]},{N:"let",line:"944","var":"Q{}static-context",as:"1FM k[AS]",slot:"43",eval:"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:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"11"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"6"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location", -slot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"21"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"output-declarations"},{N:"varRef",name:"Q{}output-declarations",slot:"23"}]}]},{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:"952","var":"Q{}keys",as:"*NE",slot:"44",eval:"3",C:[{N:"sequence",line:"953",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"choose",role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956","var":"Q{}highest-precedence",as:"?AS",slot:"45",eval:"8", -C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"958","var":"Q{}highest",slot:"46",eval:"8",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{N:"varRef",name:"Q{}highest-precedence",slot:"45"}]}]},{N:"sequence",line:"959",C:[{N:"choose",C:[{N:"fn",name:"exists", -C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]},{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",eval:"0 16 16",C:[{N:"str",val:"XTSE1220"}, -{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn", -name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"16",eval:"8 0",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]},{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",eval:"0 16 16",C:[{N:"str",val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn", -name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]}, -{N:"let",line:"977","var":"Q{}processed",as:"*NE",slot:"47",eval:"3",C:[{N:"treat",line:"978",as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"18",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"5"}]}, -{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"982",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef", -role:"select",name:"Q{}processed",slot:"47"},{N:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"48",eval:"8",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}flags",chk:"0"}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"994",C:[{N:"currentGroup"}, -{N:"copy",line:"996",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"48"},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}flags",chk:"0"}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags",chk:"0"},{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000", -name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1009","var":"Q{}global.varPars",as:"*NE",slot:"49",eval:"3",C:[{N:"treat",line:"1011",as:"NE",diag:"3|0|XTTE0570|global.varPars", -C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1013",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]}, -{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]}]}]}]},{N:"ufCall",line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",eval:"0 16 16",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}, -{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]},{N:"let",line:"1021","var":"Q{}global.params",as:"*NE",slot:"50",eval:"3",C:[{N:"treat",line:"1022",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"20",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"49"}, -{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"}, -{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1029",name:"Q{}defined-attribute-sets",slot:"13"}]}]}]},{N:"let",line:"1032","var":"Q{}global.variables",as:"*NE",slot:"51",eval:"4",C:[{N:"treat",line:"1033",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"21", -C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"49"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1034",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t", -as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"13"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"}, -{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1047","var":"Q{}global.functions",as:"*NE",slot:"52",eval:"3",C:[{N:"treat",line:"1048",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child", -nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation", -val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat",C:[{N:"str",val:"Processing function "},{N:"currentGroupingKey"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1052",algorithm:"by", -C:[{N:"currentGroup",role:"select"},{N:"fn",role:"key",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1054",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]}, -{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]}]}]}]},{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"22",eval:"0 16 16",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}, -{N:"str",val:' name="'},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1059","var":"Q{}head",as:"1N",slot:"53",eval:"16",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"23",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"53"},{N:"withParam",name:"Q{}static-context",flags:"t", -as:"1FM k[AS]",C:[{N:"varRef",line:"1061",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"9"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam", -name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"24",eval:"1",C:[{N:"varRef",name:"Q{}head",slot:"53"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message", -line:"1076",C:[{N:"str",role:"select",val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1080","var":"Q{}attribute-sets",as:"*NE",slot:"54",eval:"8",C:[{N:"let",line:"1081","var":"Q{}temp",as:"*NE",slot:"55",eval:"9",C:[{N:"forEachGroup",line:"1082",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key", -name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"elem",role:"content",line:"1083",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",line:"1086",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots", -flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"56",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"attVal", -name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces", -bSlot:"25"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"26",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}, -{N:"elem",line:"1089",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",line:"1090",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{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:"applyT",line:"1092",mode:"Q{}sef",bSlot:"27",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1094",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets", -slot:"13"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"28",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"57", -eval:"8",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"55"},{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:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"}, -{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"57"}]}, -{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"29",eval:"16 1",C:[{N:"treat",as:"AS",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}direct-dependency",slot:"57"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"55"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"30",eval:"16 16 1",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"treat",as:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*", -C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"2"}]}]}]}]}]}]},{N:"let",line:"1134","var":"Q{}named.templates",as:"*NE",slot:"58",eval:"3",C:[{N:"treat",line:"1135",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"sequence",role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"31",eval:"0 16 16",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"59",eval:"16",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]}, -{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"32",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"59"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility", -flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"8"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1153",name:"Q{}defined-attribute-sets", -slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1155",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"33",eval:"1",C:[{N:"varRef",name:"Q{}head",slot:"59"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"},{N:"str",role:"terminate",val:"no"}, -{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1164","var":"Q{}accumulators",as:"*NE",slot:"60",eval:"4",C:[{N:"treat",line:"1165",as:"NE",diag:"3|0|XTTE0570|accumulators",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, -{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"34",eval:"0 16 16",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"35",C:[{N:"first",role:"select",C:[{N:"currentGroup"}]},{N:"withParam",name:"Q{}static-context", -flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"7"}]},{N:"withParam",name:"Q{}variables", -flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1184",name:"Q{MyFunctions}has-uniform-static-context", -tailCall:"false",bSlot:"36",eval:"16",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1205","var":"Q{}templates",as:"*NE",slot:"61",eval:"3",C:[{N:"forEach",line:"1206",C:[{N:"filter", -flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"62",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",C:[{N:"fn",name:"tokenize",C:[{N:"treat",as:"AS",diag:"0|0||fn:tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize", -C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209","var":"Q{}mode",as:"1",slot:"63",eval:"16",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"62"},{N:"copy",line:"1212",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1215", -C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}mode",slot:"63"},{N:"str",val:"#default"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}mode",slot:"63"}]}]},{N:"axis",line:"1223",name:"child",nodeTest:"N"}]}]}]}]}]}]}]}, -{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"64",eval:"4",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates",slot:"61"},{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}mode",chk:"0"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A", -slot:"65",eval:"3",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose", -C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"12"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}, -{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility",chk:"0"},{N:"str",val:"public"}]}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"37",eval:"0 16 16",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode", -slot:"1"},{N:"str",val:" must be declared and public in a package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal", -name:"Q{}name",chk:"0"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"12"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"64"},{N:"varRef",name:"Q{}used-modes",slot:"65"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"38",eval:"0 0 16",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"}, -{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1271","var":"Q{}mode.decl",as:"*NE",slot:"66",eval:"3",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter",line:"1274",flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]}, -{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:"#unnamed"}]}]}]}]}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}, -{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute",as:"A",slot:"67",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return", -"var":"Q{}a",slot:"68",eval:"8",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute",slot:"67"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"69",eval:"8",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists", -C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"68"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a",slot:"68"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"70",eval:"4",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"68"}, -{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}max-prec",slot:"69"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}vals",slot:"70"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef", -name:"Q{}attribute",slot:"67"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"71",eval:"4",C:[{N:"fn",name:"tokenize",C:[{N:"treat",as:"AS", -diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"first",C:[{N:"varRef",name:"Q{}vals",slot:"70"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"72",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"71"},{N:"varRef",name:"Q{}t", -slot:"72"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"},{N:"fn",name:"concat",C:[{N:"str",val:"Mode "},{N:"currentGroupingKey"},{N:"str",val:" has conflicting property values for "},{N:"varRef",name:"Q{}attribute",slot:"67"},{N:"str",val:" which are "},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"str",val:","}]},{N:"str",val:" on mode "},{N:"currentGroupingKey"}]}, -{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1311",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",line:"1312",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{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:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1323",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl", -slot:"66"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"73",eval:"4",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data",diag:"3|0|XTTE0570|declared-modes",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}, -{N:"let",line:"1335","var":"Q{}undeclared-modes",as:"*A",slot:"74",eval:"3",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"64"},{N:"varRef",name:"Q{}declared-modes",slot:"73"},{N:"varRef",name:"Q{}used-modes",slot:"65"},{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"varRef",name:"Q{}declared-modes",slot:"73"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"12"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"39",eval:"0 16",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes", -slot:"74"}]},{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1354","var":"Q{}processed-templates",as:"*NE",slot:"75",eval:"4",C:[{N:"treat",line:"1355",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"40",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"61"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA", -C:[{N:"varRef",line:"1357",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}defined-attribute-sets", -flags:"t",as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1365",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]", -diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5",as:"?ADI",slot:"76",eval:"13",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"15"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function", -C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"77",eval:"13",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]},{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}]},{N:"let",line:"737", -"var":"Q{}index",as:"1ADI",slot:"78",eval:"16",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"79",eval:"7",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"varRef",name:"Q{}index",slot:"78"}]},{N:"iterate",line:"739",C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"78"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"77"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",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:"varRef",name:"Q{}start",slot:"79"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"76"}]},{N:"choose",role:"action",line:"745",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current-1730934616",as:"1",slot:"80",eval:"16",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current-1730934616", -slot:"80"}]},{N:"varRef",name:"Q{}start",slot:"79"}]}]}]},{N:"sequence",line:"749",C:[{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:"varRef",name:"Q{}start",slot:"79"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current565514831",as:"1",slot:"81",eval:"16",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"15"}, -{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current565514831",slot:"81"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"withParam", -name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"41",eval:"16",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"let",line:"1374","var":"Q{}modes",as:"*NE",slot:"82",eval:"4",C:[{N:"forEach",line:"1375",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform", -C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l",C:[{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"elem",line:"1376",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"let",line:"1377","var":"Q{}name",as:"?NA",slot:"83",eval:"8",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"att", -line:"1385",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility",chk:"0"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose",line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"4"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq", -onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility",chk:"0"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"84",eval:"4",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"83"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"75"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=", -card:"M:N",comp:"CCC",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}mode",chk:"0"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"+A",slot:"85",eval:"4",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"83"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"75"},{N:"gc",op:"=",card:"M:N", -comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}mode",chk:"0"}]}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"85"}]}]}]}]},{N:"let",line:"1403","var":"Q{}temp",as:"1NE",slot:"86",eval:"16",C:[{N:"treat",line:"1404",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}sef",bSlot:"42",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam", -name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1407",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"60"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp",slot:"86"},{N:"copy",line:"1414",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content", -C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416",C:[{N:"varRef",name:"Q{}mode-templates",slot:"84"},{N:"copy",line:"1418",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence", -role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}modes",slot:"82"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"11"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC", -C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str",val:"SaxonJS 2.6"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att",name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup", -C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l",C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"43"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select",val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]},{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix",bSlot:"44",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"1444",name:"Q{}global-context-item",slot:"39"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"58"},{N:"varRef",name:"Q{}global.functions",slot:"52"},{N:"varRef",name:"Q{}global.params",slot:"50"},{N:"varRef",name:"Q{}global.variables",slot:"51"},{N:"varRef", -name:"Q{}attribute-sets",slot:"54"},{N:"varRef",name:"Q{}modes",slot:"82"}]},{N:"copy",line:"1448",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"att",name:"id",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis",line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", -C:[{N:"empty"}]},{N:"varRef",line:"1454",name:"Q{}keys",slot:"44"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"23"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps",slot:"38"},{N:"varRef",line:"1454",name:"Q{}accumulators",slot:"60"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"45"},{N:"callT",line:"1457",name:"Q{}strip-space",bSlot:"46",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map", -slot:"15"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"375",part:"2",rank:"0",minImp:"0",slots:"87",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"sequence", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"671",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1", -flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675","var":"Q{}this",as:"1",slot:"2",eval:"16",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"3",eval:"8",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"4",eval:"13",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package",slot:"3"}]},{N:"let",line:"678","var":"Q{}location",as:"1NA",slot:"5",eval:"9",C:[{N:"att",line:"679",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE", -flags:"a"}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"6",eval:"16",C:[{N:"choose",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"},{N:"dec",val:"3"}]},{N:"let",line:"1177", -"var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"7",eval:"13",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"8",eval:"13",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"9",eval:"13",C:[{N:"vc",op:"lt",comp:"CAVC", -C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"10",eval:"13",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility",as:"1AB",slot:"11",eval:"16",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let", -line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"12",eval:"16",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"1",eval:"8 0",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets",as:"*A",slot:"13",eval:"4",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2", -C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"702",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"710", -"var":"Q{}sorted-precedence-labels",as:"*AS",slot:"14",eval:"4",C:[{N:"treat",line:"711",as:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn",name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]}, -{N:"let",line:"714","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"15",eval:"8",C:[{N:"ifCall",line:"716",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2", -C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"762","var":"Q{}named-template-signatures",as:"1FM",slot:"16",eval:"8",C:[{N:"ifCall",line:"764",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis", -name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"17",eval:"8",C:[{N:"let","var":"Q{}highest-precedence",slot:"18",eval:"8",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}, -{N:"check",card:"+",diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"varRef",name:"Q{}highest-precedence",slot:"18"}]}]}]}]},{N:"sequence",line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"17"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"2",eval:"0 16 16",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775","var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"19",eval:"16",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest", -slot:"17"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"20",eval:"4",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal",name:"Q{}tunnel",chk:"0"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef", -name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}highest",slot:"19"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing", -diag:"0|0||map:entry",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{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:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"20"},{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{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:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required",chk:"0"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"type"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{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-any"},{N:"str", -val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}params",slot:"20"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required",chk:"0"},{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str", -val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn", -name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"3"}]}]}]}]},{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:"XTDE3365"}]}]},{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef", -name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795",C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"21",eval:"16",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map", -tailCall:"false",bSlot:"4",eval:"16",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence",line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence",role:"select",C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"5",eval:"1",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"21"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, -{N:"let",line:"805","var":"Q{}defined-character-maps",as:"*A",slot:"22",eval:"4",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"806","var":"Q{}output-declarations",as:"+NE",slot:"23",eval:"9",C:[{N:"condSeq",line:"808",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select", -line:"654",C:[{N:"axis",role:"select",line:"808",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"data", -role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"809","var":"Q{}group-name",as:"*A",slot:"24",eval:"8",C:[{N:"currentGroupingKey"},{N:"elem",line:"810",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"811",C:[{N:"choose", -C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]},{N:"str",val:" "}]}]}]},{N:"elem",line:"815",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence", -C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"10"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]}, -{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS",slot:"25",eval:"8",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}, -{N:"let",line:"826","var":"Q{}active",as:"+NA",slot:"26",eval:"8",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"25"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property", -bSlot:"6",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"26"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"26"}]}]}]}]}]},{N:"forEachGroup",line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation", -val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"27",eval:"8",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property",bSlot:"7",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"27"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"27"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]},{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri",chk:"0"}]}]}]}]}]}]},{N:"let",line:"847", -"var":"Q{}use-char-maps",slot:"28",eval:"9",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}in",as:"*A",slot:"29",eval:"8",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",C:[{N:"let","var":"Q{}input", -as:"*NE",slot:"30",eval:"8",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]},{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"30"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{N:"str",role:"order",val:"descending"}, -{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:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}use-character-maps",chk:"0"}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}in",slot:"29"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"31",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"28"},{N:"choose",role:"return",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps", -slot:"22"},{N:"varRef",name:"Q{}c",slot:"31"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output "},{N:"varRef",name:"Q{}group-name",slot:"24"},{N:"str",val:" references a non-existent character map "},{N:"varRef",name:"Q{}c",slot:"31"}]}]}]}]},{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l", -C:[{N:"str",val:"use-character-maps"}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"28"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"862",C:[{N:"elem",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",line:"864",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]}, -{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"870","var":"Q{}character-maps",as:"*NE",slot:"32",eval:"8",C:[{N:"let",line:"871","var":"Q{}temp",as:"*NE",slot:"33",eval:"8",C:[{N:"treat",line:"872",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select", -line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"}, -{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"873","var":"Q{}group-name",as:"*A",slot:"34",eval:"8",C:[{N:"currentGroupingKey"},{N:"let",line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"35",eval:"8",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"877","var":"Q{}active", -slot:"36",eval:"8",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{N:"varRef",name:"Q{}highest-precedence",slot:"35"}]}]},{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active",slot:"36"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"8",eval:"0 16 16",C:[{N:"str",val:"XTSE1580"},{N:"fn",name:"concat", -C:[{N:"str",val:"xsl:character-map "},{N:"varRef",name:"Q{}group-name",slot:"34"},{N:"str",val:" is defined more than once"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]},{N:"str", -val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}use-character-maps",chk:"0"}]}]},{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"22"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"9",eval:"0 16 16",C:[{N:"str",val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"varRef",name:"Q{}group-name",slot:"34"},{N:"str",val:" uses non-existent character map "},{N:"dot",type:"1AS"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"},{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}character",chk:"0"}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string",chk:"0"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"37",eval:"8",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"33"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}use-character-maps",chk:"0"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"}, -{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE",diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}character-map-dependency",slot:"37"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"10",eval:"16 1",C:[{N:"treat",as:"AS",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"varRef", -name:"Q{}character-map-dependency",slot:"37"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"33"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",eval:"0 16 16",C:[{N:"str",val:"XTSE1600"},{N:"treat",as:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"check",card:"1",diag:"0|1||f:syntax-error-at", -C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"33"}]}]}]}]}]}]}]}]},{N:"let",line:"914","var":"Q{}expanded-character-maps",as:"*NE",slot:"38",eval:"3",C:[{N:"treat",line:"915",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps", -bSlot:"12",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"32"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"32"}]}]}]},{N:"let",line:"920","var":"Q{}global-context-item",as:"?NE",slot:"39",eval:"7",C:[{N:"let",line:"921","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",slot:"40",eval:"4",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"}, -{N:"check",line:"932",card:"?",diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]},{N:"let","var":"Q{}h",slot:"41",eval:"7",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"42",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d", -slot:"42"},{N:"varRef",name:"Q{}h",slot:"41"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",eval:"0 0 16",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"Inconsistent values for global-context-item"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"applyT", -mode:"Q{}sef",bSlot:"14",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]}]}]}]}]},{N:"let",line:"944","var":"Q{}static-context",as:"1FM k[AS]",slot:"43",eval:"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:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"11"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"6"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location",slot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"21"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"output-declarations"}, -{N:"varRef",name:"Q{}output-declarations",slot:"23"}]}]},{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:"952","var":"Q{}keys",as:"*NE",slot:"44",eval:"3",C:[{N:"sequence",line:"953",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"}, -{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"choose",role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956","var":"Q{}highest-precedence",as:"?AS",slot:"45",eval:"8",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"958","var":"Q{}highest",slot:"46",eval:"8",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC", -C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{N:"varRef",name:"Q{}highest-precedence",slot:"45"}]}]},{N:"sequence",line:"959",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest", -slot:"46"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]},{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",eval:"0 16 16",C:[{N:"str",val:"XTSE1220"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1", -diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"16",eval:"8 0",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]}, -{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",eval:"0 16 16",C:[{N:"str",val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail", -start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"977","var":"Q{}processed",as:"*NE",slot:"47",eval:"3",C:[{N:"treat",line:"978",as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"18",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"}, -{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"982",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets", -slot:"13"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}processed",slot:"47"},{N:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"48",eval:"8", -C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}flags",chk:"0"}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"994",C:[{N:"currentGroup"},{N:"copy",line:"996",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"48"},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"cvUntyped", -to:"AS",C:[{N:"attVal",name:"Q{}flags",chk:"0"}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags",chk:"0"},{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"}, -{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1009","var":"Q{}global.varPars",as:"*NE",slot:"49",eval:"3",C:[{N:"treat",line:"1011",as:"NE",diag:"3|0|XTTE0570|global.varPars",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"},{N:"sortKey",line:"655",comp:"CCC", -C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1013", -C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]}]}]}]},{N:"ufCall", -line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",eval:"0 16 16",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]},{N:"let",line:"1021","var":"Q{}global.params", -as:"*NE",slot:"50",eval:"3",C:[{N:"treat",line:"1022",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"20",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"49"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location", -flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1029",name:"Q{}defined-attribute-sets", -slot:"13"}]}]}]},{N:"let",line:"1032","var":"Q{}global.variables",as:"*NE",slot:"51",eval:"4",C:[{N:"treat",line:"1033",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"21",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"49"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1034", -name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets", -flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"13"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1047","var":"Q{}global.functions",as:"*NE",slot:"52",eval:"3", -C:[{N:"treat",line:"1048",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat",C:[{N:"str",val:"Processing function "}, -{N:"currentGroupingKey"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1052",algorithm:"by",C:[{N:"currentGroup",role:"select"},{N:"fn",role:"key",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1054",C:[{N:"choose",C:[{N:"and", -op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]}]}]}]},{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"22",eval:"0 16 16",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:' name="'},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1059","var":"Q{}head",as:"1N",slot:"53",eval:"16",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first", -C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"23",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"53"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1061",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1", -slot:"9"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"24",eval:"1",C:[{N:"varRef",name:"Q{}head", -slot:"53"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1076",C:[{N:"str",role:"select",val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1080","var":"Q{}attribute-sets",as:"*NE",slot:"54",eval:"8",C:[{N:"let",line:"1081","var":"Q{}temp",as:"*NE",slot:"55",eval:"9",C:[{N:"forEachGroup", -line:"1082",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"elem",role:"content",line:"1083",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",line:"1086",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att", -name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"56",eval:"16",C:[{N:"dot", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1", -diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}, -{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"25"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"26",C:[{N:"sequence",role:"select", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"elem",line:"1089",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",line:"1090",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}, -{N:"str",role:"order",val:"descending"},{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:"applyT",line:"1092",mode:"Q{}sef",bSlot:"27",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef", -line:"1094",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"28", -eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"57",eval:"8",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"55"},{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:"string",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter", -flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"57"}]},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"29",eval:"16 1",C:[{N:"treat",as:"AS",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}direct-dependency",slot:"57"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data", -diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"55"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"30",eval:"16 16 1",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"treat",as:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"check",card:"1",diag:"0|1||f:syntax-error-at", -C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"2"}]}]}]}]}]}]},{N:"let",line:"1134","var":"Q{}named.templates",as:"*NE",slot:"58",eval:"3",C:[{N:"treat",line:"1135",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b", -C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"}, -{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"31",eval:"0 16 16",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int", -val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"59",eval:"16",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"32",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"59"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location", -slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"8"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures", -slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1153",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1155",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"33",eval:"1",C:[{N:"varRef",name:"Q{}head",slot:"59"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]}, -{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1164","var":"Q{}accumulators",as:"*NE",slot:"60",eval:"4",C:[{N:"treat",line:"1165",as:"NE",diag:"3|0|XTTE0570|accumulators",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"}, -{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{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:"attVal",role:"key",name:"Q{}name",chk:"0"},{N:"str", -role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel", -chk:"0"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"34",eval:"0 16 16",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" name="},{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"35",C:[{N:"first",role:"select", -C:[{N:"currentGroup"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3", -slot:"7"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall", -line:"1184",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"36",eval:"16",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1205","var":"Q{}templates", -as:"*NE",slot:"61",eval:"3",C:[{N:"forEach",line:"1206",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"62",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",C:[{N:"fn",name:"tokenize",C:[{N:"treat",as:"AS",diag:"0|0||fn:tokenize",C:[{N:"check",card:"?", -diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209","var":"Q{}mode",as:"1",slot:"63",eval:"16",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"62"},{N:"copy",line:"1212",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence", -role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1215",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}mode",slot:"63"},{N:"str",val:"#default"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef", -name:"Q{}mode",slot:"63"}]}]},{N:"axis",line:"1223",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"64",eval:"4",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates",slot:"61"},{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}mode",chk:"0"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot", -type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A",slot:"65",eval:"3",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data", -diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"12"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b", -C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility",chk:"0"},{N:"str",val:"public"}]}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"37",eval:"0 16 16", -C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:" must be declared and public in a package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"",C:[{N:"axis", -name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"12"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"64"},{N:"varRef",name:"Q{}used-modes",slot:"65"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"38",eval:"0 0 16",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1271","var":"Q{}mode.decl",as:"*NE",slot:"66",eval:"3",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter",line:"1274", -flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]},{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:"#unnamed"}]}]}]}]}]}]}, -{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute",as:"A",slot:"67",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis", -name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return","var":"Q{}a",slot:"68",eval:"8",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute", -slot:"67"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"69",eval:"8",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"68"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a",slot:"68"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"70", -eval:"4",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"68"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}max-prec",slot:"69"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef", -name:"Q{}vals",slot:"70"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}attribute",slot:"67"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot", -type:"1A"}]}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"71",eval:"4",C:[{N:"fn",name:"tokenize",C:[{N:"treat",as:"AS",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"first",C:[{N:"varRef",name:"Q{}vals",slot:"70"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"72",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]},{N:"gc", -op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"71"},{N:"varRef",name:"Q{}t",slot:"72"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"},{N:"fn",name:"concat",C:[{N:"str",val:"Mode "},{N:"currentGroupingKey"},{N:"str",val:" has conflicting property values for "},{N:"varRef",name:"Q{}attribute",slot:"67"},{N:"str",val:" which are "}, -{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"str",val:","}]},{N:"str",val:" on mode "},{N:"currentGroupingKey"}]},{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1311",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",line:"1312",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}, -{N:"str",role:"order",val:"descending"},{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:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message", -line:"1323",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"73",eval:"4",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data",diag:"3|0|XTTE0570|declared-modes", -C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"1335","var":"Q{}undeclared-modes",as:"*A",slot:"74",eval:"3",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"64"},{N:"varRef",name:"Q{}declared-modes",slot:"73"},{N:"varRef",name:"Q{}used-modes",slot:"65"},{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}declared-modes",slot:"73"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"12"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error",tailCall:"false", -bSlot:"39",eval:"0 16",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"}]},{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1354","var":"Q{}processed-templates",as:"*NE",slot:"75",eval:"4",C:[{N:"treat",line:"1355",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"40",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"61"},{N:"withParam", -name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1357",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec", -val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef", -line:"1365",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]",diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5",as:"?ADI", -slot:"76",eval:"13",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"15"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"77",eval:"13",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}, -{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}]},{N:"let",line:"737","var":"Q{}index",as:"1ADI",slot:"78",eval:"16",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"79",eval:"7",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"varRef",name:"Q{}index",slot:"78"}]},{N:"iterate", -line:"739",C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"78"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"77"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",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:"varRef",name:"Q{}start",slot:"79"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"76"}]},{N:"choose",role:"action",line:"745",C:[{N:"let", -"var":"Q{http://saxon.sf.net/generated-variable}current-1730934616",as:"1",slot:"80",eval:"16",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current-1730934616",slot:"80"}]},{N:"varRef",name:"Q{}start",slot:"79"}]}]}]},{N:"sequence",line:"749",C:[{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:"varRef",name:"Q{}start",slot:"79"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current565514831",as:"1",slot:"81",eval:"16",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"15"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"arith", -op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current565514831",slot:"81"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"41",eval:"16",C:[{N:"dot", -type:"1NE",flags:"a"}]}]}]}]},{N:"let",line:"1374","var":"Q{}modes",as:"*NE",slot:"82",eval:"4",C:[{N:"forEach",line:"1375",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l", -C:[{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"elem",line:"1376",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"let",line:"1377","var":"Q{}name",as:"?NA",slot:"83",eval:"8",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"att",line:"1385",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility",chk:"0"},{N:"str",val:"public"}]}, -{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose",line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"4"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility",chk:"0"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]}, -{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"84",eval:"4",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"83"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"75"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}mode",chk:"0"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"}, -{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"+A",slot:"85",eval:"4",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"83"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"75"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}mode",chk:"0"}]}]}, -{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"85"}]}]}]}]},{N:"let",line:"1403","var":"Q{}temp",as:"1NE",slot:"86",eval:"16",C:[{N:"treat",line:"1404",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}sef",bSlot:"42",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]", -C:[{N:"varRef",line:"1407",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"60"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp",slot:"86"},{N:"copy",line:"1414",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416",C:[{N:"varRef",name:"Q{}mode-templates",slot:"84"},{N:"copy",line:"1418",flags:"cinl",sit:"1NE",C:[{N:"sequence", -role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}modes",slot:"82"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, -{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"11"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str", -val:"SaxonJS 2.6"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att",name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l",C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp", -tailCall:"false",bSlot:"43"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select",val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]},{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ", -to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix",bSlot:"44",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"1444",name:"Q{}global-context-item", -slot:"39"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"58"},{N:"varRef",name:"Q{}global.functions",slot:"52"},{N:"varRef",name:"Q{}global.params",slot:"50"},{N:"varRef",name:"Q{}global.variables",slot:"51"},{N:"varRef",name:"Q{}attribute-sets",slot:"54"},{N:"varRef",name:"Q{}modes",slot:"82"}]},{N:"copy",line:"1448",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"att",name:"id",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-", -calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis",line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"varRef",line:"1454",name:"Q{}keys",slot:"44"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"23"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps",slot:"38"},{N:"varRef",line:"1454",name:"Q{}accumulators", -slot:"60"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"45"},{N:"callT",line:"1457",name:"Q{}strip-space",bSlot:"46",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"58",binds:"",C:[{N:"globalVariable", -name:"Q{}type-error-map",as:"1FM k[AS] v[1AS]",line:"249",module:"xpath.xsl",visibility:"PRIVATE",C:[{N:"map",size:"4",C:[{N:"str",val:"withParam"},{N:"str",val:"XTTE0590"},{N:"str",val:"globalParam"},{N:"str",val:"XTTE0590"},{N:"str",val:"template"},{N:"str",val:"XTTE0505"},{N:"str",val:"globalVariable"},{N:"str",val:"XTTE0570"}]}]}]},{N:"co",id:"45",binds:"34",C:[{N:"function",name:"Q{MyFunctions}boolean-string",line:"50",module:"lib.xsl",eval:"16",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}input", -as:"?NA"},{N:"arg",name:"Q{}default",as:"1AB"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"59",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}input",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"foreign",bSlot:"0",eval:"16",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"varRef", -name:"Q{}input",slot:"0"}]}]},{N:"true"},{N:"varRef",name:"Q{}default",slot:"1"}]}]}]}]},{N:"co",id:"59",binds:"13 60",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_NAMESPACE",as:"1AS",line:"54",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"54",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_NAMESPACE",bSlot:"1"}]}]}]},{N:"co", -id:"61",binds:"",C:[{N:"mode",name:"Q{}param.type",onNo:"TC",flags:"We",patternSlots:"0"}]},{N:"co",id:"62",binds:"",C:[{N:"globalVariable",name:"Q{}xslt.standard.attributes",as:"+NE",line:"280",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"281",C:[{N:"elem",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema", -C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-collation"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:uri-list"}]}]}]},{N:"elem",line:"282",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-mode"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:default-mode-type"}]}]}]},{N:"elem",line:"283",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence", -C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-validation"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:validation-strip-or-preserve"}]},{N:"att",name:"default",flags:"l",C:[{N:"str",val:"strip"}]}]}]},{N:"elem",line:"284",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"exclude-result-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:prefix-list-or-all"}]}]}]},{N:"elem",line:"285", -name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"expand-text"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:yes-or-no"}]}]}]},{N:"elem",line:"286",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"extension-element-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:prefix-list"}]}]}]},{N:"elem",line:"287",name:"xs:attribute", -nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-when"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:expression"}]}]}]},{N:"elem",line:"288",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"version"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:decimal"}]}]}]},{N:"elem",line:"289",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema", -C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"xpath-default-namespace"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:anyURI"}]}]}]},{N:"elem",line:"290",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_default-collation"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"291",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att", -name:"name",flags:"l",C:[{N:"str",val:"_default-mode"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"292",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_default-validation"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"293",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str", -val:"_exclude-result-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"294",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_expand-text"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"295",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_extension-element-prefixes"}]}, -{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"296",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_use-when"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"297",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_version"}]},{N:"att",name:"type",flags:"l",C:[{N:"str", -val:"xs:decimal"}]}]}]},{N:"elem",line:"298",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_xpath-default-namespace"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"299",name:"xs:anyAttribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"namespace",flags:"l",C:[{N:"str",val:"##other"}]},{N:"att",name:"processContents",flags:"l",C:[{N:"str",val:"lax"}]}]}]}]}]}]}, -{N:"co",id:"63",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.EXACTLY_ONE",as:"1ADI",line:"112",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co",id:"13",binds:"64",C:[{N:"function",name:"Q{MyTypes}unmarshalType",line:"68",module:"sequenceType.xsl",eval:"16",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"70",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType0",tailCall:"foreign",bSlot:"0",eval:"1",C:[{N:"varRef",name:"Q{}type",slot:"0"}]}]}]}]},{N:"co",id:"65",binds:"",C:[{N:"function",name:"Q{MyFunctions}abbreviated-module-uri",line:"441",module:"lib.xsl",eval:"8",flags:"pU",as:"1AS",slots:"3",C:[{N:"arg",name:"Q{}uri",as:"1AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"443","var":"Q{}tokens",as:"*AS",slot:"1",eval:"4",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}uri",slot:"0"},{N:"str",val:"/"},{N:"str",val:""}]},{N:"let",line:"444","var":"Q{}n",as:"1ADI",slot:"2",eval:"8",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}tokens",slot:"1"}]},{N:"fn",line:"445",name:"concat",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}tokens",slot:"1"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}n",slot:"2"},{N:"int",val:"1"}]}]},{N:"str",val:"/"},{N:"subscript", -C:[{N:"varRef",name:"Q{}tokens",slot:"1"},{N:"varRef",name:"Q{}n",slot:"2"}]}]}]}]}]}]},{N:"co",id:"66",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ATTRIBUTE",as:"1FM k[AS] v[1AS]",line:"35",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"NA"}]}]}]},{N:"co",id:"67",binds:"13 68",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_UNTYPED_ATOMIC",as:"1AS",line:"61",module:"sequenceType.xsl",visibility:"PRIVATE", -C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"61",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_UNTYPED_ATOMIC",bSlot:"1"}]}]}]},{N:"co",id:"68",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_UNTYPED_ATOMIC",as:"1FM k[AS] v[1AS]",line:"26",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"}, -{N:"str",val:"AZ"}]}]}]},{N:"co",id:"69",binds:"70",C:[{N:"function",name:"Q{MyTypes}allowsMany",line:"123",module:"type.xsl",eval:"16",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"*"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"125",card:"1",diag:"5|0|XTTE0780|t:allowsMany#1",C:[{N:"vc",op:"ge",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"atomSing",card:"?",diag:"1|0||ge",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"gVarRef",name:"Q{}StaticProperty.ALLOWS_MANY",bSlot:"0"}]}]}]}]},{N:"co",id:"71",binds:"",C:[{N:"function",name:"Q{MyFunctions}EQNameToQName",line:"166",module:"lib.xsl",eval:"8",flags:"pU",as:"1AQ",slots:"2",C:[{N:"arg",name:"Q{}eqname",as:"1AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"168","var":"Q{}parts",as:"*AS",slot:"1",eval:"4",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}eqname",slot:"0"},{N:"int",val:"3"}]},{N:"str",val:"\\}"},{N:"str",val:""}]},{N:"fn",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"fn",line:"169",name:"QName",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"1"}]},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"int",val:"2"}]}]}]}]}]}]}, -{N:"co",id:"72",binds:"3 3 73 73 52 74 75 44",C:[{N:"mode",name:"Q{}compile",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"1.0",seq:"374",rank:"0",minImp:"0",slots:"6",matches:"NE",flags:"s",line:"427",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE"},{N:"p.nodeTest",test:"ND"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"428",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"429",name:"Q{}defaultHTML5",slot:"1",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped", -to:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"431","var":"Q{}embedded",as:"*NE",slot:"2",eval:"3",C:[{N:"axis",name:"descendant",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform]"},{N:"let",line:"432","var":"Q{}stylesheet-base-uri",as:"1AU",slot:"3",eval:"16",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|stylesheet-base-uri",C:[{N:"fn",name:"base-uri", -C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"choose",line:"435",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}embedded",slot:"2"}]}]},{N:"ufCall",line:"438",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",eval:"0 0 16",C:[{N:"str",val:"XTSE0150"},{N:"str",val:"There must not be more than one embedded stylesheet in a document"},{N:"dot",type:"1NE",flags:"a"}]},{N:"fn",line:"440",name:"exists",C:[{N:"varRef",name:"Q{}embedded",slot:"2"}]},{N:"let",line:"449","var":"Q{}temp", -as:"1ND",slot:"4",eval:"16",C:[{N:"doc",line:"450",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",line:"442",simple:"1",C:[{N:"doc",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}embedded",slot:"2"},{N:"copy",line:"444",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"att",name:"xml:base",nsuri:"http://www.w3.org/XML/1998/namespace",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"copyOf",line:"445",flags:"sc",C:[{N:"axis", -name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"445",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]}]}]}]},{N:"axis",line:"450",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}stylesheet-base-uri",flags:"t",as:"1AU",C:[{N:"first",line:"452",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"3"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]}]}]},{N:"slash",line:"456",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"4"},{N:"axis",name:"child", -nodeTest:"NE"}]}]},{N:"true"},{N:"sequence",line:"459",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"ufCall",line:"467",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",eval:"0 16 16",C:[{N:"str",val:"XTSE0150"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}package"}]},{N:"str",val:"Supplied stylesheet is a SEF package"},{N:"true"}, -{N:"str",val:"Simplified stylesheet root element lacks @xsl:version"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"481","var":"Q{}processed",as:"1ND",slot:"5",eval:"16",C:[{N:"treat",line:"482",as:"ND",diag:"3|0|XTTE0570|processed",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",line:"470",simple:"1",C:[{N:"doc",C:[{N:"elem",line:"471",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence", -C:[{N:"att",name:"version",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"att",line:"472",name:"xml:base",nsuri:"http://www.w3.org/XML/1998/namespace",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"474",name:"xsl:template",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"match", -flags:"l",C:[{N:"str",val:"/"}]},{N:"copy",line:"476",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]}]}]}]}]}]},{N:"axis",line:"482",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}stylesheet-base-uri",flags:"t",as:"1AU",C:[{N:"varRef",line:"484",name:"Q{}stylesheet-base-uri",slot:"3"}]}]}]}]},{N:"slash",line:"487",simple:"1",C:[{N:"varRef",name:"Q{}processed",slot:"5"},{N:"axis",name:"child", -nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"373",rank:"1",minImp:"0",slots:"10",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform",flags:"s",line:"351",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"352",C:[{N:"param",name:"Q{}stylesheet-base-uri",slot:"0",flags:"t",as:"?AU",C:[{N:"fn",role:"select",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"353",name:"Q{}options",slot:"1", -flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"354",name:"Q{}defaultHTML5",slot:"2",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data", -diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"356",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"357",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting static processing for"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:"baseURI:"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, -{N:"let",line:"359","var":"Q{}static-processed",as:"1ND",slot:"3",eval:"16",C:[{N:"doc",line:"361",C:[{N:"copy",flags:"cinl",sit:"1NE",C:[{N:"let",role:"content","var":"Q{}shadows",as:"*NA",slot:"4",eval:"4",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"362",C:[{N:"applyT",mode:"Q{}static",bSlot:"2",C:[{N:"except",role:"select",op:"except",C:[{N:"axis", -name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"4"}]}]}]},{N:"applyT",line:"364",mode:"Q{}static",bSlot:"3",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"4"}]},{N:"att",line:"365",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE", -slot:"5",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1", -C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0", -comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"4"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"choose",line:"366",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"att",line:"367", -name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"let",line:"369","var":"Q{}temp",as:"1FM",slot:"6",eval:"16",C:[{N:"treat",line:"370",as:"FM",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}process-module",bSlot:"5",C:[{N:"dot",role:"select",type:"1NE",flags:"a"},{N:"withParam",name:"Q{}stylesheet-base-uri", -flags:"t",as:"1AU",C:[{N:"check",line:"372",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"0"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]}]}]}]}]},{N:"lookup",line:"375",C:[{N:"varRef",name:"Q{}temp",slot:"6"},{N:"str",val:"components"}]}]}]}]}]}]},{N:"sequence",line:"379",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"380", -C:[{N:"sequence",role:"select",C:[{N:"str",val:"Static processed:"},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"383",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"justStatic"}]},{N:"copyOf",line:"384",flags:"c",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}]},{N:"true"},{N:"sequence",line:"387",C:[{N:"choose", -C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"statistics"}]},{N:"message",line:"388",C:[{N:"sequence",role:"select",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",val:" declarations\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count", -C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]},{N:"str",val:"\n attributes "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn", -name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}]}]}]},{N:"str",val:" ex:* attributes "}]}]},{N:"let",line:"392","var":"Q{}largest",as:"?ADI",slot:"7",eval:"8",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]}, -{N:"fn",name:"count",C:[{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"sequence",line:"388",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"\n "},{N:"fn",name:"string",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}largest",slot:"7"}]}]},{N:"str",val:" largest tree "},{N:"fn",name:"serialize",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq", -comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"varRef",line:"389",name:"Q{}largest",slot:"7"}]}]}]},{N:"str",val:" "}]}]},{N:"let",line:"396","var":"Q{}deepest",as:"?ADI",slot:"8",eval:"8",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"fn",name:"count",C:[{N:"axis",name:"ancestor", -nodeTest:"NE"}]}]}]},{N:"valueOf",line:"388",C:[{N:"fn",name:"concat",C:[{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}deepest",slot:"8"}]}]},{N:"str",val:"\n deepest tree "},{N:"fn",name:"serialize",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",comp:"CAVC",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"axis",name:"descendant", -nodeTest:"NE"},{N:"fn",name:"count",C:[{N:"axis",name:"ancestor",nodeTest:"NE"}]}]}]},{N:"varRef",line:"389",name:"Q{}deepest",slot:"8"}]}]}]}]}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"400",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"401",C:[{N:"str",role:"select",val:"Starting Normalization"},{N:"str",role:"terminate",val:"no"},{N:"str", -role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"403","var":"Q{}normalized",slot:"9",eval:"4",C:[{N:"applyT",line:"404",mode:"Q{}normalize",bSlot:"6",C:[{N:"varRef",role:"select",name:"Q{}static-processed",slot:"3"},{N:"withParam",name:"Q{}allowSyntaxExtensions",flags:"t",as:"1",C:[{N:"first",line:"408",C:[{N:"sequence",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"allowSyntaxExtensions"}]},{N:"false"}]}]}]}]},{N:"choose",line:"412",C:[{N:"lookup", -C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"justNormalize"}]},{N:"varRef",line:"413",name:"Q{}normalized",slot:"9"},{N:"true"},{N:"sequence",line:"416",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"417",C:[{N:"str",role:"select",val:"Starting XSLT compiling"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"419",mode:"Q{}sef.top", -flags:"t",bSlot:"7",C:[{N:"varRef",role:"select",name:"Q{}normalized",slot:"9"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"373",rank:"1",minImp:"0",slots:"10",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet",flags:"s",line:"351",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"352",C:[{N:"param",name:"Q{}stylesheet-base-uri",slot:"0",flags:"t",as:"?AU",C:[{N:"fn",role:"select",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"353",name:"Q{}options",slot:"1", -flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"354",name:"Q{}defaultHTML5",slot:"2",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data", -diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"356",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"357",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting static processing for"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:"baseURI:"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, -{N:"let",line:"359","var":"Q{}static-processed",as:"1ND",slot:"3",eval:"16",C:[{N:"doc",line:"361",C:[{N:"copy",flags:"cinl",sit:"1NE",C:[{N:"let",role:"content","var":"Q{}shadows",as:"*NA",slot:"4",eval:"4",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"362",C:[{N:"applyT",mode:"Q{}static",bSlot:"2",C:[{N:"except",role:"select",op:"except",C:[{N:"axis", -name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"4"}]}]}]},{N:"applyT",line:"364",mode:"Q{}static",bSlot:"3",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"4"}]},{N:"att",line:"365",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE", -slot:"5",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1", -C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0", -comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"4"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"choose",line:"366",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"att",line:"367", -name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"let",line:"369","var":"Q{}temp",as:"1FM",slot:"6",eval:"16",C:[{N:"treat",line:"370",as:"FM",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}process-module",bSlot:"5",C:[{N:"dot",role:"select",type:"1NE",flags:"a"},{N:"withParam",name:"Q{}stylesheet-base-uri", -flags:"t",as:"1AU",C:[{N:"check",line:"372",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"0"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]}]}]}]}]},{N:"lookup",line:"375",C:[{N:"varRef",name:"Q{}temp",slot:"6"},{N:"str",val:"components"}]}]}]}]}]}]},{N:"sequence",line:"379",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"380", -C:[{N:"sequence",role:"select",C:[{N:"str",val:"Static processed:"},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"383",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"justStatic"}]},{N:"copyOf",line:"384",flags:"c",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}]},{N:"true"},{N:"sequence",line:"387",C:[{N:"choose", -C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"statistics"}]},{N:"message",line:"388",C:[{N:"sequence",role:"select",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",val:" declarations\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count", -C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]},{N:"str",val:"\n attributes "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn", -name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}]}]}]},{N:"str",val:" ex:* attributes "}]}]},{N:"let",line:"392","var":"Q{}largest",as:"?ADI",slot:"7",eval:"8",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]}, -{N:"fn",name:"count",C:[{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"sequence",line:"388",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"\n "},{N:"fn",name:"string",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}largest",slot:"7"}]}]},{N:"str",val:" largest tree "},{N:"fn",name:"serialize",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq", -comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"varRef",line:"389",name:"Q{}largest",slot:"7"}]}]}]},{N:"str",val:" "}]}]},{N:"let",line:"396","var":"Q{}deepest",as:"?ADI",slot:"8",eval:"8",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"fn",name:"count",C:[{N:"axis",name:"ancestor", -nodeTest:"NE"}]}]}]},{N:"valueOf",line:"388",C:[{N:"fn",name:"concat",C:[{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}deepest",slot:"8"}]}]},{N:"str",val:"\n deepest tree "},{N:"fn",name:"serialize",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",comp:"CAVC",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"axis",name:"descendant", -nodeTest:"NE"},{N:"fn",name:"count",C:[{N:"axis",name:"ancestor",nodeTest:"NE"}]}]}]},{N:"varRef",line:"389",name:"Q{}deepest",slot:"8"}]}]}]}]}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"400",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"401",C:[{N:"str",role:"select",val:"Starting Normalization"},{N:"str",role:"terminate",val:"no"},{N:"str", -role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"403","var":"Q{}normalized",slot:"9",eval:"4",C:[{N:"applyT",line:"404",mode:"Q{}normalize",bSlot:"6",C:[{N:"varRef",role:"select",name:"Q{}static-processed",slot:"3"},{N:"withParam",name:"Q{}allowSyntaxExtensions",flags:"t",as:"1",C:[{N:"first",line:"408",C:[{N:"sequence",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"allowSyntaxExtensions"}]},{N:"false"}]}]}]}]},{N:"choose",line:"412",C:[{N:"lookup", -C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"justNormalize"}]},{N:"varRef",line:"413",name:"Q{}normalized",slot:"9"},{N:"true"},{N:"sequence",line:"416",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"417",C:[{N:"str",role:"select",val:"Starting XSLT compiling"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"419",mode:"Q{}sef.top", -flags:"t",bSlot:"7",C:[{N:"varRef",role:"select",name:"Q{}normalized",slot:"9"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"373",rank:"1",minImp:"0",slots:"10",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"s",line:"351",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"352",C:[{N:"param",name:"Q{}stylesheet-base-uri",slot:"0",flags:"t",as:"?AU",C:[{N:"fn",role:"select",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"353",name:"Q{}options",slot:"1", -flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"354",name:"Q{}defaultHTML5",slot:"2",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data", -diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"356",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"357",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting static processing for"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:"baseURI:"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, -{N:"let",line:"359","var":"Q{}static-processed",as:"1ND",slot:"3",eval:"16",C:[{N:"doc",line:"361",C:[{N:"copy",flags:"cinl",sit:"1NE",C:[{N:"let",role:"content","var":"Q{}shadows",as:"*NA",slot:"4",eval:"4",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"362",C:[{N:"applyT",mode:"Q{}static",bSlot:"2",C:[{N:"except",role:"select",op:"except",C:[{N:"axis", -name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"4"}]}]}]},{N:"applyT",line:"364",mode:"Q{}static",bSlot:"3",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"4"}]},{N:"att",line:"365",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE", -slot:"5",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1", -C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0", -comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"4"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"choose",line:"366",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"att",line:"367", -name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"let",line:"369","var":"Q{}temp",as:"1FM",slot:"6",eval:"16",C:[{N:"treat",line:"370",as:"FM",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}process-module",bSlot:"5",C:[{N:"dot",role:"select",type:"1NE",flags:"a"},{N:"withParam",name:"Q{}stylesheet-base-uri", -flags:"t",as:"1AU",C:[{N:"check",line:"372",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"0"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]}]}]}]}]},{N:"lookup",line:"375",C:[{N:"varRef",name:"Q{}temp",slot:"6"},{N:"str",val:"components"}]}]}]}]}]}]},{N:"sequence",line:"379",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"380", -C:[{N:"sequence",role:"select",C:[{N:"str",val:"Static processed:"},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"383",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"justStatic"}]},{N:"copyOf",line:"384",flags:"c",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}]},{N:"true"},{N:"sequence",line:"387",C:[{N:"choose", -C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"statistics"}]},{N:"message",line:"388",C:[{N:"sequence",role:"select",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",val:" declarations\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count", -C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]},{N:"str",val:"\n attributes "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn", -name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}]}]}]},{N:"str",val:" ex:* attributes "}]}]},{N:"let",line:"392","var":"Q{}largest",as:"?ADI",slot:"7",eval:"8",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]}, -{N:"fn",name:"count",C:[{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"sequence",line:"388",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"\n "},{N:"fn",name:"string",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}largest",slot:"7"}]}]},{N:"str",val:" largest tree "},{N:"fn",name:"serialize",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq", -comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"varRef",line:"389",name:"Q{}largest",slot:"7"}]}]}]},{N:"str",val:" "}]}]},{N:"let",line:"396","var":"Q{}deepest",as:"?ADI",slot:"8",eval:"8",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"fn",name:"count",C:[{N:"axis",name:"ancestor", -nodeTest:"NE"}]}]}]},{N:"valueOf",line:"388",C:[{N:"fn",name:"concat",C:[{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}deepest",slot:"8"}]}]},{N:"str",val:"\n deepest tree "},{N:"fn",name:"serialize",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",comp:"CAVC",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"axis",name:"descendant", -nodeTest:"NE"},{N:"fn",name:"count",C:[{N:"axis",name:"ancestor",nodeTest:"NE"}]}]}]},{N:"varRef",line:"389",name:"Q{}deepest",slot:"8"}]}]}]}]}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"400",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"401",C:[{N:"str",role:"select",val:"Starting Normalization"},{N:"str",role:"terminate",val:"no"},{N:"str", -role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"403","var":"Q{}normalized",slot:"9",eval:"4",C:[{N:"applyT",line:"404",mode:"Q{}normalize",bSlot:"6",C:[{N:"varRef",role:"select",name:"Q{}static-processed",slot:"3"},{N:"withParam",name:"Q{}allowSyntaxExtensions",flags:"t",as:"1",C:[{N:"first",line:"408",C:[{N:"sequence",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"allowSyntaxExtensions"}]},{N:"false"}]}]}]}]},{N:"choose",line:"412",C:[{N:"lookup", -C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"justNormalize"}]},{N:"varRef",line:"413",name:"Q{}normalized",slot:"9"},{N:"true"},{N:"sequence",line:"416",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"417",C:[{N:"str",role:"select",val:"Starting XSLT compiling"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"419",mode:"Q{}sef.top", -flags:"t",bSlot:"7",C:[{N:"varRef",role:"select",name:"Q{}normalized",slot:"9"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"76",binds:"13 66",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_ATTRIBUTE",as:"1AS",line:"53",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"53",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ATTRIBUTE",bSlot:"1"}]}]}]}, -{N:"co",id:"60",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_NAMESPACE",as:"1FM k[AS] v[1AS]",line:"39",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"NN"}]}]}]},{N:"co",id:"77",binds:"78",C:[{N:"function",name:"Q{MyFunctions}missingChild",line:"805",module:"normalize.xsl",eval:"4",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}child",as:"1AS"},{N:"tailCallLoop", -role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"808",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0",eval:"16 1",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"str",val:" requires a child element "},{N:"varRef",name:"Q{}child",slot:"1"}]},{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}, -{N:"co",id:"79",binds:"80",C:[{N:"template",name:"Q{}nest-sorts",flags:"os",line:"15",module:"repetition.xsl",slots:"1",C:[{N:"iterate",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"17",C:[{N:"fn",role:"select",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}, -{N:"params",role:"params",line:"19",C:[{N:"param",name:"Q{}inner",slot:"0",C:[{N:"doc",role:"select",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"0",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"supplied",role:"conversion",line:"18",slot:"0"}]}]},{N:"varRef",role:"on-completion",line:"21",name:"Q{}inner",slot:"0"},{N:"nextIteration",role:"action",line:"24",C:[{N:"withParam", -name:"Q{}inner",as:"1ND",slot:"0",C:[{N:"doc",C:[{N:"elem",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"25",C:[{N:"varRef",name:"Q{}inner",slot:"0"},{N:"applyT",line:"26",flags:"c",bSlot:"-1",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]}]}]}]}]},{N:"co",id:"81",binds:"",C:[{N:"function",name:"Q{MyFunctions}comparableMergeKeys",line:"87",module:"merging.xsl",eval:"16",flags:"pU",as:"1AB",slots:"5",C:[{N:"arg", -name:"Q{}k1",as:"1FA v[1FM]"},{N:"arg",name:"Q{}k2",as:"1FA v[1FM]"},{N:"and",role:"body",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"100",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"0"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size", -type:"1ADI",C:[{N:"varRef",name:"Q{}k2",slot:"1"}]}]},{N:"every","var":"Q{}k",slot:"2",C:[{N:"to",C:[{N:"int",val:"1"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"0"}]}]},{N:"let","var":"Q{}a",slot:"3",eval:"4",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k1",slot:"0"},{N:"varRef",name:"Q{}k",slot:"2"}]},{N:"str",val:"p"}]},{N:"let","var":"Q{}b",slot:"4", -eval:"4",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k2",slot:"1"},{N:"varRef",name:"Q{}k",slot:"2"}]},{N:"str",val:"p"}]},{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}a",slot:"3"}]},{N:"atomSing",card:"?",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}b",slot:"4"}]}]},{N:"vc", -op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"substring",C:[{N:"treat",as:"AS",diag:"0|0||fn:substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}a",slot:"3"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]},{N:"fn",name:"substring",C:[{N:"treat",as:"AS",diag:"0|0||fn:substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}b", -slot:"4"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}a",slot:"3"}]},{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}b",slot:"4"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]},{N:"co",id:"82",binds:"",C:[{N:"function",name:"Q{MyTypes}commonType",line:"815",module:"type.xsl",eval:"8",flags:"pU", -as:"1FM",slots:"8",C:[{N:"arg",name:"Q{}sequence.types",as:"+FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"817","var":"Q{}alphaCodes",as:"*AS",slot:"2",eval:"4",C:[{N:"treat",as:"AS",diag:"3|0|XTTE0570|alphaCodes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|alphaCodes",C:[{N:"data",diag:"3|0|XTTE0570|alphaCodes",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}sequence.types",slot:"0"}, -{N:"str",val:"p"}]}]}]}]},{N:"let",line:"828","var":"Q{}maxCardinality",as:"1AS",slot:"3",eval:"16",C:[{N:"treat",line:"829",as:"AS",diag:"3|0|XTTE0570|maxCardinality",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|maxCardinality",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|maxCardinality",C:[{N:"data",diag:"3|0|XTTE0570|maxCardinality",C:[{N:"iterate",C:[{N:"varRef",role:"select",name:"Q{}sequence.types",slot:"0"},{N:"params",role:"params",line:"830",C:[{N:"param",name:"Q{}maxSoFar",slot:"1",C:[{N:"str", -role:"select",val:"0"},{N:"supplied",role:"conversion",slot:"1"}]}]},{N:"varRef",role:"on-completion",line:"831",name:"Q{}maxSoFar",slot:"1"},{N:"choose",role:"action",line:"833",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}maxSoFar",slot:"1"}]},{N:"str",val:"*"}]},{N:"sequence",line:"834",C:[{N:"str",val:"*"},{N:"break"}]},{N:"true"},{N:"nextIteration",line:"838",C:[{N:"withParam", -name:"Q{}maxSoFar",as:"1AS",slot:"1",C:[{N:"let","var":"Q{}c1",as:"1AS",slot:"4",eval:"16",C:[{N:"treat",as:"AS",diag:"0|0||t:cardUnion",C:[{N:"check",card:"1",diag:"0|0||t:cardUnion",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:cardUnion",C:[{N:"varRef",name:"Q{}maxSoFar",slot:"1"}]}]}]}]},{N:"let","var":"Q{}c2",as:"1AS",slot:"5",eval:"16",C:[{N:"treat",as:"AS",diag:"0|1||t:cardUnion",C:[{N:"check",card:"1",diag:"0|1||t:cardUnion",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||t:cardUnion", -C:[{N:"lookup",C:[{N:"dot",type:"1FM"},{N:"str",val:"o"}]}]}]}]}]},{N:"choose",line:"144",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}c1",slot:"4"},{N:"varRef",name:"Q{}c2",slot:"5"}]},{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|t:cardUnion#2",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"varRef",name:"Q{}c1",slot:"4"}]}]},{N:"gc",line:"145",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}c1",slot:"4"},{N:"varRef",name:"Q{}c2",slot:"5"}]},{N:"str",val:"*"}]},{N:"str", -val:"*"},{N:"gc",line:"146",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}c1",slot:"4"},{N:"varRef",name:"Q{}c2",slot:"5"}]},{N:"str",val:"+"}]},{N:"choose",line:"153",C:[{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}c1",slot:"4"},{N:"varRef",name:"Q{}c2",slot:"5"}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"?"}]}]},{N:"str",val:"*"},{N:"true"},{N:"str",val:"+"}]},{N:"gc",line:"155",op:"=",card:"M:N",comp:"CCC",C:[{N:"sequence", -C:[{N:"varRef",name:"Q{}c1",slot:"4"},{N:"varRef",name:"Q{}c2",slot:"5"}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"?"}]}]},{N:"str",val:"?"},{N:"true"},{N:"str",val:"1"}]}]}]}]}]}]}]}]}]}]}]},{N:"ifCall",line:"844",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:"p"},{N:"fn",name:"substring",C:[{N:"first",C:[{N:"varRef",name:"Q{}alphaCodes",slot:"2"}]}, -{N:"int",val:"1"},{N:"let",line:"819","var":"Q{}minLength",as:"1ADI",slot:"6",eval:"16",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|minLength",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}alphaCodes",slot:"2"},{N:"fn",name:"string-length",C:[{N:"dot",type:"1AS"}]}]}]}]},{N:"treat",line:"820",as:"ADI",diag:"3|0|XTTE0570|longestCommonPrefix",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|longestCommonPrefix",C:[{N:"cvUntyped",to:"ADI",diag:"3|0|XTTE0570|longestCommonPrefix",C:[{N:"data",diag:"3|0|XTTE0570|longestCommonPrefix", -C:[{N:"iterate",C:[{N:"to",role:"select",C:[{N:"int",val:"1"},{N:"varRef",name:"Q{}minLength",slot:"6"}]},{N:"params",role:"params"},{N:"varRef",role:"on-completion",line:"821",name:"Q{}minLength",slot:"6"},{N:"let",role:"action",line:"822","var":"Q{}this",as:"1",slot:"7",eval:"16",C:[{N:"dot",type:"1ADI"},{N:"choose",line:"823",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}alphaCodes", -slot:"2"},{N:"fn",name:"substring",C:[{N:"dot",type:"1AS"},{N:"int",val:"1"},{N:"varRef",name:"Q{}this",slot:"7"}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"sequence",line:"824",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}this",slot:"7"},{N:"int",val:"1"}]},{N:"break"}]}]}]}]}]}]}]}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"o"},{N:"varRef",name:"Q{}maxCardinality",slot:"3"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, -{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]}]}]},{N:"co",id:"83",binds:"",C:[{N:"mode",name:"Q{}roleMap",onNo:"FF",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"405",rank:"0",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"1815",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"395",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}match", -flags:"s",line:"1785",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}match"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1786",name:"role",C:[{N:"str",val:"match"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"399",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}context-item",flags:"s",line:"1797",module:"XSLT-SEF-compiler.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}context-item"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1798",name:"role",C:[{N:"str",val:"cxt"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"404",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://saxon.sf.net/}options",flags:"s",line:"1812",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest", -role:"match",test:"NA nQ{http://saxon.sf.net/}options"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1813",name:"role",C:[{N:"str",val:"options"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"400",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}for-each-item",flags:"s",line:"1800",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match", -test:"NA nQ{}for-each-item"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1801",name:"role",C:[{N:"str",val:"forEachItem"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"396",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}xpath",flags:"s",line:"1788",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}xpath"}, -{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1789",name:"role",C:[{N:"str",val:"xpath"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"402",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}initial-value",flags:"s",line:"1806",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}initial-value"},{N:"att",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1807",name:"role",C:[{N:"str",val:"init"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"397",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}namespace-context",flags:"s",line:"1791",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}namespace-context"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1792",name:"role",C:[{N:"str",val:"nsCxt"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"398",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}with-params",flags:"s",line:"1794",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}with-params"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1795",name:"role", -C:[{N:"str",val:"wp"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"403",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}select",flags:"s",line:"1809",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}select"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1810",name:"role",C:[{N:"str",val:"selectRows"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"394",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}select",flags:"s",line:"1782",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}select"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1783",name:"role",C:[{N:"str", -val:"select"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"401",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}for-each-source",flags:"s",line:"1803",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}for-each-source"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1804",name:"role",C:[{N:"str",val:"forEachStream"}]}]}]}]}, -{N:"co",id:"84",binds:"52",C:[{N:"globalVariable",name:"Q{}reserved-namespaces",as:"+AU",line:"555",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"555",C:[{N:"forEach",C:[{N:"literal",count:"3",C:[{N:"str",val:"xsl"},{N:"str",val:"xs"},{N:"str",val:"fn"}]},{N:"cast",flags:"ae",as:"?AU",C:[{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"},{N:"dot",type:"1AS"}]}]}]},{N:"atomic",val:"http://www.w3.org/2001/XMLSchema",type:"AU"}]}]}]},{N:"co",id:"85",binds:"",C:[{N:"function",name:"Q{MyTypes}allowsZero",line:"127",module:"type.xsl",eval:"16",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"*"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"129",card:"1",diag:"5|0|XTTE0780|t:allowsZero#1",C:[{N:"vc",op:"ne",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"arith",op:"mod",calc:"a%a",C:[{N:"cvUntyped",to:"AO",C:[{N:"atomSing",card:"?",diag:"1|0||mod",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]}]},{N:"int",val:"2"}]},{N:"int",val:"0"}]}]}]}]},{N:"co",id:"86",binds:"78",C:[{N:"function",name:"Q{MyFunctions}wrongParent",line:"772",module:"normalize.xsl",eval:"4",flags:"pU",as:"*",slots:"1",C:[{N:"arg", -name:"Q{}context",as:"1NE"},{N:"homCheck",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"774",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",eval:"16 16",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" cannot be a child of "},{N:"fn",name:"name", -C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"dot",type:"1NE"}]}]}]}]}]},{N:"co",id:"87",binds:"87",C:[{N:"function",name:"Q{MyFunctions}import-index",line:"704",module:"static.xsl",eval:"16",flags:"pmU",as:"1ADI",slots:"2",C:[{N:"arg",name:"Q{}in",as:"1NE"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"706","var":"Q{}next",as:"?NE nQ{http://www.w3.org/1999/XSL/Transform}import", -slot:"1",eval:"8",C:[{N:"slash",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"first",C:[{N:"axis",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"}]}]},{N:"choose",line:"713",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}next",slot:"1"}]},{N:"arith",op:"+",calc:"i+i",C:[{N:"ufCall",name:"Q{MyFunctions}import-index",tailCall:"false",bSlot:"0",eval:"16",C:[{N:"check",card:"1",diag:"0|0||f:import-index",C:[{N:"varRef",name:"Q{}next",slot:"1"}]}]},{N:"int",val:"1"}]}, -{N:"true"},{N:"int",val:"1"}]}]}]}]},{N:"co",id:"88",binds:"",C:[{N:"globalVariable",name:"Q{}END_OF_ALPHABET",as:"1ADI",line:"125",module:"static.xsl",visibility:"PRIVATE",C:[{N:"int",val:"50000"}]}]},{N:"co",id:"89",binds:"",C:[{N:"function",name:"Q{MyFunctions}increasing-precedence-sort",line:"660",module:"XSLT-SEF-compiler.xsl",eval:"4",flags:"pU",as:"*NE",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*NE"},{N:"sort",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"0"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel",chk:"0"},{N:"str",role:"order",val:"descending"},{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:"co",id:"90",binds:"",C:[{N:"function",name:"Q{MyFunctions}line-number", -line:"17",module:"lib.xsl",eval:"16",flags:"pU",as:"1ADI",slots:"2",C:[{N:"arg",name:"Q{}node",as:"1N"},{N:"treat",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1", -C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"1",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"0"}]},{N:"choose",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"1"},{N:"int",val:"-1"}]},{N:"instance",of:"1NE",C:[{N:"varRef", -name:"Q{}node",slot:"0"}]}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"1"}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"91",binds:"",C:[{N:"globalVariable",name:"Q{}compileSyntax",as:"1AB",line:"184",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"92",binds:"3",C:[{N:"function",name:"Q{MyFunctions}wrongChild",line:"777",module:"normalize.xsl", -eval:"4",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"+N"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"779",C:[{N:"first",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"ufCall",line:"792",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",eval:"16 16 16",C:[{N:"choose",line:"785",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"str",val:"XTSE0130"},{N:"true"},{N:"str",val:"XTSE0010"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]},{N:"str",val:" cannot contain "},{N:"choose",C:[{N:"instance",of:"1NE",C:[{N:"dot",type:"1N"}]},{N:"fn", -name:"concat",C:[{N:"str",val:"element "},{N:"fn",name:"name",C:[{N:"dot",type:"1N"}]}]},{N:"true"},{N:"fn",name:"concat",C:[{N:"str",val:"non-whitespace text:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1N"}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"93",binds:"",C:[{N:"globalVariable",name:"Q{}ST.EMPTY_SEQUENCE",as:"1FM k[AS] v[1AS]",line:"10",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2", -C:[{N:"str",val:"o"},{N:"str",val:"0"},{N:"str",val:"p"},{N:"str",val:""}]}]}]},{N:"co",id:"94",binds:"3 95 96 97 96 97 96 97 96 97 96 97 96 97",C:[{N:"template",name:"Q{}make-sort-key",flags:"os",as:"1NE",line:"33",module:"sorting.xsl",slots:"5",C:[{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",card:"1",diag:"7|0|XTTE0505|make-sort-key", -C:[{N:"sequence",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"35",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?", -diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"36",name:"Q{}backward-compatibility",slot:"2",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"data",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param", -line:"37",name:"Q{}role",slot:"3",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"supplied",slot:"3"}]}]}]},{N:"choose",line:"39",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}stable"}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N", -diag:"14|11|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]},{N:"treat",line:"40",as:"NE",diag:"7|0|XTTE0505|make-sort-key",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",eval:"0 0 16",C:[{N:"str",val:"XTSE1017"},{N:"str",val:"@stable may only appear on the first xsl:sort"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}stable"}]}]}]}]}]},{N:"elem",line:"48",name:"sortKey",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"49",C:[{N:"varRef",name:"Q{}role",slot:"3"},{N:"choose",line:"52",C:[{N:"fn",name:"empty",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"53", -name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]}]},{N:"true"},{N:"let",line:"56","var":"Q{}content",as:"*NE",slot:"4",eval:"4",C:[{N:"treat",line:"57",as:"NE",diag:"3|0|XTTE0570|content",C:[{N:"applyT",mode:"Q{}select.or.sequence",bSlot:"1",C:[{N:"dot",role:"select",flags:"a"}]}]},{N:"choose",line:"60",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"2"},{N:"elem",line:"61",name:"first",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"BC",flags:"l",C:[{N:"str",val:"added"}]},{N:"varRef",line:"62",name:"Q{}content",slot:"4"}]}]},{N:"true"},{N:"varRef",line:"66",name:"Q{}content",slot:"4"}]}]}]},{N:"callT",line:"71",name:"Q{MyFunctions}AVT",bSlot:"2",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}order",C:[{N:"slash",line:"72",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis", -name:"attribute",nodeTest:"NA nQ{}order"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"ascending"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"74",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"3"},{N:"str",val:"order"}]}]}]}]}]},{N:"callT",line:"76",name:"Q{MyFunctions}AVT",bSlot:"4",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}lang",C:[{N:"slash", -line:"77",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}lang"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"en"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"79",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"5"},{N:"str",val:"lang"}]}]}]}]}]},{N:"callT",line:"81",name:"Q{MyFunctions}AVT", -bSlot:"6",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}case-order",C:[{N:"slash",line:"82",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}case-order"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"#default"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"84",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef", -name:"Q{}roles",bSlot:"7"},{N:"str",val:"caseOrder"}]}]}]}]}]},{N:"choose",line:"86",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}data-type"}]}]},{N:"callT",line:"87",name:"Q{MyFunctions}AVT",bSlot:"8",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}data-type",C:[{N:"slash",line:"88",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis", -name:"attribute",nodeTest:"NA nQ{}data-type"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"text"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"90",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"9"},{N:"str",val:"dataType"}]}]}]}]}]}]},{N:"callT",line:"93",name:"Q{MyFunctions}AVT",bSlot:"10",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}stable", -C:[{N:"slash",line:"94",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}stable"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"true"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"96",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"11"},{N:"str",val:"stable"}]}]}]}]}]},{N:"choose",line:"98", -C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]},{N:"callT",line:"99",name:"Q{MyFunctions}AVT",bSlot:"12",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}collation",C:[{N:"slash",line:"100",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]},{N:"withParam",name:"Q{}default", -flags:"c",as:"1AS",C:[{N:"str",val:"$codepoint.collation"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"102",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"13"},{N:"str",val:"collation"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"98",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SUBSUMED_BY",as:"1AS",line:"164",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"LT"}]}]}, -{N:"co",id:"99",binds:"97 100",C:[{N:"template",name:"Q{}role-value-template",flags:"os",line:"177",module:"creating-new-nodes.xsl",slots:"2",C:[{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"178","var":"Q{}role",slot:"0",eval:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"0"}, -{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]},{N:"let",line:"180","var":"Q{}AVT",as:"1NE",slot:"1",eval:"16",C:[{N:"check",line:"181",card:"1",diag:"3|0|XTTE0570|AVT",C:[{N:"callT",name:"Q{}value-template",bSlot:"1"}]},{N:"forEach",line:"184",C:[{N:"varRef",name:"Q{}AVT",slot:"1"},{N:"copy",line:"186",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"0"},{N:"axis",name:"child", -nodeTest:"NE"}]}]}]}]}]}]}]},{N:"co",id:"101",binds:"",C:[{N:"function",name:"Q{MyTypes}cardinalityRelationship",line:"69",module:"type.xsl",eval:"16",flags:"pU",as:"*",slots:"4",C:[{N:"arg",name:"Q{}required",as:"1AS"},{N:"arg",name:"Q{}supplied",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"73",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}required", -slot:"0"},{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"EQ"},{N:"compareToString",line:"76",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"GT"},{N:"true"},{N:"let",line:"80","var":"Q{}R",slot:"2",eval:"16",C:[{N:"choose",line:"66",C:[{N:"compareToString",line:"80",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z1M"},{N:"compareToString",line:"80",op:"eq",val:"+",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"1M"},{N:"fn", -name:"not",C:[{N:"varRef",line:"80",name:"Q{}required",slot:"0"}]},{N:"str",val:"1"},{N:"compareToString",line:"80",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z1"},{N:"compareToString",line:"80",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"let",line:"81","var":"Q{}S",slot:"3",eval:"16",C:[{N:"choose",line:"66",C:[{N:"compareToString",line:"81",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]}, -{N:"str",val:"Z1M"},{N:"compareToString",line:"81",op:"eq",val:"+",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",line:"81",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"1"},{N:"compareToString",line:"81",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"Z1"},{N:"compareToString",line:"81",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"choose",line:"91",C:[{N:"fn", -name:"contains",C:[{N:"varRef",name:"Q{}R",slot:"2"},{N:"varRef",name:"Q{}S",slot:"3"}]},{N:"str",val:"GT"},{N:"fn",name:"contains",C:[{N:"varRef",name:"Q{}S",slot:"3"},{N:"varRef",name:"Q{}R",slot:"2"}]},{N:"str",val:"LT"},{N:"true"},{N:"str",val:"OV"}]}]}]}]}]}]},{N:"co",id:"102",binds:"102",C:[{N:"function",name:"Q{MyFunctions}nodeTestPriority",line:"61",module:"pattern.xsl",eval:"16",flags:"pU",as:"1AD",slots:"4",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"63",C:[{N:"let","var":"Q{}p",as:"1AS",slot:"1",eval:"16",C:[{N:"treat",as:"AS",diag:"3|0|XTTE0570|p",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|p",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|p",C:[{N:"data",diag:"3|0|XTTE0570|p",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]}]}]}]}]},{N:"let",line:"64","var":"Q{}n",as:"?AS",slot:"2",eval:"7",C:[{N:"treat",as:"AS",diag:"3|0|XTTE0570|n",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|n",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|n", -C:[{N:"data",diag:"3|0|XTTE0570|n",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"n"}]}]}]}]}]},{N:"let",line:"65","var":"Q{}c",as:"?AS",slot:"3",eval:"7",C:[{N:"treat",as:"AS",diag:"3|0|XTTE0570|c",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|c",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|c",C:[{N:"data",diag:"3|0|XTTE0570|c",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"c"}]}]}]}]}]},{N:"choose",line:"68",C:[{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef", -name:"Q{}type",slot:"0"},{N:"str",val:"e"}]}]},{N:"ufCall",line:"70",name:"Q{MyFunctions}nodeTestPriority",tailCall:"self",bSlot:"0",eval:"16",C:[{N:"treat",as:"FM",diag:"0|0||f:nodeTestPriority",C:[{N:"check",card:"1",diag:"0|0||f:nodeTestPriority",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"e"}]}]}]}]},{N:"and",line:"72",op:"and",C:[{N:"compareToString",op:"eq",val:"N",C:[{N:"varRef",name:"Q{}p",slot:"1"}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type", -slot:"0"},{N:"str",val:"u"}]}]}]},{N:"dec",val:"-0.5"},{N:"and",line:"74",op:"and",C:[{N:"compareToString",op:"eq",val:"NE",C:[{N:"varRef",name:"Q{}p",slot:"1"}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"u"}]}]}]},{N:"dec",val:"0"},{N:"and",line:"75",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}n",slot:"2"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}c",slot:"3"}]}]},{N:"dec",val:"0.25"},{N:"fn",line:"76",name:"exists",C:[{N:"varRef", -name:"Q{}c",slot:"3"}]},{N:"dec",val:"0"},{N:"fn",line:"77",name:"exists",C:[{N:"varRef",name:"Q{}n",slot:"2"}]},{N:"choose",line:"79",C:[{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}n",slot:"2"},{N:"str",val:"*:"}]},{N:"fn",name:"ends-with",C:[{N:"varRef",name:"Q{}n",slot:"2"},{N:"str",val:"}*"}]}]},{N:"dec",val:"-0.25"},{N:"vc",line:"80",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}n",slot:"2"},{N:"str",val:"*"}]},{N:"dec",val:"-0.5"},{N:"true"},{N:"dec",val:"0"}]}, -{N:"true"},{N:"dec",val:"-0.5"}]}]}]}]}]}]}]},{N:"co",id:"103",binds:"104 105 106 13 82 107 105 106",C:[{N:"function",name:"Q{MyFunctions}typeCheckLiteral",line:"1034",module:"type.xsl",eval:"4",flags:"pU",as:"*",slots:"8",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"forEach",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1039",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"copy",line:"1041",flags:"cin",sit:"1NE",C:[{N:"let",role:"content","var":"Q{}parts",as:"*NE",slot:"3",eval:"4",C:[{N:"treat",line:"1042",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"ufCall",line:"1043",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"0",eval:"16 16 1 1",C:[{N:"dot",type:"1NE"},{N:"let","var":"Q{}inst",as:"1NE",slot:"4",eval:"16",C:[{N:"dot",type:"1NE"},{N:"let",line:"1011", -"var":"Q{}name",as:"1AS",slot:"5",eval:"8",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"4"}]},{N:"choose",line:"1014",C:[{N:"compareToString",op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"ifCall",line:"1015",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:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst", -slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"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:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"ifCall",line:"1022",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:"p"},{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"4"},{N:"attVal",name:"Q{}type",chk:"0"}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"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:"gc",line:"1024",op:"=", -card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"1"},{N:"true"},{N:"treat",line:"1028",as:"FM",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"2"},{N:"varRef",name:"Q{}name",slot:"5"}]}]}]}]}]}]}, -{N:"varRef",name:"Q{}required",slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]}]}]},{N:"sequence",line:"1047",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"1053",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"4",eval:"8",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}parts",slot:"3"},{N:"choose",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"5",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]},{N:"true"},{N:"let","var":"Q{}inst",as:"1NE",slot:"6",eval:"16",C:[{N:"dot",type:"1NE"},{N:"let",line:"1011","var":"Q{}name",as:"1AS",slot:"7",eval:"8",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"6"}]},{N:"choose",line:"1014", -C:[{N:"compareToString",op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"7"}]},{N:"ifCall",line:"1015",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:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map", -size:"1",C:[{N:"str",val:"o"},{N:"str",val:"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:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"7"}]},{N:"ifCall",line:"1022",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:"p"},{N:"fn", -name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"6"},{N:"attVal",name:"Q{}type",chk:"0"}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"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:"gc",line:"1024",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"7"}]}, -{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"6"},{N:"true"},{N:"treat",line:"1028",as:"FM",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"7"},{N:"varRef",name:"Q{}name",slot:"7"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"1054",name:"Q{}parts",slot:"3"}]}]}]}]}]}]},{N:"co",id:"108",binds:"",C:[{N:"globalVariable", -name:"Q{}ST.SINGLE_PROCESSING_INSTRUCTION",as:"1FM k[AS] v[1AS]",line:"38",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"NP"}]}]}]},{N:"co",id:"109",binds:"",C:[{N:"globalVariable",name:"Q{}type.hierarchy.tree",as:"1ND",line:"331",module:"type.xsl",visibility:"PRIVATE",C:[{N:"doc",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"332",C:[{N:"elem", -name:"item",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:""}]},{N:"elem",line:"333",name:"error",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:""}]}]},{N:"elem",line:"334",name:"function",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"F"}]},{N:"elem",line:"335",name:"map",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"FM"}]}]},{N:"elem",line:"336",name:"array",nsuri:"",flags:"l",C:[{N:"att", -name:"p",flags:"l",C:[{N:"str",val:"FA"}]}]}]}]},{N:"elem",line:"338",name:"node",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"N"}]},{N:"elem",line:"339",name:"document-node",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ND"}]}]},{N:"elem",line:"340",name:"element",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NE"}]}]},{N:"elem",line:"341",name:"attribute",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str", -val:"NA"}]}]},{N:"elem",line:"342",name:"text",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NT"}]}]},{N:"elem",line:"343",name:"comment",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NC"}]}]},{N:"elem",line:"344",name:"processing-instruction",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NP"}]}]},{N:"elem",line:"345",name:"namespace-node",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NN"}]}]}]}]},{N:"elem",line:"347", -name:"xs:anyAtomicType",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"A"}]},{N:"elem",line:"348",name:"xs:boolean",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AB"}]}]},{N:"elem",line:"349",name:"xs:string",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AS"}]},{N:"elem",line:"350",name:"xs:normalizedString", -nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASN"}]},{N:"elem",line:"351",name:"xs:token",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNT"}]},{N:"elem",line:"352",name:"xs:NMTOKEN",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTK"}]}]},{N:"elem",line:"353",name:"xs:Name",nsuri:"http://www.w3.org/2001/XMLSchema", -flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTN"}]},{N:"elem",line:"354",name:"xs:NCName",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNC"}]},{N:"elem",line:"355",name:"xs:ID",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNCI"}]}]},{N:"elem",line:"356",name:"xs:IDREF",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p", -flags:"l",C:[{N:"str",val:"ASNTNCR"}]}]},{N:"elem",line:"357",name:"xs:ENTITY",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNCE"}]}]}]}]}]}]},{N:"elem",line:"360",name:"xs:language",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTL"}]}]}]}]}]}]}]}]},{N:"elem",line:"364",name:"xs:QName",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AQ"}]}]}, -{N:"elem",line:"365",name:"xs:anyURI",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AU"}]}]},{N:"elem",line:"366",name:"xs:date",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AA"}]}]},{N:"elem",line:"367",name:"xs:dateTime",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AM"}]},{N:"elem",line:"368",name:"xs:dateTimeStamp",nsuri:"http://www.w3.org/2001/XMLSchema", -flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AMP"}]}]}]}]},{N:"elem",line:"370",name:"xs:time",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AT"}]}]},{N:"elem",line:"371",name:"xs:duration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AR"}]},{N:"elem",line:"372",name:"xs:dayTimeDuration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l", -C:[{N:"str",val:"ARD"}]}]},{N:"elem",line:"373",name:"xs:yearMonthDuration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ARY"}]}]}]}]},{N:"elem",line:"375",name:"xs:gYear",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AG"}]}]},{N:"elem",line:"376",name:"xs:gYearMonth",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AH"}]}]},{N:"elem",line:"377", -name:"xs:gMonth",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AI"}]}]},{N:"elem",line:"378",name:"xs:gMonthDay",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AJ"}]}]},{N:"elem",line:"379",name:"xs:gDay",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AK"}]}]},{N:"elem",line:"380",name:"xs:numeric",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l", -C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AD|AO|AF"}]},{N:"elem",line:"381",name:"xs:decimal",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AD"}]},{N:"elem",line:"382",name:"xs:integer",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADI"}]},{N:"elem",line:"383",name:"xs:nonPositiveInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l", -C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIN"}]},{N:"elem",line:"384",name:"xs:negativeInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADINN"}]}]}]}]},{N:"elem",line:"386",name:"xs:nonNegativeInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIP"}]},{N:"elem",line:"387",name:"xs:positiveInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l", -C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPP"}]}]},{N:"elem",line:"388",name:"xs:unsignedLong",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPL"}]},{N:"elem",line:"389",name:"xs:unsignedInt",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLI"}]},{N:"elem",line:"390",name:"xs:unsignedShort",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence", -C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLIS"}]},{N:"elem",line:"391",name:"xs:unsignedByte",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLISB"}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"396",name:"xs:long",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIL"}]},{N:"elem",line:"397",name:"xs:int",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att", -name:"p",flags:"l",C:[{N:"str",val:"ADILI"}]},{N:"elem",line:"398",name:"xs:short",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADILIS"}]},{N:"elem",line:"399",name:"xs:byte",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADILISB"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"405",name:"xs:double",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str", -val:"AO"}]}]},{N:"elem",line:"406",name:"xs:float",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AF"}]}]}]}]},{N:"elem",line:"408",name:"xs:base64Binary",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"A2"}]}]},{N:"elem",line:"409",name:"xs:hexBinary",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AX"}]}]},{N:"elem",line:"410",name:"xs:NOTATION", -nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AN"}]}]},{N:"elem",line:"411",name:"xs:untypedAtomic",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]},{N:"co",id:"110",binds:"",C:[{N:"function",name:"Q{MyFunctions}empty",line:"229",module:"lib.xsl",eval:"7",flags:"pU",as:"?NE",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"231",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NT"}]}]},{N:"str",val:"\\S"},{N:"str",val:""}]}]}]}]},{N:"elem",line:"232",name:"empty", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]}]},{N:"co",id:"111",binds:"",C:[{N:"function",name:"Q{MyTypes}typeRelationship",line:"191",module:"type.xsl",eval:"16",flags:"pU",as:"1AS",slots:"14",C:[{N:"arg",name:"Q{}required",as:"1FM"},{N:"arg",name:"Q{}supplied",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"203","var":"Q{}combinedRel",slot:"2", -eval:"16",C:[{N:"let",line:"201","var":"Q{}rel1",as:"1AS",slot:"3",eval:"16",C:[{N:"let","var":"Q{}required",as:"1AS",slot:"4",eval:"16",C:[{N:"treat",as:"AS",diag:"0|0||t:cardinalityRelationship",C:[{N:"check",card:"1",diag:"0|0||t:cardinalityRelationship",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:cardinalityRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"o"}]}]}]}]}]},{N:"let","var":"Q{}supplied",as:"1AS",slot:"5",eval:"16",C:[{N:"treat",as:"AS", -diag:"0|1||t:cardinalityRelationship",C:[{N:"check",card:"1",diag:"0|1||t:cardinalityRelationship",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||t:cardinalityRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"o"}]}]}]}]}]},{N:"choose",line:"73",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}required",slot:"4"},{N:"varRef",name:"Q{}supplied",slot:"5"}]},{N:"str",val:"EQ"},{N:"compareToString",line:"76",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}required", -slot:"4"}]},{N:"str",val:"GT"},{N:"true"},{N:"let",line:"80","var":"Q{}R",slot:"6",eval:"16",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}required",slot:"4"}]},{N:"str",val:"Z1M"},{N:"compareToString",op:"eq",val:"+",C:[{N:"varRef",name:"Q{}required",slot:"4"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}required",slot:"4"}]},{N:"str",val:"1"},{N:"compareToString",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}required",slot:"4"}]},{N:"str",val:"Z1"}, -{N:"compareToString",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}required",slot:"4"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"let",line:"81","var":"Q{}S",slot:"7",eval:"16",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}supplied",slot:"5"}]},{N:"str",val:"Z1M"},{N:"compareToString",op:"eq",val:"+",C:[{N:"varRef",name:"Q{}supplied",slot:"5"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}supplied",slot:"5"}]},{N:"str",val:"1"},{N:"compareToString", -op:"eq",val:"?",C:[{N:"varRef",name:"Q{}supplied",slot:"5"}]},{N:"str",val:"Z1"},{N:"compareToString",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}supplied",slot:"5"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"choose",line:"91",C:[{N:"fn",name:"contains",C:[{N:"varRef",name:"Q{}R",slot:"6"},{N:"varRef",name:"Q{}S",slot:"7"}]},{N:"str",val:"GT"},{N:"fn",name:"contains",C:[{N:"varRef",name:"Q{}S",slot:"7"},{N:"varRef",name:"Q{}R",slot:"6"}]},{N:"str",val:"LT"},{N:"true"},{N:"str",val:"OV"}]}]}]}]}]}]}, -{N:"let",line:"202","var":"Q{}rel2",as:"1AS",slot:"8",eval:"16",C:[{N:"let","var":"Q{}R",as:"1AS",slot:"9",eval:"16",C:[{N:"treat",as:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"10",eval:"16",C:[{N:"treat",as:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"check", -card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"p"}]}]}]}]}]},{N:"choose",line:"185",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"9"},{N:"varRef",name:"Q{}S",slot:"10"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"9"},{N:"varRef",name:"Q{}S",slot:"10"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with", -C:[{N:"varRef",name:"Q{}S",slot:"10"},{N:"varRef",name:"Q{}R",slot:"9"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]},{N:"choose",line:"314",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}rel1",slot:"3"},{N:"varRef",name:"Q{}rel2",slot:"8"}]},{N:"varRef",name:"Q{}rel1",slot:"3"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}rel1",slot:"3"},{N:"varRef",name:"Q{}rel2",slot:"8"}]},{N:"str",val:"DJ"}]},{N:"str",val:"DJ"},{N:"compareToString", -op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel1",slot:"3"}]},{N:"varRef",name:"Q{}rel2",slot:"8"},{N:"compareToString",op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel2",slot:"8"}]},{N:"varRef",name:"Q{}rel1",slot:"3"},{N:"true"},{N:"str",val:"OV"}]}]}]},{N:"choose",line:"205",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}combinedRel",slot:"2"},{N:"str",val:"DJ"}]},{N:"fn",name:"starts-with", -C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]},{N:"str", -val:""}]}]},{N:"varRef",line:"206",name:"Q{}combinedRel",slot:"2"},{N:"true"},{N:"let",line:"209","var":"Q{}R",slot:"11",eval:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"n"}]},{N:"let",line:"210","var":"Q{}S",slot:"12",eval:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"n"}]},{N:"let",line:"223","var":"Q{}rel2",as:"1AS",slot:"13",eval:"16",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}R",slot:"11"}]}, -{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}S",slot:"12"}]}]},{N:"str",val:"LT"},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}S",slot:"12"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}R",slot:"11"}]}]},{N:"str",val:"GT"},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}R",slot:"11"},{N:"varRef",name:"Q{}S",slot:"12"}]},{N:"str",val:"EQ"},{N:"true"},{N:"str",val:"DJ"}]},{N:"choose",line:"314",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",line:"225",name:"Q{}combinedRel", -slot:"2"},{N:"varRef",name:"Q{}rel2",slot:"13"}]},{N:"varRef",line:"225",name:"Q{}combinedRel",slot:"2"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",line:"225",name:"Q{}combinedRel",slot:"2"},{N:"varRef",name:"Q{}rel2",slot:"13"}]},{N:"str",val:"DJ"}]},{N:"str",val:"DJ"},{N:"compareToString",line:"225",op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}combinedRel",slot:"2"}]},{N:"varRef",name:"Q{}rel2",slot:"13"},{N:"compareToString",op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel2", -slot:"13"}]},{N:"varRef",line:"225",name:"Q{}combinedRel",slot:"2"},{N:"true"},{N:"str",val:"OV"}]}]}]}]}]}]}]}]},{N:"co",id:"112",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg465257140",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join", -C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE3375"},{N:"str",val:"xsl:map"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"114",binds:"",C:[{N:"function",name:"Q{coBindings}bind",line:"209",module:"component-bindings.xsl",eval:"7",flags:"pU",as:"?ADI",slots:"2",C:[{N:"arg",name:"Q{}context",as:"1N"}, -{N:"arg",name:"Q{}name",as:"1AS"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef", -name:"Q{}name",slot:"1"}]}]},{N:"int",val:"1"}]}]}]}]}]},{N:"co",id:"115",binds:"",C:[{N:"function",name:"Q{MyFunctions}makeProperties",line:"193",module:"output.xsl",eval:"8",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}map",as:"1FM"},{N:"cvUntyped",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"196",to:"AS",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cast", -flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}map",slot:"0"}]},{N:"let",line:"197","var":"Q{}value",slot:"1",eval:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}map",slot:"0"},{N:"dot",type:"1A"}]},{N:"valueOf",line:"199",C:[{N:"fn",name:"concat",C:[{N:"dot", -type:"1A"},{N:"str",val:"="},{N:"choose",line:"198",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"item-separator"}]},{N:"fn",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"treat",as:"AS",diag:"0|0||fn:replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"1"}]}]}]}]},{N:"str",val:"%"},{N:"str",val:"%%"},{N:"str", -val:""}]},{N:"str",val:"\n"},{N:"str",val:"%n"},{N:"str",val:""}]},{N:"true"},{N:"data",line:"199",C:[{N:"varRef",name:"Q{}value",slot:"1"}]}]},{N:"str",val:"\n"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]},{N:"co",id:"116",binds:"117",C:[{N:"template",name:"Q{http://www.w3.org/1999/XSL/Transform}initial-template",flags:"os",line:"239",module:"XSLT-SEF-compiler.xsl",slots:"0",C:[{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"240",name:"Desc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"valueOf",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg816288166",bSlot:"0"}]}]}]}]},{N:"co",id:"118",binds:"119 82 107 13 13",C:[{N:"template",name:"Q{}Sequence-and-type",flags:"os",line:"498",module:"xpath.xsl",slots:"5",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"499",C:[{N:"param",name:"Q{}parts",slot:"0",flags:"r",as:"*NE",C:[{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|parts",C:[{N:"supplied",slot:"0"}]}]},{N:"choose",line:"504",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]},{N:"elem",line:"505",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"0"}]},{N:"slash",line:"506",simple:"1",C:[{N:"treat",as:"N", -diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]},{N:"true"},{N:"let",line:"513","var":"Q{}commonTypeAsMap",as:"1FM",slot:"1",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"1",eval:"8",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType", -tailCall:"false",bSlot:"2",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]}]}]},{N:"let",line:"514","var":"Q{}commonType",slot:"2",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",eval:"1",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"1"}]},{N:"choose",line:"520",C:[{N:"every","var":"Q{}p",slot:"3",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1", -C:[{N:"varRef",name:"Q{}p",slot:"3"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"521",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]}]},{N:"slash",line:"522",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}, -{N:"att",line:"523",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"524",name:"Q{}parts",slot:"0"}]}]},{N:"fn",line:"527",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]}]},{N:"copy",line:"529",flags:"in",sit:"1",C:[{N:"sequence",role:"content",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot", -flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"530",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"531",name:"Q{}parts",slot:"0"}]}]},{N:"compareToInt",line:"534",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"535","var":"Q{}role",as:"?NA",slot:"4",eval:"8",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"forEach",line:"536",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"copy",line:"538",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"545",flags:"in",sit:"1",C:[{N:"sequence",role:"content",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot", -flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"548",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"4",eval:"16",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", -type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"548",name:"Q{}commonTypeAsMap",slot:"1"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"549",name:"Q{}parts",slot:"0"}]}]}]}]}]}]}]}]}]},{N:"co",id:"120",binds:"52",C:[{N:"function",name:"Q{MyFunctions}recover-namespaces",line:"63", -module:"namespaces.xsl",eval:"7",flags:"pU",as:"?FM",slots:"4",C:[{N:"arg",name:"Q{}context",as:"*"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"65","var":"Q{}ns",as:"?NA",slot:"1",eval:"7",C:[{N:"lastOf",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{}context",slot:"0"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"choose",line:"72",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}ns",slot:"1"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str", -val:"namespaces"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"varRef",name:"Q{}ns",slot:"1"}]}]}]},{N:"let","var":"Q{}prefix",slot:"2",eval:"8",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"3",eval:"8",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"2"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"},{N:"varRef",name:"Q{}prefix",slot:"2"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"3"}]}]}]}]}]},{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:"121",binds:"13",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",as:"1AS",line:"52",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"52",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"0",C:[{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"NP"}]}]}]}]}, -{N:"co",id:"122",binds:"122 122 122 122",C:[{N:"function",name:"Q{MyFunctions}pattern-matches-node-kind",line:"88",module:"pattern.xsl",eval:"8",flags:"pU",as:"1AB",slots:"4",C:[{N:"arg",name:"Q{}pattern",as:"?NE"},{N:"arg",name:"Q{}node-kind",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"92",C:[{N:"choose",C:[{N:"fn",name:"exists", -C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]},{N:"or",line:"93",op:"or",C:[{N:"compareToString",op:"eq",val:"N",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"attVal",name:"Q{}test",chk:"0"}]}]}]}]},{N:"fn",name:"starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"attVal",name:"Q{}test",chk:"0"}]}]},{N:"varRef", -name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"95",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"}]}]}]},{N:"choose",line:"97",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}op",chk:"0"}]},{N:"str",val:"union"}]}]}]}, -{N:"some",line:"98","var":"Q{}operand",slot:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"false",bSlot:"0",eval:"1 1",C:[{N:"varRef",name:"Q{}operand",slot:"2"},{N:"varRef",name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"100",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae", -as:"?AS",C:[{N:"attVal",name:"Q{}op",chk:"0"}]},{N:"str",val:"intersect"}]}]}]},{N:"every",line:"101","var":"Q{}operand",slot:"3",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"false",bSlot:"1",eval:"1 1",C:[{N:"varRef",name:"Q{}operand",slot:"3"},{N:"varRef",name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"103",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern", -slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}op",chk:"0"}]},{N:"str",val:"except"}]}]}]},{N:"ufCall",line:"104",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"self",bSlot:"2",eval:"7 1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"varRef",name:"Q{}node-kind",slot:"1"}]},{N:"true"},{N:"error",message:"Conditional expression: None of the conditions is satisfied, so an empty sequence is returned, but this is not allowed as the result of a call to f:pattern-matches-node-kind#2", -code:"XTTE0780",isTypeErr:"0"}]},{N:"fn",line:"108",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper"}]}]}]}]},{N:"ufCall",line:"109",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"self",bSlot:"3",eval:"7 1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern", -slot:"0"},{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"varRef",name:"Q{}node-kind",slot:"1"}]},{N:"true"},{N:"true"}]}]}]}]},{N:"co",id:"123",binds:"13",C:[{N:"function",name:"Q{MyTypes}treat",line:"879",module:"type.xsl",eval:"9",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"886",name:"treat",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"replace",C:[{N:"ufCall",line:"885",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"str",val:"^[01*+?]"},{N:"str",val:""},{N:"str",val:""}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"choose",line:"888",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"o"}]}]},{N:"str",val:"*"}]},{N:"sequence",line:"889",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",name:"Q{}expression",slot:"0"}]},{N:"true"},{N:"sequence",line:"892",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"elem",line:"893",name:"check", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{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{}type",slot:"1"},{N:"str",val:"o"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"894",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}, -{N:"varRef",line:"894",name:"Q{}expression",slot:"0"}]}]}]}]}]}]}]}]},{N:"co",id:"117",binds:"124",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg816288166",as:"1AS",line:"240",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"240",name:"concat",C:[{N:"str",val:"This is the XSLT3 compiler version "}, -{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"gVarRef",name:"Q{}compiler.version",bSlot:"0"}]}]}]}]}]},{N:"co",id:"54",binds:"34 125 95 97 51 126 95 95 125 95 51 125 40 40 39 97",C:[{N:"mode",name:"Q{}sef.named-templates",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"5.0",seq:"326",rank:"13",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param", -name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6",seq:"365", -rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t", -as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"360",rank:"11",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"104",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",eval:"16",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"3.3",seq:"356",rank:"10",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"96",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"352",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"78",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"79",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"82",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}defaultCollation",C:[{N:"axis",line:"81",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"349",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*", -flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"72",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"75",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05", -seq:"345",rank:"8",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"353",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"78",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"79",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"82",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}defaultCollation",C:[{N:"axis",line:"81",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"350",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"72",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"75",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"346",rank:"8",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"62",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"341",rank:"7",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute", +name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"342",rank:"7",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute", nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"53",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03",seq:"337",rank:"6",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41", -module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03", +seq:"338",rank:"6",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"45",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"333",rank:"5",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}, +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"334",rank:"5",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}, {N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"38",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"227",rank:"3",minImp:"0",slots:"4",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"448",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate", -role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"448",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"449",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"450",name:"Q{}static-context",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"456","var":"Q{}version",as:"?AD", -slot:"3",eval:"7",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"true"},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"nextMatch",line:"458",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr", -slot:"0"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM",C:[{N:"ifCall",line:"463",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}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:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"3"},{N:"dec",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}static-context",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:"withParam",name:"Q{}xsl-version", -flags:"t",as:"?AD",C:[{N:"varRef",line:"464",name:"Q{}version",slot:"3"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"465",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"3"},{N:"dec",val:"2"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"227",rank:"3",minImp:"0",slots:"4",matches:"NE",flags:"s",line:"448",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"448",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"449",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"450",name:"Q{}static-context", -slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"456","var":"Q{}version",as:"?AD",slot:"3",eval:"7",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}version"}]},{N:"true"},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"nextMatch",line:"458",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM",C:[{N:"ifCall",line:"463",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}merge", +name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"228",rank:"3",minImp:"0",slots:"4",matches:"NE",flags:"s",line:"448",module:"creating-new-nodes.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withPredicate", +C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"448",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"448",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"449",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"450",name:"Q{}static-context",slot:"1",flags:"t", +as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"456","var":"Q{}version",as:"?AD",slot:"3",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}, +{N:"true"},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"nextMatch",line:"458",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM",C:[{N:"ifCall",line:"463",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}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:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"3"},{N:"dec",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"}, {N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}static-context",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:"withParam",name:"Q{}xsl-version",flags:"t",as:"?AD",C:[{N:"varRef",line:"464",name:"Q{}version",slot:"3"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"465",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"3"},{N:"dec",val:"2"}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"188",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"29",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"32",name:"PARAMDEF", +{N:"templateRule",prec:"0",prio:"0.0",seq:"189",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"29",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"32",name:"PARAMDEF", nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}, {N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"33",name:"Q{}record-location",bSlot:"1"},{N:"applyT",line:"34",mode:"Q{}select.or.sequence",bSlot:"2",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"35",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"3"},{N:"str",val:"select"}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall", -line:"36",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"4",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"190",rank:"0",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"s",line:"41",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"sequence",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}named-template-signatures",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"45",name:"withParam",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"choose",line:"46",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"}]}]},{N:"str",val:"true"}]},{N:"att",line:"47",name:"flags",flags:"l",C:[{N:"str",val:"t"}]}]},{N:"choose",line:"49",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}]}, -{N:"let",line:"50","var":"Q{}param",slot:"4",eval:"4",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",dyn:'saxon:apply(...) ? "params"',C:[{N:"treat",as:"F",diag:"0|0||saxon:apply",C:[{N:"check",card:"1",diag:"0|0||saxon:apply",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{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:"params"}]}]}]},{N:"arrayBlock",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"52",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"4"},{N:"str",val:"type"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"4"},{N:"str",val:"typeJ"}]}]}]}]},{N:"choose",line:"54",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"}]}, -{N:"slash",line:"57",simple:"2",C:[{N:"let",line:"55","var":"Q{http://saxon.sf.net/generated-variable}current-626248285",as:"1",slot:"5",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"6",eval:"13",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current-626248285",slot:"5"},{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"filter",flags:"",C:[{N:"slash",simple:"1", -C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}as,NA nQ{http://ns.saxonica.com/xslt/export}asJ]"}]}]}, -{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",line:"60",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"att",line:"61",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"choose",line:"64",C:[{N:"and", -op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]},{N:"elem",line:"65",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"5"}]},{N:"applyT",line:"66",mode:"Q{}select.or.sequence",bSlot:"6",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param", -flags:"a"}]}]}]},{N:"true"},{N:"applyT",line:"70",mode:"Q{}select.or.sequence",bSlot:"7",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"184",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"14",module:"variables-and-parameters.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}, -{N:"and",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"14",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space", -C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"15",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:" has no following sibling so it will have no effect"}]}]}, -{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"nextMatch",line:"16",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"186",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"18",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"20",name:"VARDEF",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"21",name:"Q{}record-location", -bSlot:"8"},{N:"applyT",line:"22",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"applyT",line:"23",mode:"Q{}select.or.sequence",bSlot:"9",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"24",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"25",name:"Q{MyFunctions}has-uniform-static-context", -tailCall:"false",bSlot:"10",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"198",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"268",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"36",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"4",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"191",rank:"0",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"s",line:"41",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"42",C:[{N:"param",name:"Q{}named-template-signatures",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"45",name:"withParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"choose", +line:"46",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"}]}]},{N:"str",val:"true"}]},{N:"att",line:"47",name:"flags",flags:"l",C:[{N:"str",val:"t"}]}]},{N:"choose",line:"49",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}]},{N:"let",line:"50","var":"Q{}param",slot:"4",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply", +type:"*",C:[{N:"treat",as:"F",diag:'21|0||map:get(...) ? "params"',C:[{N:"check",card:"1",diag:'21|0||map:get(...) ? "params"',C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{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:"params"}]}]}]},{N:"arrayBlock",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"52",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"4"},{N:"str",val:"type"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"4"},{N:"str",val:"typeJ"}]}]}]}]},{N:"choose",line:"54",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"}]},{N:"slash",line:"57",simple:"2",C:[{N:"let",line:"55", +"var":"Q{http://saxon.sf.net/generated-variable}current1896874222",as:"1",slot:"5",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"6",flags:"l",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1896874222",slot:"5"},{N:"attVal",name:"Q{}name"}]},{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param", +flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}as,NA nQ{http://ns.saxonica.com/xslt/export}asJ]"}]}]},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis", +line:"59",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",line:"60",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"att",line:"61",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"choose",line:"64",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}, +{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"elem",line:"65",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"5"}]},{N:"applyT",line:"66",mode:"Q{}select.or.sequence",bSlot:"6",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]},{N:"true"},{N:"applyT",line:"70",mode:"Q{}select.or.sequence", +bSlot:"7",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"185",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"14",module:"variables-and-parameters.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"14",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"15",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:" has no following sibling so it will have no effect"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"nextMatch",line:"16",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"187",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"18",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"20",name:"VARDEF",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"21",name:"Q{}record-location",bSlot:"8"},{N:"applyT",line:"22",flags:"c",bSlot:"-1",C:[{N:"axis", +role:"select",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"applyT",line:"23",mode:"Q{}select.or.sequence",bSlot:"9",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"24",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"25",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"10",C:[{N:"dot", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"199",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"268",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", line:"268",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"269",C:[{N:"param",name:"Q{}location",slot:"0",flags:"t",C:[{N:"str",role:"select",val:""},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"270",name:"Q{}has-uniform-static-context",slot:"1",flags:"ti",as:"1AB",C:[{N:"treat", role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"271",name:"Q{}options",slot:"2",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1", diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"273",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"uniform",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context",slot:"1"}]}]},{N:"elem",line:"275",name:"template",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1", comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]}]},{N:"str",val:"required"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"o"}]},{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}use"}]}]},{N:"str",val:"absent"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"s"}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"choose",line:"276",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef", -name:"Q{}options",slot:"2"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"277",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"applyT",line:"279",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"choose",line:"280",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}, -{N:"sequence",line:"281",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"att",line:"282",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"callT",line:"284",name:"Q{}record-location",bSlot:"11"},{N:"applyT",line:"285",mode:"Q{}sef",bSlot:"12",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder", -intra:"1",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/XML/1998/namespace}base"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/XML/1998/namespace}space"}]}]}]}]},{N:"applyT",line:"287",mode:"Q{}sef",bSlot:"13",C:[{N:"axis", -role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]},{N:"callT",line:"290",name:"Q{}sequence-constructor",bSlot:"14",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"291",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"15"},{N:"str",val:"body"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"387",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}as",flags:"s",line:"1710",module:"XSLT-SEF-compiler.xsl", -C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}as"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1711",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]},{N:"fn",role:"select",name:"replace", -C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]}]},{N:"str",val:"\\s+"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"200",rank:"4",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"298",module:"callable-components.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"298",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}name"}]}]},{N:"str",val:"xsl:initial-template"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"299",name:"name",C:[{N:"str",val:"Q{http://www.w3.org/1999/XSL/Transform}initial-template"}]}]}]}]}, -{N:"co",id:"127",binds:"113",C:[{N:"function",name:"Q{MyFunctions}diagnostic",line:"284",module:"lib.xsl",eval:"9",flags:"pU",as:"1NA",slots:"4",C:[{N:"arg",name:"Q{}kind",as:"*"},{N:"arg",name:"Q{}operand",as:"*"},{N:"arg",name:"Q{}error.code",as:"*"},{N:"arg",name:"Q{}operation",as:"*"},{N:"att",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"diag", -C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"atomSing",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}kind",slot:"0"}]}]}]},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}operand",slot:"1"}]}]},{N:"data",diag:"0|0||fn:string-join",C:[{N:"varRef",name:"Q{}error.code",slot:"2"}]},{N:"data",diag:"0|0||fn:string-join", -C:[{N:"varRef",name:"Q{}operation",slot:"3"}]}]},{N:"str",val:"|"}]}]}]}]},{N:"co",id:"95",binds:"80 126 40 39 40",C:[{N:"mode",name:"Q{}select.or.sequence",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"4.0",seq:"139",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"14",module:"select-sequence.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"14",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"15",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"applyT",line:"16",mode:"Q{}create.xpath",flags:"t",bSlot:"0",C:[{N:"axis", -role:"select",name:"attribute",nodeTest:"NA nQ{}select"},{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"sequence",line:"17",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.0",seq:"140",rank:"3",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"22",module:"select-sequence.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union", -C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"22",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"22",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"25",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"1"}]},{N:"att",name:"base",flags:"l",C:[{N:"fn",name:"string-join", -C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE",flags:"a"},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE", -flags:"a"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"elem",line:"26",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"27",mode:"Q{}sef",bSlot:"2",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"144",rank:"0",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"69",module:"select-sequence.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", -test:"NE"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"70",C:[{N:"param",name:"Q{}attr", -slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"72",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"varRef",line:"73",name:"Q{}attr",slot:"0"}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"143",rank:"0",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"62",module:"select-sequence.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"62",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"63",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"callT",line:"65",name:"Q{}sequence-constructor",bSlot:"3",flags:"t", -C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"varRef",line:"66",name:"Q{}attr",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.8",seq:"141",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"34",module:"select-sequence.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"34",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]}]},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"36",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"elem",line:"37",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]}]},{N:"true"},{N:"elem",line:"40",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.8",seq:"141",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"s",line:"34",module:"select-sequence.xsl",C:[{N:"p.withPredicate", -role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]}]},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"36",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"elem",line:"37",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]}]},{N:"true"},{N:"elem",line:"40",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.8", -seq:"141",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"s",line:"34",module:"select-sequence.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",name:"empty",C:[{N:"sequence",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]}]},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"36",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"elem",line:"37",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att",name:"role",flags:"l", -C:[{N:"str",val:"select"}]}]},{N:"true"},{N:"elem",line:"40",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.8",seq:"141",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"34",module:"select-sequence.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]}]},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"36",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"elem",line:"37",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]}]},{N:"true"},{N:"elem",line:"40",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0", -seq:"142",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sequence",flags:"s",as:"1NE",line:"46",module:"select-sequence.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sequence"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA", -C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"choose",line:"49",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]},{N:"elem",line:"50",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]},{N:"true"},{N:"elem",line:"53",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"54",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT", -line:"56",mode:"Q{}sef",bSlot:"4",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]}]}]}]}]},{N:"co",id:"128",binds:"",C:[{N:"globalVariable",name:"Q{}XTTE0510",as:"1AQ",line:"342",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0510"}]}]},{N:"co",id:"119",binds:"13 93",C:[{N:"globalVariable",name:"Q{}SJ.EMPTY_SEQUENCE",as:"1AS",line:"44",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"44",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.EMPTY_SEQUENCE",bSlot:"1"}]}]}]},{N:"co",id:"129",binds:"",C:[{N:"function",name:"Q{MyFunctions}parse-sequence-type",line:"1528",module:"xpath.xsl",eval:"16",flags:"pU",as:"1FM",slots:"3",C:[{N:"arg",name:"Q{}input",as:"1AS"},{N:"arg",name:"Q{}nsContext",as:"1NE"},{N:"arg",name:"Q{}xpathDefaultNamespace",as:"?AS"},{N:"treat",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"varRef",name:"Q{}input",slot:"0"},{N:"varRef",name:"Q{}nsContext",slot:"1"},{N:"varRef",name:"Q{}xpathDefaultNamespace",slot:"2"}]}]}]}]},{N:"co",id:"130",binds:"",C:[{N:"function",name:"Q{MyFunctions}path",line:"403",module:"lib.xsl",eval:"16",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}node",as:"1N"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"406",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}loc"}]}]},{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"attVal",name:"Q{}loc",chk:"0"}]}]}]}]}]},{N:"instance",line:"407",of:"1NA",C:[{N:"varRef",name:"Q{}node",slot:"0"}]},{N:"cvUntyped",line:"407",to:"AS", -diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/@"},{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"0"}]}]}]}]},{N:"true"},{N:"cvUntyped",line:"408",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef", -name:"Q{}node",slot:"0"}]}]}]}]}]}]},{N:"co",id:"131",binds:"",C:[{N:"function",name:"Q{MyFunctions}xseq",line:"696",module:"static.xsl",eval:"8",flags:"pmU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"698",name:"concat",C:[{N:"str",val:"Q{http://www.w3.org/2001/XMLSchema}"},{N:"varRef",name:"Q{}type",slot:"0"}]}]}]},{N:"co",id:"132", -binds:"",C:[{N:"function",name:"Q{MyFunctions}cast",line:"465",module:"type.xsl",eval:"16",flags:"pU",as:"?A",slots:"2",C:[{N:"arg",name:"Q{}a",as:"1A"},{N:"arg",name:"Q{}type",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"469",C:[{N:"compareToString",op:"eq",val:"AB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"470",flags:"a",as:"1AB",C:[{N:"varRef", -name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"472",op:"eq",val:"ASNTNCR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"473",flags:"a",as:"1ASNTNCR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"475",op:"eq",val:"ASNTNCE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"476",flags:"a",as:"1ASNTNCE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"478",op:"eq",val:"ASNTNCI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"479", -flags:"a",as:"1ASNTNCI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"481",op:"eq",val:"ASNTNC",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"482",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"484",op:"eq",val:"ASNTN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"485",flags:"a",as:"1ASNTN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"487",op:"eq",val:"ASNT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]}, -{N:"cast",line:"488",flags:"a",as:"1ASNT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"490",op:"eq",val:"ASNTL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"491",flags:"a",as:"1ASNTL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"493",op:"eq",val:"ASNTM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"494",flags:"a",as:"1ASNTK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"496",op:"eq",val:"ASN",C:[{N:"varRef",name:"Q{}type", -slot:"1"}]},{N:"cast",line:"497",flags:"a",as:"1ASN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"499",op:"eq",val:"AS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"500",flags:"a",as:"1AS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"502",op:"eq",val:"AQ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"503",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"505",op:"eq",val:"AU",C:[{N:"varRef",name:"Q{}type", -slot:"1"}]},{N:"cast",line:"506",flags:"a",as:"1AU",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"508",op:"eq",val:"AA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"509",flags:"a",as:"1AA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"511",op:"eq",val:"AM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"512",flags:"a",as:"1AM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"514",op:"eq",val:"AMP",C:[{N:"varRef",name:"Q{}type", -slot:"1"}]},{N:"cast",line:"515",flags:"a",as:"1AMP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"517",op:"eq",val:"AT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"518",flags:"a",as:"1AT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"520",op:"eq",val:"AR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"521",flags:"a",as:"1AR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"523",op:"eq",val:"ARD",C:[{N:"varRef",name:"Q{}type", -slot:"1"}]},{N:"cast",line:"524",flags:"a",as:"1ARD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"526",op:"eq",val:"ARY",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"527",flags:"a",as:"1ARY",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"529",op:"eq",val:"AG",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"530",flags:"a",as:"1AG",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"532",op:"eq",val:"AH",C:[{N:"varRef",name:"Q{}type", -slot:"1"}]},{N:"cast",line:"533",flags:"a",as:"1AH",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"535",op:"eq",val:"AI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"536",flags:"a",as:"1AI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"538",op:"eq",val:"AJ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"539",flags:"a",as:"1AJ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"541",op:"eq",val:"AK",C:[{N:"varRef",name:"Q{}type", -slot:"1"}]},{N:"cast",line:"542",flags:"a",as:"1AK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"544",op:"eq",val:"AD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"545",flags:"a",as:"1AD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"547",op:"eq",val:"ADI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"548",flags:"a",as:"1ADI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"550",op:"eq",val:"ADIN",C:[{N:"varRef",name:"Q{}type", -slot:"1"}]},{N:"cast",line:"551",flags:"a",as:"1ADIN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"553",op:"eq",val:"ADINN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"554",flags:"a",as:"1ADINN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"556",op:"eq",val:"ADIP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"557",flags:"a",as:"1ADIP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"559",op:"eq",val:"ADIPP",C:[{N:"varRef", -name:"Q{}type",slot:"1"}]},{N:"cast",line:"560",flags:"a",as:"1ADIPP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"562",op:"eq",val:"ADIPL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"563",flags:"a",as:"1ADIPL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"565",op:"eq",val:"ADIPLI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"566",flags:"a",as:"1ADIPLI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"568",op:"eq", -val:"ADIPLIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"569",flags:"a",as:"1ADIPLIS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"571",op:"eq",val:"ADIPLISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"572",flags:"a",as:"1ADIPLISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"574",op:"eq",val:"ADIL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"575",flags:"a",as:"1ADIL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", -line:"577",op:"eq",val:"ADILI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"578",flags:"a",as:"1ADILI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"580",op:"eq",val:"ADILIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"581",flags:"a",as:"1ADILIS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"583",op:"eq",val:"ADILISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"584",flags:"a",as:"1ADILISB",C:[{N:"varRef",name:"Q{}a", -slot:"0"}]},{N:"compareToString",line:"586",op:"eq",val:"AO",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"587",flags:"a",as:"1AO",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"589",op:"eq",val:"AF",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"590",flags:"a",as:"1AF",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"592",op:"eq",val:"A2",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"593",flags:"a",as:"1A2",C:[{N:"varRef",name:"Q{}a", -slot:"0"}]},{N:"compareToString",line:"595",op:"eq",val:"AX",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"596",flags:"a",as:"1AX",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"598",op:"eq",val:"AZ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"cast",line:"599",flags:"a",as:"1AZ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"true"},{N:"varRef",line:"602",name:"Q{}a",slot:"0"}]}]}]},{N:"co",id:"133",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ONE_OR_MORE", -as:"1ADI",line:"108",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"6"}]}]},{N:"co",id:"134",binds:"",C:[{N:"function",name:"Q{MyFunctions}error-code",line:"31",module:"lib.xsl",eval:"8",flags:"pU",as:"1AQ",slots:"1",C:[{N:"arg",name:"Q{}code",as:"*"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"33",name:"QName",C:[{N:"str", -val:"http://www.w3.org/2005/xqt-errors"},{N:"treat",as:"AS",diag:"0|1||fn:QName",C:[{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||fn:QName",C:[{N:"varRef",name:"Q{}code",slot:"0"}]}]}]}]}]}]}]},{N:"co",id:"70",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_MANY",as:"1ADI",line:"107",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"4"}]}]},{N:"co",id:"135",binds:"",C:[{N:"mode",name:"Q{}process-bindings",onNo:"SC",flags:"W", -patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.0",seq:"318",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"s",line:"297",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"301", -flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"308",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"choose",C:[{N:"fn",name:"matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}flags"}]}]},{N:"str",val:"c"},{N:"str",val:""}]},{N:"int",val:"-1"},{N:"true"},{N:"let",line:"299","var":"Q{}name",as:"1AS",slot:"0", -eval:"8",C:[{N:"fn",name:"concat",C:[{N:"str",val:"M:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"308",type:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]}, -{N:"int",val:"1"}]}]}]}]}]}]}]},{N:"applyT",line:"316",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"315",rank:"0",minImp:"0",slots:"4",matches:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"s",line:"254",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"256",C:[{N:"param",name:"Q{}global-shadows",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|global-shadows",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|global-shadows",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"257","var":"Q{}name",as:"1AS",slot:"1",eval:"8",C:[{N:"fn",name:"concat",C:[{N:"str",val:"V:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"copy",line:"259",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef", -C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"261",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}name",as:"1AS",slot:"2",eval:"1",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"261",type:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn", -name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"2"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"let",line:"264","var":"Q{}shadow",slot:"3",eval:"3",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}global-shadows",slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"sequence",line:"265",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}shadow",slot:"3"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N", -comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}shadow",slot:"3"}]}]}]}]},{N:"att",line:"266",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{}shadow",slot:"3"}]}]}]},{N:"str",val:" "}]}]}]},{N:"applyT",line:"270",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"312",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co",flags:"s",line:"85",module:"component-bindings.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", -test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"85",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"86","var":"Q{}patterns",as:"*NE",slot:"0",eval:"4",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role",chk:"0"}]},{N:"str",val:"match"}]}]},{N:"nextMatch", -line:"87",flags:"t",C:[{N:"withParam",name:"Q{}patternSlots",flags:"t",as:"1ADI",C:[{N:"arith",line:"92",op:"+",calc:"i+i",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"cast",flags:"a",as:"1ADI",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}patterns",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent"}]}]}]}]},{N:"fn",name:"max",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}patterns", -slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}varRef"}]},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot",chk:"0"}]}]},{N:"int",val:"-1"}]}]}]},{N:"int",val:"1"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"314",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co",flags:"s",line:"119",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"sequence", -role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"121",name:"Q{}globals",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion", -as:"FM",diag:"8|0|XTTE0590|globals",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|globals",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"122",name:"Q{}patternSlots",slot:"2",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose", -line:"124",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"125",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing component "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, -{N:"choose",line:"132",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}patternSlots",slot:"2"},{N:"int",val:"0"}]}]},{N:"fn",name:"empty",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"copy",line:"135",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str", -val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"149",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str", -val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"},{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"314",part:"1",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator",flags:"s",line:"119",module:"component-bindings.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied", -slot:"0"}]}]}]},{N:"param",line:"121",name:"Q{}globals",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|globals",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|globals",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"122",name:"Q{}patternSlots",slot:"2",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots", -C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"124",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"125",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing component "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]}]}]}, -{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"132",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}patternSlots",slot:"2"},{N:"int",val:"0"}]}]},{N:"fn",name:"empty",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"copy", -line:"135",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"149",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert", -from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"},{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"313",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mode", -flags:"s",line:"96",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mode"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"97",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1", -diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"99",name:"Q{}patternSlots",slot:"1",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"choose",line:"100",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options", -slot:"0"},{N:"str",val:"traceProgress"}]},{N:"sequence",line:"101",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing mode "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"message",line:"102",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str", -val:"PatternSlots: "},{N:"fn",name:"string",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}patternSlots",slot:"1"}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"copy",line:"105",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mode",C:[{N:"sequence",role:"content",C:[{N:"copyOf",flags:"c",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"106",name:"patternSlots",flags:"l",C:[{N:"convert", -from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}patternSlots",slot:"1"}]}]},{N:"applyT",line:"107",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"321",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"s",line:"346",module:"component-bindings.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}, -{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration"}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"348",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"349",name:"slot",flags:"l",C:[{N:"fn",name:"string-join", -C:[{N:"convert",from:"A",to:"AS",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current-1669077356",as:"1",slot:"0",eval:"16",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AS",slot:"1",eval:"13",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current-1669077356",slot:"0"},{N:"attVal",name:"Q{}name",chk:"0"}]}]},{N:"data",C:[{N:"slash", -simple:"2",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}param"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC", -C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"1"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"350",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"320",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}callT",flags:"s",line:"333",module:"component-bindings.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}callT"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"337",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}callT",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"339",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI", -to:"AS",C:[{N:"let",line:"335","var":"Q{}name",as:"1AS",slot:"0",eval:"8",C:[{N:"fn",name:"concat",C:[{N:"str",val:"T:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"339",type:"1NE nQ{http://ns.saxonica.com/xslt/export}callT",flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str", -val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"342",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"316",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall",flags:"s",line:"273",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"277",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}ufCall",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"279",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",line:"275","var":"Q{}name",as:"1AS",slot:"0",eval:"8",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:"#"},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis", -name:"child",nodeTest:"NE"}]}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"279",type:"1NE nQ{http://ns.saxonica.com/xslt/export}ufCall",flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"282",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child", -nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"317",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef",flags:"s",line:"285",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"289", -flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}ufRef",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"291",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",line:"287","var":"Q{}name",as:"1AS",slot:"0",eval:"8",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:"#"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}arity"}]}]}, -{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"291",type:"1NE nQ{http://ns.saxonica.com/xslt/export}ufRef",flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"294",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule", -prec:"0",prio:"0.0",seq:"311",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}package",flags:"s",line:"32",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}package"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"33",C:[{N:"param",name:"Q{}options", -slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"35","var":"Q{}globals",slot:"1",eval:"8",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"ifCall",line:"58",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM", -C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:symbolic-name#1",C:[{N:"forEach",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|actor",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"choose",line:"61",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalParam,NE nQ{http://ns.saxonica.com/xslt/export}globalVariable]"}]},{N:"fn",line:"62",name:"concat",C:[{N:"str",val:"V:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"64",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}attributeSet"}]},{N:"fn",line:"65",name:"concat",C:[{N:"str",val:"A:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"67", -name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"fn",line:"68",name:"concat",C:[{N:"str",val:"T:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"70",name:"exists",C:[{N:"axis", -name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]},{N:"fn",line:"71",name:"concat",C:[{N:"str",val:"M:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"fn",line:"73",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"}]},{N:"fn",line:"74",name:"concat",C:[{N:"str", -val:"F:"},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:"#"},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]},{N:"true"},{N:"str",val:"???"}]}]}]},{N:"fn",line:"35",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"sequence",line:"36",C:[{N:"choose", -C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"37",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Globals:"},{N:"fn",name:"count",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}globals",slot:"1"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"copy",line:"40",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}package", -C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"41",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}globals",flags:"t",C:[{N:"varRef",line:"42",name:"Q{}globals",slot:"1"}]},{N:"withParam",name:"Q{}global-shadows",flags:"t",as:"1FM",C:[{N:"ifCall",line:"51",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}, +nodeTest:"NA nQ{}use"}]}]},{N:"str",val:"absent"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"s"}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",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:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"att",name:"slots",flags:"l", +C:[{N:"str",val:"200"}]},{N:"choose",line:"276",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"2"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"277",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"applyT",line:"279",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"choose",line:"280",C:[{N:"fn",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"sequence",line:"281",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"att",line:"282",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"callT",line:"284",name:"Q{}record-location",bSlot:"11"},{N:"applyT",line:"285",mode:"Q{}sef",bSlot:"12",C:[{N:"except", +role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"1",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/XML/1998/namespace}base"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/XML/1998/namespace}space"}]}]}]}]}, +{N:"applyT",line:"287",mode:"Q{}sef",bSlot:"13",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]},{N:"callT",line:"290",name:"Q{}sequence-constructor",bSlot:"14",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"291",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"15"},{N:"str",val:"body"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"388",rank:"2",minImp:"0",slots:"0", +matches:"NA nQ{}as",flags:"s",line:"1710",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}as"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1711",C:[{N:"fn",role:"name",name:"name", +C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]},{N:"fn",role:"select",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{}as",flags:"a"}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"201",rank:"4",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"298",module:"callable-components.xsl",C:[{N:"p.withUpper", +role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"298",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}name"}]}]},{N:"str",val:"xsl:initial-template"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]}, +{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"299",name:"name",C:[{N:"str",val:"Q{http://www.w3.org/1999/XSL/Transform}initial-template"}]}]}]}]},{N:"co",id:"11",binds:"22 22 22 22 22 22",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"106",module:"lib.xsl",flags:"pU",as:"1AS",slots:"7",C:[{N:"arg",name:"Q{}name.in",as:"1AS"},{N:"arg", +name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}error-code",as:"1AS"},{N:"arg",name:"Q{}xpath-default-namespace",as:"?AS"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"112",card:"1",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:EQName#4", +C:[{N:"data",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"try",flags:"r",C:[{N:"let","var":"Q{}name",as:"1AS",slot:"4",C:[{N:"fn",name:"normalize-space",C:[{N:"varRef",name:"Q{}name.in",slot:"0"}]},{N:"choose",line:"113",C:[{N:"fn",line:"114",name:"starts-with",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:"Q{"}]},{N:"varRef",line:"115",name:"Q{}name",slot:"4"},{N:"fn",line:"117",name:"contains",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:":"}]},{N:"let",line:"119","var":"Q{}local",as:"1AS", +slot:"5",C:[{N:"fn",name:"substring-after",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:":"}]},{N:"sequence",line:"120",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"castable",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}local",slot:"5"}]}]},{N:"ufCall",line:"121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"fn",name:"concat",C:[{N:"str",val:"Invalid local name: "},{N:"varRef",name:"Q{}name",slot:"4"}]},{N:"varRef",name:"Q{}context", +slot:"1"}]}]},{N:"let",line:"123","var":"Q{}uri",as:"?AU",slot:"6",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"fn",line:"118",name:"substring-before",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:":"}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"sequence",line:"124",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]},{N:"ufCall",line:"125",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE0280"},{N:"fn",name:"concat",C:[{N:"str", +val:"Unbound prefix in QName: "},{N:"varRef",name:"Q{}name",slot:"4"}]},{N:"varRef",name:"Q{}context",slot:"1"}]}]},{N:"fn",line:"127",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"varRef",name:"Q{}uri",slot:"6"}]},{N:"str",val:"}"}]},{N:"varRef",name:"Q{}local",slot:"5"}]}]}]}]}]},{N:"fn",line:"129",name:"not",C:[{N:"castable",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}name",slot:"4"}]}]},{N:"sequence",line:"130",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"2",C:[{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:" is not a valid name"}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]},{N:"true"},{N:"fn",line:"133",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"varRef",name:"Q{}xpath-default-namespace",slot:"3"}]},{N:"str",val:"}"}]},{N:"varRef",name:"Q{}name",slot:"4"}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}FOCA0002", +C:[{N:"sequence",line:"136",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"3",C:[{N:"str",val:"XTSE0280"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}context", +slot:"1"}]},{N:"str",val:"Q{}error"}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTSE0080 Q{http://www.w3.org/2005/xqt-errors}XTSE0280 Q{http://www.w3.org/2005/xqt-errors}XTSE0808",C:[{N:"sequence",line:"138",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"4",C:[{N:"check",card:"1",diag:"0|0||f:syntax-error-at",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:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}, +{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"139",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"5",C:[{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]},{N:"str",val:" code:"}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat", +C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]}]}]}]}]}]}]}]}]},{N:"co",id:"165",binds:"",C:[{N:"function",name:"Q{MyTypes}withOccurrenceIndicator",line:"1198",module:"type.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"arg",name:"Q{}indicator",as:"1AS"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1201",name:"concat",C:[{N:"varRef",name:"Q{}indicator",slot:"1"},{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]}]},{N:"co",id:"141",binds:"",C:[{N:"mode",name:"Q{}attribute-sans-prefix",onNo:"FF",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"394",rank:"0",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"1758",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"compAtt", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1759",C:[{N:"fn",role:"name",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"convert",role:"select",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]}]},{N:"co",id:"166",binds:"162",C:[{N:"template",name:"Q{http://www.w3.org/1999/XSL/Transform}initial-template", +flags:"os",line:"239",module:"XSLT-SEF-compiler.xsl",slots:"0",C:[{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"240",name:"Desc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"valueOf",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg607192333",bSlot:"0"}]}]}]}]},{N:"co",id:"145",binds:"52",C:[{N:"globalVariable", +name:"Q{http://saxon.sf.net/generated-variable}gg519751097",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"}, +{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:""},{N:"str",val:"xsl:evaluate"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"48",binds:"",C:[{N:"globalVariable",name:"Q{}known-namespaces",as:"1FM k[AS] v[1AS]",line:"549",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"12",C:[{N:"str",val:"err"},{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"str",val:"fn"},{N:"str",val:"http://www.w3.org/2005/xpath-functions"},{N:"str",val:"math"}, +{N:"str",val:"http://www.w3.org/2005/xpath-functions/math"},{N:"str",val:"ixsl"},{N:"str",val:"http://saxonica.com/ns/interactiveXSLT"},{N:"str",val:"js"},{N:"str",val:"http://saxonica.com/ns/globalJS"},{N:"str",val:"saxon"},{N:"str",val:"http://saxon.sf.net/"},{N:"str",val:"xsi"},{N:"str",val:"http://www.w3.org/2001/XMLSchema-instance"},{N:"str",val:"xsl"},{N:"str",val:"http://www.w3.org/1999/XSL/Transform"},{N:"str",val:"xml"},{N:"str",val:"http://www.w3.org/XML/1998/namespace"},{N:"str",val:"array"}, +{N:"str",val:"http://www.w3.org/2005/xpath-functions/array"},{N:"str",val:"xs"},{N:"str",val:"http://www.w3.org/2001/XMLSchema"},{N:"str",val:"map"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map"}]}]}]},{N:"co",id:"37",binds:"",C:[{N:"globalVariable",name:"Q{}html-ascii-case-insensitive.collation",as:"1AU",line:"28",module:"sorting.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"atomic",val:"http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensitive",type:"AU"}]}]},{N:"co", +id:"167",binds:"168 111 40",C:[{N:"template",name:"Q{}compileXSLTschema",flags:"os",line:"361",module:"XSLT-syntax.xsl",slots:"0",C:[{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"362",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",line:"363",C:[{N:"att",name:"version",flags:"l",C:[{N:"str",val:"3.0"}]},{N:"namespace",line:"364", +flags:"l",C:[{N:"str",role:"name",val:"f"},{N:"str",role:"select",val:"MyFunctions"}]},{N:"comment",line:"365",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1960031800",bSlot:"0"}]},{N:"elem",line:"366",name:"xsl:variable",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",line:"367",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"xslt.schema"}]},{N:"att",line:"368",name:"select",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"ufCall",name:"Q{MyFunctions}serialize", +tailCall:"false",bSlot:"1",C:[{N:"gVarRef",name:"Q{}xslt.schema",bSlot:"2"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]},{N:"co",id:"128",binds:"",C:[{N:"globalVariable",name:"Q{}type-error-map",as:"1FM k[AS] v[1AS]",line:"249",module:"xpath.xsl",visibility:"PRIVATE",C:[{N:"map",size:"4",C:[{N:"str",val:"withParam"},{N:"str",val:"XTTE0590"},{N:"str",val:"globalParam"},{N:"str",val:"XTTE0590"},{N:"str",val:"template"},{N:"str",val:"XTTE0505"},{N:"str",val:"globalVariable"},{N:"str",val:"XTTE0570"}]}]}]},{N:"co", +id:"169",vis:"PRIVATE",binds:"",C:[{N:"function",name:"Q{MyFunctions}pvt-emit-literal",line:"23",module:"XSLT-value-template.xsl",flags:"pU",as:"1NA",slots:"1",C:[{N:"arg",name:"Q{}in",as:"1AS"},{N:"att",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation f=MyFunctions xs=~ xsl=~ xml=~",line:"26",name:"literal",C:[{N:"varRef",name:"Q{}in",slot:"0"}]}]}]},{N:"co",id:"170",binds:"120 22 22 90 171 106 164 172 172 172 22 22 22 22 159 173 22 22 25 22 22 111 111 22 174 174 174 174 174 174 174 174 174 174 174 174 174 174 174 34 22 75 90 175 170 34 34 22", +C:[{N:"mode",name:"Q{}process-module",onNo:"FF",flags:"F",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"1.5",seq:"3",rank:"2",minImp:"0",slots:"74",matches:"NE",flags:"s",line:"129",module:"static.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 nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"p.nodeTest",test:"ND"}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}, +{N:"p.nodeTest",test:"ND"}]}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"p.nodeTest",test:"ND"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"130",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM", +diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"137",name:"Q{}moduleLabel",slot:"1",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"data",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"supplied",slot:"1"}]}]}]}]}]}, +{N:"param",line:"145",name:"Q{}precLabel",slot:"2",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|precLabel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|precLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"data",diag:"8|0|XTTE0590|precLabel",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"146",name:"Q{}static-vars",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat", +role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"147",name:"Q{}static-isParam",slot:"4",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-isParam",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-isParam",C:[{N:"supplied",slot:"4"}]}]}]},{N:"param",line:"148",name:"Q{}var-slots",slot:"5",flags:"t",as:"1FM",C:[{N:"map", +role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param",line:"149",name:"Q{}next-slot",slot:"6",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot", +C:[{N:"supplied",slot:"6"}]}]}]}]}]},{N:"param",line:"150",name:"Q{}imported",slot:"7",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|imported",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|imported",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|imported",C:[{N:"data",diag:"8|0|XTTE0590|imported",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"param",line:"151",name:"Q{}top-level",slot:"8",flags:"t",as:"1AB",C:[{N:"true",role:"select"},{N:"treat",role:"conversion", +as:"AB",diag:"8|0|XTTE0590|top-level",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|top-level",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|top-level",C:[{N:"data",diag:"8|0|XTTE0590|top-level",C:[{N:"supplied",slot:"8"}]}]}]}]}]},{N:"param",line:"152",name:"Q{}params",slot:"9",flags:"t",as:"1FM k[AQ]",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM k[AQ]",diag:"8|0|XTTE0590|params",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|params",C:[{N:"supplied",slot:"9"}]}]}]},{N:"param",line:"153", +name:"Q{}stylesheet-stack",slot:"10",flags:"t",as:"*AU",C:[{N:"fn",role:"select",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"supplied",slot:"10"}]}]}]}]},{N:"param",line:"154",name:"Q{}stylesheet-base-uri",slot:"11",flags:"t",as:"1AU",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|stylesheet-base-uri", +C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"11"}]}]}]}]}]},{N:"param",line:"155",name:"Q{}parent-version",slot:"12",flags:"t",as:"?AD",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AD", +diag:"8|0|XTTE0590|parent-version",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|parent-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|parent-version",C:[{N:"data",diag:"8|0|XTTE0590|parent-version",C:[{N:"supplied",slot:"12"}]}]}]}]}]},{N:"let",line:"159","var":"Q{}version",as:"1AD",slot:"20",C:[{N:"callT",line:"160",name:"Q{}XSLT-version",bSlot:"0"},{N:"let",line:"162","var":"Q{}xpath-default-namespace",as:"?NA",slot:"21",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}, +{N:"let",line:"163","var":"Q{}stylesheet-properties",as:"*NA",slot:"22",C:[{N:"sequence",line:"164",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"},{N:"choose",line:"165",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"att",line:"166",name:"expand-text",C:[{N:"str",val:"no"}]}]},{N:"choose",line:"168",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}parent-version", +slot:"12"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"20"},{N:"varRef",name:"Q{}parent-version",slot:"12"}]}]},{N:"axis",line:"169",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",line:"175",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"ufCall",line:"187",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", +bSlot:"1",C:[{N:"str",val:"XTSE0120"},{N:"convert",line:"178",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|message",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|message",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"valueOf",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"valueOf",line:"179",C:[{N:"str",val:" cannot have non-whitespace text node children. "}]}, +{N:"choose",line:"181",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NT"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]}]},{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"str",val:"' just after "},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +"var":"Q{}node",as:"1N",slot:"23",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:path",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NT"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]}]}]},{N:"choose",module:"lib.xsl",line:"406",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}loc"}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"attVal",name:"Q{}loc"}]}]}]}]}]}]},{N:"true"},{N:"convert",line:"408",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a", +as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"23"}]}]}]}]}]}]}]}]},{N:"fn",line:"182",name:"exists",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"}]},{N:"valueOf",line:"182",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"str", +val:"' just before "},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"24",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:path",C:[{N:"first",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"}]}]}, +{N:"choose",module:"lib.xsl",line:"406",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"24"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}loc"}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"24"},{N:"attVal",name:"Q{}loc"}]}]}]}]}]}]},{N:"true"}, +{N:"convert",line:"408",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"24"}]}]}]}]}]}]}]}]},{N:"true"},{N:"valueOf",line:"183",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data", +diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"str",val:"'"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"forEach",line:"190",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"ufCall",line:"191",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"2",C:[{N:"str",val:"XTSE0130"}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"name",C:[{N:"dot",type:"1N u[NE,ND]"}]}]}]},{N:"str",val:" cannot have a no-namespace child element:"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"dot",type:"1NE"}]}]},{N:"choose",line:"194",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"}]}]}, +{N:"ufCall",line:"195",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"3",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"A stylesheet module may not contain more than one xsl:global-context-item element"}]}]},{N:"let",line:"203","var":"Q{}not-discarded",as:"1AB",slot:"25",C:[{N:"choose",line:"204",C:[{N:"fn",line:"205",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"}]},{N:"callT",line:"206",name:"Q{}check-use-when",bSlot:"4"},{N:"true"},{N:"true"}]},{N:"let",line:"214", +"var":"Q{}result",as:"1FM",slot:"26",flags:"e",C:[{N:"treat",line:"220",as:"FM",diag:"3|0|XTTE0570|result",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|result",C:[{N:"iterate",C:[{N:"choose",role:"select",C:[{N:"varRef",name:"Q{}not-discarded",slot:"25"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"params",role:"params",line:"221",C:[{N:"param",name:"Q{}components",slot:"13",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|components", +C:[{N:"supplied",slot:"13"}]}]},{N:"param",line:"222",name:"Q{}inner-static-vars",slot:"14",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}static-vars",slot:"3"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|inner-static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|inner-static-vars",C:[{N:"supplied",slot:"14"}]}]}]},{N:"param",line:"223",name:"Q{}static-isParam",slot:"15",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}static-isParam",slot:"4"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-isParam", +C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-isParam",C:[{N:"supplied",slot:"15"}]}]}]},{N:"param",line:"225",name:"Q{}vars-in-import",slot:"16",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|vars-in-import",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|vars-in-import",C:[{N:"supplied",slot:"16"}]}]}]},{N:"param",line:"226",name:"Q{}isParam-in-import",slot:"17",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|isParam-in-import", +C:[{N:"check",card:"1",diag:"8|0|XTTE0590|isParam-in-import",C:[{N:"supplied",slot:"17"}]}]}]},{N:"param",line:"227",name:"Q{}var-slots",slot:"18",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}var-slots",slot:"5"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"18"}]}]}]},{N:"param",line:"228",name:"Q{}next-slot",slot:"19",as:"1ADI",C:[{N:"varRef",role:"select",name:"Q{}next-slot",slot:"6"},{N:"treat", +role:"conversion",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"supplied",slot:"19"}]}]}]}]}]}]},{N:"ifCall",role:"on-completion",line:"256",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:"components"},{N:"varRef", +name:"Q{}components",slot:"13"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"static-vars"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"static-isParam"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots", +slot:"18"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"next-slot"},{N:"varRef",name:"Q{}next-slot",slot:"19"}]}]},{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",role:"action",line:"263","var":"Q{}possible.component",as:"?NE",slot:"27",C:[{N:"treat",line:"264",as:"NE",diag:"3|0|XTTE0570|possible.component",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|possible.component", +C:[{N:"applyT",mode:"Q{}static",bSlot:"5",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"withParam",name:"Q{}static-vars",flags:"t",as:"1FM",C:[{N:"varRef",line:"265",name:"Q{}inner-static-vars",slot:"14"}]},{N:"withParam",name:"Q{}var-slots",flags:"t",as:"1FM",C:[{N:"varRef",line:"266",name:"Q{}var-slots",slot:"18"}]},{N:"withParam",name:"Q{}next-slot",flags:"t",as:"1ADI",C:[{N:"varRef",line:"267",name:"Q{}next-slot",slot:"19"}]},{N:"withParam",name:"Q{}static-isParam", +flags:"t",as:"1FM",C:[{N:"varRef",line:"268",name:"Q{}static-isParam",slot:"15"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA",C:[{N:"varRef",line:"269",name:"Q{}xpath-default-namespace",slot:"21"}]},{N:"withParam",name:"Q{}XSLT-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"270",name:"Q{}version",slot:"20"}]},{N:"withParam",name:"Q{}stylesheet-properties",flags:"t",as:"*NA",C:[{N:"varRef",line:"271",name:"Q{}stylesheet-properties",slot:"22"}]},{N:"withParam",name:"Q{}has-uniform-static-context", +flags:"t",as:"1AB",C:[{N:"ufCall",line:"272",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"6",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]}]}]},{N:"let",line:"277","var":"Q{}isStaticVariable",as:"1AB",slot:"28",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"7",C:[{N:"slash",simple:"1",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"false"}]},{N:"let",line:"278","var":"Q{}isStaticParam",as:"1AB",slot:"29",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"8",C:[{N:"slash",simple:"1",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"false"}]},{N:"choose", +line:"280",C:[{N:"or",line:"279",op:"or",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isStaticVariable",slot:"28"}]},{N:"let",line:"287","var":"Q{}name",as:"?AQ",slot:"30",C:[{N:"choose",C:[{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:"attVal",name:"Q{}name"}]}]},{N:"str",val:":"}]},{N:"fn",name:"resolve-QName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:resolve-QName", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:resolve-QName",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"true"},{N:"fn",name:"QName",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|1||fn:QName",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:QName",C:[{N:"attVal",name:"Q{}name"}]}]}]}]}]},{N:"let",line:"288","var":"Q{}value",slot:"31",C:[{N:"forEach",line:"291",C:[{N:"varRef",name:"Q{}possible.component", +slot:"27"},{N:"let",line:"292","var":"Q{}isRequired",slot:"32",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"9",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"},{N:"false"}]},{N:"let",line:"293","var":"Q{}isSupplied",as:"1AB",slot:"33",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}params",slot:"9"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose", +line:"296",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"choose",line:"311",C:[{N:"fn",line:"298",name:"exists",C:[{N:"sequence",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"10",C:[{N:"choose",C:[{N:"fn",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"str",val:"XTSE0620"},{N:"true"},{N:"str",val:"XTSE0010"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" "}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" must not have a sequence constructor"}]},{N:"dot",type:"1NE"}]}]},{N:"and",line:"313",op:"and",C:[{N:"varRef",name:"Q{}isRequired",slot:"32"}, +{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"ufCall",line:"316",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Required static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" "}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" must not have a default value"}]},{N:"dot",type:"1NE"}]}, +{N:"and",line:"318",op:"and",C:[{N:"varRef",name:"Q{}isStaticVariable",slot:"28"},{N:"gc",op:"!=",card:"N:1",comp:"CCC",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"},{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}visibility"}]}]}]},{N:"str",val:"private"}]}]},{N:"ufCall",line:"322",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"12",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" "}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" must have private visibility"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"325",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isSupplied", +slot:"33"}]}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"attVal",name:"Q{}as"}]}]},{N:"str",val:"(\\*|\\?)\\s*?"},{N:"str",val:""}]}]}]},{N:"ufCall",line:"329",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"str",val:"XTDE0700"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"str",val:"No value for implicitly mandatory static parameter "},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" has been supplied"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"331",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isSupplied",slot:"33"}]},{N:"let",line:"332","var":"Q{}supplied",slot:"34",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}params",slot:"9"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef", +name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"334",C:[{N:"and",line:"335",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"instance",of:"1AZ",C:[{N:"varRef",name:"Q{}supplied",slot:"34"}]}]},{N:"let",line:"337","var":"Q{}targetType",slot:"35",C:[{N:"lookup",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"337",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type", +C:[{N:"attVal",name:"Q{}as"}]}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"337",type:"1NE"},{N:"str",val:""}]}]},{N:"str",val:"p"}]},{N:"let",line:"338","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"36",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:cast",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:cast",C:[{N:"cvUntyped",to:"AS", +diag:"0|1||f:cast",C:[{N:"data",diag:"0|1||f:cast",C:[{N:"varRef",name:"Q{}targetType",slot:"35"}]}]}]}]},{N:"forEach",C:[{N:"varRef",name:"Q{}supplied",slot:"34"},{N:"ufCall",name:"Q{MyFunctions}cast",tailCall:"false",bSlot:"14",C:[{N:"atomSing",diag:"0|0||f:cast",C:[{N:"dot"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"36"}]}]}]}]},{N:"fn",line:"340",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"342","var":"Q{}targetType",slot:"37", +C:[{N:"lookup",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"static.xsl",line:"342",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type",C:[{N:"attVal",name:"Q{}as"}]}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"342",type:"1NE"},{N:"str",val:""}]}]},{N:"str",val:"p"}]},{N:"let",line:"344", +"var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AS",slot:"38",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:isInstance",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:isInstance",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:isInstance",C:[{N:"data",diag:"0|1||f:isInstance",C:[{N:"varRef",name:"Q{}targetType",slot:"37"}]}]}]}]},{N:"choose",line:"343",C:[{N:"every",line:"344","var":"Q{}item",slot:"39",C:[{N:"varRef",name:"Q{}supplied",slot:"34"},{N:"ufCall",name:"Q{MyFunctions}isInstance", +tailCall:"false",bSlot:"15",C:[{N:"varRef",name:"Q{}item",slot:"39"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"38"}]}]},{N:"varRef",line:"345",name:"Q{}supplied",slot:"34"},{N:"true"},{N:"ufCall",line:"350",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",C:[{N:"str",val:"XTDE0050"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Supplied value of static parameter "},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" does not match the required type"}]}, +{N:"dot",type:"1NE"}]}]}]}]},{N:"true"},{N:"varRef",line:"355",name:"Q{}supplied",slot:"34"}]}]},{N:"and",line:"360",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isRequired",slot:"32"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isSupplied",slot:"33"}]}]},{N:"ufCall",line:"363",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",C:[{N:"str",val:"XTDE0050"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"No value for required static parameter "}, +{N:"attVal",name:"Q{}name"}]},{N:"str",val:" has been supplied"}]},{N:"dot",type:"1NE"}]},{N:"fn",line:"365",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"let",line:"369","var":"Q{}xpath",as:"1AS",slot:"40",flags:"e",C:[{N:"choose",line:"370",C:[{N:"fn",line:"371",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"372","var":"Q{}type",slot:"41",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"372",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type", +C:[{N:"attVal",name:"Q{}as"}]}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"372",type:"1NE"},{N:"str",val:""}]}]},{N:"choose",line:"373",C:[{N:"and",line:"375",op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"o"}]}]},{N:"str",val:"1"}]}]},{N:"convert",line:"375",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast", +flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as"}]}]},{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]},{N:"str",val:")"}]}]}]}]},{N:"and",line:"377",op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"o"}]}]},{N:"str",val:"?"}]}]},{N:"convert",line:"377",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast", +flags:"a",as:"1AZ",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{}select"}]}]},{N:"str",val:") cast as "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as"}]}]}]}]}]}]},{N:"fn",line:"378",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"convert",line:"378",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",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{}select"}]}]},{N:"str",val:") ! "},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false", +bSlot:"18",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"static.xsl",line:"378",name:"Q{}type",slot:"41"},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"str",val:"(.)"}]}]}]}]},{N:"true"},{N:"convert",line:"379",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",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{}select"}]}]},{N:"str",val:") treat as "},{N:"fn",name:"string", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as"}]}]}]}]}]}]}]}]},{N:"true"},{N:"convert",line:"382",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|xpath",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select"}]}]}]}]}]}]},{N:"let",line:"385","var":"Q{}nsContext",as:"1NE c~untyped",slot:"42",flags:"e",C:[{N:"let",line:"386","var":"Q{}dot",as:"1",slot:"43",C:[{N:"dot", +type:"1NE"},{N:"compElem",line:"387",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"21"}]}]}]},{N:"forEach",role:"content",line:"388",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"390",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str", +val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"43"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"try",line:"398",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}xpath",slot:"40"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"varRef", +role:"nsCxt",name:"Q{}nsContext",slot:"42"},{N:"str",role:"sa",val:"no"},{N:"ifCall",role:"options",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:"allow-xslt-functions"},{N:"true"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots",slot:"18"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"}, +{N:"str",val:"XQDY0137"}]}]},{N:"varRef",role:"wp",name:"Q{}inner-static-vars",slot:"14"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"400",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050X"},{N:"check",card:"1",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:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"ufCall",line:"405",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",C:[{N:"str",val:"XTDE3160"},{N:"fn",line:"404",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",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:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info", +type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:"Static error in XPath expression supplied to xsl:evaluate:"},{N:"str",val:"Error in static expression:"},{N:"str",val:""}]},{N:"dot",type:"1NE"}]}]}]}]}]},{N:"fn",line:"416",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"empty"},{N:"true"},{N:"str",val:""}]}]}]}]},{N:"let",line:"426","var":"Q{}m",as:"1FM",slot:"44",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"varRef",name:"Q{}vars-in-import", +slot:"16"},{N:"true"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"sequence",line:"427",C:[{N:"choose",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"428",C:[{N:"and",line:"429",op:"and",C:[{N:"instance",of:"1F",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"instance", +of:"1FA",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"fn",name:"not",C:[{N:"instance",of:"1FM",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"message",line:"430",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Warning: unable to check consistency of multiply-defined variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AQ",to:"AS",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"str",val:" with function(*) type\n "}]}]},{N:"str", +role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"fn",line:"433",name:"not",C:[{N:"fn",name:"deep-equal",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"varRef",name:"Q{}value",slot:"31"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}, +{N:"ufCall",line:"436",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"20",C:[{N:"str",val:"XTSE3450"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting values for static variable "},{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"str",val:"\n"}]},{N:"check",line:"437",card:"?",diag:"0|1||fn:concat",C:[{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"21", +C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"str",val:"\nand:\n"}]},{N:"check",line:"439",card:"?",diag:"0|1||fn:concat",C:[{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"22",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]}]},{N:"str",val:"*#xA;"}]},{N:"check",line:"439",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef", +name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"choose",line:"448",C:[{N:"let","var":"Q{}m",slot:"45",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"varRef",name:"Q{}isParam-in-import",slot:"17"},{N:"true"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"and",op:"and",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}, +{N:"or",op:"or",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef", +name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]}]},{N:"ufCall",line:"451",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"23",C:[{N:"str",val:"XTSE3450"},{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting declarations for static param/variable "},{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component", +slot:"27"}]}]}]},{N:"let",line:"462","var":"Q{}this-slot",as:"1A",slot:"46",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}next-slot",slot:"19"},{N:"choose",C:[{N:"instance",of:"1F",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"fn",name:"function-arity",C:[{N:"treat",as:"F",diag:"0|0||fn:function-arity",C:[{N:"check",card:"1",diag:"0|0||fn:function-arity",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"true"},{N:"int",val:"0"}]}]},{N:"let",line:"466","var":"Q{}grounded-value",as:"1AB", +slot:"47",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1A",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"nextIteration",line:"565",C:[{N:"withParam",name:"Q{}inner-static-vars",as:"1FM",slot:"14",C:[{N:"ifCall",line:"567",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}inner-static-vars",slot:"14"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef", +name:"Q{}value",slot:"31"}]}]},{N:"withParam",name:"Q{}static-isParam",as:"1FM",slot:"15",C:[{N:"ifCall",line:"568",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}static-isParam",slot:"15"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}isStaticParam",slot:"29"}]}]},{N:"withParam",name:"Q{}vars-in-import",as:"1FM",slot:"16",C:[{N:"choose",line:"574",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"ifCall", +name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}vars-in-import",slot:"16"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"true"},{N:"varRef",name:"Q{}vars-in-import",slot:"16"}]}]},{N:"withParam",name:"Q{}isParam-in-import",as:"1FM",slot:"17",C:[{N:"choose",line:"580",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", +type:"1FM",C:[{N:"varRef",name:"Q{}isParam-in-import",slot:"17"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"true"},{N:"varRef",name:"Q{}isParam-in-import",slot:"17"}]}]},{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"587",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"choose",C:[{N:"varRef",name:"Q{}grounded-value",slot:"47"},{N:"choose",line:"469",C:[{N:"varRef",name:"Q{}grounded-value", +slot:"47"},{N:"let",line:"540","var":"Q{http://saxon.sf.net/generated-variable}v21",as:"1AB",slot:"48",flags:"l",C:[{N:"instance",of:"1AZ",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"537","var":"Q{http://saxon.sf.net/generated-variable}v20",as:"1AB",slot:"49",flags:"l",C:[{N:"instance",of:"1AN",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"534","var":"Q{http://saxon.sf.net/generated-variable}v19",as:"1AB",slot:"50",flags:"l",C:[{N:"instance",of:"1AQ",C:[{N:"varRef",name:"Q{}value", +slot:"31"}]},{N:"let",line:"531","var":"Q{http://saxon.sf.net/generated-variable}v18",as:"1AB",slot:"51",flags:"l",C:[{N:"instance",of:"1AX",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"528","var":"Q{http://saxon.sf.net/generated-variable}v17",as:"1AB",slot:"52",flags:"l",C:[{N:"instance",of:"1A2",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"525","var":"Q{http://saxon.sf.net/generated-variable}v16",as:"1AB",slot:"53",flags:"l",C:[{N:"instance",of:"1AK",C:[{N:"varRef",name:"Q{}value", +slot:"31"}]},{N:"let",line:"522","var":"Q{http://saxon.sf.net/generated-variable}v15",as:"1AB",slot:"54",flags:"l",C:[{N:"instance",of:"1AI",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"519","var":"Q{http://saxon.sf.net/generated-variable}v14",as:"1AB",slot:"55",flags:"l",C:[{N:"instance",of:"1AJ",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"516","var":"Q{http://saxon.sf.net/generated-variable}v13",as:"1AB",slot:"56",flags:"l",C:[{N:"instance",of:"1AG",C:[{N:"varRef",name:"Q{}value", +slot:"31"}]},{N:"let",line:"513","var":"Q{http://saxon.sf.net/generated-variable}v12",as:"1AB",slot:"57",flags:"l",C:[{N:"instance",of:"1AH",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"510","var":"Q{http://saxon.sf.net/generated-variable}v11",as:"1AB",slot:"58",flags:"l",C:[{N:"instance",of:"1AT",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"507","var":"Q{http://saxon.sf.net/generated-variable}v10",as:"1AB",slot:"59",flags:"l",C:[{N:"instance",of:"1ARD",C:[{N:"varRef", +name:"Q{}value",slot:"31"}]},{N:"let",line:"504","var":"Q{http://saxon.sf.net/generated-variable}v9",as:"1AB",slot:"60",flags:"l",C:[{N:"instance",of:"1ARY",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"501","var":"Q{http://saxon.sf.net/generated-variable}v8",as:"1AB",slot:"61",flags:"l",C:[{N:"instance",of:"1AA",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"498","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"1AB",slot:"62",flags:"l",C:[{N:"instance",of:"1AMP",C:[{N:"varRef", +name:"Q{}value",slot:"31"}]},{N:"let",line:"495","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"63",flags:"l",C:[{N:"instance",of:"1AM",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"492","var":"Q{http://saxon.sf.net/generated-variable}v5",as:"1AB",slot:"64",flags:"l",C:[{N:"or",op:"or",C:[{N:"instance",of:"1AS",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1AU",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"let",line:"488","var":"Q{http://saxon.sf.net/generated-variable}v4", +as:"1AB",slot:"65",flags:"l",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"instance",of:"1AD",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1AO",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"instance",of:"1AF",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"let",line:"477","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"66",flags:"l",C:[{N:"instance",of:"1AB",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"474","var":"Q{http://saxon.sf.net/generated-variable}v2", +as:"1AB",slot:"67",flags:"l",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"check",line:"470",card:"?",diag:"3|0|XTTE0570|variable.component",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"copy",line:"471",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"472",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"474",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"67"},{N:"att",line:"475",name:"select", +flags:"l",C:[{N:"str",val:"()"}]},{N:"varRef",line:"477",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"66"},{N:"att",line:"484",name:"select",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}value",slot:"31"},{N:"str",val:"true()"},{N:"true"},{N:"str",val:"false()"}]}]},{N:"varRef",line:"488",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"65"},{N:"att",line:"489",name:"select",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:"31"}]}]}]},{N:"str",val:" "}]}]},{N:"varRef",line:"492",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"64"},{N:"att",line:"493",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]},{N:"varRef",line:"495",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"63"},{N:"att",line:"496",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}, +{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"24",C:[{N:"str",val:"dateTime"}]}]}]}]}]},{N:"varRef",line:"498",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"62"},{N:"att",line:"499",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "}, +{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"25",C:[{N:"str",val:"dateTimeStamp"}]}]}]}]}]},{N:"varRef",line:"501",name:"Q{http://saxon.sf.net/generated-variable}v8",slot:"61"},{N:"att",line:"502",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall", +name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"26",C:[{N:"str",val:"date"}]}]}]}]}]},{N:"varRef",line:"504",name:"Q{http://saxon.sf.net/generated-variable}v9",slot:"60"},{N:"att",line:"505",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq", +tailCall:"false",bSlot:"27",C:[{N:"str",val:"yearMonthDuration"}]}]}]}]}]},{N:"varRef",line:"507",name:"Q{http://saxon.sf.net/generated-variable}v10",slot:"59"},{N:"att",line:"508",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false", +bSlot:"28",C:[{N:"str",val:"dayTimeDuration"}]}]}]}]}]},{N:"varRef",line:"510",name:"Q{http://saxon.sf.net/generated-variable}v11",slot:"58"},{N:"att",line:"511",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"29", +C:[{N:"str",val:"time"}]}]}]}]}]},{N:"varRef",line:"513",name:"Q{http://saxon.sf.net/generated-variable}v12",slot:"57"},{N:"att",line:"514",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"30",C:[{N:"str",val:"gYearMonth"}]}]}]}]}]}, +{N:"varRef",line:"516",name:"Q{http://saxon.sf.net/generated-variable}v13",slot:"56"},{N:"att",line:"517",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"31",C:[{N:"str",val:"gYear"}]}]}]}]}]},{N:"varRef",line:"519", +name:"Q{http://saxon.sf.net/generated-variable}v14",slot:"55"},{N:"att",line:"520",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"32",C:[{N:"str",val:"gMonthDay"}]}]}]}]}]},{N:"varRef",line:"522",name:"Q{http://saxon.sf.net/generated-variable}v15", +slot:"54"},{N:"att",line:"523",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"33",C:[{N:"str",val:"gMonth"}]}]}]}]}]},{N:"varRef",line:"525",name:"Q{http://saxon.sf.net/generated-variable}v16",slot:"53"},{N:"att", +line:"526",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"34",C:[{N:"str",val:"gDay"}]}]}]}]}]},{N:"varRef",line:"528",name:"Q{http://saxon.sf.net/generated-variable}v17",slot:"52"},{N:"att",line:"529",name:"select", +flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"35",C:[{N:"str",val:"base64Binary"}]}]}]}]}]},{N:"varRef",line:"531",name:"Q{http://saxon.sf.net/generated-variable}v18",slot:"51"},{N:"att",line:"532",name:"select",flags:"l",C:[{N:"convert", +from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"36",C:[{N:"str",val:"hexBinary"}]}]}]}]}]},{N:"varRef",line:"534",name:"Q{http://saxon.sf.net/generated-variable}v19",slot:"50"},{N:"att",line:"535",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS", +C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"37",C:[{N:"str",val:"QName"}]}]}]}]}]},{N:"varRef",line:"537",name:"Q{http://saxon.sf.net/generated-variable}v20",slot:"49"},{N:"att",line:"538",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a", +as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"38",C:[{N:"str",val:"NOTATION"}]}]}]}]}]},{N:"varRef",line:"540",name:"Q{http://saxon.sf.net/generated-variable}v21",slot:"48"},{N:"choose",line:"544",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as", +C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"castable",flags:"a",as:"1AO",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"castable",flags:"a",as:"1AF",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"att",line:"545",name:"select",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:"31"}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"att", +line:"549",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]}]}, +{N:"true"},{N:"sequence",line:"554",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Unexpected atomic type; treating as string: "},{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:"31"}]}]}]},{N:"str",val:" "}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"att",line:"555",name:"select",flags:"l",C:[{N:"convert", +from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}, +{N:"true"},{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]},{N:"withParam",name:"Q{}var-slots",as:"1FM",slot:"18",C:[{N:"ifCall",line:"588",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}var-slots",slot:"18"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}this-slot",slot:"46"}]}]},{N:"withParam",name:"Q{}next-slot",as:"1ADI",slot:"19",C:[{N:"arith",line:"589",op:"+",calc:"i+i",C:[{N:"varRef", +name:"Q{}this-slot",slot:"46"},{N:"int",val:"1"}]}]}]}]}]}]}]}]}]},{N:"fn",line:"592",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}import,NE nQ{http://www.w3.org/1999/XSL/Transform}include]"}]}]},{N:"let",line:"594","var":"Q{}imported",as:"1AB",slot:"68",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"self", +nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"}]}]},{N:"let",line:"595","var":"Q{}doc",as:"1ND",slot:"69",C:[{N:"check",line:"596",card:"1",diag:"3|0|XTTE0570|doc",C:[{N:"sequence",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]},{N:"treat",line:"598",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"39",C:[{N:"fn", +name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"str",val:" must have an @href attribute"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"choose",line:"600",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}, +{N:"treat",line:"602",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"40",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" must be empty"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"let",line:"607","var":"Q{}bad-attributes",as:"*NA", +slot:"70",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"except",op:"except",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]},{N:"docOrder",intra:"1",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-validation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]},{N:"sequence",line:"608",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}bad-attributes",slot:"70"}]}, +{N:"treat",line:"609",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}wrongAttribute",tailCall:"false",bSlot:"41",C:[{N:"check",card:"+",diag:"0|0||f:wrongAttribute",C:[{N:"first",C:[{N:"varRef",name:"Q{}bad-attributes",slot:"70"}]}]}]}]}]},{N:"let",line:"611","var":"Q{}uri",as:"?AU",slot:"71",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:"slash",C:[{N:"varRef",name:"Q{}possible.component", +slot:"27"},{N:"attVal",name:"Q{}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:"first",C:[{N:"sequence",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"11"}]}]}]}]}]},{N:"sequence",line:"612",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}stylesheet-stack",slot:"10"},{N:"varRef",name:"Q{}uri", +slot:"71"}]},{N:"treat",line:"619",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"42",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"str",val:"XTSE0210"},{N:"true"},{N:"str",val:"XTSE0180"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Document "},{N:"varRef",name:"Q{}uri",slot:"71"}]},{N:"str",val:" is recursively including or importing itself"}]}]}]}]},{N:"choose",line:"621",C:[{N:"lookup",C:[{N:"varRef", +name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"treat",line:"622",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Import/Include static processing for"},{N:"varRef",name:"Q{}uri",slot:"71"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"callT",line:"625",name:"Q{}collect-doc",bSlot:"43",C:[{N:"withParam",name:"Q{}uri",flags:"c",as:"?AU",C:[{N:"varRef",line:"626", +name:"Q{}uri",slot:"71"}]}]}]}]}]}]}]}]},{N:"sequence",line:"630",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"sequence",line:"631",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"$doc:"},{N:"fn",name:"serialize",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"69"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}, +{N:"message",line:"632",C:[{N:"sequence",role:"select",C:[{N:"str",val:"base-uri($doc):"},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"69"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"let",line:"635","var":"Q{}collected",as:"1FM",slot:"72",C:[{N:"let",line:"639","var":"Q{}suffix",as:"1AS",slot:"73", +C:[{N:"fn",name:"codepoints-to-string",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"int",val:"50000"},{N:"cvUntyped",line:"637",to:"ADI",diag:"3|0|XTTE0570|index",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"numSeqFmt",C:[{N:"nodeNum",role:"value",level:"single",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"p.venn",role:"count",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"}]}]}, +{N:"str",role:"startAt",val:"0"}]}]}]}]}]},{N:"treat",line:"640",as:"FM",diag:"3|0|XTTE0570|collected",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|collected",C:[{N:"applyT",mode:"Q{}process-module",bSlot:"44",C:[{N:"slash",role:"select",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"69"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}imported",as:"1AB",C:[{N:"varRef",line:"643",name:"Q{}imported",slot:"68"}]},{N:"withParam",name:"Q{}top-level",flags:"t",as:"1AB",C:[{N:"false"}]},{N:"withParam", +name:"Q{}static-vars",flags:"t",as:"1FM",C:[{N:"varRef",line:"644",name:"Q{}inner-static-vars",slot:"14"}]},{N:"withParam",name:"Q{}var-slots",flags:"t",as:"1FM",C:[{N:"varRef",line:"645",name:"Q{}var-slots",slot:"18"}]},{N:"withParam",name:"Q{}next-slot",flags:"t",as:"1ADI",C:[{N:"varRef",line:"646",name:"Q{}next-slot",slot:"19"}]},{N:"withParam",name:"Q{}static-isParam",flags:"t",as:"1FM",C:[{N:"varRef",line:"647",name:"Q{}static-isParam",slot:"15"}]},{N:"withParam",name:"Q{}stylesheet-stack",flags:"t", +as:"*AU",C:[{N:"sequence",line:"648",C:[{N:"varRef",name:"Q{}stylesheet-stack",slot:"10"},{N:"fn",name:"base-uri",C:[{N:"varRef",name:"Q{}doc",slot:"69"}]}]}]},{N:"withParam",name:"Q{}parent-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"649",name:"Q{}version",slot:"20"}]},{N:"withParam",name:"Q{}precLabel",flags:"t",as:"1AS",C:[{N:"choose",line:"655",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}moduleLabel",slot:"1"},{N:"varRef",name:"Q{}suffix",slot:"73"}]}, +{N:"true"},{N:"varRef",name:"Q{}precLabel",slot:"2"}]}]},{N:"withParam",name:"Q{}moduleLabel",flags:"t",as:"1AS",C:[{N:"fn",line:"656",name:"concat",C:[{N:"varRef",name:"Q{}moduleLabel",slot:"1"},{N:"varRef",name:"Q{}suffix",slot:"73"}]}]}]}]}]}]},{N:"sequence",line:"659",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"message",line:"660",C:[{N:"sequence",role:"select",C:[{N:"str",val:"$collected:"},{N:"fn",name:"serialize",C:[{N:"varRef", +name:"Q{}collected",slot:"72"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"adaptive"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"nextIteration",line:"663",C:[{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"664",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"treat",as:"NE",diag:"8|0|XTTE0590|components",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str", +val:"components"}]}]}]}]},{N:"withParam",name:"Q{}inner-static-vars",as:"1FM",slot:"14",C:[{N:"ifCall",line:"670",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"treat",as:"FM",diag:"0|0||map:merge",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"static-vars"}]}]}]},{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:"withParam",name:"Q{}static-isParam",as:"1FM",slot:"15",C:[{N:"ifCall",line:"676",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"68"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"treat",as:"FM",diag:"0|0||map:merge",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"static-isParam"}]}]}]}, +{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:"withParam",name:"Q{}var-slots",as:"1FM",slot:"18",C:[{N:"treat",line:"677",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"var-slots"}]}]}]}]},{N:"withParam",name:"Q{}next-slot",as:"1ADI",slot:"19",C:[{N:"treat",line:"678",as:"ADI",diag:"8|0|XTTE0590|next-slot", +C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"72"},{N:"str",val:"next-slot"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"nextIteration",line:"684",C:[{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"685",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]}]}]}]}]}]}]}, +{N:"varRef",line:"691",name:"Q{}result",slot:"26"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.45",seq:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"113",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"p.nodeTest",test:"ND"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"114",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"45",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]},{N:"str",val:" must not appear at the outermost level of a stylesheet module"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.4",seq:"2",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"117",module:"static.xsl",C:[{N:"p.venn", +role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"118",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", +bSlot:"46",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" can only be a child of a document-node, not a '"}]},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"' element"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.4",seq:"0",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",as:"1FM", +line:"89",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE"},{N:"p.nodeTest",test:"ND"}]},{N:"check",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"91",card:"1",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"sequence",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}, +{N:"treat",line:"93",as:"FM",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"47",C:[{N:"str",val:"XTSE0150"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}package"}]},{N:"str",val:"Supplied stylesheet is a SEF package"},{N:"true"},{N:"str",val:"Simplified stylesheet root element lacks @xsl:version"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"treat",line:"108", +as:"FM",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"applyT",flags:"ct",bSlot:"-1",C:[{N:"slash",role:"select",line:"96",simple:"1",C:[{N:"doc",C:[{N:"elem",line:"97",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"att",line:"98",name:"xml:base",nsuri:"http://www.w3.org/XML/1998/namespace", +flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"100",name:"xsl:template",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"match",flags:"l",C:[{N:"str",val:"/"}]},{N:"copy",line:"101",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"102",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]}]}]},{N:"axis",line:"108", +name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"co",id:"156",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_BOOLEAN",as:"1FM k[AS] v[1AS]",line:"28",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AB"}]}]}]},{N:"co",id:"154",binds:"154",C:[{N:"function",name:"Q{MyFunctions}nodeTestPriority",line:"61",module:"pattern.xsl",flags:"pU",as:"1AD",slots:"4",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"tailCallLoop", +role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"63",C:[{N:"let","var":"Q{}p",as:"1AS",slot:"1",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|p",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|p",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|p",C:[{N:"data",diag:"3|0|XTTE0570|p",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]}]}]}]}]}, +{N:"let",line:"64","var":"Q{}n",as:"?AS",slot:"2",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|n",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|n",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|n",C:[{N:"data",diag:"3|0|XTTE0570|n",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"n"}]}]}]}]}]},{N:"let",line:"65","var":"Q{}c",as:"?AS",slot:"3",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|c",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|c",C:[{N:"cvUntyped", +to:"AS",diag:"3|0|XTTE0570|c",C:[{N:"data",diag:"3|0|XTTE0570|c",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"c"}]}]}]}]}]},{N:"choose",line:"67",C:[{N:"fn",line:"68",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"e"}]}]},{N:"ufCall",line:"70",name:"Q{MyFunctions}nodeTestPriority",tailCall:"self",bSlot:"0",C:[{N:"treat",as:"FM",diag:"0|0||f:nodeTestPriority",C:[{N:"check",card:"1",diag:"0|0||f:nodeTestPriority",C:[{N:"lookup",C:[{N:"varRef", +name:"Q{}type",slot:"0"},{N:"str",val:"e"}]}]}]}]},{N:"and",line:"72",op:"and",C:[{N:"compareToString",op:"eq",val:"N",C:[{N:"varRef",name:"Q{}p",slot:"1"}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"u"}]}]}]},{N:"dec",val:"-0.5"},{N:"and",line:"74",op:"and",C:[{N:"compareToString",op:"eq",val:"NE",C:[{N:"varRef",name:"Q{}p",slot:"1"}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"u"}]}]}]},{N:"dec",val:"0"}, +{N:"and",line:"75",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}n",slot:"2"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}c",slot:"3"}]}]},{N:"dec",val:"0.25"},{N:"fn",line:"76",name:"exists",C:[{N:"varRef",name:"Q{}c",slot:"3"}]},{N:"dec",val:"0"},{N:"fn",line:"77",name:"exists",C:[{N:"varRef",name:"Q{}n",slot:"2"}]},{N:"choose",line:"78",C:[{N:"or",line:"79",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}n",slot:"2"},{N:"str",val:"*:"}]},{N:"fn",name:"ends-with",C:[{N:"varRef", +name:"Q{}n",slot:"2"},{N:"str",val:"}*"}]}]},{N:"dec",val:"-0.25"},{N:"vc",line:"80",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}n",slot:"2"},{N:"str",val:"*"}]},{N:"dec",val:"-0.5"},{N:"true"},{N:"dec",val:"0"}]},{N:"true"},{N:"dec",val:"-0.5"}]}]}]}]}]}]}]},{N:"co",id:"176",binds:"",C:[{N:"function",name:"Q{coBindings}find-reference",line:"196",module:"component-bindings.xsl",flags:"pU",as:"*AS",slots:"2",C:[{N:"arg",name:"Q{}bindings",as:"*AS"},{N:"arg",name:"Q{}name",as:"1AS"},{N:"choose", +role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"205",C:[{N:"fn",name:"exists",C:[{N:"fn",name:"index-of",C:[{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]}]},{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"true"},{N:"sequence",C:[{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]}]}]}]},{N:"co",id:"177", +binds:"1",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",as:"1AS",line:"52",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"52",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"NP"}]}]}]}]},{N:"co",id:"178",binds:"",C:[{N:"function",name:"Q{MyFunctions}innermostExNs",line:"163",module:"namespaces.xsl", +flags:"pU",as:"?NA",slots:"1",C:[{N:"arg",name:"Q{}node",as:"1N"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"co",id:"179",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_STRING",as:"1FM k[AS] v[1AS]",line:"25",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"AS"}]}]}]},{N:"co",id:"180",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg330224683", +as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str", +val:"0"},{N:"str",val:"XTTE3180"},{N:"str",val:"xsl:copy/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"181",binds:"",C:[{N:"function",name:"Q{MyFunctions}precedence-sort",line:"652",module:"XSLT-SEF-compiler.xsl",flags:"pU",as:"*NE",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*NE"},{N:"sort",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"654", +C:[{N:"varRef",role:"select",name:"Q{}input",slot:"0"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"co",id:"182",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SAME_TYPE", +as:"1AS",line:"162",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"EQ"}]}]},{N:"co",id:"183",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ONE_OR_MORE",as:"1ADI",line:"108",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"6"}]}]},{N:"co",id:"184",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ELEMENT",as:"1FM k[AS] v[1AS]",line:"34",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str", +val:"p"},{N:"str",val:"NE"}]}]}]},{N:"co",id:"185",binds:"",C:[{N:"function",name:"Q{MyFunctions}stackTrace",line:"503",module:"lib.xsl",flags:"pU",as:"*",slots:"0",C:[{N:"empty",role:"body"}]}]},{N:"co",id:"186",binds:"",C:[{N:"function",name:"Q{MyFunctions}plainAtt",line:"830",module:"normalize.xsl",flags:"pU",as:"*NA",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"832",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"co",id:"187",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_FLOAT",as:"1FM k[AS] v[1AS]",line:"18",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"AF"}]}]}]},{N:"co",id:"188",binds:"",C:[{N:"function", +name:"Q{MyFunctions}notify",line:"397",module:"lib.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}code",as:"1AS"},{N:"arg",name:"Q{}message",as:"1AS"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"400",name:"error",C:[{N:"fn",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"varRef",line:"400",name:"Q{}code", +slot:"0"}]},{N:"varRef",name:"Q{}message",slot:"1"}]}]}]},{N:"co",id:"35",binds:"34",C:[{N:"function",name:"Q{MyFunctions}missingChild",line:"819",module:"normalize.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}child",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"822",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", +tailCall:"foreign",bSlot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"str",val:" requires a child element "}]},{N:"varRef",name:"Q{}child",slot:"1"}]},{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]},{N:"co",id:"189",binds:"",C:[{N:"function",name:"Q{MyFunctions}combinedRelationship",line:"296",module:"type.xsl",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}rel1",as:"1AS"},{N:"arg",name:"Q{}rel2",as:"1AS"},{N:"choose", +role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"314",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"varRef",name:"Q{}rel2",slot:"1"}]},{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"varRef",name:"Q{}rel2",slot:"1"}]},{N:"str",val:"DJ"}]},{N:"str",val:"DJ"},{N:"compareToString", +op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel1",slot:"0"}]},{N:"varRef",name:"Q{}rel2",slot:"1"},{N:"compareToString",op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel2",slot:"1"}]},{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"true"},{N:"str",val:"OV"}]}]}]},{N:"co",id:"190",binds:"38 172 22 126 191 111 192 192 22 22 193 22 194 22 18 22 172 22 18 22 195 195 22 18 164 48 141 18 164 23 22 22 163 164 22 18 164 22 22 90 18 164 18 196 141 20 147 172 22 126 191 111 192 192 22 22 193 22 194 22 18 22 172 22 18 22 195 195 22 18 164 48 141 18 164 23 22 22 163 164 22 18 164 22 22 90 18 164 18 196 141 20 147 172 22 126 191 111 192 192 22 22 193 22 194 22 18 22 172 22 18 22 195 195 22 18 164 48 141 18 164 23 22 22 163 164 22 18 164 22 22 90 18 164 18 196 141 20 147", +C:[{N:"mode",name:"Q{}sef.top",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"5.0",seq:"326",rank:"8",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6",seq:"364",rank:"7",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"359",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"104",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"355",rank:"5",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"96",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"344",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"62",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", +name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"340",rank:"3",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA", +C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"53",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data", +diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03",seq:"336",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"45",flags:"t", +C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"332",rank:"1",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"38",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"376",part:"1",rank:"0",minImp:"0",slots:"257",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform",flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"671",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675","var":"Q{}this",as:"1",slot:"87",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"88",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"89",flags:"l", +C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package",slot:"88"}]},{N:"let",line:"679","var":"Q{}location",as:"1NA",slot:"90",C:[{N:"att",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"91",C:[{N:"choose", +C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"},{N:"dec",val:"3"}]},{N:"let",line:"1177","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"92",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", +slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"93",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"94",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS", +slot:"95",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility",as:"1AB",slot:"96",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]},{N:"let",line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"97",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"ufCall",name:"Q{MyFunctions}boolean-string", +tailCall:"false",bSlot:"1",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets",as:"*A",slot:"98",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"702",C:[{N:"choose",C:[{N:"lookup", +C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"711","var":"Q{}sorted-precedence-labels",as:"*AS",slot:"99",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels", +C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn",name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]},{N:"let",line:"716","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"100",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse", +C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"764","var":"Q{}named-template-signatures",as:"1FM",slot:"101",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"102",C:[{N:"let","var":"Q{}highest-precedence", +slot:"103",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"check",card:"+",diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"varRef",name:"Q{}highest-precedence",slot:"103"}]}]}]}]},{N:"sequence", +line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"102"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"2",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at", +C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775","var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"104",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest",slot:"102"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"105",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}, +{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal",name:"Q{}tunnel"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}highest",slot:"104"}]}]}]},{N:"str",role:"terminate", +val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{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:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"105"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{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:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{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-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}params",slot:"105"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"}, +{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash", +C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"104"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"3"}]}]}]}]},{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:"XTDE3365"}]}]},{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795",C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"106",C:[{N:"treat",as:"FM", +diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map",tailCall:"false",bSlot:"4",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence",line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence",role:"select",C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false", +bSlot:"5",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"106"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"805","var":"Q{}defined-character-maps",as:"*A",slot:"107",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}, +{N:"let",line:"808","var":"Q{}output-declarations",as:"+NE",slot:"108",flags:"e",C:[{N:"condSeq",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"808",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"809","var":"Q{}group-name",as:"*A",slot:"109",C:[{N:"currentGroupingKey"}, +{N:"elem",line:"811",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"109"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"109"}]},{N:"str",val:" "}]}]}]}, +{N:"elem",line:"815",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"95"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]}, +{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS",slot:"110",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}, +{N:"let",line:"826","var":"Q{}active",as:"+NA",slot:"111",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"110"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property", +bSlot:"6",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"111"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"111"}]}]}]}]}]},{N:"forEachGroup",line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation", +val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"112",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property",bSlot:"7",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"112"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"112"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]},{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"let",line:"847","var":"Q{}use-char-maps", +slot:"113",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}in",as:"*A",slot:"114",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",C:[{N:"let","var":"Q{}input",as:"*NE",slot:"115",C:[{N:"filter",flags:"b", +C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]},{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"115"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"descending"},{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:"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:"attVal",name:"Q{}use-character-maps"}]}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}in",slot:"114"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation", +val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"116",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"113"},{N:"choose",role:"return",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"107"},{N:"varRef",name:"Q{}c",slot:"116"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"109"}]}]},{N:"str",val:" references a non-existent character map "}]},{N:"varRef",name:"Q{}c",slot:"116"}]}]}]}]}, +{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-character-maps"}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"113"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"864",C:[{N:"elem",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"property", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"872","var":"Q{}character-maps",as:"*NE",slot:"117",C:[{N:"let","var":"Q{}temp",as:"*NE",slot:"118",flags:"e",C:[{N:"treat", +as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"873","var":"Q{}group-name",as:"*A",slot:"119",C:[{N:"currentGroupingKey"},{N:"let",line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"120",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}, +{N:"let",line:"877","var":"Q{}active",slot:"121",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"120"}]}]},{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active",slot:"121"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"8",C:[{N:"str",val:"XTSE1580"},{N:"fn", +name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"119"}]}]},{N:"str",val:" is defined more than once"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join", +C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"119"}]},{N:"str",val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",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:"attVal",name:"Q{}use-character-maps"}]}]}]},{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"107"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"9",C:[{N:"str",val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"119"}]}]},{N:"str",val:" uses non-existent character map "}]},{N:"dot",type:"1AS"}]},{N:"check",card:"1", +diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"},{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped", +to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"attVal",name:"Q{}character"}]}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"122",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"118"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",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:"attVal",name:"Q{}use-character-maps"}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE", +diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}character-map-dependency",slot:"122"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"10",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}character-map-dependency", +slot:"122"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"118"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",C:[{N:"str",val:"XTSE1600"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at", +C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"118"}]}]}]}]}]}]}]}]},{N:"let",line:"915","var":"Q{}expanded-character-maps",as:"*NE",slot:"123",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps", +bSlot:"12",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"117"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"117"}]}]}]},{N:"let",line:"921","var":"Q{}global-context-item",as:"?NE",slot:"124",C:[{N:"let","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",slot:"125",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"check",line:"932",card:"?", +diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]}]},{N:"let","var":"Q{}h",slot:"126",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"127",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d",slot:"127"},{N:"varRef",name:"Q{}h", +slot:"126"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"Inconsistent values for global-context-item"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item", +C:[{N:"applyT",mode:"Q{}sef",bSlot:"14",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"125"}]}]}]}]}]}]},{N:"let",line:"944","var":"Q{}static-context",as:"1FM k[AS]",slot:"128",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:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"96"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"91"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location",slot:"90"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"106"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str", +val:"output-declarations"},{N:"varRef",name:"Q{}output-declarations",slot:"108"}]}]},{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:"953","var":"Q{}keys",as:"*NE",slot:"129",C:[{N:"sequence",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"choose", +role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956","var":"Q{}highest-precedence",as:"?AS",slot:"130",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"958","var":"Q{}highest",slot:"131",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{N:"varRef",name:"Q{}highest-precedence",slot:"130"}]}]},{N:"sequence",line:"959",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]}, +{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",C:[{N:"str",val:"XTSE1220"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at", +C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"131"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"16",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]},{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"17",C:[{N:"str",val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail", +start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"131"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"978","var":"Q{}processed",as:"*NE",slot:"132",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"18",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"withParam", +name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"982",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets",slot:"98"}]}, +{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}processed",slot:"132"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"133",C:[{N:"fn",name:"exists", +C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{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:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"995",C:[{N:"currentGroup"},{N:"copy",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"996",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"133"}, +{N:"fn",name:"not",C:[{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:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags"},{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options", +slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1011","var":"Q{}global.varPars",as:"*NE",slot:"134",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.varPars",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", +role:"content",line:"1013",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, +{N:"ufCall",line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]}, +{N:"let",line:"1022","var":"Q{}global.params",as:"*NE",slot:"135",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"20",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"134"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"128"}]}, +{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A", +C:[{N:"varRef",line:"1029",name:"Q{}defined-attribute-sets",slot:"98"}]}]}]},{N:"let",line:"1033","var":"Q{}global.variables",as:"*NE",slot:"136",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"21",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"134"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t", +as:"1FM k[AS]",C:[{N:"varRef",line:"1034",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures", +slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"98"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let", +line:"1048","var":"Q{}global.functions",as:"*NE",slot:"137",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat", +C:[{N:"str",val:"Processing function "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1054",algorithm:"by",C:[{N:"currentGroup",role:"select"},{N:"fn",role:"key",line:"1052",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"sequence",role:"content",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, +{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"22",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:' name="'}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let", +line:"1059","var":"Q{}head",as:"1N",slot:"138",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"23",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"138"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1061",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}backward-compatibility", +flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"94"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context", +tailCall:"false",bSlot:"24",C:[{N:"varRef",name:"Q{}head",slot:"138"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1076",C:[{N:"str",role:"select",val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1082","var":"Q{}attribute-sets",as:"*NE",slot:"139",C:[{N:"let","var":"Q{}temp", +as:"*NE",slot:"140",flags:"e",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"elem",role:"content",line:"1086",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence", +C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"141",C:[{N:"dot", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"141"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1", +diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"141"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"141"},{N:"axis",name:"namespace",nodeTest:"NN"}]}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"25"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str", +val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"26",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"elem",line:"1090",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091",comp:"DESC|CCC", +C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{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:"applyT",line:"1092",mode:"Q{}sef",bSlot:"27",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"}, +{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1094",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}has-uniform-static-context", +flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"28",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"142",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"140"},{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:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}, +{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"142"}]},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"29",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure",C:[{N:"dot",type:"1A"}]}]},{N:"varRef", +name:"Q{}direct-dependency",slot:"142"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"140"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"30",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec",val:"2"}]}, +{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"87"}]}]}]}]}]}]},{N:"let",line:"1135","var":"Q{}named.templates",as:"*NE", +slot:"143",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc", +op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"31",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "}, +{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"144",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"32",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"144"},{N:"withParam",name:"Q{}static-context", +flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"91"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"93"}]},{N:"withParam",name:"Q{}variables", +flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"136"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1153",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1155",name:"Q{MyFunctions}has-uniform-static-context", +tailCall:"false",bSlot:"33",C:[{N:"varRef",name:"Q{}head",slot:"144"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1165","var":"Q{}accumulators",as:"*NE",slot:"145",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|accumulators", +C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]}, +{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"34",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str", +val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"35",C:[{N:"first",role:"select",C:[{N:"currentGroup"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"90"}]}, +{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"91"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"92"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"136"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures", +slot:"101"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1184",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"36",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message", +line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1206","var":"Q{}templates",as:"*NE",slot:"146",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"147", +C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",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:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209", +"var":"Q{}mode",as:"1",slot:"148",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"147"},{N:"copy",line:"1211",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence",role:"content",line:"1212",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1215",C:[{N:"and",op:"and",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}mode",slot:"148"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]}, +{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}mode",slot:"148"}]}]},{N:"axis",line:"1223",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"149",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates",slot:"146"},{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:"attVal",name:"Q{}mode"}]}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A",slot:"150",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant", +nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes", +slot:"97"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal", +name:"Q{}name"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"37",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"str",val:" must be declared and public in a package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and", +C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"97"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"149"},{N:"varRef",name:"Q{}used-modes",slot:"150"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"38",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1274","var":"Q{}mode.decl",as:"*NE",slot:"151",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup", +algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter",line:"1274",flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]},{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute", +as:"A",slot:"152",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return","var":"Q{}a",slot:"153",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1", +comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute",slot:"152"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"154",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"153"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a",slot:"153"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn", +name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"155",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"153"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}, +{N:"varRef",name:"Q{}max-prec",slot:"154"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}vals",slot:"155"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}attribute",slot:"152"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values", +C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"155"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"156",C:[{N:"fn",name:"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:"first",C:[{N:"varRef",name:"Q{}vals",slot:"155"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"157", +C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"155"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"156"},{N:"varRef",name:"Q{}t",slot:"157"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Mode "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",val:" has conflicting property values for "}]},{N:"varRef",name:"Q{}attribute",slot:"152"}]},{N:"str",val:" which are "}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"155"},{N:"str",val:","}]}]},{N:"str", +val:" on mode "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1312",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"}, +{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:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1323",C:[{N:"sequence",role:"select", +C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl",slot:"151"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"158",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|declared-modes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data", +diag:"3|0|XTTE0570|declared-modes",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"151"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"1335","var":"Q{}undeclared-modes",as:"*A",slot:"159",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"149"},{N:"varRef",name:"Q{}declared-modes",slot:"158"},{N:"varRef",name:"Q{}used-modes",slot:"150"},{N:"data",diag:"0|0||fn:distinct-values", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}declared-modes",slot:"158"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"97"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"159"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error", +tailCall:"false",bSlot:"39",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"159"}]}]},{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1355","var":"Q{}processed-templates",as:"*NE",slot:"160",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"40",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"146"}, +{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"128"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1357",name:"Q{}location",slot:"90"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"91"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"}, +{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"136"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"98"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"101"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]", +C:[{N:"varRef",line:"1365",name:"Q{}precedence-map",slot:"100"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]",diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5", +as:"?ADI",slot:"161",flags:"l",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"100"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"162",flags:"l",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels", +slot:"99"}]},{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"}]}]},{N:"let",line:"737","var":"Q{}index",as:"1ADI",slot:"163",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"164",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"},{N:"varRef",name:"Q{}index",slot:"163"}]},{N:"iterate", +line:"739",C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"163"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"162"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",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:"varRef",name:"Q{}start",slot:"164"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"161"}]},{N:"choose",role:"action",line:"745",C:[{N:"let", +"var":"Q{http://saxon.sf.net/generated-variable}current1506840194",as:"1",slot:"165",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1506840194",slot:"165"}]},{N:"varRef",name:"Q{}start",slot:"164"}]}]}]},{N:"sequence",line:"749",C:[{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:"varRef",name:"Q{}start",slot:"164"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1145717309",as:"1",slot:"166",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"100"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"99"},{N:"arith",op:"-",calc:"i-i", +C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1145717309",slot:"166"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break",line:"746"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"41",C:[{N:"dot",type:"1NE", +flags:"a"}]}]}]}]},{N:"let",line:"1375","var":"Q{}modes",as:"*NE",slot:"167",C:[{N:"forEach",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"151"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"159"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l",C:[{N:"str",val:"text-only-copy"}]}]}]}]}]}, +{N:"elem",line:"1377",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"let","var":"Q{}name",as:"?NA",slot:"168",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"88"},{N:"att",line:"1385",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose", +line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"89"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"169",C:[{N:"choose", +C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"168"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"160"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",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:"attVal",name:"Q{}mode"}]}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"}, +{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"+A",slot:"170",flags:"l",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"168"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"160"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",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:"attVal",name:"Q{}mode"}]}]}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"170"}]}]}]}]},{N:"let",line:"1404","var":"Q{}temp",as:"1NE",slot:"171",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}sef",bSlot:"42",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version", +slot:"91"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1407",name:"Q{}precedence-map",slot:"100"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"145"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp",slot:"171"},{N:"copy",line:"1413",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1414",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416", +C:[{N:"varRef",name:"Q{}mode-templates",slot:"169"},{N:"copy",line:"1417",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1418",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef", +name:"Q{}modes",slot:"167"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"96"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"91"},{N:"dec", +val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str",val:"SaxonJS 2.7"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att",name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str", +val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l",C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"43"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select",val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}, +{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]},{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix",bSlot:"44",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"1444",name:"Q{}global-context-item",slot:"124"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"143"},{N:"varRef",name:"Q{}global.functions",slot:"137"},{N:"varRef",name:"Q{}global.params",slot:"135"},{N:"varRef",name:"Q{}global.variables",slot:"136"},{N:"varRef",name:"Q{}attribute-sets", +slot:"139"},{N:"varRef",name:"Q{}modes",slot:"167"}]},{N:"copy",line:"1447",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1448",C:[{N:"att",name:"id",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis",line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}, +{N:"varRef",line:"1454",name:"Q{}keys",slot:"129"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"108"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps",slot:"123"},{N:"varRef",line:"1454",name:"Q{}accumulators",slot:"145"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"45"},{N:"callT",line:"1457",name:"Q{}strip-space",bSlot:"46",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map",slot:"100"}]}, +{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"376",rank:"0",minImp:"0",slots:"257",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet",flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"sequence",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"671",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1",flags:"t", +as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675","var":"Q{}this",as:"1",slot:"2",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"3",C:[{N:"fn",name:"exists",C:[{N:"axis", +name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"4",flags:"l",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package",slot:"3"}]},{N:"let",line:"678","var":"Q{}location",as:"1NA",slot:"5",C:[{N:"att",line:"679",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize", +C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"6",C:[{N:"choose",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"}, +{N:"dec",val:"3"}]},{N:"let",line:"1177","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"7",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"8",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"9", +flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"10",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility",as:"1AB",slot:"11",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"}, +{N:"dec",val:"2"}]},{N:"let",line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"12",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"47",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets",as:"*A",slot:"13",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2", +C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"702",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"710", +"var":"Q{}sorted-precedence-labels",as:"*AS",slot:"14",C:[{N:"convert",line:"711",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn",name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]}, +{N:"let",line:"714","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"15",C:[{N:"ifCall",line:"716",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str", +val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"762","var":"Q{}named-template-signatures",as:"1FM",slot:"16",C:[{N:"ifCall",line:"764",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis",name:"child", +nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"17",C:[{N:"let","var":"Q{}highest-precedence",slot:"18",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"check",card:"+", +diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"varRef",name:"Q{}highest-precedence",slot:"18"}]}]}]}]},{N:"sequence",line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"17"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"48", +C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775","var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"19",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest", +slot:"17"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"20",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal",name:"Q{}tunnel"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest", +slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}highest",slot:"19"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry", +C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{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:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"20"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{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:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{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-any"},{N:"str",val:"duplicates-error-code"},{N:"str", +val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}params",slot:"20"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash", +simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"19"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}, +{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"49"}]}]}]}]},{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:"XTDE3365"}]}]},{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795", +C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"21",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map",tailCall:"false",bSlot:"50",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence", +line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence",role:"select",C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"51",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"21"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"805","var":"Q{}defined-character-maps", +as:"*A",slot:"22",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"806","var":"Q{}output-declarations",as:"+NE",slot:"23",flags:"e",C:[{N:"condSeq",line:"808",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"808",name:"child", +nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"809","var":"Q{}group-name",as:"*A",slot:"24",C:[{N:"currentGroupingKey"},{N:"elem",line:"810",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"811",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]},{N:"str",val:" "}]}]}]},{N:"elem",line:"815",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att", +name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"10"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]}, +{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS",slot:"25",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"826","var":"Q{}active",as:"+NA", +slot:"26",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"25"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property",bSlot:"52",C:[{N:"first",role:"select",C:[{N:"varRef", +name:"Q{}active",slot:"26"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"26"}]}]}]}]}]},{N:"forEachGroup",line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"27",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property",bSlot:"53",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"27"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"27"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]}, +{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"let",line:"847","var":"Q{}use-char-maps",slot:"28",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +"var":"Q{}in",as:"*A",slot:"29",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",C:[{N:"let","var":"Q{}input",as:"*NE",slot:"30",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]}, +{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"30"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"descending"},{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:"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:"attVal",name:"Q{}use-character-maps"}]}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}in",slot:"29"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"31",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"28"},{N:"choose",role:"return",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"22"},{N:"varRef",name:"Q{}c",slot:"31"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors", +loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"24"}]}]},{N:"str",val:" references a non-existent character map "}]},{N:"varRef",name:"Q{}c",slot:"31"}]}]}]}]},{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-character-maps"}]},{N:"att", +name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"28"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"862",C:[{N:"elem",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",line:"864",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value", +flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"870","var":"Q{}character-maps",as:"*NE",slot:"32",C:[{N:"let",line:"871","var":"Q{}temp",as:"*NE",slot:"33",flags:"e",C:[{N:"treat",line:"872",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content", +line:"873","var":"Q{}group-name",as:"*A",slot:"34",C:[{N:"currentGroupingKey"},{N:"let",line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"35",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"877","var":"Q{}active",slot:"36",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{N:"varRef",name:"Q{}highest-precedence",slot:"35"}]}]},{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active",slot:"36"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"54",C:[{N:"str",val:"XTSE1580"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]}]},{N:"str",val:" is defined more than once"}]}, +{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]},{N:"str",val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",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:"attVal",name:"Q{}use-character-maps"}]}]}]},{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"22"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"55",C:[{N:"str", +val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"34"}]}]},{N:"str",val:" uses non-existent character map "}]},{N:"dot",type:"1AS"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"}, +{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"attVal",name:"Q{}character"}]}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string"}]}]}]}]}]}]}]}]}]}]}]}]}]}, +{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"37",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"33"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",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:"attVal",name:"Q{}use-character-maps"}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE",diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef", +name:"Q{}character-map-dependency",slot:"37"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"56",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}character-map-dependency",slot:"37"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef", +name:"Q{}temp",slot:"33"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"57",C:[{N:"str",val:"XTSE1600"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}, +{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"33"}]}]}]}]}]}]}]}]},{N:"let",line:"914","var":"Q{}expanded-character-maps",as:"*NE",slot:"38",C:[{N:"treat",line:"915",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps",bSlot:"58",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"32"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"32"}]}]}]}, +{N:"let",line:"920","var":"Q{}global-context-item",as:"?NE",slot:"39",C:[{N:"let",line:"921","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",slot:"40",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"check",line:"932",card:"?",diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions", +slot:"40"}]}]},{N:"let","var":"Q{}h",slot:"41",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"42",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d",slot:"42"},{N:"varRef",name:"Q{}h",slot:"41"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item", +C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"59",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"Inconsistent values for global-context-item"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"applyT",mode:"Q{}sef",bSlot:"60",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"40"}]}]}]}]}]}]},{N:"let",line:"944", +"var":"Q{}static-context",as:"1FM k[AS]",slot:"43",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:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"11"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"6"}]},{N:"ifCall", +name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location",slot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"21"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"output-declarations"},{N:"varRef",name:"Q{}output-declarations",slot:"23"}]}]},{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:"952","var":"Q{}keys",as:"*NE",slot:"44",C:[{N:"sequence",line:"953",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"choose",role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956", +"var":"Q{}highest-precedence",as:"?AS",slot:"45",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"958","var":"Q{}highest",slot:"46",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"45"}]}]},{N:"sequence",line:"959", +C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]},{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", +bSlot:"61",C:[{N:"str",val:"XTSE1220"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"}, +{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"62",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]},{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"63",C:[{N:"str", +val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest", +slot:"46"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"46"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"977","var":"Q{}processed",as:"*NE",slot:"47",C:[{N:"treat",line:"978",as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"64",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"withParam",name:"Q{}static-context",flags:"t", +as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"982",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}default-collation", +flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}processed",slot:"47"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"48",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"}, +{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:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"994",C:[{N:"currentGroup"},{N:"copy",line:"995",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"996",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"48"},{N:"fn",name:"not",C:[{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:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags"},{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message", +line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1009","var":"Q{}global.varPars",as:"*NE",slot:"49",C:[{N:"treat",line:"1011",as:"NE",diag:"3|0|XTTE0570|global.varPars",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", +role:"content",line:"1013",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, +{N:"ufCall",line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"65",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]}, +{N:"let",line:"1021","var":"Q{}global.params",as:"*NE",slot:"50",C:[{N:"treat",line:"1022",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"66",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"49"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"43"}]}, +{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef", +line:"1029",name:"Q{}defined-attribute-sets",slot:"13"}]}]}]},{N:"let",line:"1032","var":"Q{}global.variables",as:"*NE",slot:"51",C:[{N:"treat",line:"1033",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"67",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"49"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t", +as:"1FM k[AS]",C:[{N:"varRef",line:"1034",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures",slot:"16"}]}, +{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"13"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1047", +"var":"Q{}global.functions",as:"*NE",slot:"52",C:[{N:"treat",line:"1048",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat", +C:[{N:"str",val:"Processing function "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1052",algorithm:"by",C:[{N:"currentGroup",role:"select"},{N:"fn",role:"key",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"sequence",role:"content",line:"1054",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}, +{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"68",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:' name="'}]},{N:"attVal",name:"Q{}name"}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let", +line:"1059","var":"Q{}head",as:"1N",slot:"53",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"69",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"53"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1061",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}backward-compatibility", +flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"9"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context", +tailCall:"false",bSlot:"70",C:[{N:"varRef",name:"Q{}head",slot:"53"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1076",C:[{N:"str",role:"select",val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1080","var":"Q{}attribute-sets",as:"*NE",slot:"54",C:[{N:"let",line:"1081","var":"Q{}temp", +as:"*NE",slot:"55",flags:"e",C:[{N:"forEachGroup",line:"1082",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"elem",role:"content",line:"1083",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",line:"1086",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context", +as:"1NE",slot:"56",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, +{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"56"},{N:"axis",name:"namespace", +nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"71"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]}, +{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"72",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"elem",line:"1089",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",line:"1090",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091", +comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{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:"applyT",line:"1092",mode:"Q{}sef",bSlot:"73",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1094",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam", +name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"74",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"57",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"55"},{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:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"}, +{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"57"}]},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"75",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure",C:[{N:"dot", +type:"1A"}]}]},{N:"varRef",name:"Q{}direct-dependency",slot:"57"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"55"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"76",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"}, +{N:"dec",val:"2"}]},{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"2"}]}]}]}]}]}]},{N:"let",line:"1134","var":"Q{}named.templates", +as:"*NE",slot:"58",C:[{N:"treat",line:"1135",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]}, +{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"77",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str", +val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"59",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"78",C:[{N:"varRef",role:"select",name:"Q{}head", +slot:"59"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2", +slot:"8"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1153",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall", +line:"1155",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"79",C:[{N:"varRef",name:"Q{}head",slot:"59"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1164","var":"Q{}accumulators", +as:"*NE",slot:"60",C:[{N:"treat",line:"1165",as:"NE",diag:"3|0|XTTE0570|accumulators",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]}, +{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"80",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str", +val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"81",C:[{N:"first",role:"select",C:[{N:"currentGroup"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location", +flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"7"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}named-template-signatures", +flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1184",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"82",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef", +name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1205","var":"Q{}templates",as:"*NE",slot:"61",C:[{N:"forEach",line:"1206",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"62",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",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:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]}, +{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209","var":"Q{}mode",as:"1",slot:"63",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"62"},{N:"copy",line:"1211",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence",role:"content",line:"1212",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1213",C:[{N:"and",line:"1215",op:"and",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}mode",slot:"63"}]}, +{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}mode",slot:"63"}]}]},{N:"axis",line:"1223",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"64",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates", +slot:"61"},{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:"attVal",name:"Q{}mode"}]}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A",slot:"65",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values", +C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"3"}, +{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"12"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"}, +{N:"str",val:"public"}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"83",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"str",val:" must be declared and public in a package"}]}, +{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes", +slot:"12"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"64"},{N:"varRef",name:"Q{}used-modes",slot:"65"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"84",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1271","var":"Q{}mode.decl", +as:"*NE",slot:"66",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter",line:"1274",flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]},{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child", +nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]}]}]},{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute",as:"A",slot:"67",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return","var":"Q{}a",slot:"68",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"}, +{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute",slot:"67"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"69",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"68"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a", +slot:"68"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"70",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"68"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}, +{N:"varRef",name:"Q{}max-prec",slot:"69"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}vals",slot:"70"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}attribute",slot:"67"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values", +C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"71",C:[{N:"fn",name:"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:"first",C:[{N:"varRef",name:"Q{}vals",slot:"70"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"72", +C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"71"},{N:"varRef",name:"Q{}t",slot:"72"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Mode "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",val:" has conflicting property values for "}]},{N:"varRef",name:"Q{}attribute",slot:"67"}]},{N:"str",val:" which are "}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"70"},{N:"str",val:","}]}]},{N:"str", +val:" on mode "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1311",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",line:"1312",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"}, +{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:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1323",C:[{N:"sequence",role:"select", +C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"73",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|declared-modes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data", +diag:"3|0|XTTE0570|declared-modes",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"1335","var":"Q{}undeclared-modes",as:"*A",slot:"74",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"64"},{N:"varRef",name:"Q{}declared-modes",slot:"73"},{N:"varRef",name:"Q{}used-modes",slot:"65"},{N:"data",diag:"0|0||fn:distinct-values", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}declared-modes",slot:"73"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"12"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error", +tailCall:"false",bSlot:"85",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"}]}]},{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1354","var":"Q{}processed-templates",as:"*NE",slot:"75",C:[{N:"treat",line:"1355",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"86",C:[{N:"varRef",role:"select",name:"Q{}templates", +slot:"61"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"43"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1357",name:"Q{}location",slot:"5"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", +slot:"6"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"51"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"13"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"16"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]", +C:[{N:"varRef",line:"1365",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]",diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5", +as:"?ADI",slot:"76",flags:"l",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"15"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"77",flags:"l",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels", +slot:"14"}]},{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"}]}]},{N:"let",line:"737","var":"Q{}index",as:"1ADI",slot:"78",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"79",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"varRef",name:"Q{}index",slot:"78"}]},{N:"iterate",line:"739", +C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"78"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"77"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",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:"varRef",name:"Q{}start",slot:"79"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"76"}]},{N:"choose",role:"action",line:"745",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1506840194", +as:"1",slot:"80",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1506840194",slot:"80"}]},{N:"varRef",name:"Q{}start",slot:"79"}]}]}]},{N:"sequence",line:"749",C:[{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:"varRef",name:"Q{}start",slot:"79"}]}, +{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1145717309",as:"1",slot:"81",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"15"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"14"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1145717309", +slot:"81"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break",line:"746"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"87",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"let",line:"1374","var":"Q{}modes",as:"*NE",slot:"82",C:[{N:"forEach", +line:"1375",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"66"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"74"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l",C:[{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"elem",line:"1376",name:"co",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"let",line:"1377","var":"Q{}name",as:"?NA",slot:"83",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"3"},{N:"att",line:"1385",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose",line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6", +slot:"4"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"84",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"83"}]},{N:"filter",flags:"b",C:[{N:"varRef", +name:"Q{}processed-templates",slot:"75"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",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:"attVal",name:"Q{}mode"}]}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7", +as:"+A",slot:"85",flags:"l",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"83"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"75"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",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:"attVal",name:"Q{}mode"}]}]}]},{N:"varRef", +name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"85"}]}]}]}]},{N:"let",line:"1403","var":"Q{}temp",as:"1NE",slot:"86",C:[{N:"treat",line:"1404",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}sef",bSlot:"88",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version",slot:"6"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef", +line:"1407",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"60"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp",slot:"86"},{N:"copy",line:"1413",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1414",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416",C:[{N:"varRef",name:"Q{}mode-templates",slot:"84"},{N:"copy",line:"1417",flags:"cinl",sit:"1NE",C:[{N:"sequence", +role:"content",line:"1418",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}modes",slot:"82"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error", +val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"11"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"6"},{N:"dec",val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str", +val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str",val:"SaxonJS 2.7"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att",name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l", +C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"89"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select",val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]}, +{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix",bSlot:"90",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}, +{N:"varRef",line:"1444",name:"Q{}global-context-item",slot:"39"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"58"},{N:"varRef",name:"Q{}global.functions",slot:"52"},{N:"varRef",name:"Q{}global.params",slot:"50"},{N:"varRef",name:"Q{}global.variables",slot:"51"},{N:"varRef",name:"Q{}attribute-sets",slot:"54"},{N:"varRef",name:"Q{}modes",slot:"82"}]},{N:"copy",line:"1447",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1448",C:[{N:"att",name:"id", +flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis",line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"varRef",line:"1454",name:"Q{}keys",slot:"44"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"23"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps", +slot:"38"},{N:"varRef",line:"1454",name:"Q{}accumulators",slot:"60"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"91"},{N:"callT",line:"1457",name:"Q{}strip-space",bSlot:"92",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map",slot:"15"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"376",part:"2",rank:"0",minImp:"0",slots:"257",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"s",line:"670",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"671",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"672",name:"Q{}default-mode",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"675","var":"Q{}this",as:"1",slot:"172",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let",line:"676","var":"Q{}in-package",as:"1AB",slot:"173",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"let",line:"1387","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"174",flags:"l", +C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-package",slot:"173"}]},{N:"let",line:"679","var":"Q{}location",as:"1NA",slot:"175",C:[{N:"att",name:"module",C:[{N:"lastOf",line:"677",C:[{N:"fn",name:"tokenize",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:tokenize",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"let",line:"687","var":"Q{}version",as:"1AD",slot:"176",C:[{N:"choose", +C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"check",card:"1",diag:"3|0|XTTE0570|version",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]},{N:"true"},{N:"dec",val:"3"}]},{N:"let",line:"1177","var":"Q{http://saxon.sf.net/generated-variable}v3",as:"1AB",slot:"177",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", +slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"1148","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"178",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"1064","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"179",flags:"l",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"815","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"1AS",slot:"180",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"int",val:"10"}]}]}]},{N:"let",line:"688","var":"Q{}backward-compatibility",as:"1AB",slot:"181",C:[{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"let",line:"696","var":"Q{}require-declared-modes",as:"1AB",slot:"182",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"ufCall", +name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"93",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}declared-modes"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"let",line:"700","var":"Q{}defined-attribute-sets",as:"*A",slot:"183",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence", +line:"702",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"703",C:[{N:"str",role:"select",val:"Finding named template signatures"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"711","var":"Q{}sorted-precedence-labels",as:"*AS",slot:"184",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"cvUntyped", +to:"AS",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"data",diag:"3|0|XTTE0570|sorted-precedence-labels",C:[{N:"fn",name:"sort",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]}]}]}]},{N:"let",line:"716","var":"Q{}precedence-map",as:"1FM k[AS] v[1ADI]",slot:"185",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"reverse",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]},{N:"ifCall",line:"717",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"let",line:"764","var":"Q{}named-template-signatures", +as:"1FM",slot:"186",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"764",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC", +C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"769","var":"Q{}highest", +as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"187",C:[{N:"let","var":"Q{}highest-precedence",slot:"188",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"check",card:"+",diag:"3|0|XTTE0570|highest",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}, +{N:"varRef",name:"Q{}highest-precedence",slot:"188"}]}]}]}]},{N:"sequence",line:"770",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"187"}]}]},{N:"ufCall",line:"773",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"94",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]}, +{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"775","var":"Q{}highest",as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",slot:"189",C:[{N:"first",C:[{N:"varRef",name:"Q{}highest",slot:"187"}]},{N:"let",line:"777","var":"Q{}params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"190",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest", +slot:"189"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"attVal",name:"Q{}tunnel"},{N:"str",val:"true"}]}]},{N:"sequence",line:"778",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"message",line:"779",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Highest has no name! "}, +{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}highest",slot:"189"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"ifCall",line:"788",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{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:"params"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}params",slot:"190"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{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:"required"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"typeJ"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{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-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"required"},{N:"slash",simple:"2",C:[{N:"filter",flags:"",C:[{N:"varRef", +name:"Q{}params",slot:"190"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}required"},{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"type"},{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"str",val:"item()*"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +type:"1FM",C:[{N:"str",val:"typeJ"},{N:"first",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}highest",slot:"189"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"95"}]}]}]}]},{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:"XTDE3365"}]}]},{N:"sequence",line:"794",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"795",C:[{N:"str",role:"select",val:"Finding namespace aliases"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}, +{N:"let",line:"799","var":"Q{}namespace-aliases",as:"1FM",slot:"191",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"ufCall",name:"Q{MyFunctions}make-namespace-alias-map",tailCall:"false",bSlot:"96",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"sequence",line:"801",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"802",C:[{N:"sequence",role:"select", +C:[{N:"str",val:"NamespaceAliases:"},{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"97",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"191"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"805","var":"Q{}defined-character-maps",as:"*A",slot:"192",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"808","var":"Q{}output-declarations",as:"+NE",slot:"193",flags:"e",C:[{N:"condSeq",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"808",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"809","var":"Q{}group-name", +as:"*A",slot:"194",C:[{N:"currentGroupingKey"},{N:"elem",line:"811",name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"check",card:"?",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}group-name",slot:"194"}]},{N:"str",val:"#unnamed"}]},{N:"att",line:"812",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef", +name:"Q{}group-name",slot:"194"}]},{N:"str",val:" "}]}]}]},{N:"elem",line:"815",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"180"}]}]}]},{N:"forEachGroup",line:"820",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"}, +{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{}use-character-maps],NA nQ{}cdata-section-elements],NA nQ{}suppress-indentation]]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"823","var":"Q{}highest-precedence",as:"?AS",slot:"195",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder", +intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"826","var":"Q{}active",as:"+NA",slot:"196",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent", +nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"195"}]}]}]},{N:"applyT",line:"827",mode:"Q{}serialization-property",bSlot:"98",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"196"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"828",name:"Q{}active",slot:"196"}]}]}]}]}]},{N:"forEachGroup",line:"834",algorithm:"by",C:[{N:"docOrder",role:"select",intra:"0", +C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}cdata-section-elements,NA nQ{}suppress-indentation]"}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"836","var":"Q{}active",as:"+NA",slot:"197",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active",C:[{N:"currentGroup"}]},{N:"applyT",line:"837",mode:"Q{}serialization-property", +bSlot:"99",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}active",slot:"197"}]},{N:"withParam",name:"Q{}group",as:"+NA",C:[{N:"varRef",line:"838",name:"Q{}active",slot:"197"}]}]}]}]},{N:"choose",line:"841",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}parameter-document"}]},{N:"elem",line:"843",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}parameter-document-base-uri"}]}, +{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"let",line:"847","var":"Q{}use-char-maps",slot:"198",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}in",as:"*A",slot:"199",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +C:[{N:"let","var":"Q{}input",as:"*NE",slot:"200",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]},{N:"sort",line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"200"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order", +val:"descending"},{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:"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:"attVal",name:"Q{}use-character-maps"}]}]}]}]},{N:"forEachGroup",module:"lib.xsl",line:"461",algorithm:"by",C:[{N:"varRef",role:"select", +name:"Q{}in",slot:"199"},{N:"dot",role:"key",type:"1AS"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"dot",role:"content",line:"462",type:"1AS"}]}]},{N:"choose",line:"848",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"856",C:[{N:"for","var":"Q{}c",as:"A",slot:"201",C:[{N:"varRef",role:"in",name:"Q{}use-char-maps",slot:"198"},{N:"choose",role:"return", +C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"192"},{N:"varRef",name:"Q{}c",slot:"201"}]},{N:"empty"},{N:"true"},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"194"}]}]}, +{N:"str",val:" references a non-existent character map "}]},{N:"varRef",name:"Q{}c",slot:"201"}]}]}]}]},{N:"elem",line:"857",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-character-maps"}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}use-char-maps",slot:"198"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"onEmpty",line:"864",C:[{N:"elem", +name:"output",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxon.sf.net/}stylesheet-version"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AD",to:"AS",C:[{N:"fn",name:"round",C:[{N:"arith",op:"*",calc:"c*c",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"int",val:"10"}]}]}]}]}]}]}]}]}]},{N:"let",line:"872","var":"Q{}character-maps", +as:"*NE",slot:"202",C:[{N:"let","var":"Q{}temp",as:"*NE",slot:"203",flags:"e",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"872",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"873","var":"Q{}group-name",as:"*A",slot:"204",C:[{N:"currentGroupingKey"},{N:"let",line:"875","var":"Q{}highest-precedence",as:"?AS",slot:"205",C:[{N:"fn",name:"min",C:[{N:"forEach", +C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"877","var":"Q{}active",slot:"206",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"205"}]}]},{N:"sequence",line:"878",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}active", +slot:"206"}]}]},{N:"ufCall",line:"881",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"100",C:[{N:"str",val:"XTSE1580"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}group-name",slot:"204"}]}]},{N:"str",val:" is defined more than once"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"elem",line:"883",name:"charMap", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"varRef",name:"Q{}group-name",slot:"204"}]},{N:"str",val:" "}]}]},{N:"axis",line:"884",name:"attribute",nodeTest:"NA nQ{}use-character-maps"},{N:"forEach",line:"885",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:"attVal",name:"Q{}use-character-maps"}]}]}]}, +{N:"choose",line:"892",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-character-maps",slot:"192"},{N:"dot",type:"1AS"}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"101",C:[{N:"str",val:"XTSE1590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:character-map "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef", +name:"Q{}group-name",slot:"204"}]}]},{N:"str",val:" uses non-existent character map "}]},{N:"dot",type:"1AS"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]}]},{N:"forEach",line:"894",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output-character"},{N:"elem",line:"895",name:"m",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"c",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"first", +C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"attVal",name:"Q{}character"}]}]}]}]}]}]},{N:"att",name:"s",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}string"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"901","var":"Q{}character-map-dependency",as:"1FM",slot:"207",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"203"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",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:"attVal",name:"Q{}use-character-maps"}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str", +val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"905",as:"NE",diag:"3|0|XTTE0570|character-maps",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}character-map-dependency",slot:"207"}]},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"102",C:[{N:"convert",from:"A",to:"AS", +flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}character-map-dependency",slot:"207"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"203"}]},{N:"catch",errors:"*:XTSE1600",C:[{N:"ufCall",line:"909",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"103", +C:[{N:"str",val:"XTSE1600"},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"203"}]}]}]}]}]}]}]}]},{N:"let",line:"915", +"var":"Q{}expanded-character-maps",as:"*NE",slot:"208",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|expanded-character-maps",C:[{N:"applyT",mode:"Q{}expand-character-maps",bSlot:"104",C:[{N:"varRef",role:"select",name:"Q{}character-maps",slot:"202"},{N:"withParam",name:"Q{}charMaps",as:"*NE",C:[{N:"varRef",line:"916",name:"Q{}character-maps",slot:"202"}]}]}]},{N:"let",line:"921","var":"Q{}global-context-item",as:"?NE",slot:"209",C:[{N:"let","var":"Q{}definitions",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item", +slot:"210",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"check",line:"932",card:"?",diag:"3|0|XTTE0570|global-context-item",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]}]},{N:"let","var":"Q{}h",slot:"211",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}d",slot:"212",C:[{N:"tail", +start:"2",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}d",slot:"212"},{N:"varRef",name:"Q{}h",slot:"211"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"map",size:"0"}]}]}]}]}]},{N:"treat",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"105",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"Inconsistent values for global-context-item"},{N:"check", +card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]}]}]}]}]},{N:"treat",line:"933",as:"NE",diag:"3|0|XTTE0570|global-context-item",C:[{N:"applyT",mode:"Q{}sef",bSlot:"106",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}definitions",slot:"210"}]}]}]}]}]}]},{N:"let",line:"944","var":"Q{}static-context",as:"1FM k[AS]",slot:"213",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:"backward-compatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"181"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"176"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"location"},{N:"varRef",name:"Q{}location",slot:"175"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM", +C:[{N:"str",val:"namespace-aliases"},{N:"varRef",name:"Q{}namespace-aliases",slot:"191"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"output-declarations"},{N:"varRef",name:"Q{}output-declarations",slot:"193"}]}]},{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:"953","var":"Q{}keys",as:"*NE",slot:"214",C:[{N:"sequence",C:[{N:"treat",as:"NE", +diag:"3|0|XTTE0570|keys",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"953",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"choose",role:"content",line:"954",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"let",line:"956","var":"Q{}highest-precedence",as:"?AS",slot:"215",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let", +line:"958","var":"Q{}highest",slot:"216",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"215"}]}]},{N:"sequence",line:"959",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest", +slot:"216"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"216"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]}]}]}]},{N:"ufCall",line:"964",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"107",C:[{N:"str",val:"XTSE1220"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]}, +{N:"attVal",name:"Q{}name"}]},{N:"str",val:" with differing @collation at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]}]},{N:"choose",line:"967",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}highest",slot:"216"},{N:"ufCall", +name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"108",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]},{N:"ufCall",line:"972",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"109",C:[{N:"str",val:"XTSE1222"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]}, +{N:"str",val:" with differing @composite at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}highest",slot:"216"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}highest",slot:"216"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"978","var":"Q{}processed",as:"*NE",slot:"217",C:[{N:"treat", +as:"NE",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",mode:"Q{}sef",bSlot:"110",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"979",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"980",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef", +line:"982",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"984",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"986",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"forEachGroup",line:"991",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}processed",slot:"217"},{N:"attVal",role:"key",name:"Q{}name"}, +{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"993","var":"Q{}backwards",as:"1AB",slot:"218",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{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:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"forEach",line:"995",C:[{N:"currentGroup"},{N:"copy",flags:"cin", +sit:"1NE",C:[{N:"sequence",role:"content",line:"996",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"997",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}backwards",slot:"218"},{N:"fn",name:"not",C:[{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:"attVal",name:"Q{}flags"}]}]},{N:"str",val:"b"}]}]}]},{N:"att",line:"998",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}flags"}, +{N:"str",val:"b"}]}]}]},{N:"axis",line:"1000",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"sequence",line:"1005",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1006",C:[{N:"str",role:"select",val:"Keys processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1011","var":"Q{}global.varPars",as:"*NE",slot:"219",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.varPars", +C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1011",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}variable,NE nQ{http://www.w3.org/1999/XSL/Transform}param]"},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1013",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]}, +{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"ufCall",line:"1016",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"111",C:[{N:"str",val:"XTSE0630"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name", +C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"1018",C:[{N:"currentGroup"}]}]}]}]},{N:"let",line:"1022","var":"Q{}global.params",as:"*NE",slot:"220",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.params",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"112",C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars", +slot:"219"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1023",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1024",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1025",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version", +slot:"176"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1027",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1029",name:"Q{}defined-attribute-sets",slot:"183"}]}]}]},{N:"let",line:"1033","var":"Q{}global.variables",as:"*NE",slot:"221",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.variables",C:[{N:"applyT",mode:"Q{}sef.global",bSlot:"113", +C:[{N:"filter",role:"select",flags:"b",C:[{N:"varRef",name:"Q{}global.varPars",slot:"219"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1034",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1035",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t", +as:"1AB",C:[{N:"vc",line:"1036",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1038",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1040",name:"Q{}defined-attribute-sets",slot:"183"}]}]}]},{N:"sequence",line:"1043",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"}, +{N:"str",val:"traceProgress"}]},{N:"message",line:"1044",C:[{N:"str",role:"select",val:"Global params/variables processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1048","var":"Q{}global.functions",as:"*NE",slot:"222",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|global.functions",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"axis",role:"select",line:"1048",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", +role:"content",line:"1049",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1050",C:[{N:"fn",role:"select",name:"concat",C:[{N:"str",val:"Processing function "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEachGroup",line:"1054",algorithm:"by",C:[{N:"currentGroup",role:"select"}, +{N:"fn",role:"key",line:"1052",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}, +{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"ufCall",line:"1057",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"114",C:[{N:"str",val:"XTSE0770"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:' name="'}]}, +{N:"attVal",name:"Q{}name"}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1059","var":"Q{}head",as:"1N",slot:"223",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first",C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1060",mode:"Q{}sef",bSlot:"115",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"223"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1061", +name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1062",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1064",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"179"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1066",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets", +flags:"t",as:"*A",C:[{N:"varRef",line:"1068",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1070",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"116",C:[{N:"varRef",name:"Q{}head",slot:"223"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1075",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1076",C:[{N:"str",role:"select", +val:"Functions processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1082","var":"Q{}attribute-sets",as:"*NE",slot:"224",C:[{N:"let","var":"Q{}temp",as:"*NE",slot:"225",flags:"e",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"elem",role:"content",line:"1086",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"elem",name:"attributeSet",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"currentGroupingKey"}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:"0"}]},{N:"att",name:"ns",flags:"l",C:[{N:"let", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"226",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"choose",module:"namespaces.xsl",line:"47", +C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"226"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"226"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}, +{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"226"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"117"},{N:"fn",name:"name", +C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1088",mode:"Q{}attribute-sans-prefix",bSlot:"118",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"elem", +line:"1090",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1091",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{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:"applyT",line:"1092",mode:"Q{}sef",bSlot:"119",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1094",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1096",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}named-template-signatures", +flags:"t",as:"1FM",C:[{N:"varRef",line:"1098",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1100",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"120",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]}]}]}]}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}direct-dependency",as:"1FM",slot:"227",flags:"e",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}temp",slot:"225"},{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:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}, +{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"treat",line:"1113",as:"NE",diag:"3|0|XTTE0570|attribute-sets",C:[{N:"try",flags:"r",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}direct-dependency",slot:"227"}]},{N:"ufCall",name:"Q{MyFunctions}closure",tailCall:"false",bSlot:"121",C:[{N:"convert", +from:"A",to:"AS",flags:"p",diag:"0|0||f:closure",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure",C:[{N:"dot",type:"1A"}]}]},{N:"varRef",name:"Q{}direct-dependency",slot:"227"}]}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"str",val:"VERY-UNLIKELY"}]}]},{N:"varRef",name:"Q{}temp",slot:"225"}]},{N:"catch",errors:"*:XTDE0640",C:[{N:"ufCall",line:"1121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", +bSlot:"122",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"str",val:"XTSE0720"},{N:"true"},{N:"str",val:"XTDE0640"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str", +val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}this",slot:"172"}]}]}]}]}]}]},{N:"let",line:"1135","var":"Q{}named.templates",as:"*NE",slot:"228",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|named.templates",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1135",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, +{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence", +role:"content",line:"1137",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1140",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"123",C:[{N:"str",val:"XTSE0660"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"let",line:"1142","var":"Q{}head",as:"1N",slot:"229",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|head",C:[{N:"first", +C:[{N:"currentGroup"}]}]},{N:"applyT",line:"1143",mode:"Q{}sef.named-templates",bSlot:"124",C:[{N:"varRef",role:"select",name:"Q{}head",slot:"229"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1144",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1145",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1146",name:"Q{}version",slot:"176"}]}, +{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1148",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"178"}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1149",name:"Q{}global.variables",slot:"221"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1151",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef", +line:"1153",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1155",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"125",C:[{N:"varRef",name:"Q{}head",slot:"229"}]}]}]}]}]}]}]},{N:"sequence",line:"1160",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1161",C:[{N:"str",role:"select",val:"Named templates processed"}, +{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1165","var":"Q{}accumulators",as:"*NE",slot:"230",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|accumulators",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"filter",role:"select",line:"1165",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{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:"attVal",role:"key",name:"Q{}name"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"sequence",role:"content",line:"1167",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"currentGroup"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"slash",C:[{N:"first",C:[{N:"currentGroup"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"slash",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"ufCall",line:"1170",name:"Q{MyFunctions}syntax-error-at", +tailCall:"false",bSlot:"126",C:[{N:"str",val:"XTSE3350"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" name="}]},{N:"attVal",name:"Q{}name"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"1172",mode:"Q{}sef",bSlot:"127",C:[{N:"first",role:"select",C:[{N:"currentGroup"}]},{N:"withParam", +name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1173",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1174",name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1175",name:"Q{}version",slot:"176"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"varRef",line:"1177",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"177"}]}, +{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1178",name:"Q{}global.variables",slot:"221"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1180",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t",as:"*A",C:[{N:"varRef",line:"1182",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1184", +name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"128",C:[{N:"dot",type:"1NE"}]}]}]}]}]}]},{N:"sequence",line:"1188",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1189",C:[{N:"str",role:"select",val:"Accumulators processed"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1206","var":"Q{}templates",as:"*NE",slot:"231", +C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]},{N:"let",line:"1207","var":"Q{}t",as:"1",slot:"232",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"forEach",line:"1208",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:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#default"}]}]}]}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""}]},{N:"let",line:"1209","var":"Q{}mode",as:"1",slot:"233",C:[{N:"dot",type:"1AS"},{N:"forEach",line:"1210",C:[{N:"varRef",name:"Q{}t",slot:"232"},{N:"copy",line:"1211",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",C:[{N:"sequence", +role:"content",line:"1212",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"1215",C:[{N:"and",op:"and",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}mode",slot:"233"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"att",line:"1216",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"true"},{N:"att",line:"1220",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}mode",slot:"233"}]}]},{N:"axis",line:"1223",name:"child", +nodeTest:"N"}]}]}]}]}]}]}]},{N:"let",line:"1232","var":"Q{}matched-modes",as:"*A",slot:"234",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"varRef",name:"Q{}templates",slot:"231"},{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:"attVal",name:"Q{}mode"}]}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"dot",type:"1A"},{N:"str",val:"#all"}]}]}]},{N:"let",line:"1234","var":"Q{}used-modes",as:"*A",slot:"235",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"#current",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data", +diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]}]}]}]}]}]},{N:"sequence",line:"1236",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"182"}]},{N:"choose",line:"1238",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"},{N:"str",val:"#unnamed"}]},{N:"choose",line:"1245",C:[{N:"fn",name:"empty",C:[{N:"filter", +flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"129",C:[{N:"str", +val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Default mode "},{N:"varRef",name:"Q{}default-mode",slot:"1"}]},{N:"str",val:" must be declared and public in a package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"1264",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}default-mode",slot:"1"}]}]},{N:"fn",name:"empty",C:[{N:"filter", +flags:"",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"varRef",name:"Q{}require-declared-modes",slot:"182"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"234"},{N:"varRef",name:"Q{}used-modes",slot:"235"}]},{N:"str",val:"#unnamed"}]}]},{N:"ufCall",line:"1267", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"130",C:[{N:"str",val:"XTSE3085"},{N:"str",val:"The unnamed mode must be declared and public in a package"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"1274","var":"Q{}mode.decl",as:"*NE",slot:"236",C:[{N:"treat",line:"1280",as:"NE",diag:"3|0|XTTE0570|mode.decl",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sequence",role:"select",line:"1278",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"filter", +line:"1274",flags:"b",C:[{N:"elem",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]}]},{N:"fn",line:"1278",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"str",val:"#unnamed"}]}]}]}]}]}]}, +{N:"data",role:"key",diag:"4|0||xsl:for-each-group/group-by",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"sequence",role:"content",line:"1309",C:[{N:"for","var":"Q{}attribute",as:"A",slot:"237",C:[{N:"fn",role:"in",name:"distinct-values",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis", +name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"let",role:"return","var":"Q{}a",slot:"238",C:[{N:"docOrder",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"varRef",name:"Q{}attribute", +slot:"237"}]}]}]},{N:"let","var":"Q{}max-prec",slot:"239",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}a",slot:"238"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}a",slot:"238"},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let","var":"Q{}vals",slot:"240",C:[{N:"fn", +name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}a",slot:"238"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"NE"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}max-prec",slot:"239"}]}]}]}]},{N:"choose",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}vals",slot:"240"}]}]}, +{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}attribute",slot:"237"},{N:"str",val:"use-accumulators"}]},{N:"or",op:"or",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"240"},{N:"fn",name:"count",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}]},{N:"int", +val:"1"},{N:"int",val:"2"}]}]}]},{N:"let","var":"Q{}first",slot:"241",C:[{N:"fn",name:"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:"first",C:[{N:"varRef",name:"Q{}vals",slot:"240"}]}]}]}]},{N:"fn",name:"not",C:[{N:"every","var":"Q{}t",slot:"242",C:[{N:"fn",name:"distinct-values",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}vals",slot:"240"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1A"}]}]}]}]}, +{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}first",slot:"241"},{N:"varRef",name:"Q{}t",slot:"242"}]}]}]}]}]},{N:"true"},{N:"true"}]},{N:"true"},{N:"false"}]},{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0545"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"str",val:"Mode "},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"str",val:" has conflicting property values for "}]},{N:"varRef",name:"Q{}attribute",slot:"237"}]},{N:"str",val:" which are "}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}vals",slot:"240"},{N:"str",val:","}]}]},{N:"str",val:" on mode "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"first",C:[{N:"currentGroup"}]}]}]}]}]}]}]},{N:"elem",line:"1312",name:"xsl:mode", +nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"forEach",C:[{N:"sort",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1313",comp:"DESC|CCC",C:[{N:"fn",role:"select",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"str",role:"order",val:"descending"},{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:"axis",line:"1314",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}precLabel]"}]}]}]}]}]},{N:"sequence",line:"1322",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1323",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Modes discovered:"},{N:"slash",C:[{N:"varRef",name:"Q{}mode.decl",slot:"236"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",role:"terminate", +val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"1330","var":"Q{}declared-modes",as:"*AS",slot:"243",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|declared-modes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|declared-modes",C:[{N:"data",diag:"3|0|XTTE0570|declared-modes",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}mode.decl",slot:"236"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"1335","var":"Q{}undeclared-modes", +as:"*A",slot:"244",C:[{N:"filter",flags:"b",C:[{N:"fn",line:"1332",name:"distinct-values",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}matched-modes",slot:"234"},{N:"varRef",name:"Q{}declared-modes",slot:"243"},{N:"varRef",name:"Q{}used-modes",slot:"235"},{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}declared-modes", +slot:"243"},{N:"dot",type:"1A"}]}]}]},{N:"sequence",line:"1339",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}require-declared-modes",slot:"182"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"244"}]}]},{N:"ufCall",line:"1342",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"131",C:[{N:"str",val:"XTSE3085"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Use of undeclared mode "},{N:"first",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"244"}]}]}, +{N:"str",val:" is not permitted in xsl:package"}]}]}]},{N:"let",line:"1355","var":"Q{}processed-templates",as:"*NE",slot:"245",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|processed-templates",C:[{N:"applyT",mode:"Q{}sef",bSlot:"132",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"231"},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM k[AS]",C:[{N:"varRef",line:"1356",name:"Q{}static-context",slot:"213"}]},{N:"withParam",name:"Q{}location",flags:"t",as:"*NA",C:[{N:"varRef",line:"1357", +name:"Q{}location",slot:"175"}]},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1358",name:"Q{}version",slot:"176"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"1AB",C:[{N:"vc",line:"1359",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]}]},{N:"withParam",name:"Q{}variables",flags:"t",as:"*NE",C:[{N:"varRef",line:"1360",name:"Q{}global.variables",slot:"221"}]},{N:"withParam",name:"Q{}defined-attribute-sets",flags:"t", +as:"*A",C:[{N:"varRef",line:"1362",name:"Q{}defined-attribute-sets",slot:"183"}]},{N:"withParam",name:"Q{}named-template-signatures",flags:"t",as:"1FM",C:[{N:"varRef",line:"1364",name:"Q{}named-template-signatures",slot:"186"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1365",name:"Q{}precedence-map",slot:"185"}]},{N:"withParam",name:"Q{}minimum-import-precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",line:"735",as:"FM k[AS] v[1ADI]", +diag:"3|0|XTTE0570|minimum-import-precedence-map",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]},{N:"let",line:"742","var":"Q{http://saxon.sf.net/generated-variable}v5",as:"?ADI",slot:"246",flags:"l",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"185"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function", +C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]}]}]},{N:"let",line:"739","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1ADI",slot:"247",flags:"l",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]},{N:"treat",line:"736",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEach",C:[{N:"to",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"}]}]},{N:"let",line:"737", +"var":"Q{}index",as:"1ADI",slot:"248",C:[{N:"dot",type:"1ADI"},{N:"let",line:"738","var":"Q{}start",as:"*AS",slot:"249",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"},{N:"varRef",name:"Q{}index",slot:"248"}]},{N:"iterate",line:"739",C:[{N:"to",role:"select",C:[{N:"varRef",name:"Q{}index",slot:"248"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"247"}]},{N:"params",role:"params"},{N:"ifCall",role:"on-completion",line:"742",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:"varRef",name:"Q{}start",slot:"249"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"246"}]},{N:"choose",role:"action",line:"745",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1506840194",as:"1",slot:"250",C:[{N:"dot",type:"1ADI"},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1506840194", +slot:"250"}]},{N:"varRef",name:"Q{}start",slot:"249"}]}]}]},{N:"sequence",line:"749",C:[{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:"varRef",name:"Q{}start",slot:"249"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1145717309",as:"1",slot:"251",C:[{N:"dot",type:"1ADI"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"185"}, +{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}sorted-precedence-labels",slot:"184"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1145717309",slot:"251"},{N:"int",val:"1"}]}]}]}]}]}]},{N:"break",line:"746"}]}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]}, +{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1369",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"133",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"let",line:"1375","var":"Q{}modes",as:"*NE",slot:"252",C:[{N:"forEach",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}mode.decl",slot:"236"},{N:"forEach",line:"1345",C:[{N:"varRef",name:"Q{}undeclared-modes",slot:"244"},{N:"elem",line:"1348",name:"xsl:mode",nsuri:"http://www.w3.org/1999/XSL/Transform", +C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert",from:"A",to:"AS",C:[{N:"dot",type:"1A"}]}]},{N:"att",line:"1349",name:"on-no-match",flags:"l",C:[{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"elem",line:"1377",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"let","var":"Q{}name",as:"?NA",slot:"253",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"sequence",line:"1378",C:[{N:"choose",C:[{N:"varRef",name:"Q{}in-package",slot:"173"},{N:"att",line:"1385", +name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"choose",line:"1387",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"174"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"}]}]},{N:"att",line:"1394",name:"vis",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0", +comp:"CCC",C:[{N:"attVal",name:"Q{}visibility"},{N:"str",val:"public"}]},{N:"str",val:"PUBLIC"},{N:"true"},{N:"str",val:"PRIVATE"}]}]}]},{N:"let",line:"1401","var":"Q{}mode-templates",as:"*NE",slot:"254",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}name",slot:"253"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates",slot:"245"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",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:"attVal",name:"Q{}mode"}]}]}]},{N:"literal",count:"2",C:[{N:"str",val:"#all"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"+A",slot:"255",flags:"l",C:[{N:"sequence",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}name",slot:"253"}]},{N:"str",val:"#all"}]},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}processed-templates", +slot:"245"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",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:"attVal",name:"Q{}mode"}]}]}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"255"}]}]}]}]},{N:"let",line:"1404","var":"Q{}temp",as:"1NE",slot:"256",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp", +C:[{N:"applyT",mode:"Q{}sef",bSlot:"134",C:[{N:"dot",role:"select",type:"1NE"},{N:"withParam",name:"Q{}xsl-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"1405",name:"Q{}version",slot:"176"}]},{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1407",name:"Q{}precedence-map",slot:"185"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"*NE",C:[{N:"varRef",line:"1409",name:"Q{}accumulators",slot:"230"}]}]}]}]},{N:"forEach",line:"1412",C:[{N:"varRef",name:"Q{}temp", +slot:"256"},{N:"copy",line:"1413",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1414",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"forEach",line:"1416",C:[{N:"varRef",name:"Q{}mode-templates",slot:"254"},{N:"copy",line:"1417",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1418",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}mode]"},{N:"axis",line:"1419",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"1428",C:[{N:"choose",C:[{N:"lookup", +C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"1429",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}modes",slot:"252"}]},{N:"str",val:"modes processed"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"elem",line:"1436",name:"package",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"choose", +C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"181"},{N:"str",val:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"176"},{N:"dec",val:"2"}]},{N:"str",val:"20"},{N:"true"},{N:"str",val:"30"}]}]},{N:"att",name:"packageVersion",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"saxonVersion",flags:"l",C:[{N:"str",val:"SaxonJS 2.7"}]},{N:"att",name:"target",flags:"l",C:[{N:"str",val:"JS"}]},{N:"att",name:"targetVersion",flags:"l",C:[{N:"str",val:"2"}]},{N:"att", +name:"name",flags:"l",C:[{N:"str",val:"TOP-LEVEL"}]},{N:"att",name:"relocatable",flags:"l",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]}]},{N:"att",name:"buildDateTime",flags:"l",C:[{N:"convert",from:"AMP",to:"AS",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"135"}]}]},{N:"namespace",line:"1437",flags:"l",C:[{N:"str",role:"name",val:"xs"},{N:"str",role:"select", +val:"http://www.w3.org/2001/XMLSchema"}]},{N:"choose",line:"1438",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"compareToString",op:"ne",val:"#unnamed",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}default-mode"}]}]}]}]},{N:"att",line:"1439",name:"defaultMode",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]},{N:"applyT",line:"1442",mode:"Q{}attribute-sans-prefix", +bSlot:"136",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"1444",name:"Q{}global-context-item",slot:"209"},{N:"forEach",line:"1446",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}named.templates",slot:"228"},{N:"varRef",name:"Q{}global.functions", +slot:"222"},{N:"varRef",name:"Q{}global.params",slot:"220"},{N:"varRef",name:"Q{}global.variables",slot:"221"},{N:"varRef",name:"Q{}attribute-sets",slot:"224"},{N:"varRef",name:"Q{}modes",slot:"252"}]},{N:"copy",line:"1447",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"1448",C:[{N:"att",name:"id",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"axis",line:"1449",name:"attribute",nodeTest:"NA"},{N:"axis", +line:"1449",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"1452",name:"overridden",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"varRef",line:"1454",name:"Q{}keys",slot:"214"},{N:"varRef",line:"1454",name:"Q{}output-declarations",slot:"193"},{N:"varRef",line:"1454",name:"Q{}expanded-character-maps",slot:"208"},{N:"varRef",line:"1454",name:"Q{}accumulators",slot:"230"},{N:"callT",line:"1456",name:"Q{}compile-decimal-formats",bSlot:"137"},{N:"callT",line:"1457",name:"Q{}strip-space", +bSlot:"138",C:[{N:"withParam",name:"Q{}precedence-map",flags:"t",as:"1FM k[AS] v[1ADI]",C:[{N:"varRef",line:"1458",name:"Q{}precedence-map",slot:"185"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",C:[{N:"empty"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"197",binds:"1 94",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_NAMESPACE",as:"1AS",line:"54",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall", +ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"54",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_NAMESPACE",bSlot:"1"}]}]}]},{N:"co",id:"198",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}RPAREN",as:"1ADI",line:"16",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"41"}]}]},{N:"co",id:"199",binds:"",C:[{N:"mode",name:"Q{}on-empty",onNo:"SC",flags:"W",patternSlots:"0", +C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"177",rank:"0",minImp:"0",slots:"3",matches:"NE",flags:"s",line:"184",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"184",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"axis", +name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"185",C:[{N:"param",name:"Q{}element.attributes",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|element.attributes",C:[{N:"cvUntyped", +to:"AS",diag:"8|0|XTTE0590|element.attributes",C:[{N:"data",diag:"8|0|XTTE0590|element.attributes",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"copy",line:"186",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"187",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"188","var":"Q{}attributes",as:"*NE",slot:"1",C:[{N:"union",op:"|",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}att"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef", +name:"Q{}element.attributes",slot:"0"},{N:"attVal",name:"Q{}name"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"}]},{N:"let",line:"189","var":"Q{}onEmpty",as:"*NE nQ{http://ns.saxonica.com/xslt/export}onEmpty",slot:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"elem",line:"190",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"191",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef", +role:"select",name:"Q{}attributes",slot:"1"}]},{N:"elem",line:"192",name:"condSeq",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"194",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"union",op:"|",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}attributes",slot:"1"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}onEmpty",slot:"2"}]}]}]}]},{N:"applyT",line:"196",flags:"c",bSlot:"-1",C:[{N:"varRef", +role:"select",name:"Q{}onEmpty",slot:"2"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"176",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq",flags:"s",line:"181",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"182",type:"1NE nQ{http://ns.saxonica.com/xslt/export}condSeq",flags:"a"}]}]}]},{N:"co",id:"200",binds:"107",C:[{N:"function",name:"Q{MyFunctions}isKnownCollation",line:"18",module:"sorting.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}uri",as:"1AS"},{N:"or",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"21",op:"or",C:[{N:"gc",op:"=",card:"N:1", +comp:"CCC",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg728602192",bSlot:"0"},{N:"varRef",name:"Q{}uri",slot:"0"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}uri",slot:"0"},{N:"str",val:"http://www.w3.org/2013/collation/UCA"}]}]}]}]},{N:"co",id:"201",binds:"",C:[{N:"function",name:"Q{MyTypes}isNode",line:"453",module:"type.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"455","var":"Q{}alphaCode",slot:"1",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"N"}]}]}]}]}]},{N:"co",id:"168",binds:"",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1960031800",as:"1AS",line:"365",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"365", +name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"sequence",C:[{N:"str",val:"DO NOT EDIT: compiled with initial template compileXSLTschema "},{N:"fn",name:"current-dateTime"}]}]},{N:"str",val:" "}]}]}]},{N:"co",id:"202",binds:"",C:[{N:"function",name:"Q{MyFunctions}increasing-precedence-sort",line:"660",module:"XSLT-SEF-compiler.xsl",flags:"pU",as:"*NE",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*NE"},{N:"sort",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"662",C:[{N:"varRef",role:"select",name:"Q{}input",slot:"0"},{N:"sortKey",line:"663",comp:"DESC|CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"str",role:"order",val:"descending"},{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:"co",id:"203",binds:"",C:[{N:"globalVariable",name:"Q{}XSL-ignore", +as:"1NE nQ{http://www.w3.org/1999/XSL/Transform}ignore c~untyped",line:"131",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"elem",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"132",name:"xsl:ignore",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"empty"}]}]}]},{N:"co",id:"204",binds:"22",C:[{N:"function",name:"Q{MyFunctions}wrongChild",line:"785",module:"normalize.xsl", +flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"+N"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"787",C:[{N:"first",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"ufCall",line:"800",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"choose",line:"793",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis", +name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"str",val:"XTSE0130"},{N:"true"},{N:"str",val:"XTSE0010"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]},{N:"str",val:" cannot contain "}]},{N:"choose",C:[{N:"instance",of:"1NE",C:[{N:"dot",type:"1N"}]}, +{N:"fn",name:"concat",C:[{N:"str",val:"element "},{N:"fn",name:"name",C:[{N:"dot",type:"1N"}]}]},{N:"true"},{N:"fn",name:"concat",C:[{N:"str",val:"non-whitespace text:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1N"}]}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"205",binds:"",C:[{N:"function",name:"Q{MyFunctions}has-uniform-namespaces",line:"131",module:"namespaces.xsl",flags:"pU",as:"1AB",slots:"1", +C:[{N:"arg",name:"Q{}element",as:"1N"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"133",name:"Q{http://saxon.sf.net/}has-uniform-namespaces",type:"1AB",C:[{N:"treat",as:"NE",diag:"0|0||saxon:has-uniform-namespaces",C:[{N:"varRef",name:"Q{}element",slot:"0"}]}]}]}]},{N:"co",id:"206",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}card-symbols",as:"1FM k[ADI] v[1]", +line:"121",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"5",C:[{N:"int",val:"1"},{N:"str",val:"0"},{N:"int",val:"2"},{N:"str",val:"1"},{N:"int",val:"3"},{N:"str",val:"?"},{N:"int",val:"6"},{N:"str",val:"+"},{N:"int",val:"7"},{N:"str",val:"*"}]}]}]},{N:"co",id:"207",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}card-values",as:"1FM k[AS] v[1ADI]",line:"120",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"5",C:[{N:"str",val:"*"},{N:"int",val:"7"},{N:"str",val:"+"}, +{N:"int",val:"6"},{N:"str",val:"0"},{N:"int",val:"1"},{N:"str",val:"1"},{N:"int",val:"2"},{N:"str",val:"?"},{N:"int",val:"3"}]}]}]},{N:"co",id:"208",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}APOS",as:"1ADI",line:"20",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"39"}]}]},{N:"co",id:"171",binds:"",C:[{N:"template",name:"Q{}check-use-when",flags:"os",as:"1AB",line:"1097",module:"static.xsl",slots:"7",C:[{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1098",card:"1",diag:"7|0|XTTE0505|check-use-when",C:[{N:"sequence",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1099",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1100","var":"Q{}use-expression",as:"1AS",slot:"2",flags:"e",C:[{N:"choose",line:"1101",C:[{N:"fn",line:"1102",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]},{N:"check",line:"1103",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"A",to:"AS",flags:"p", +diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]}]}]}]}]},{N:"true"},{N:"check",line:"1106",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression", +C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}use-when"}]}]}]}]}]},{N:"let",line:"1110","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",flags:"e",C:[{N:"let",line:"1111","var":"Q{}dot",as:"1",slot:"4",C:[{N:"dot",flags:"a"},{N:"let",line:"1115","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE",slot:"5",flags:"l",C:[{N:"treat",as:"NE",diag:"0|1||fn:namespace-uri-for-prefix", +C:[{N:"varRef",name:"Q{}dot",slot:"4"}]},{N:"compElem",line:"1112",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach",role:"content",line:"1113",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"treat",as:"NE",diag:"0|0||fn:in-scope-prefixes",C:[{N:"dot",flags:"a"}]}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt", +line:"1115",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"5"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]}]},{N:"treat",line:"1123",as:"AB",diag:"7|0|XTTE0505|check-use-when",C:[{N:"cvUntyped",to:"AB",diag:"7|0|XTTE0505|check-use-when",C:[{N:"data", +diag:"7|0|XTTE0505|check-use-when",C:[{N:"try",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:base-uri",C:[{N:"dot",flags:"a"}]}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]}, +{N:"withParam",name:"Q{}compileSyntax",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}errorsAsMessages",as:"1AB",C:[{N:"false"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"1131",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Y"},{N:"check",card:"1",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:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"let",line:"1136","var":"Q{}possibleCode",as:"1AS",slot:"6",C:[{N:"fn",name:"substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-before", +C:[{N:"data",diag:"0|0||fn:substring-before",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]},{N:"choose",line:"1143",C:[{N:"castable",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"error",C:[{N:"cast",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"substring-after",C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"convert",from:"A", +to:"AS",flags:"p",diag:"0|0||fn:substring-after",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-after",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"fn",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:"1",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:"co",id:"209",binds:"22",C:[{N:"function",name:"Q{MyFunctions}missingAttribute",line:"824",module:"normalize.xsl",flags:"pU",as:"*", +slots:"2",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}attribute",as:"1AS"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"827",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" requires an @"}]},{N:"varRef",name:"Q{}attribute",slot:"1"}]},{N:"str",val:" attribute"}]},{N:"dot",type:"1NE"}]}]}]}]},{N:"co",id:"210",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}MANY",as:"1ADI",line:"103",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"4"}]}]},{N:"co",id:"211",binds:"206 1",C:[{N:"function",name:"Q{MyTypes}cardCheck",line:"964",module:"type.xsl",flags:"pU",as:"1NE",slots:"4",C:[{N:"arg",name:"Q{}expression", +as:"1NE"},{N:"arg",name:"Q{}reqCard",as:"1ADI"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"970",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A", +to:"AS",C:[{N:"data",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{MyTypes}card-symbols",bSlot:"0"},{N:"varRef",name:"Q{}reqCard",slot:"1"}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"slash",line:"971",simple:"1",C:[{N:"varRef", +name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"971",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"146",binds:"146 146 146 146",C:[{N:"function",name:"Q{MyFunctions}pattern-matches-node-kind",line:"88",module:"pattern.xsl",flags:"pU",as:"1AB",slots:"4",C:[{N:"arg",name:"Q{}pattern",as:"?NE"},{N:"arg",name:"Q{}node-kind",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"91",C:[{N:"choose",C:[{N:"fn",line:"92",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]},{N:"or",line:"93",op:"or",C:[{N:"compareToString",op:"eq",val:"N",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"attVal",name:"Q{}test"}]}]}]}]}]}, +{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:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"attVal",name:"Q{}test"}]}]}]},{N:"varRef",name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"95",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"}]}]}]}, +{N:"choose",line:"97",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}op"}]},{N:"str",val:"union"}]}]}]},{N:"some",line:"98","var":"Q{}operand",slot:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"false",bSlot:"0",C:[{N:"varRef", +name:"Q{}operand",slot:"2"},{N:"varRef",name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"100",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}op"}]},{N:"str",val:"intersect"}]}]}]},{N:"every",line:"101","var":"Q{}operand",slot:"3",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind", +tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}operand",slot:"3"},{N:"varRef",name:"Q{}node-kind",slot:"1"}]}]},{N:"fn",line:"103",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}op"}]},{N:"str",val:"except"}]}]}]},{N:"ufCall",line:"104",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"self",bSlot:"2",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"}, +{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"varRef",name:"Q{}node-kind",slot:"1"}]},{N:"true"},{N:"error",line:"96",message:"Conditional expression: None of the conditions is satisfied, so an empty sequence is returned, but this is not allowed as the result of a call to f:pattern-matches-node-kind#2",code:"XTTE0780",isTypeErr:"0"}]},{N:"fn",line:"108",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"axis", +name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper"}]}]}]}]},{N:"ufCall",line:"109",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"self",bSlot:"3",C:[{N:"slash",C:[{N:"varRef",name:"Q{}pattern",slot:"0"},{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"varRef",name:"Q{}node-kind",slot:"1"}]},{N:"true"},{N:"true"}]}]}]}]},{N:"co",id:"212",binds:"1 60",C:[{N:"globalVariable", +name:"Q{}SJ.OPTIONAL_DOCUMENT",as:"1AS",line:"47",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.OPTIONAL_DOCUMENT",bSlot:"1"}]}]}]},{N:"co",id:"213",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ATOMIC",as:"1FM k[AS] v[1AS]",line:"14",module:"sequenceType.xsl",visibility:"PRIVATE", +C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]},{N:"co",id:"214",binds:"1",C:[{N:"function",name:"Q{MyTypes}cardCheck",line:"954",module:"type.xsl",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"958",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{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{}requiredType",slot:"1"},{N:"str",val:"o"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}requiredType",slot:"1"}]}]},{N:"att",name:"diag", +flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"959",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"959",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"215",binds:"",C:[{N:"function",name:"Q{MyFunctions}message-count",line:"26",module:"lib.xsl",flags:"pU",as:"1ADI",slots:"1",C:[{N:"arg",name:"Q{}code",as:"?AQ"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"28",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI",C:[{N:"varRef",name:"Q{}code",slot:"0"}]}]}]},{N:"co",id:"216",binds:"216",C:[{N:"template",name:"Q{}expandCharMapRef",flags:"os",line:"170",module:"output.xsl",slots:"3",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"171",C:[{N:"param",name:"Q{}charMapRef",slot:"0",flags:"i",as:"1AS", +C:[{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|charMapRef",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|charMapRef",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|charMapRef",C:[{N:"data",diag:"8|0|XTTE0590|charMapRef",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"172",name:"Q{}charMaps",slot:"1",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|charMaps",C:[{N:"supplied",slot:"1"}]}]},{N:"let",line:"174","var":"Q{}usedCharMap", +as:"*NE",slot:"2",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}charMaps",slot:"1"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{}charMapRef",slot:"0"}]}]},{N:"choose",line:"175",C:[{N:"fn",line:"176",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"177",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn: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:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]}]}]}]}]}]},{N:"callT",line:"178",name:"Q{}expandCharMapRef", +bSlot:"0",C:[{N:"withParam",name:"Q{}charMapRef",flags:"c",as:"1AS",C:[{N:"fn",line:"179",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"withParam",name:"Q{}charMaps",flags:"c",as:"*NE",C:[{N:"varRef",line:"180",name:"Q{}charMaps",slot:"1"}]}]}]},{N:"conditionalSort",line:"183",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"child", +nodeTest:"NE n*:m"}]}]}]}]},{N:"true"},{N:"conditionalSort",line:"186",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"child",nodeTest:"NE n*:m"}]}]}]}]}]}]}]}]},{N:"co",id:"217",binds:"",C:[{N:"function",name:"Q{MyTypes}type-error",line:"1174",module:"type.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg", +name:"Q{}requiredType",as:"1FM"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1179",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0590"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Wrong type "},{N:"fn",line:"325",name:"serialize",C:[{N:"varRef",line:"1179",name:"Q{}suppliedType",slot:"0"},{N:"map", +size:"1",C:[{N:"str",val:"method"},{N:"str",val:"json"}]}]}]},{N:"str",val:" for ??? - expecting "}]},{N:"fn",line:"325",name:"serialize",C:[{N:"varRef",line:"1179",name:"Q{}requiredType",slot:"1"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"json"}]}]}]}]}]}]},{N:"co",id:"218",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_NCNAME",as:"1FM k[AS] v[1AS]",line:"29",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"}, +{N:"str",val:"ASNTNC"}]}]}]},{N:"co",id:"175",binds:"22",C:[{N:"template",name:"Q{}collect-doc",flags:"os",as:"1ND",line:"961",module:"static.xsl",slots:"2",C:[{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"962",card:"1",diag:"7|0|XTTE0505|collect-doc",C:[{N:"sequence",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", +as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"963",name:"Q{}uri",slot:"1",C:[{N:"fn",role:"select",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:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}href"}]}]}]},{N:"check",card:"1",diag:"0|1||fn:resolve-uri",C:[{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:"treat",as:"N",diag:"0|0||fn:base-uri",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"supplied",role:"conversion",slot:"1"}]},{N:"choose",line:"964",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"sequence",line:"965",C:[{N:"treat",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str", +val:"href:"},{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"treat",line:"966",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"BASE-URI:"},{N:"fn",name:"base-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:base-uri", +C:[{N:"dot",flags:"a"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"treat",line:"967",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"resolved-URI:"},{N:"varRef",name:"Q{}uri",slot:"1"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]}]},{N:"treat",line:"970",as:"ND",diag:"7|0|XTTE0505|collect-doc", +C:[{N:"try",flags:"r",C:[{N:"fn",name:"doc",C:[{N:"check",card:"?",diag:"0|0||fn:doc",C:[{N:"convert",from:"A",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{}uri",slot:"1"}]}]}]}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"972",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0165"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" of "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}uri",slot:"1"}]}]},{N:"str",val:" failed:"}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N", +diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]},{N:"doc",line:"973",C:[{N:"elem",line:"975",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"att",line:"976",name:"version",flags:"l",C:[{N:"str",val:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"219",binds:"219",C:[{N:"function",name:"Q{MyTypes}itemTypeRelationship",line:"234",module:"type.xsl",flags:"pU",as:"1AS",slots:"10",C:[{N:"arg",name:"Q{}required",as:"1FM"}, +{N:"arg",name:"Q{}supplied",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"245",C:[{N:"let","var":"Q{}primaryRel",slot:"2",C:[{N:"let","var":"Q{}R",as:"1AS",slot:"3",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"data", +diag:"0|0||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"4",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"data",diag:"0|1||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"p"}]}]}]}]}]},{N:"choose",line:"185", +C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"3"},{N:"varRef",name:"Q{}S",slot:"4"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"3"},{N:"varRef",name:"Q{}S",slot:"4"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"4"},{N:"varRef",name:"Q{}R",slot:"3"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]},{N:"choose",line:"247",C:[{N:"or",line:"248",op:"or",C:[{N:"or",op:"or",C:[{N:"compareToString", +op:"ne",val:"EQ",C:[{N:"varRef",name:"Q{}primaryRel",slot:"2"}]},{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]},{N:"str",val:""}]}]},{N:"varRef",line:"249",name:"Q{}primaryRel",slot:"2"},{N:"true"},{N:"let",line:"252","var":"Q{}R",slot:"5",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"n"}]},{N:"let",line:"253","var":"Q{}S",slot:"6",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"n"}]},{N:"let",line:"266","var":"Q{}nameRel",as:"1AS",slot:"7", +C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}R",slot:"5"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}S",slot:"6"}]}]},{N:"str",val:"LT"},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}S",slot:"6"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}R",slot:"5"}]}]},{N:"str",val:"GT"},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}R",slot:"5"},{N:"varRef",name:"Q{}S",slot:"6"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, +{N:"map",size:"0"}]},{N:"str",val:"EQ"},{N:"true"},{N:"str",val:"DJ"}]},{N:"choose",line:"267",C:[{N:"compareToString",line:"268",op:"ne",val:"EQ",C:[{N:"varRef",name:"Q{}nameRel",slot:"7"}]},{N:"varRef",line:"269",name:"Q{}nameRel",slot:"7"},{N:"true"},{N:"let",line:"272","var":"Q{}R",slot:"8",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"e"}]},{N:"let",line:"273","var":"Q{}S",slot:"9",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"e"}]},{N:"choose", +line:"285",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}R",slot:"8"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}S",slot:"9"}]}]},{N:"str",val:"LT"},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}S",slot:"9"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}R",slot:"8"}]}]},{N:"str",val:"GT"},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}R",slot:"8"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}S",slot:"9"}]}]},{N:"str",val:"EQ"},{N:"true"}, +{N:"ufCall",name:"Q{MyTypes}itemTypeRelationship",tailCall:"self",bSlot:"0",C:[{N:"treat",as:"FM",diag:"0|0||t:itemTypeRelationship",C:[{N:"check",card:"1",diag:"0|0||t:itemTypeRelationship",C:[{N:"varRef",name:"Q{}R",slot:"8"}]}]},{N:"treat",as:"FM",diag:"0|1||t:itemTypeRelationship",C:[{N:"check",card:"1",diag:"0|1||t:itemTypeRelationship",C:[{N:"varRef",name:"Q{}S",slot:"9"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"220",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SUBSUMES",as:"1AS", +line:"163",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"GT"}]}]},{N:"co",id:"221",binds:"",C:[{N:"mode",name:"Q{}process-bindings",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.0",seq:"319",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"s",line:"297",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"300",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",C:[{N:"sequence",role:"content",line:"301",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"308",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"choose",C:[{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}flags"}]}]}]},{N:"str", +val:"c"},{N:"str",val:""}]},{N:"int",val:"-1"},{N:"true"},{N:"let",line:"299","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"str",val:"M:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"308",type:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn", +name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]}]},{N:"applyT",line:"316",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"316",rank:"0",minImp:"0",slots:"4",matches:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"s",line:"254",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"256",C:[{N:"param",name:"Q{}global-shadows",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|global-shadows",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|global-shadows",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"257","var":"Q{}name",as:"1AS",slot:"1", +C:[{N:"fn",name:"concat",C:[{N:"str",val:"V:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"copy",line:"258",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",C:[{N:"sequence",role:"content",line:"259",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"261",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}name",as:"1AS",slot:"2",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"check",line:"212",card:"?", +diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"261",type:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"2"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"let",line:"264","var":"Q{}shadow",slot:"3",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}global-shadows", +slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"sequence",line:"265",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}shadow",slot:"3"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}gVarRef",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}shadow",slot:"3"}]}]}]}]},{N:"att",line:"266",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{}shadow",slot:"3"}]}]}]},{N:"str",val:" "}]}]}]},{N:"applyT",line:"270",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"313",rank:"1", +minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co",flags:"s",line:"85",module:"component-bindings.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"85",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]}, +{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"86","var":"Q{}patterns",as:"*NE",slot:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"}]},{N:"axis", +name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role"}]},{N:"str",val:"match"}]}]},{N:"nextMatch",line:"87",flags:"t",C:[{N:"withParam",name:"Q{}patternSlots",flags:"t",as:"1ADI",C:[{N:"arith",line:"92",op:"+",calc:"i+i",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"cast",flags:"a",as:"1ADI",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}patterns",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"self", +nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent"}]}]}]}]},{N:"fn",name:"max",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}patterns",slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}varRef"}]},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]}]},{N:"int",val:"-1"}]}]}]},{N:"int",val:"1"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"315",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co", +flags:"s",line:"119",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1", +diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"121",name:"Q{}globals",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|globals",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|globals",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"122",name:"Q{}patternSlots",slot:"2",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots", +C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"124",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"125",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing component "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS", +C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"130",C:[{N:"and",line:"132",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}patternSlots",slot:"2"},{N:"int",val:"0"}]}]},{N:"fn",name:"empty",C:[{N:"axis", +name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"copy",line:"134",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"135",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"148",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"149",C:[{N:"axis",name:"attribute", +nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"},{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"315",part:"1",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator",flags:"s",line:"119",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120", +C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"121",name:"Q{}globals",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|globals",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|globals",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"122",name:"Q{}patternSlots",slot:"2",flags:"t",as:"?ADI", +C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"124",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"125",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str", +val:"Processing component "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"132",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]}]}, +{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}patternSlots",slot:"2"},{N:"int",val:"0"}]}]},{N:"fn",name:"empty",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"copy",line:"134",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"135",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child", +nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"148",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"149",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"}, +{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"314",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mode",flags:"s",line:"96",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mode"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"97",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"99",name:"Q{}patternSlots",slot:"1",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots", +C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"choose",line:"100",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"sequence",line:"101",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing mode "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str", +role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"message",line:"102",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"PatternSlots: "},{N:"fn",name:"string",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}patternSlots",slot:"1"}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"copy",line:"104",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mode",C:[{N:"sequence", +role:"content",line:"105",C:[{N:"copyOf",flags:"c",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"106",name:"patternSlots",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}patternSlots",slot:"1"}]}]},{N:"applyT",line:"107",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"322",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"s",line:"346", +module:"component-bindings.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration"}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"347",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam", +C:[{N:"sequence",role:"content",line:"348",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"349",name:"slot",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current-541312609",as:"1",slot:"0",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AS",slot:"1",flags:"l",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash", +C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current-541312609",slot:"0"},{N:"attVal",name:"Q{}name"}]}]},{N:"data",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"}]}, +{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}param"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"1"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"350",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"321", +rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}callT",flags:"s",line:"333",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}callT"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"336",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}callT", +C:[{N:"sequence",role:"content",line:"337",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"339",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",line:"335","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"str",val:"T:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"339",type:"1NE nQ{http://ns.saxonica.com/xslt/export}callT", +flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"342",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"317",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall",flags:"s",line:"273",module:"component-bindings.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"276",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}ufCall",C:[{N:"sequence",role:"content",line:"277",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"279",name:"bSlot",flags:"l",C:[{N:"convert", +from:"ADI",to:"AS",C:[{N:"let",line:"275","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"279",type:"1NE nQ{http://ns.saxonica.com/xslt/export}ufCall", +flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"282",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"318",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef",flags:"s",line:"285",module:"component-bindings.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"288",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}ufRef",C:[{N:"sequence",role:"content",line:"289",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"291",name:"bSlot",flags:"l",C:[{N:"convert", +from:"ADI",to:"AS",C:[{N:"let",line:"287","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}arity"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"291",type:"1NE nQ{http://ns.saxonica.com/xslt/export}ufRef", +flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"294",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"312",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}package",flags:"s",line:"32",module:"component-bindings.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}package"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"33",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]}, +{N:"let",line:"35","var":"Q{}globals",slot:"1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"ifCall",line:"58",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:symbolic-name#1",C:[{N:"forEach",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|actor",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"choose", +line:"61",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalParam,NE nQ{http://ns.saxonica.com/xslt/export}globalVariable]"}]},{N:"fn",line:"62",name:"concat",C:[{N:"str",val:"V:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"64",name:"exists",C:[{N:"axis", +name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}attributeSet"}]},{N:"fn",line:"65",name:"concat",C:[{N:"str",val:"A:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"67",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}template"},{N:"fn", +name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"fn",line:"68",name:"concat",C:[{N:"str",val:"T:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"70",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]},{N:"fn",line:"71",name:"concat",C:[{N:"str", +val:"M:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"fn",line:"73",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"}]},{N:"fn",line:"74",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]}, +{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]},{N:"true"},{N:"str",val:"???"}]}]}]},{N:"fn",line:"35",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"sequence",line:"36",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str", +val:"traceProgress"}]},{N:"message",line:"37",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Globals:"},{N:"fn",name:"count",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}globals",slot:"1"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"copy",line:"39",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}package",C:[{N:"sequence",role:"content",line:"40", +C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"41",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}globals",flags:"t",C:[{N:"varRef",line:"42",name:"Q{}globals",slot:"1"}]},{N:"withParam",name:"Q{}global-shadows",flags:"t",as:"1FM",C:[{N:"ifCall",line:"51",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}, {N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"0.0",seq:"319",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}useAS",flags:"s",line:"320",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"324",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}useAS", -C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"326",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",line:"322","var":"Q{}name",as:"1AS",slot:"0",eval:"8",C:[{N:"fn",name:"concat",C:[{N:"str",val:"A:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"326",type:"1NE nQ{http://ns.saxonica.com/xslt/export}useAS", -flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"329",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"314",part:"2",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}key",flags:"s",line:"119",module:"component-bindings.xsl", +prec:"0",prio:"0.0",seq:"320",rank:"0",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}useAS",flags:"s",line:"320",module:"component-bindings.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"323",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}useAS", +C:[{N:"sequence",role:"content",line:"324",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"326",name:"bSlot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",line:"322","var":"Q{}name",as:"1AS",slot:"0",C:[{N:"fn",name:"concat",C:[{N:"str",val:"A:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"check",line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"dot",line:"326",type:"1NE nQ{http://ns.saxonica.com/xslt/export}useAS", +flags:"a"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"0"}]}]},{N:"int",val:"1"}]}]}]}]}]}]},{N:"applyT",line:"329",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"315",part:"2",rank:"0",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}key",flags:"s",line:"119",module:"component-bindings.xsl", C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}key"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]}, {N:"param",line:"121",name:"Q{}globals",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|globals",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|globals",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"122",name:"Q{}patternSlots",slot:"2",flags:"t",as:"?ADI",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|patternSlots",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|patternSlots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|patternSlots", C:[{N:"data",diag:"8|0|XTTE0590|patternSlots",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"124",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"125",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Processing component "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]}]}]}]}]}, {N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"132",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}patternSlots",slot:"2"},{N:"int",val:"0"}]}]},{N:"fn",name:"empty",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"}]}]},{N:"copy", -line:"135",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"149",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert", -from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"},{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"co",id:"136",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ONE", -as:"1ADI",line:"106",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co",id:"137",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg2065453085",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence", -C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0570"},{N:"str",val:"check"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"138",binds:"",C:[{N:"function",name:"Q{MyFunctions}has-same-namespaces",line:"117",module:"namespaces.xsl",eval:"16",flags:"pU",as:"1AB",slots:"5",C:[{N:"arg",name:"Q{}n1",as:"1NE"},{N:"arg", -name:"Q{}n2",as:"1NE"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"120","var":"Q{}n1.prefixes",as:"*AS",slot:"2",eval:"4",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"varRef",name:"Q{}n1",slot:"0"}]},{N:"let",line:"121","var":"Q{}n2.prefixes",as:"*AS",slot:"3",eval:"4",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"varRef",name:"Q{}n2",slot:"1"}]},{N:"and",line:"127", -op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}n1.prefixes",slot:"2"}]},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}n2.prefixes",slot:"3"}]}]},{N:"every","var":"Q{}p",slot:"4",C:[{N:"varRef",name:"Q{}n1.prefixes",slot:"2"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}n2.prefixes",slot:"3"},{N:"varRef",name:"Q{}p",slot:"4"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef", -name:"Q{}p",slot:"4"},{N:"varRef",name:"Q{}n1",slot:"0"}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"4"},{N:"varRef",name:"Q{}n2",slot:"1"}]}]}]}]}]}]}]}]}]},{N:"co",id:"139",binds:"139 139",C:[{N:"function",name:"Q{MyFunctions}is-tail-position",line:"261",module:"lib.xsl",eval:"16",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"263",card:"1",diag:"5|0|XTTE0780|f:is-tail-position#1",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"and",line:"270",op:"and",C:[{N:"fn",line:"259",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"slash",line:"270",simple:"1",C:[{N:"dot",type:"1NE"},{N:"axis",line:"259",name:"following-sibling",nodeTest:"NE"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}fallback,NE nQ{http://www.w3.org/1999/XSL/Transform}catch]"}]}]}]}, -{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}iterate,NE nQ{http://www.w3.org/1999/XSL/Transform}try],NE nQ{http://www.w3.org/1999/XSL/Transform}catch]"}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}if"}]},{N:"ufCall",name:"Q{MyFunctions}is-tail-position",tailCall:"false",bSlot:"0",eval:"16",C:[{N:"treat",as:"NE",diag:"0|0||f:is-tail-position", -C:[{N:"check",card:"1",diag:"0|0||f:is-tail-position",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"true"},{N:"false"}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}when,NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise]"}]},{N:"ufCall",name:"Q{MyFunctions}is-tail-position",tailCall:"false",bSlot:"1",eval:"16",C:[{N:"treat",as:"NE",diag:"0|0||f:is-tail-position",C:[{N:"check",card:"1",diag:"0|0||f:is-tail-position", -C:[{N:"docOrder",intra:"1",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]}]}]},{N:"true"},{N:"false"}]}]}]}]}]}]}]},{N:"co",id:"140",binds:"",C:[{N:"mode",name:"Q{}on-empty",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"176",rank:"0",minImp:"0",slots:"3",matches:"NE",flags:"s",line:"184",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"184",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"185",C:[{N:"param",name:"Q{}element.attributes",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|element.attributes",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|element.attributes",C:[{N:"data",diag:"8|0|XTTE0590|element.attributes",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"copy",line:"187",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"188","var":"Q{}attributes", -as:"*NE",slot:"1",eval:"4",C:[{N:"union",op:"|",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}att"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}element.attributes",slot:"0"},{N:"attVal",name:"Q{}name",chk:"0"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"}]},{N:"let",line:"189","var":"Q{}onEmpty",as:"*NE nQ{http://ns.saxonica.com/xslt/export}onEmpty",slot:"2",eval:"4",C:[{N:"axis",name:"child", -nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"elem",line:"190",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"191",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}attributes",slot:"1"}]},{N:"elem",line:"192",name:"condSeq",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"194",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"}, -{N:"union",op:"|",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}attributes",slot:"1"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}onEmpty",slot:"2"}]}]}]}]},{N:"applyT",line:"196",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}onEmpty",slot:"2"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"175",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq",flags:"s",line:"181",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match", -test:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"182",type:"1NE nQ{http://ns.saxonica.com/xslt/export}condSeq",flags:"a"}]}]}]},{N:"co",id:"80",binds:"52 83 52 10",C:[{N:"mode",name:"Q{}create.xpath",onNo:"FF",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.0",seq:"408", -rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"s",as:"*NA",line:"1866",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1867",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"att",line:"1868",name:"cxt",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"406",rank:"0",minImp:"0",slots:"13",matches:"NA",flags:"s",line:"1818",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1819",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1820",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?", -diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"1821",name:"Q{}backward-compatibility",slot:"2",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"data",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param", -line:"1822",name:"Q{}role",slot:"3",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"1826",name:"Q{}ns",slot:"4",flags:"t",as:"?AS",C:[{N:"treat",role:"select",as:"AS",diag:"8|0|XTTE0600|ns",C:[{N:"check",card:"?",diag:"8|0|XTTE0600|ns",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0600|ns",C:[{N:"data",diag:"8|0|XTTE0600|ns",C:[{N:"first",C:[{N:"sequence", -C:[{N:"lastOf",C:[{N:"slash",simple:"2",C:[{N:"fn",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NA",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"9",eval:"16",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -card:"1",diag:"0|0||f:encode-namespaces",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"9"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context", -slot:"9"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"9"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces", -bSlot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|ns",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|ns",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|ns",C:[{N:"data",diag:"8|0|XTTE0590|ns",C:[{N:"supplied",slot:"4"}]}]}]}]}]},{N:"param",line:"1827",name:"Q{}attr", -slot:"5",C:[{N:"empty",role:"select"},{N:"supplied",role:"conversion",slot:"5"}]},{N:"param",line:"1828",name:"Q{}type",slot:"6",C:[{N:"empty",role:"select"},{N:"supplied",role:"conversion",slot:"6"}]},{N:"param",line:"1831",name:"Q{}checkType",slot:"7",C:[{N:"empty",role:"select"},{N:"supplied",role:"conversion",slot:"7"}]},{N:"param",line:"1832",name:"Q{}diagnostic",slot:"8",C:[{N:"empty",role:"select"},{N:"supplied",role:"conversion",slot:"8"}]},{N:"elem",line:"1835",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"fn",name:"string",C:[{N:"choose",C:[{N:"varRef",name:"Q{}type",slot:"6"},{N:"fn",name:"concat",C:[{N:"str",val:" treat as "},{N:"data",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}type",slot:"6"}]}]}]}]}]}]},{N:"att",name:"loc",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}node",as:"1N",slot:"10",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NA",flags:"a"},{N:"cvUntyped",module:"lib.xsl",line:"407",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"varRef", -name:"Q{}node",slot:"10"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/@"},{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"10"}]}]}]}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"11",eval:"16",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -card:"1",diag:"0|0||f:line-number",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"11"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"12",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"11"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"12"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"11"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"12"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"ns",flags:"l", -C:[{N:"varRef",name:"Q{}ns",slot:"4"}]},{N:"varRef",line:"1836",name:"Q{}role",slot:"3"},{N:"choose",line:"1837",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}role",slot:"3"}]},{N:"applyT",line:"1838",mode:"Q{}roleMap",bSlot:"1",C:[{N:"dot",role:"select",type:"1NA",flags:"a"}]}]},{N:"choose",line:"1840",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"2"},{N:"att",line:"1841",name:"BC",flags:"l",C:[{N:"str",val:"true"}]}]},{N:"choose",line:"1843",C:[{N:"varRef",name:"Q{}checkType",slot:"7"}, -{N:"sequence",line:"1844",C:[{N:"att",name:"checkType",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{}checkType",slot:"7"}]}]}]},{N:"str",val:" "}]}]},{N:"att",line:"1845",name:"diagnostic",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{}diagnostic",slot:"8"}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"varRef",line:"1847",name:"Q{}attr",slot:"5"},{N:"varRef", -line:"1847",name:"Q{}xpath-default-namespace",slot:"0"},{N:"varRef",line:"1847",name:"Q{}default-collation",slot:"1"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"407",part:"1",rank:"2",minImp:"0",slots:"7",matches:"NA nQ{}match",flags:"s",line:"1851",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}match"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"}]},{N:"sequence",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1852",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1853", -name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"1855",name:"Q{}ns",slot:"2",flags:"t",as:"?AS",C:[{N:"treat",role:"select",as:"AS",diag:"8|0|XTTE0600|ns",C:[{N:"check",card:"?",diag:"8|0|XTTE0600|ns",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0600|ns",C:[{N:"data",diag:"8|0|XTTE0600|ns", -C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"6",eval:"16",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -card:"1",diag:"0|0||f:encode-namespaces",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context", -slot:"6"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces", -bSlot:"2"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|ns",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|ns",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|ns",C:[{N:"data",diag:"8|0|XTTE0590|ns",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"1856",name:"Q{}role", -slot:"3",C:[{N:"lookup",role:"select",C:[{N:"gVarRef",name:"Q{}roleMap",bSlot:"3"},{N:"str",val:"match"}]},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param",line:"1857",name:"Q{}attr",slot:"4",C:[{N:"empty",role:"select"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"param",line:"1858",name:"Q{}surroundFunction",slot:"5",C:[{N:"str",role:"select",val:""},{N:"supplied",role:"conversion",slot:"5"}]},{N:"elem",line:"1859",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", -C:[{N:"att",name:"role",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{}role",slot:"3"}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"2"}]},{N:"varRef",line:"1860",name:"Q{}attr",slot:"4"},{N:"varRef",line:"1860",name:"Q{}xpath-default-namespace",slot:"0"},{N:"varRef", -line:"1860",name:"Q{}default-collation",slot:"1"},{N:"choose",line:"1861",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"applyT",line:"1862",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"407",rank:"2",minImp:"0",slots:"7", -matches:"NA nQ{}match",flags:"s",line:"1851",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}match"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1852",C:[{N:"param",name:"Q{}xpath-default-namespace", -slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1853",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]}, -{N:"param",line:"1855",name:"Q{}ns",slot:"2",flags:"t",as:"?AS",C:[{N:"treat",role:"select",as:"AS",diag:"8|0|XTTE0600|ns",C:[{N:"check",card:"?",diag:"8|0|XTTE0600|ns",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0600|ns",C:[{N:"data",diag:"8|0|XTTE0600|ns",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -"var":"Q{}context",as:"1NE",slot:"6",eval:"16",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:encode-namespaces",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"namespace",nodeTest:"NN"}]}, -{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"2"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}, -{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|ns",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|ns",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|ns",C:[{N:"data",diag:"8|0|XTTE0590|ns",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"1856",name:"Q{}role",slot:"3",C:[{N:"lookup",role:"select",C:[{N:"gVarRef",name:"Q{}roleMap",bSlot:"3"},{N:"str",val:"match"}]},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param",line:"1857",name:"Q{}attr",slot:"4",C:[{N:"empty",role:"select"},{N:"supplied", -role:"conversion",slot:"4"}]},{N:"param",line:"1858",name:"Q{}surroundFunction",slot:"5",C:[{N:"str",role:"select",val:""},{N:"supplied",role:"conversion",slot:"5"}]},{N:"elem",line:"1859",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",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{}role",slot:"3"}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"xpath",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"2"}]},{N:"varRef",line:"1860",name:"Q{}attr",slot:"4"},{N:"varRef",line:"1860",name:"Q{}xpath-default-namespace",slot:"0"},{N:"varRef",line:"1860",name:"Q{}default-collation",slot:"1"},{N:"choose",line:"1861",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"applyT",line:"1862", -flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]}]}]}]}]}]}]}]}]},{N:"co",id:"141",binds:"3",C:[{N:"function",name:"Q{MyFunctions}not-reserved",line:"72",module:"lib.xsl",eval:"16",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}eqName",as:"1AS"},{N:"arg",name:"Q{}location",as:"?N"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"76",C:[{N:"fn",name:"matches",C:[{N:"varRef",name:"Q{}eqName",slot:"0"},{N:"str",val:"^Q\\{http://www.w3.org/(1999/XSL/Transform|2005/xpath-functions(/map|/math|/array)?|XML/1998/namespace|2001/XMLSchema(-instance)?|2005/xqt-errors|2000/xmlns/)\\}"},{N:"str",val:""}]},{N:"treat",line:"77",as:"AS",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:not-reserved#2",C:[{N:"data",diag:"5|0|XTTE0780|f:not-reserved#2", -C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",eval:"0 16 16",C:[{N:"str",val:"XTSE0080"},{N:"fn",name:"concat",C:[{N:"str",val:"Namespace "},{N:"fn",name:"substring-before",C:[{N:"fn",name:"substring-after",C:[{N:"varRef",name:"Q{}eqName",slot:"0"},{N:"str",val:"Q{"}]},{N:"str",val:"}"}]},{N:"str",val:" is reserved for system use"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}location",slot:"1"}]}]}]}]}]}]},{N:"true"},{N:"varRef",line:"80", -name:"Q{}eqName",slot:"0"}]}]}]},{N:"co",id:"50",binds:"34 51 31 52 61 95 51 52 31 142 95 51",C:[{N:"mode",name:"Q{}sef.global",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"3.6",seq:"364",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"143",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA", -C:[{N:"varRef",line:"145",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"359",rank:"8",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s", -line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"102",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"104",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",eval:"16",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"355",rank:"7",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"134",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"135",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf",line:"136",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"148",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"149",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"152",name:"binds",flags:"l",C:[{N:"fn",name:"string-join", +C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}globals",slot:"1"},{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"applyT",line:"153",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"co",id:"164",binds:"",C:[{N:"function",name:"Q{MyFunctions}has-uniform-static-context", +line:"153",module:"namespaces.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}element",as:"1N"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"157","var":"Q{http://saxon.sf.net/generated-variable}cc393138250",as:"*NE",slot:"1",flags:"l",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}element",slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"and", +line:"160",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",line:"156",name:"empty",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}element",slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"fn",line:"157",name:"empty",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}cc393138250", +slot:"1"},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]},{N:"ifCall",line:"133",name:"Q{http://saxon.sf.net/}has-uniform-namespaces",type:"1AB",C:[{N:"treat",as:"NE",diag:"0|0||saxon:has-uniform-namespaces",C:[{N:"varRef",line:"155",name:"Q{}element",slot:"0"}]}]}]},{N:"fn",line:"159",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"varRef", +name:"Q{http://saxon.sf.net/generated-variable}cc393138250",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"co",id:"222",binds:"22 25 25",C:[{N:"function",name:"Q{MyTypes}type-error",line:"1182",module:"type.xsl",flags:"pU",as:"*",slots:"5",C:[{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"arg",name:"Q{}expression",as:"1NE"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1187",C:[{N:"let","var":"Q{}parts",as:"*AS",slot:"4",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}diag",slot:"2"},{N:"str",val:"\\|"},{N:"str",val:""}]},{N:"ufCall",line:"1192",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:syntax-error-at",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"4"},{N:"int",val:"3"}]}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"str",val:"Required type of "},{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"4"},{N:"int",val:"4"}]}]},{N:"str",val:" is "}]},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"1"}]}]},{N:"str",val:"; actual type is "}]},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"2",C:[{N:"varRef",name:"Q{}suppliedType",slot:"0"}]}]},{N:"varRef",name:"Q{}expression",slot:"3"}]}]}]}]}]},{N:"co",id:"223",binds:"",C:[{N:"globalVariable", +name:"Q{}errInfo",as:"1AQ",line:"344",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"info"}]}]},{N:"co",id:"40",binds:"",C:[{N:"globalVariable",name:"Q{}xslt.schema",as:"1FM k[AS] v[1FM]",line:"1",module:"XSLT-schema.xsl",visibility:"PRIVATE",C:[{N:"map",size:"77",C:[{N:"str",val:"use-package"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str", +val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"package-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"accept"},{N:"str",val:"AAA"},{N:"str",val:"override"}, +{N:"str",val:"AAA"}]}]},{N:"str",val:"matching-substring"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"map-entry"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"key"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"select"},{N:"map",size:"2", +C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"key"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3280"}]},{N:"str",val:"output"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"}, +{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"24",C:[{N:"str",val:"omit-xml-declaration"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"method"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"json"}, +{N:"str",val:"adaptive"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"allow-duplicate-names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"media-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str", +val:"doctype-public"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"escape-uri-attributes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"standalone"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"boolean"},{N:"str",val:"omit"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"json-node-output-method"},{N:"map",size:"2", +C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"doctype-system"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"item-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2", +C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"indent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"suppress-indentation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"byte-order-mark"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"include-content-type"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"encoding"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"normalization-form"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"NFC"},{N:"str",val:"NFD"},{N:"str",val:"NFKC"},{N:"str",val:"NFKD"},{N:"str",val:"fully-normalized"},{N:"str",val:"none"},{N:"str",val:"nmtoken"}]},{N:"str", +val:"isAVT"},{N:"false"}]},{N:"str",val:"html-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"nmtoken"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"undeclare-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"build-tree"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", +val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"cdata-section-elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"parameter-document"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"non-matching-substring"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str", +val:"parents"},{N:"str",val:"analyze-string"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"sequence"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]}, +{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]},{N:"str",val:"fork"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"sequence"},{N:"str",val:"AAA"},{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"for-each-group"},{N:"str", +val:"AAA"}]}]},{N:"str",val:"fallback"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"next-iteration"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str", +val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"mode"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"9",C:[{N:"str",val:"warning-on-multiple-match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"on-no-match"},{N:"map", +size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"deep-copy"},{N:"str",val:"shallow-copy"},{N:"str",val:"deep-skip"},{N:"str",val:"shallow-skip"},{N:"str",val:"text-only-copy"},{N:"str",val:"fail"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"typed"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"boolean"},{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"on-multiple-match"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"use-last"},{N:"str",val:"fail"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"warning-on-no-match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"accumulator-rule"},{N:"map",size:"4", +C:[{N:"str",val:"required.attributes"},{N:"str",val:"match"},{N:"str",val:"parents"},{N:"str",val:"accumulator"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"phase"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"start"},{N:"str",val:"end"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map", +size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"expose"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"3",C:[{N:"str",val:"component"},{N:"str",val:"names"},{N:"str",val:"visibility"}]},{N:"str",val:"parents"},{N:"str",val:"package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3", +C:[{N:"str",val:"names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"component"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"template"},{N:"str",val:"function"}, +{N:"str",val:"attribute-set"},{N:"str",val:"variable"},{N:"str",val:"mode"},{N:"str",val:"*"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"for-each"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"preserve-space"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"elements"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", +val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"import"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"}, +{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"package"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"},{N:"map",size:"14",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-when"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str", +val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"package-version"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"id"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"declared-modes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"extension-element-prefixes"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"expose"},{N:"str",val:"AAA"},{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"accumulator"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2", +C:[{N:"str",val:"name"},{N:"str",val:"initial-value"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"4",C:[{N:"str",val:"initial-value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"accumulator-rule"},{N:"str",val:"AAA"}]}]},{N:"str",val:"with-param"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"}, +{N:"literal",count:"6",C:[{N:"str",val:"apply-templates"},{N:"str",val:"call-template"},{N:"str",val:"apply-imports"},{N:"str",val:"next-match"},{N:"str",val:"next-iteration"},{N:"str",val:"evaluate"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"4",C:[{N:"str",val:"tunnel"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"assert"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"}, +{N:"str",val:"test"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"test"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"error-code"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"message"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"terminate"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"error-code"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"include"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map", +size:"1",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"accept"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"3",C:[{N:"str",val:"component"},{N:"str",val:"names"},{N:"str",val:"visibility"}]},{N:"str",val:"parents"},{N:"str",val:"use-package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"names"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"},{N:"str",val:"hidden"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"component"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"template"},{N:"str",val:"function"}, +{N:"str",val:"attribute-set"},{N:"str",val:"variable"},{N:"str",val:"mode"},{N:"str",val:"*"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"call-template"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"1",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"number"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"12",C:[{N:"str",val:"level"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"single"},{N:"str",val:"multiple"},{N:"str",val:"any"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"letter-value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal", +count:"2",C:[{N:"str",val:"alphabetic"},{N:"str",val:"traditional"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"from"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"grouping-size"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"integer"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"count"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"ordinal"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"format"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"grouping-separator"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"start-at"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"perform-sort"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"}, +{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"on-completion"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"iterate"}, +{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3125"}]},{N:"str",val:"merge-key"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"merge-source"}, +{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"ascending"},{N:"str",val:"descending"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"case-order"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"upper-first"},{N:"str",val:"lower-first"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"data-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"text"},{N:"str",val:"number"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str", +val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3200"}]},{N:"str",val:"result-document"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"27",C:[{N:"str",val:"omit-xml-declaration"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"method"},{N:"map",size:"2", +C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"json"},{N:"str",val:"adaptive"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"allow-duplicate-names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"}, +{N:"true"}]},{N:"str",val:"media-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"doctype-public"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"escape-uri-attributes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"standalone"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2", +C:[{N:"str",val:"boolean"},{N:"str",val:"omit"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"json-node-output-method"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"doctype-system"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"item-separator"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"output-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"nmtoken"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"indent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"suppress-indentation"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"byte-order-mark"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"include-content-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"encoding"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]}, +{N:"str",val:"normalization-form"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"NFC"},{N:"str",val:"NFD"},{N:"str",val:"MFKC"},{N:"str",val:"MFKD"},{N:"str",val:"fully-normalized"},{N:"str",val:"none"},{N:"str",val:"nmtoken"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"html-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"format"},{N:"map",size:"2",C:[{N:"str",val:"values"}, +{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"undeclare-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"}, +{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"build-tree"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"cdata-section-elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"parameter-document"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str", +val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"merge-action"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"merge"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"next-match"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"}, +{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"transform"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"},{N:"map",size:"11",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-when"},{N:"map", +size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"id"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"}, +{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"extension-element-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"1",C:[{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"override"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"use-package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"5",C:[{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"attribute-set"},{N:"str",val:"AAA"},{N:"str",val:"function"},{N:"str",val:"AAA"},{N:"str",val:"template"},{N:"str", +val:"AAA"},{N:"str",val:"variable"},{N:"str",val:"AAA"}]}]},{N:"str",val:"param"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"7",C:[{N:"str",val:"package"},{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"override"},{N:"str",val:"template"},{N:"str",val:"function"},{N:"str",val:"iterate"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"tunnel"},{N:"map",size:"2",C:[{N:"str",val:"values"}, +{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"static"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"}, +{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"required"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"text"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map", +size:"1",C:[{N:"str",val:"disable-output-escaping"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"PCDATA"},{N:"str",val:"AAA"}]}]},{N:"str",val:"source-document"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", +val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"use-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"}, +{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"stylesheet"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"},{N:"map",size:"11",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-when"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str", +val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"id"}, +{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"extension-element-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"apply-imports"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"copy-of"},{N:"map", +size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"copy-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"copy-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"}, +{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"merge-source"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, +{N:"str",val:"select"},{N:"str",val:"parents"},{N:"str",val:"merge"},{N:"str",val:"permitted.attributes"},{N:"map",size:"9",C:[{N:"str",val:"for-each-source"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"}, +{N:"false"}]},{N:"str",val:"sort-before-merge"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"for-each-item"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"merge-key"},{N:"str",val:"AAA"}]}]},{N:"str", +val:"context-item"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"template"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"required"},{N:"str",val:"optiona"},{N:"str",val:"absent"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"item-type"},{N:"str",val:"isAVT"}, +{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"attribute-set"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"4",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"1",C:[{N:"str",val:"attribute"},{N:"str",val:"AAA"}]}]},{N:"str",val:"strip-space"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, +{N:"map",size:"0"}]},{N:"str",val:"analyze-string"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"select"},{N:"str",val:"regex"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"regex"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"flags"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"matching-substring"},{N:"str",val:"AAA"},{N:"str",val:"non-matching-substring"},{N:"str",val:"AAA"},{N:"str",val:"fallback"},{N:"str",val:"AAA"}]}]},{N:"str",val:"decimal-format"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"}, +{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"12",C:[{N:"str",val:"percent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exponent-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"pattern-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"zero-digit"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"infinity"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"decimal-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"}, +{N:"false"}]},{N:"str",val:"digit"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"per-mille"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"minus-sign"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"NaN"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"}, +{N:"false"}]},{N:"str",val:"grouping-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"value-of"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"disable-output-escaping"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0870"}]},{N:"str",val:"processing-instruction"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, +{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0880"}]}, +{N:"str",val:"where-populated"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"otherwise"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"choose"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"}, +{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"copy"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"inherit-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"copy-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"choose"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"otherwise"},{N:"str",val:"AAA"},{N:"str",val:"when"},{N:"str", +val:"AAA"}]}]},{N:"str",val:"for-each-group"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"7",C:[{N:"str",val:"group-by"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"group-starting-with"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"composite"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"group-adjacent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"group-ending-with"},{N:"map", +size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"merge"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"}, +{N:"str",val:"merge-action"},{N:"str",val:"AAA"},{N:"str",val:"merge-source"},{N:"str",val:"AAA"}]}]},{N:"str",val:"character-map"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str", +val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"output-character"},{N:"str",val:"AAA"}]}]},{N:"str",val:"function"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str", +val:"permitted.attributes"},{N:"map",size:"8",C:[{N:"str",val:"cache"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"override-extension-function"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamability"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"8",C:[{N:"str",val:"unclassified"},{N:"str",val:"absorbing"},{N:"str",val:"inspection"}, +{N:"str",val:"filter"},{N:"str",val:"shallow-descent"},{N:"str",val:"deep-descent"},{N:"str",val:"ascent"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"new-each-time"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"yes"},{N:"str",val:"true"},{N:"str",val:"1"},{N:"str",val:"no"},{N:"str",val:"false"},{N:"str", +val:"0"},{N:"str",val:"maybe"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"override"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str", +val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"evaluate"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"xpath"},{N:"str",val:"permitted.attributes"},{N:"map",size:"7",C:[{N:"str",val:"with-params"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}, +{N:"str",val:"base-uri"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"context-item"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"schema-aware"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"}, +{N:"false"}]},{N:"str",val:"xpath"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace-context"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"iterate"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"}, +{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"on-completion"},{N:"str",val:"AAA"},{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"template"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, +{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"priority"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str", +val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"content-item"},{N:"str",val:"AAA"},{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"when"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"test"},{N:"str",val:"parents"},{N:"str",val:"choose"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"test"},{N:"map",size:"2", +C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"apply-templates"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"token"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"document"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4", +C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"namespace"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"}, +{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0910"}]},{N:"str",val:"try"},{N:"map",size:"3",C:[{N:"str", +val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"rollback-output"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"}, +{N:"str",val:"AAA"},{N:"str",val:"catch"},{N:"str",val:"AAA"}]}]},{N:"str",val:"global-context-item"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"required"},{N:"str",val:"optional"},{N:"str", +val:"absent"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"item-type"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"catch"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"try"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"errors"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", +val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3150"}]},{N:"str",val:"map"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"}, +{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"variable"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"static"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str", +val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"}, +{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"attribute"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"name"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"qname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0840"}]},{N:"str",val:"element"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"}, +{N:"map",size:"6",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"inherit-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"qname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal", +count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]}, +{N:"str",val:"if"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"test"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"test"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"output-character"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal", +count:"2",C:[{N:"str",val:"character"},{N:"str",val:"string"}]},{N:"str",val:"parents"},{N:"str",val:"character-map"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"character"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"string"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"sort"}, +{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"4",C:[{N:"str",val:"for-each"},{N:"str",val:"for-each-group"},{N:"str",val:"apply-templates"},{N:"str",val:"perform-sort"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"7",C:[{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"}, +{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"ascending"},{N:"str",val:"descending"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"case-order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"upper-first"},{N:"str",val:"lower-first"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"stable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"}, +{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"data-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"text"},{N:"str",val:"number"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"}, +{N:"str",val:"XTSE1015"}]},{N:"str",val:"namespace-alias"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"stylesheet-prefix"},{N:"str",val:"result-prefix"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"result-prefix"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str", +val:"prefix"},{N:"str",val:"#default"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"stylesheet-prefix"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"prefix"},{N:"str",val:"#default"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"break"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map", +size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3125"}]},{N:"str",val:"key"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"name"},{N:"str",val:"match"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str", +val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"composite"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"collation"}, +{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"comment"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str", +val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0940"}]},{N:"str",val:"on-empty"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str", +val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]},{N:"str",val:"on-non-empty"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"}, +{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]}]}]}]},{N:"co",id:"224",binds:"34",C:[{N:"function",name:"Q{MyFunctions}wrongParent",line:"780",module:"normalize.xsl",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"homCheck",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"782",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" cannot be a child of "}]},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]}]},{N:"dot",type:"1NE"}]}]}]}]}]},{N:"co",id:"225",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}ONE",as:"1ADI", +line:"102",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co",id:"226",binds:"74",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1965472536",as:"+",line:"254",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"254",C:[{N:"str",val:"XSLT compiler version:"}, +{N:"gVarRef",name:"Q{}compiler.version",bSlot:"0"}]}]}]},{N:"co",id:"227",binds:"",C:[{N:"function",name:"Q{MyFunctions}escapeAVT",line:"143",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}s",as:"1AS"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"145",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}s",slot:"0"}, +{N:"str",val:"\\{"},{N:"str",val:"{{"},{N:"str",val:""}]},{N:"str",val:"\\}"},{N:"str",val:"}}"},{N:"str",val:""}]}]}]},{N:"co",id:"228",binds:"58 219 214 64 229 9 7 222 230 214 230 214 230 214",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"1065",module:"type.xsl",flags:"pU",as:"*",slots:"20",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1074",C:[{N:"let","var":"Q{}suppliedItemType",slot:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"p"}]},{N:"let",line:"1075","var":"Q{}suppliedCard",slot:"5",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"o"}]},{N:"let",line:"1076","var":"Q{}reqItemType",slot:"6",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"p"}]},{N:"let",line:"1080","var":"Q{}cardOK",as:"1AB",slot:"7",C:[{N:"gc",op:"=",card:"N:1", +comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"EQ"},{N:"str",val:"GT"}]},{N:"check",line:"1079",card:"1",diag:"3|0|XTTE0570|cardRel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|cardRel",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|cardRel",C:[{N:"data",diag:"3|0|XTTE0570|cardRel",C:[{N:"ufCall",name:"Q{MyTypes}cardinalityRelationship",tailCall:"false",bSlot:"0",C:[{N:"check",line:"1077",card:"1",diag:"0|0||t:cardinalityRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p", +diag:"0|0||t:cardinalityRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:cardinalityRelationship",C:[{N:"data",diag:"0|0||t:cardinalityRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"o"}]}]}]}]}]},{N:"check",card:"1",diag:"0|1||t:cardinalityRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:cardinalityRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:cardinalityRelationship",C:[{N:"data",diag:"0|1||t:cardinalityRelationship",C:[{N:"varRef", +name:"Q{}suppliedCard",slot:"5"}]}]}]}]}]}]}]}]}]}]},{N:"let",line:"1087","var":"Q{}itemTypeOK",as:"1AB",slot:"8",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"EQ"},{N:"str",val:"GT"}]},{N:"choose",line:"1086",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"n"}]}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str", +val:"n"}]}]}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"e"}]}]}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"e"}]}]}]},{N:"ufCall",name:"Q{MyTypes}itemTypeRelationship",tailCall:"false",bSlot:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}suppliedType",slot:"1"}]},{N:"true"},{N:"let","var":"Q{}R",as:"1AS",slot:"9",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship", +C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"data",diag:"0|0||t:alphaRelationship",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"10",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"data",diag:"0|1||t:alphaRelationship", +C:[{N:"varRef",name:"Q{}suppliedItemType",slot:"4"}]}]}]}]},{N:"choose",line:"185",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"9"},{N:"varRef",name:"Q{}S",slot:"10"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"9"},{N:"varRef",name:"Q{}S",slot:"10"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"10"},{N:"varRef",name:"Q{}R",slot:"9"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]}]}]},{N:"choose", +line:"1089",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}itemTypeOK",slot:"8"},{N:"varRef",name:"Q{}cardOK",slot:"7"}]},{N:"varRef",line:"1090",name:"Q{}expression",slot:"0"},{N:"varRef",line:"1092",name:"Q{}itemTypeOK",slot:"8"},{N:"ufCall",line:"1093",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"2",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"and",line:"1095",op:"and",C:[{N:"varRef",name:"Q{}cardOK", +slot:"7"},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}suppliedCard",slot:"5"}]},{N:"str",val:"0"}]}]},{N:"varRef",line:"1096",name:"Q{}expression",slot:"0"},{N:"fn",line:"1100",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"str",val:"A"}]},{N:"let",line:"1106","var":"Q{}expression.1",slot:"11",C:[{N:"choose",C:[{N:"fn",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}suppliedItemType",slot:"4"}]}]}]}]},{N:"str",val:"A"}]},{N:"varRef", +name:"Q{}expression",slot:"0"},{N:"true"},{N:"elem",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"904",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"3"}]},{N:"slash",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1106",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"905",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1106",name:"Q{}expression",slot:"0"}]}]}]}, +{N:"let",line:"1112","var":"Q{}expression.2",slot:"12",C:[{N:"choose",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]},{N:"varRef",name:"Q{}expression.1",slot:"11"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cvUntyped",tailCall:"false",bSlot:"4",C:[{N:"varRef",name:"Q{}expression.1",slot:"11"},{N:"varRef",name:"Q{}requiredType", +slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]},{N:"let",line:"1118","var":"Q{}expression.3",slot:"13",C:[{N:"choose",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]},{N:"literal",count:"2",C:[{N:"str",val:"AO"},{N:"str",val:"AF"}]}]},{N:"ufCall",name:"Q{MyTypes}convert",tailCall:"false",bSlot:"5",C:[{N:"varRef",name:"Q{}expression.2",slot:"12"},{N:"varRef",name:"Q{}requiredType", +slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"true"},{N:"varRef",name:"Q{}expression.2",slot:"12"}]},{N:"let",line:"1120","var":"Q{}expression.4",as:"?NE",slot:"14",C:[{N:"let",line:"1121","var":"Q{}convertedType",as:"1FM",slot:"15",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"6",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef", +name:"Q{}expression.3",slot:"13"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"choose",line:"1122",C:[{N:"fn",line:"1123",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert",from:"A",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:"lookup",C:[{N:"varRef",name:"Q{}convertedType",slot:"15"},{N:"str",val:"p"}]}]}]}]}]},{N:"check",card:"?",diag:"0|1||fn:starts-with",C:[{N:"convert", +from:"A",to:"AS",flags:"p",diag:"0|1||fn:starts-with",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:starts-with",C:[{N:"data",diag:"0|1||fn:starts-with",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]}]},{N:"varRef",line:"1124",name:"Q{}expression.3",slot:"13"},{N:"compareToString",line:"1126",op:"eq",val:"DJ",C:[{N:"let","var":"Q{}R",as:"1AS",slot:"16",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped", +to:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"data",diag:"0|0||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}convertedType",slot:"15"},{N:"str",val:"p"}]}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"17",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"data",diag:"0|1||t:alphaRelationship",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]}, +{N:"choose",line:"185",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"16"},{N:"varRef",name:"Q{}S",slot:"17"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"16"},{N:"varRef",name:"Q{}S",slot:"17"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"17"},{N:"varRef",name:"Q{}R",slot:"16"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]}]},{N:"treat",line:"1127",as:"NE",diag:"3|0|XTTE0570|expression.4", +C:[{N:"check",card:"?",diag:"3|0|XTTE0570|expression.4",C:[{N:"ufCall",name:"Q{MyTypes}type-error",tailCall:"false",bSlot:"7",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"},{N:"varRef",name:"Q{}expression",slot:"0"}]}]}]},{N:"true"},{N:"ufCall",line:"1130",name:"Q{MyTypes}treat",tailCall:"false",bSlot:"8",C:[{N:"varRef",name:"Q{}expression.3",slot:"13"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag", +slot:"3"}]}]}]},{N:"choose",line:"1139",C:[{N:"varRef",name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.4",slot:"14"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"9",C:[{N:"check",card:"1",diag:"0|0||t:cardCheck",C:[{N:"varRef",name:"Q{}expression.4",slot:"14"}]},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]}]}]}]},{N:"fn",line:"1142",name:"starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"convert", +from:"A",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:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"str",val:"F"}]},{N:"let",line:"1144","var":"Q{}expression.1",slot:"18",C:[{N:"ufCall",name:"Q{MyTypes}treat",tailCall:"false",bSlot:"10",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"choose",line:"1150",C:[{N:"varRef", +name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.1",slot:"18"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"11",C:[{N:"varRef",name:"Q{}expression.1",slot:"18"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]},{N:"true"},{N:"let",line:"1159","var":"Q{}expression.1",slot:"19",C:[{N:"choose",C:[{N:"varRef",name:"Q{}itemTypeOK",slot:"8"},{N:"varRef",name:"Q{}expression",slot:"0"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}treat", +tailCall:"false",bSlot:"12",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]},{N:"choose",line:"1165",C:[{N:"varRef",name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.1",slot:"19"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"13",C:[{N:"varRef",name:"Q{}expression.1",slot:"19"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}, +{N:"co",id:"231",binds:"",C:[{N:"function",name:"Q{MyFunctions}empty",line:"229",module:"lib.xsl",flags:"pU",as:"?NE",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"231",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis", +name:"child",nodeTest:"NE"}]}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"\\S"},{N:"str",val:""}]}]}]}]},{N:"elem",line:"232",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"empty"}]}]}]}]},{N:"co",id:"232",binds:"233",C:[{N:"function",name:"Q{MyTypes}allowsZeroOrOne",line:"135",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"*"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"137",card:"1",diag:"5|0|XTTE0780|t:allowsZeroOrOne#1",C:[{N:"vc",op:"ne",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"arith",op:"mod",calc:"a%a",C:[{N:"cvUntyped",to:"AO",C:[{N:"atomSing",card:"?",diag:"1|0||mod",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]}]},{N:"gVarRef",name:"Q{}StaticProperty.ALLOWS_MANY",bSlot:"0"}]},{N:"int",val:"0"}]}]}]}]},{N:"co",id:"234",binds:"",C:[{N:"globalVariable",name:"Q{}nodeTypeMap",as:"1FM k[AS] v[1ADI]",line:"573",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"11",C:[{N:"str",val:"text"},{N:"int",val:"3"},{N:"str",val:"processing-instruction"}, +{N:"int",val:"7"},{N:"str",val:"document_fragment"},{N:"int",val:"11"},{N:"str",val:"namespace-node"},{N:"int",val:"13"},{N:"str",val:"document-node"},{N:"int",val:"9"},{N:"str",val:"document"},{N:"int",val:"9"},{N:"str",val:"namespace"},{N:"int",val:"13"},{N:"str",val:"attribute"},{N:"int",val:"2"},{N:"str",val:"element"},{N:"int",val:"1"},{N:"str",val:"document_type"},{N:"int",val:"10"},{N:"str",val:"comment"},{N:"int",val:"8"}]}]}]},{N:"co",id:"235",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ZERO", +as:"1ADI",line:"105",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"1"}]}]},{N:"co",id:"236",binds:"127",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"1059",module:"type.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1062",C:[{N:"ufCall", +name:"Q{MyFunctions}typeCheck",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}required",slot:"1"},{N:"str",val:"0|0||"}]}]}]}]},{N:"co",id:"237",binds:"",C:[{N:"globalVariable",name:"Q{}serialization-properties",as:"*AS",line:"21",module:"output.xsl",visibility:"PRIVATE",C:[{N:"literal",count:"22",C:[{N:"str",val:"method"},{N:"str",val:"allow-duplicate-names"},{N:"str",val:"build-tree"},{N:"str",val:"byte-order-mark"},{N:"str",val:"cdata-section-elements"}, +{N:"str",val:"doctype-public"},{N:"str",val:"doctype-system"},{N:"str",val:"encoding"},{N:"str",val:"escape-uri-attributes"},{N:"str",val:"html-version"},{N:"str",val:"include-content-type"},{N:"str",val:"indent"},{N:"str",val:"item-separator"},{N:"str",val:"json-node-output-method"},{N:"str",val:"media-type"},{N:"str",val:"normalization-form"},{N:"str",val:"omit-xml-declaration"},{N:"str",val:"parameter-document"},{N:"str",val:"standalone"},{N:"str",val:"suppress-indentation"},{N:"str",val:"undeclare-prefixes"}, +{N:"str",val:"output-version"}]}]}]},{N:"co",id:"127",binds:"238 228 239 7 118",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"975",module:"type.xsl",flags:"pU",as:"*",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"996",C:[{N:"choose",C:[{N:"fn", +name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}literal"}]}]},{N:"ufCall",name:"Q{MyFunctions}typeCheckLiteral",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}required",slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"foreign",bSlot:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"choose",C:[{N:"fn",name:"exists", +C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}empty"}]}]},{N:"gVarRef",name:"Q{}ST.EMPTY_SEQUENCE",bSlot:"2"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"3",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS", +flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}ST.MULTIPLE_ITEM",bSlot:"4"}]},{N:"varRef",name:"Q{}required",slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]}]}]}]}]},{N:"co",id:"133",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_ATOMIC",as:"1FM k[AS] v[1AS]",line:"13",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map", +size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]},{N:"co",id:"130",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg409114060",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn", +name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0570"},{N:"str",val:"check"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"132",binds:"1 239",C:[{N:"globalVariable",name:"Q{}SJ.EMPTY_SEQUENCE",as:"1AS",line:"44",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"44",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.EMPTY_SEQUENCE",bSlot:"1"}]}]}]},{N:"co",id:"240",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg2078175306",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join", +C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-style/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"241",binds:"",C:[{N:"function",name:"Q{MyFunctions}typeCardinality",line:"32",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1AS"}, +{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"43",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"empty-sequence()"},{N:"str",val:"error()0"}]},{N:"varRef",name:"Q{}type",slot:"0"}]},{N:"str",val:"0"},{N:"fn",name:"matches",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"[*?+]$"},{N:"str",val:""}]},{N:"fn",name:"substring",C:[{N:"varRef", +name:"Q{}type",slot:"0"},{N:"fn",name:"string-length",C:[{N:"varRef",name:"Q{}type",slot:"0"}]}]},{N:"true"},{N:"str",val:"1"}]}]}]},{N:"co",id:"242",binds:"1 218",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_NCNAME",as:"1AS",line:"56",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"56",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_NCNAME", +bSlot:"1"}]}]}]},{N:"co",id:"144",binds:"1 137",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_ITEM",as:"1AS",line:"45",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"45",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"1"}]}]}]},{N:"co",id:"243",binds:"",C:[{N:"globalVariable",name:"Q{}support-XSLT4",as:"1AB",line:"170",module:"XSLT-SEF-compiler.xsl", +visibility:"PUBLIC",flags:"s",C:[{N:"true"}]}]},{N:"co",id:"244",binds:"66 196 226 245 246 125 221 196 215 67",C:[{N:"mode",name:"Q{}compile-complete",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"373",rank:"0",minImp:"0",slots:"13",matches:"ND",flags:"s",line:"243",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"ND"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"244",C:[{N:"param",name:"Q{}options",slot:"0",as:"1FM",C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"245","var":"Q{}nsOption",as:"?AS",slot:"1",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|nsOption",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|nsOption",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|nsOption", +C:[{N:"data",diag:"3|0|XTTE0570|nsOption",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"ns"}]}]}]}]}]},{N:"let",line:"246","var":"Q{}defaultHTML5",as:"1AB",slot:"2",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}nsOption",slot:"1"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}nsOption",slot:"1"},{N:"str",val:"##html5"}]}]},{N:"let",line:"249","var":"Q{}start.time",slot:"3",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false", +bSlot:"1"},{N:"sequence",line:"252",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"timing"}]},{N:"fn",name:"exists",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}start.time",slot:"3"},{N:"int",val:"2"}]}]}]},{N:"sequence",line:"254",C:[{N:"message",C:[{N:"gVarRef",role:"select",name:"Q{http://saxon.sf.net/generated-variable}gg1965472536",bSlot:"2"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}, +{N:"message",line:"255",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Started @"},{N:"varRef",name:"Q{}start.time",slot:"3"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"let",line:"263","var":"Q{}tempFromComp",as:"1ND",slot:"4",C:[{N:"doc",line:"264",C:[{N:"applyT",mode:"Q{}compile",bSlot:"3",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}options",flags:"t",as:"1FM",C:[{N:"varRef",line:"265", +name:"Q{}options",slot:"0"}]},{N:"withParam",name:"Q{}params",flags:"t",as:"1FM k[AQ]",C:[{N:"gVarRef",line:"267",name:"Q{}staticParameters",bSlot:"4"}]},{N:"withParam",name:"Q{}defaultHTML5",flags:"t",as:"1AB",C:[{N:"varRef",line:"268",name:"Q{}defaultHTML5",slot:"2"}]}]}]},{N:"sequence",line:"272",C:[{N:"choose",C:[{N:"or",line:"273",op:"or",C:[{N:"or",op:"or",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"justStatic"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"}, +{N:"str",val:"justNormalize"}]}]},{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"noXPath"}]}]},{N:"varRef",line:"274",name:"Q{}tempFromComp",slot:"4"},{N:"true"},{N:"sequence",line:"277",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"statistics"}]},{N:"message",line:"278",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"XPath statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2", +C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}]}]},{N:"str",val:" components\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}, +{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute", +nodeTest:"NA"}]}]}]},{N:"str",val:" attributes\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"}]}]}]},{N:"str",val:" XPath expressions\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant", +nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"}]}]}]},{N:"str",val:" patterns "}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"284",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"289",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting XPath compiling:"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp", +slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"}]}]},{N:"str",val:"expressions"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"}]}]},{N:"str",val:"patterns"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"291","var":"Q{}temp",as:"1ND", +slot:"5",C:[{N:"doc",line:"292",C:[{N:"applyT",mode:"Q{}process-xpath",bSlot:"5",C:[{N:"varRef",role:"select",name:"Q{}tempFromComp",slot:"4"},{N:"withParam",name:"Q{}options",flags:"t",as:"1FM",C:[{N:"varRef",line:"293",name:"Q{}options",slot:"0"}]},{N:"withParam",name:"Q{}defaultHTML5",flags:"t",as:"1AB",C:[{N:"varRef",line:"295",name:"Q{}defaultHTML5",slot:"2"}]}]}]},{N:"sequence",line:"298",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"statistics"}]},{N:"message", +line:"299",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Final statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}]}]},{N:"str",val:" components\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2", +C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis",name:"child", +nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]},{N:"str",val:" attributes\n "}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"303",C:[{N:"lookup",line:"304",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"noBindings"}]},{N:"varRef",line:"305", +name:"Q{}temp",slot:"5"},{N:"true"},{N:"sequence",line:"308",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"309",C:[{N:"str",role:"select",val:"Starting Component binding"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"311",mode:"Q{}process-bindings",bSlot:"6",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"5"},{N:"withParam",name:"Q{}options", +flags:"t",as:"1FM",C:[{N:"varRef",line:"313",name:"Q{}options",slot:"0"}]}]}]}]}]}]}]}]},{N:"let",line:"320","var":"Q{}duration",as:"1AR",slot:"6",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|duration",C:[{N:"arith",op:"-",calc:"t-t",C:[{N:"ufCall",line:"319",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"7"},{N:"check",card:"?",diag:"1|1||-",C:[{N:"varRef",name:"Q{}start.time",slot:"3"}]}]}]},{N:"sequence",line:"321",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str", +val:"timing"}]},{N:"message",line:"330",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Stylesheet compilation time:"},{N:"let","var":"Q{}h",slot:"7",C:[{N:"fn",name:"hours-from-duration",C:[{N:"varRef",name:"Q{}duration",slot:"6"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"8",flags:"l",C:[{N:"compareToInt",op:"ne",val:"0",C:[{N:"varRef",name:"Q{}h",slot:"7"}]},{N:"let","var":"Q{}m",slot:"9",C:[{N:"fn",name:"minutes-from-duration",C:[{N:"varRef",name:"Q{}duration", +slot:"6"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"10",flags:"l",C:[{N:"compareToInt",op:"ne",val:"0",C:[{N:"varRef",name:"Q{}m",slot:"9"}]},{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"filter",flags:"ib",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}h",slot:"7"},{N:"str",val:"h"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]},{N:"filter",flags:"ib",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}m",slot:"9"},{N:"str",val:"m"}]}, +{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"10"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"seconds-from-duration",C:[{N:"varRef",name:"Q{}duration",slot:"6"}]},{N:"str",val:"s"}]}]},{N:"str",val:" "}]}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"333","var":"Q{}errorCount",slot:"11",C:[{N:"ufCall",name:"Q{MyFunctions}message-count",tailCall:"false",bSlot:"8",C:[{N:"gVarRef",name:"Q{}XTSE0010", +bSlot:"9"}]},{N:"choose",line:"334",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}errorCount",slot:"11"}]},{N:"let",line:"335","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"12",flags:"l",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"varRef",name:"Q{}errorCount",slot:"11"}]},{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}errorCount",slot:"11"}]},{N:"str",val:" error"},{N:"fn",name:"string", +C:[{N:"filter",flags:"ib",C:[{N:"str",val:"s"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"12"}]}]},{N:"str",val:" during compilation"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"247",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.EMPTY",as:"1ADI",line:"111",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"1"}]}]},{N:"co",id:"248",binds:"", +C:[{N:"globalVariable",name:"Q{}COMPILE_GLOBAL",as:"1AB",line:"104",module:"xpath.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"191",binds:"22",C:[{N:"function",name:"Q{MyFunctions}make-namespace-alias-map",line:"1873",module:"XSLT-SEF-compiler.xsl",flags:"pU",as:"*",slots:"8",C:[{N:"arg",name:"Q{}root",as:"1NE"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1880",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"treat",as:"FM",diag:"20|0|XTTE3375|xsl:map sequence constructor",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",line:"654",C:[{N:"slash",role:"select",line:"1880",simple:"1",C:[{N:"varRef",name:"Q{}root",slot:"0"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"}]},{N:"sortKey",line:"655",comp:"CCC",C:[{N:"attVal",role:"select",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"}, +{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:"let",role:"key",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}prefix",as:"1AS",slot:"6",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +card:"1",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"attVal",name:"Q{}stylesheet-prefix"}]}]}]},{N:"let","var":"Q{}element",as:"1NE",slot:"7",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"},{N:"choose",module:"namespaces.xsl",line:"177",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}prefix",slot:"6"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"7"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"6"},{N:"varRef",name:"Q{}element",slot:"7"}]}]}]}]}, +{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"1883","var":"Q{}highest-precedence",as:"1AS",slot:"1",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|highest-precedence",C:[{N:"fn",name:"min",C:[{N:"forEach",C:[{N:"currentGroup"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"let",line:"1885","var":"Q{}active-declarations",as:"+NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias", +slot:"2",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|active-declarations",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}precLabel"},{N:"varRef",name:"Q{}highest-precedence",slot:"1"}]}]}]},{N:"let",line:"1887","var":"Q{}result-uris",slot:"3",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}active-declarations",slot:"2"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +"var":"Q{}prefix",as:"1AS",slot:"4",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:namespace-uri-for-prefix-or-default",C:[{N:"attVal",name:"Q{}result-prefix"}]}]}]}, +{N:"let","var":"Q{}element",as:"1NE",slot:"5",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"},{N:"choose",module:"namespaces.xsl",line:"177",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix", +C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"5"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"4"},{N:"varRef",name:"Q{}element",slot:"5"}]}]}]}]}]},{N:"sequence",line:"1889",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"varRef",name:"Q{}result-uris",slot:"3"}]}]}]},{N:"ufCall",line:"1892",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str", +val:"XTSE0810"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Multiple conflicting declarations of "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" for namespace "}]},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"currentGroupingKey"}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"currentGroup"}]}]}]}]},{N:"ifCall",line:"1896",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:"currentGroupingKey"}]},{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"lastOf",C:[{N:"varRef",name:"Q{}active-declarations",slot:"2"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}result-prefix"}]}]},{N:"lastOf",C:[{N:"varRef",name:"Q{}result-uris",slot:"3"}]}]}]}]}]}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"co",id:"249",binds:"52", +C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1733439693",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind", +bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:remove-property/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"250",binds:"",C:[{N:"globalVariable",name:"Q{}errorsAsMessages",as:"1AB",line:"187",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"44",binds:"36 37",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg438493423",as:"+AU",line:"21",module:"sorting.xsl", +visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"21",C:[{N:"gVarRef",name:"Q{}codepoint.collation",bSlot:"0"},{N:"gVarRef",name:"Q{}html-ascii-case-insensitive.collation",bSlot:"1"}]}]}]},{N:"co",id:"251",vis:"PUBLIC",binds:"252 253 208 98 208 98 254 255 255 198 252 253 252 253 22 22",C:[{N:"function",name:"Q{MyFunctions}parse-value-template", +line:"51",module:"XSLT-value-template.xsl",flags:"pU",as:"*NA",slots:"13",C:[{N:"arg",name:"Q{}in",as:"1AS"},{N:"arg",name:"Q{}location",as:"1N"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation f=MyFunctions xs=~ xsl=~ xml=~",line:"55","var":"Q{}codepoints-in",as:"*ADI",slot:"9",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"varRef",name:"Q{}in",slot:"0"}]},{N:"treat",line:"56",as:"NA",diag:"5|0|XTTE0780|f:parse-value-template#2",C:[{N:"iterate",C:[{N:"to",role:"select",C:[{N:"int", +val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"}]}]},{N:"params",role:"params",line:"57",C:[{N:"param",name:"Q{}in-expression",slot:"2",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-expression",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|in-expression",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-expression",C:[{N:"data",diag:"8|0|XTTE0590|in-expression",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"58",name:"Q{}comment-depth", +slot:"3",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|comment-depth",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|comment-depth",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|comment-depth",C:[{N:"data",diag:"8|0|XTTE0590|comment-depth",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"59",name:"Q{}in-single-quotes",slot:"4",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"check", +card:"1",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"data",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"supplied",slot:"4"}]}]}]}]}]},{N:"param",line:"60",name:"Q{}in-double-quotes",slot:"5",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"data", +diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"supplied",slot:"5"}]}]}]}]}]},{N:"param",line:"61",name:"Q{}brace-depth",slot:"6",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|brace-depth",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|brace-depth",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|brace-depth",C:[{N:"data",diag:"8|0|XTTE0590|brace-depth",C:[{N:"supplied",slot:"6"}]}]}]}]}]},{N:"param",line:"62",name:"Q{}start-of-part",slot:"7",as:"1ADI", +C:[{N:"int",role:"select",val:"1"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|start-of-part",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|start-of-part",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|start-of-part",C:[{N:"data",diag:"8|0|XTTE0590|start-of-part",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"param",line:"63",name:"Q{}skip-char",slot:"8",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|skip-char",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|skip-char", +C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|skip-char",C:[{N:"data",diag:"8|0|XTTE0590|skip-char",C:[{N:"supplied",slot:"8"}]}]}]}]}]}]},{N:"choose",role:"on-completion",line:"65",C:[{N:"varRef",line:"66",name:"Q{}in-expression",slot:"2"},{N:"ufCall",line:"67",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",C:[{N:"str",val:"XTSE0350"},{N:"fn",name:"concat",C:[{N:"str",val:"Missing closing brace after expression:"},{N:"varRef",name:"Q{}in",slot:"0"}]},{N:"varRef",name:"Q{}location", +slot:"1"}]},{N:"vc",line:"69",op:"le",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"}]}]},{N:"att",line:"26",name:"literal",C:[{N:"fn",line:"76",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"}]},{N:"str",val:"{{"},{N:"str",val:"{"},{N:"str",val:"q"}]},{N:"str",val:"}}"},{N:"str",val:"}"},{N:"str",val:"q"}]}]}]}, +{N:"let",role:"action",line:"80","var":"Q{}i",as:"1ADI",slot:"10",C:[{N:"dot",type:"1ADI"},{N:"let",line:"81","var":"Q{}c1",as:"*ADI",slot:"11",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"},{N:"varRef",name:"Q{}i",slot:"10"}]},{N:"let",line:"82","var":"Q{}c2",as:"*ADI",slot:"12",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"},{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]},{N:"choose",line:"84",C:[{N:"varRef",name:"Q{}skip-char", +slot:"8"},{N:"nextIteration",line:"85",C:[{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"false"}]}]},{N:"varRef",line:"89",name:"Q{}in-expression",slot:"2"},{N:"choose",line:"90",C:[{N:"and",line:"91",op:"and",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}APOS",bSlot:"2"}]}]},{N:"nextIteration",line:"92",C:[{N:"withParam",name:"Q{}in-single-quotes",as:"1AB",slot:"4",C:[{N:"false"}]}]}, +{N:"and",line:"96",op:"and",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}QUOT",bSlot:"3"}]}]},{N:"nextIteration",line:"97",C:[{N:"withParam",name:"Q{}in-double-quotes",as:"1AB",slot:"5",C:[{N:"false"}]}]},{N:"and",line:"101",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}APOS",bSlot:"4"}]},{N:"compareToInt", +op:"eq",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"nextIteration",line:"102",C:[{N:"withParam",name:"Q{}in-single-quotes",as:"1AB",slot:"4",C:[{N:"true"}]}]},{N:"and",line:"106",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}QUOT",bSlot:"5"}]},{N:"compareToInt",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}comment-depth", +slot:"3"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]}]},{N:"nextIteration",line:"107",C:[{N:"withParam",name:"Q{}in-double-quotes",as:"1AB",slot:"5",C:[{N:"true"}]}]},{N:"and",line:"111",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LPAREN",bSlot:"6"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}COLON",bSlot:"7"}]}]},{N:"and", +op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]}]},{N:"nextIteration",line:"112",C:[{N:"withParam",name:"Q{}comment-depth",as:"1ADI",slot:"3",C:[{N:"arith",line:"113",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"},{N:"int",val:"1"}]}]},{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"and",line:"117",op:"and",C:[{N:"and",op:"and",C:[{N:"compareToInt", +op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}COLON",bSlot:"8"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}RPAREN",bSlot:"9"}]}]},{N:"nextIteration",line:"118",C:[{N:"withParam",name:"Q{}comment-depth",as:"1ADI",slot:"3",C:[{N:"arith",line:"119",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"},{N:"int", +val:"1"}]}]},{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"and",line:"123",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"10"}]},{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"fn",name:"not",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth", +slot:"3"}]}]}]}]},{N:"nextIteration",line:"124",C:[{N:"withParam",name:"Q{}brace-depth",as:"1ADI",slot:"6",C:[{N:"arith",line:"125",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"},{N:"int",val:"1"}]}]}]},{N:"and",line:"128",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}RBRACE",bSlot:"11"}]},{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]},{N:"fn",name:"not", +C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"fn",name:"not",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]}]}]}]},{N:"choose",line:"129",C:[{N:"compareToInt",line:"130",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"}]},{N:"sequence",line:"134",C:[{N:"att",line:"32",name:"expression",C:[{N:"fn",line:"134",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"arith",op:"-",calc:"i-i", +C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"varRef",name:"Q{}start-of-part",slot:"7"}]}]}]},{N:"nextIteration",line:"135",C:[{N:"withParam",name:"Q{}in-expression",as:"1AB",slot:"2",C:[{N:"false"}]},{N:"withParam",name:"Q{}start-of-part",as:"1ADI",slot:"7",C:[{N:"arith",line:"137",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]}]}]},{N:"true"},{N:"nextIteration",line:"141",C:[{N:"withParam",name:"Q{}brace-depth",as:"1ADI",slot:"6",C:[{N:"fn",line:"142",name:"max",C:[{N:"sequence", +C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"},{N:"int",val:"1"}]},{N:"int",val:"0"}]}]}]}]}]}]},{N:"vc",line:"151",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"0"}]},{N:"choose",line:"152",C:[{N:"vc",line:"153",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"12"}]},{N:"nextIteration",line:"154",C:[{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8", +C:[{N:"true"}]}]},{N:"true"},{N:"sequence",line:"159",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"varRef",name:"Q{}i",slot:"10"}]},{N:"att",line:"26",name:"literal",C:[{N:"fn",line:"166",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"varRef",name:"Q{}start-of-part", +slot:"7"}]}]},{N:"str",val:"{{"},{N:"str",val:"{"},{N:"str",val:"q"}]},{N:"str",val:"}}"},{N:"str",val:"}"},{N:"str",val:"q"}]}]}]},{N:"nextIteration",line:"168",C:[{N:"withParam",name:"Q{}in-expression",as:"1AB",slot:"2",C:[{N:"true"}]},{N:"withParam",name:"Q{}start-of-part",as:"1ADI",slot:"7",C:[{N:"arith",line:"170",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]}]}]}]},{N:"vc",line:"175",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef", +name:"Q{}RBRACE",bSlot:"1"}]},{N:"choose",line:"176",C:[{N:"vc",line:"177",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}RBRACE",bSlot:"13"}]},{N:"nextIteration",line:"178",C:[{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"true"},{N:"ufCall",line:"183",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",C:[{N:"str",val:"XTSE0370"},{N:"str",val:"Closing brace must be doubled"},{N:"varRef",name:"Q{}location",slot:"1"}]}]}]}]}]}]}]}]}]}]}]}, +{N:"co",id:"84",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_COMMENT",as:"1FM k[AS] v[1AS]",line:"37",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"NC"}]}]}]},{N:"co",id:"256",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_TEXT",as:"1FM k[AS] v[1AS]",line:"33",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"NT"}]}]}]}, +{N:"co",id:"257",binds:"",C:[{N:"function",name:"Q{MyTypes}isNumericType",line:"441",module:"type.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"443","var":"Q{}alphaCode",as:"1AS",slot:"1",C:[{N:"check",card:"1",diag:"0|0||t:isNumeric",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||t:isNumeric",C:[{N:"cvUntyped", +to:"AS",diag:"0|0||t:isNumeric",C:[{N:"data",diag:"0|0||t:isNumeric",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"base"}]}]}]}]}]},{N:"or",line:"438",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AF"}]}]}]}]}]},{N:"co", +id:"174",binds:"",C:[{N:"function",name:"Q{MyFunctions}xseq",line:"696",module:"static.xsl",flags:"pmU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"698",name:"concat",C:[{N:"str",val:"Q{http://www.w3.org/2001/XMLSchema}"},{N:"varRef",name:"Q{}type",slot:"0"}]}]}]},{N:"co",id:"18",binds:"38 199 1 49 141 28 132 16 78 79 78 79 28 149 18 132 28 16 132 16 78 79 17 78 19 126 28 28 16 16 19 16 19 15 77 258 15 79 28 149 249 126 28 16 77 78 79 132 28 18 237 10 32 78 79 237 78 79 237 78 19 79 16 180 28 19 28 19 28 15 197 150 259 19 260 28 149 79 79 79 48 141 260 22 141 28 19 28 149 261 16 15 16 15 19 16 152 28 141 262 263 152 38 28 16 79 77 77 19 79 15 28 149 240 264 43 48 28 16 77 77 258 265 22 28 164 126 48 124 15 22 1 126 38 38 22 39 22 28 15 79 164 22 22 28 22 15 79 48 1 7 85 28 16 16 16 16 16 150 79 15 19 28 149 266 267 126 28 22 17 15 15 177 150 79 259 177 259 268 16 269 28 149 259 48 269 48 22 141 28 259 139 16 15 17 28 19 16 28 15 164 16 16 22 16 16 48 28 18 16 19 79 164 263 152 16 28 77 78 79 19 15 28 149 113 263 28 16 270 22 22 19 79 15 48 28 15 262 28 141 259 43 48 172 172 172 7 85 7 1 1 1 28 19 79 258 265 28 15 126 48 262 22 22 271 22 22 22 16 121 78 79 78 79 19 83 259 22 272 269 150 172 273 78 79 78 79 16 150 262", +C:[{N:"mode",name:"Q{}sef",onNo:"SC",flags:"W",patternSlots:"1",C:[{N:"templateRule",prec:"0",prio:"5.01",seq:"328",rank:"17",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"25",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"25",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"26",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"27",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"31",name:"Q{}attr",slot:"0"}]},{N:"withParam", +name:"Q{}xpath-default-namespace",flags:"t",as:"1NA",C:[{N:"att",line:"29",name:"xpath-default-namespace",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"5.0",seq:"323",rank:"16",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", +test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param", +name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"20",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"22",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6", +seq:"363",rank:"15",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"143",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"145",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode", +flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"358",rank:"14",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100", +module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"102",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"104",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"354",rank:"13",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"94",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA", -C:[{N:"varRef",line:"96",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"351",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl", +C:[{N:"varRef",line:"96",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"351",rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl", C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"78",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", line:"79",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"80",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"82",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}defaultCollation",C:[{N:"axis",line:"81",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]},{N:"templateRule",prec:"0", -prio:"3.1",seq:"348",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence", +prio:"3.1",seq:"348",rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence", role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"72",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"73",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"75",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation", -flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"344",rank:"5",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57", -name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"59",flags:"t",C:[{N:"withParam", -name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"62",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"340",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"51",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"53",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data", -diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03",seq:"336",rank:"3",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"343",rank:"11",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"59",flags:"t", +C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"62",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"339",rank:"10",minImp:"0",slots:"1",matches:"NE",flags:"s", +line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"51",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"53",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03",seq:"335",rank:"9",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"43",flags:"t", -C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"45",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"332",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl", +C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"45",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"331",rank:"8",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl", C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"36",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"38",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"381",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1607",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1607",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1608",flags:"t",C:[{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"1610",op:"lt",comp:"CAVC",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}version"}]}]},{N:"dec",val:"2"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"383",rank:"0",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"1616",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1616",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1617",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"1619","var":"Q{}has-uniform-static-context",as:"1AB",slot:"1",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"1",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param", -flags:"a"}]},{N:"elem",line:"1620",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context",slot:"1"}]}]},{N:"elem",line:"1622",name:"globalParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",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:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"2"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"module",flags:"l", -C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose",line:"1623",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1624",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}, -{N:"choose",line:"1626",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]},{N:"str",val:"true"}]},{N:"att",line:"1627",name:"flags",flags:"l",C:[{N:"str",val:"r"}]}]},{N:"choose",line:"1629",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}implicit-mandatory"}]},{N:"str",val:"true"}]},{N:"att",line:"1630",name:"flags", -flags:"l",C:[{N:"str",val:"i"}]}]},{N:"att",line:"1632",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"axis",line:"1633",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"att",line:"1634",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -"var":"Q{}context",as:"1NE",slot:"2",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, -{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot", -type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"3"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1635",mode:"Q{}param.type",bSlot:"4",C:[{N:"dot", -role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"applyT",line:"1637",mode:"Q{}select.or.sequence",bSlot:"5",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"varRef",line:"1639",name:"Q{}has-uniform-static-context",slot:"1"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"384",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable", -flags:"s",line:"1682",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1682",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1683",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"1688",name:"co", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"ufCall",line:"1685",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"6",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]},{N:"elem",line:"1691",name:"globalVariable",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",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:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"1",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"attVal", -name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces", -bSlot:"7"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]}, -{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"8"},{N:"true"},{N:"gVarRef",name:"Q{}SJ.OPTIONAL_DOCUMENT",bSlot:"9"}]}]}]}]}]}, -{N:"str",val:" "}]}]},{N:"choose",line:"1692",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1693",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"axis",line:"1695",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"},{N:"axis",line:"1695",name:"attribute",nodeTest:"NA nQ{}as"}, -{N:"applyT",line:"1697",mode:"Q{}select.or.sequence",bSlot:"10",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"1698",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1700",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"11",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable", -flags:"a"}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"96",binds:"100",C:[{N:"template",name:"Q{MyFunctions}AVT",flags:"os",as:"1NE",line:"14",module:"value-templates.xsl",slots:"3",C:[{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~",line:"15",card:"1",diag:"7|0|XTTE0505|f:AVT",C:[{N:"sequence",C:[{N:"param", -name:"Q{}avt-string",slot:"0",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|avt-string",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"16",name:"Q{}default",slot:"1",as:"?AS",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|default",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default", -C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"17",name:"Q{}role",slot:"2",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"supplied",slot:"2"}]}]}]},{N:"choose",line:"19",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}avt-string",slot:"0"}]},{N:"forEach",line:"20",flags:"t",C:[{N:"varRef",name:"Q{}avt-string",slot:"0"},{N:"callT",line:"21",name:"Q{}value-template",bSlot:"0",flags:"t", -C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"?NA",C:[{N:"varRef",line:"22",name:"Q{}role",slot:"2"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"false"}]}]}]},{N:"fn",line:"27",name:"exists",C:[{N:"varRef",name:"Q{}default",slot:"1"}]},{N:"elem",line:"28",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"varRef",name:"Q{}default",slot:"1"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]}, -{N:"copyOf",line:"29",flags:"c",C:[{N:"varRef",name:"Q{}role",slot:"2"}]}]}]},{N:"true"},{N:"elem",line:"33",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]},{N:"copyOf",line:"34",flags:"c",C:[{N:"varRef",name:"Q{}role",slot:"2"}]}]}]}]}]}]}]}]},{N:"co",id:"143",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_FLOAT",as:"1FM k[AS] v[1AS]",line:"18",module:"sequenceType.xsl", -visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"AF"}]}]}]},{N:"co",id:"144",binds:"",C:[{N:"mode",name:"Q{}xpath-with-current",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"300",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fn",flags:"s",line:"1545",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"}, -{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1545",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"str",val:"current"}]}]},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1547",name:"varRef",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"fn-current"}]},{N:"att",name:"slot",flags:"l",C:[{N:"str",val:"199"}]},{N:"axis",line:"1548",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"co",id:"145",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}ZERO",as:"1ADI",line:"101",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"1"}]}]},{N:"co",id:"146",binds:"",C:[{N:"function", -name:"Q{MyFunctions}isInstance",line:"607",module:"type.xsl",eval:"16",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}a",as:"1"},{N:"arg",name:"Q{}type",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"612",C:[{N:"compareToString",op:"eq",val:"AB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"613",of:"1AB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", -line:"616",op:"eq",val:"AS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"617",of:"1AS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"619",op:"eq",val:"ASN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"620",of:"1ASN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"622",op:"eq",val:"ASNT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"623",of:"1ASNT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"625", -op:"eq",val:"ASNTL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"626",of:"1ASNTL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"628",op:"eq",val:"ASNTM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"629",of:"1ASNTK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"631",op:"eq",val:"ASNTN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"632",of:"1ASNTN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"634", -op:"eq",val:"ASNTNC",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"635",of:"1ASNTNC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"637",op:"eq",val:"ASNTNCR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"638",of:"1ASNTNCR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"640",op:"eq",val:"ASNTNCE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"641",of:"1ASNTNCE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", -line:"643",op:"eq",val:"ASNTNCI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"644",of:"1ASNTNCI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"647",op:"eq",val:"AQ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"648",of:"1AQ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"650",op:"eq",val:"AU",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"651",of:"1AU",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", -line:"653",op:"eq",val:"AA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"654",of:"1AA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"656",op:"eq",val:"AM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"657",of:"1AM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"659",op:"eq",val:"AMP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"660",of:"1AMP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"662", -op:"eq",val:"AT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"663",of:"1AT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"665",op:"eq",val:"AR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"666",of:"1AR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"668",op:"eq",val:"ARD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"669",of:"1ARD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"671",op:"eq", -val:"ARY",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"672",of:"1ARY",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"674",op:"eq",val:"AG",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"675",of:"1AG",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"677",op:"eq",val:"AH",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"678",of:"1AH",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"680",op:"eq",val:"AI", -C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"681",of:"1AI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"683",op:"eq",val:"AJ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"684",of:"1AJ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"686",op:"eq",val:"AK",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"687",of:"1AK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"690",op:"eq",val:"AD",C:[{N:"varRef", -name:"Q{}type",slot:"1"}]},{N:"instance",line:"691",of:"1AD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"693",op:"eq",val:"ADI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"694",of:"1ADI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"696",op:"eq",val:"ADIN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"697",of:"1ADIN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"699",op:"eq",val:"ADINN",C:[{N:"varRef", -name:"Q{}type",slot:"1"}]},{N:"instance",line:"700",of:"1ADINN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"702",op:"eq",val:"ADIP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"703",of:"1ADIP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"705",op:"eq",val:"ADIPP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"706",of:"1ADIPP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"708",op:"eq",val:"ADIPL",C:[{N:"varRef", -name:"Q{}type",slot:"1"}]},{N:"instance",line:"709",of:"1ADIPL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"711",op:"eq",val:"ADIPLI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"712",of:"1ADIPLI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"714",op:"eq",val:"ADIPLIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"715",of:"1ADIPLIS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"717",op:"eq",val:"ADIPLISB", -C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"718",of:"1ADIPLISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"720",op:"eq",val:"ADIL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"721",of:"1ADIL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"723",op:"eq",val:"ADILI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"724",of:"1ADILI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"726",op:"eq",val:"ADILIS", -C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"727",of:"1ADILIS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"729",op:"eq",val:"ADILISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"730",of:"1ADILISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"733",op:"eq",val:"AO",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"734",of:"1AO",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"736",op:"eq",val:"AF", -C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"737",of:"1AF",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"739",op:"eq",val:"A2",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"740",of:"1A2",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"742",op:"eq",val:"AX",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"743",of:"1AX",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"745",op:"eq",val:"AZ",C:[{N:"varRef", -name:"Q{}type",slot:"1"}]},{N:"instance",line:"746",of:"1AZ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"749",op:"eq",val:"N",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"750",of:"1N",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"752",op:"eq",val:"NE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"753",of:"1NE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"755",op:"eq",val:"NA",C:[{N:"varRef",name:"Q{}type", -slot:"1"}]},{N:"instance",line:"756",of:"1NA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"758",op:"eq",val:"NT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"759",of:"1NT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"761",op:"eq",val:"NC",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"762",of:"1NC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"764",op:"eq",val:"NP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]}, -{N:"instance",line:"765",of:"1NP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"767",op:"eq",val:"ND",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"768",of:"1ND",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"770",op:"eq",val:"NN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"771",of:"1NN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"774",op:"eq",val:"F",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", -line:"775",of:"1F",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"777",op:"eq",val:"FM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"778",of:"1FM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"780",op:"eq",val:"FA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"781",of:"1FA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"true"},{N:"true"}]}]}]},{N:"co",id:"147",binds:"148 147 119 13 82 107 147 147 147",C:[{N:"template",name:"Q{}process-variables", -flags:"os",line:"654",module:"xpath.xsl",slots:"14",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"655",C:[{N:"param",name:"Q{}no.slots",slot:"0",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped", -to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"656",name:"Q{}local.variables",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"657",name:"Q{}parts",slot:"2",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion", -as:"NE",diag:"8|0|XTTE0590|parts",C:[{N:"supplied",slot:"2"}]}]},{N:"param",line:"658",name:"Q{}make.baseUri.explicit",slot:"3",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"data",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"659", -name:"Q{}static-base-uri",slot:"4",flags:"t",C:[{N:"str",role:"select",val:"dummy-base-uri"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"let",line:"660","var":"Q{}h",slot:"5",eval:"4",C:[{N:"applyT",line:"661",mode:"Q{}process-xpath",bSlot:"0",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]},{N:"let",line:"665","var":"Q{}make.baseUri.explicit",as:"1AB",slot:"6",eval:"16",C:[{N:"or",op:"or",C:[{N:"varRef",name:"Q{}make.baseUri.explicit",slot:"3"},{N:"fn",name:"exists",C:[{N:"slash", -simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}baseUri"}]}]}]},{N:"choose",line:"667",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"empty"},{N:"filter",line:"669",flags:"b",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}let"}]}, -{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}var"}]}]}]}]},{N:"let",line:"675","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1ADI",slot:"7",eval:"13",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"0"},{N:"int",val:"1"}]},{N:"let",line:"674","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*NE",slot:"8",eval:"4",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]},{N:"forEach",line:"670",C:[{N:"varRef",name:"Q{}h",slot:"5"}, -{N:"let",line:"671","var":"Q{}rest",as:"*NE",slot:"9",eval:"8",C:[{N:"treat",line:"673",as:"NE",diag:"3|0|XTTE0570|rest",C:[{N:"callT",name:"Q{}process-variables",bSlot:"1",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"varRef",line:"674",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"varRef",line:"675",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"7"}]},{N:"withParam",name:"Q{}local.variables",flags:"t", -as:"1FM",C:[{N:"ifCall",line:"678",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",line:"672",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}var"}]}]},{N:"sequence",C:[{N:"dot"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"attVal",name:"Q{}slot",chk:"0"}]}]}, -{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"679",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"let",line:"682","var":"Q{}rest",as:"*NE",slot:"10",eval:"4",C:[{N:"choose",line:"685",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}rest",slot:"9"}]},{N:"elem",line:"686",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"2"}]}]},{N:"true"},{N:"varRef",line:"689",name:"Q{}rest",slot:"9"}]},{N:"let",line:"694","var":"Q{}slot",as:"?NA",slot:"11",eval:"8",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]},{N:"let",line:"703","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"?AZ",slot:"12",eval:"13",C:[{N:"data",diag:"1|1||eq",C:[{N:"varRef", -name:"Q{}slot",slot:"11"}]},{N:"let",line:"699","var":"Q{}compound-type",slot:"13",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"4",eval:"8",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType", -tailCall:"false",bSlot:"5",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]}]}]}]},{N:"sequence",line:"703",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:varRef"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}slot",chk:"0"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2", -slot:"12"}]}]}]},{N:"copy",line:"705",flags:"in",sit:"1",C:[{N:"sequence",role:"content",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"707",name:"sType",flags:"l",C:[{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"varRef", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"707",name:"Q{}compound-type",slot:"13"},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"slash",line:"708",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"choose",line:"710",C:[{N:"compareToInt",op:"lt",val:"2", -C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"filter",line:"711",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]},{N:"true"},{N:"elem",line:"714",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}compound-type", -slot:"13"}]},{N:"filter",line:"715",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]}]}]},{N:"compareToInt",line:"723",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"filter",line:"724",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self", -nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]},{N:"true"},{N:"elem",line:"727",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}compound-type",slot:"13"}]},{N:"filter",line:"728",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]},{N:"filter",line:"696",flags:"b",C:[{N:"varRef", -name:"Q{}rest",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]}]}]}]}]}]}]},{N:"filter",line:"737",flags:"b",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"}]}]}]},{N:"sequence",line:"738",C:[{N:"copyOf",flags:"c",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}, -{N:"callT",line:"740",name:"Q{}process-variables",bSlot:"6",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"741",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"check",line:"743",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"fn",name:"max",C:[{N:"slash",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{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot",chk:"0"}]}]}]},{N:"int",val:"1"}]}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"746",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}local.variables", -slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",C:[{N:"dot",flags:"a"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}slot",chk:"0"}]}]},{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis", -name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"747",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"filter",line:"750",flags:"b",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}param"}]}]}]},{N:"sequence",line:"752",C:[{N:"copyOf",flags:"c", -C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"callT",line:"754",name:"Q{}process-variables",bSlot:"7",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"755",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"758",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",line:"753", -simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"atomSing",card:"?",diag:"2|0||cast as",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{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N", -diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]}]}]}]}]},{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:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"check",line:"759",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"check",card:"?",diag:"1|0||+",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot",chk:"0"}]}]}]},{N:"int",val:"1"}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef", -line:"760",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"true"},{N:"sequence",line:"765",C:[{N:"choose",C:[{N:"varRef",name:"Q{}make.baseUri.explicit",slot:"6"},{N:"forEach",line:"766",C:[{N:"check",card:"?",diag:"4|0|XTTE3180|xsl:copy/select",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"copy",line:"767",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",C:[{N:"copyOf",flags:"c",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{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]}]},{N:"att",line:"768",name:"baseUri",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{}static-base-uri",slot:"4"}]}]}]},{N:"str",val:" "}]}]},{N:"copyOf",line:"769",flags:"c",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{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"true"},{N:"varRef",line:"773",name:"Q{}h",slot:"5"}]},{N:"callT",line:"776",name:"Q{}process-variables",bSlot:"8",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"777", -start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"778",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]}]}]}]}]}]}]},{N:"co",id:"56",binds:"2 3 2 3",C:[{N:"template",name:"Q{}compile-decimal-formats",flags:"os",as:"*NE",line:"19",module:"decimal-format.xsl",slots:"9",C:[{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"21","var":"Q{}named-decimal-formats",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}decimal-format",slot:"0",eval:"4",C:[{N:"filter",flags:"b",C:[{N:"slash",line:"20",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}decimal-format"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"let",line:"22","var":"Q{}compiled-formats",as:"+NE",slot:"1",eval:"8", -C:[{N:"sequence",line:"24",C:[{N:"forEach",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}named-decimal-formats",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"25","var":"Q{}format-name",as:"1",slot:"2",eval:"16",C:[{N:"dot",type:"1A"},{N:"elem",line:"26",name:"decimalFormat",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"convert", -from:"A",to:"AS",C:[{N:"varRef",name:"Q{}format-name",slot:"2"}]}]},{N:"let",line:"27","var":"Q{}processed",as:"*NE",slot:"3",eval:"8",C:[{N:"forEach",line:"29",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current505719035",as:"1",slot:"4",eval:"16",C:[{N:"dot",type:"1A"},{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}named-decimal-formats",slot:"0"},{N:"gc",op:"=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"attVal",name:"Q{}name",chk:"0"}, -{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current505719035",slot:"4"}]}]}]},{N:"elem",line:"30",name:"dF",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"31",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"},{N:"callT",line:"32",name:"Q{}process-decimal-format",bSlot:"0"}]}]}]},{N:"forEachGroup",line:"36",algorithm:"by",C:[{N:"conditionalSort",role:"select",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef", -name:"Q{}processed",slot:"3"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}processed",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]}]},{N:"fn",role:"key",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"37","var":"Q{}property",as:"*A",slot:"5",eval:"8",C:[{N:"currentGroupingKey"},{N:"let",line:"39", -"var":"Q{}highest-precedence",as:"?AS",slot:"6",eval:"8",C:[{N:"fn",name:"min",C:[{N:"slash",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"currentGroup"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"41","var":"Q{}active",slot:"7",eval:"8",C:[{N:"filter",flags:"",C:[{N:"currentGroup"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq", -C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]},{N:"varRef",name:"Q{}highest-precedence",slot:"6"}]}]},{N:"sequence",line:"43",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"varRef",name:"Q{}active",slot:"7"}]}]}]}]},{N:"ufCall",line:"46",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"1",eval:"0 16 16",C:[{N:"str",val:"XTSE1290"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:decimal-format "},{N:"varRef",name:"Q{}format-name",slot:"2"},{N:"str",val:" contains conflicting values for property "},{N:"varRef",name:"Q{}property",slot:"5"},{N:"str",val:" at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"currentGroup"},{N:"int",val:"2"}]}]}]}]},{N:"first",line:"48",C:[{N:"varRef",name:"Q{}active",slot:"7"}]}]}]}]}]}]}]}]}]}]}]}, -{N:"elem",line:"53",name:"decimalFormat",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"forEach",line:"55",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}decimal-format"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"callT",line:"56",name:"Q{}process-decimal-format",bSlot:"2"}]}]}]},{N:"treat",line:"70", -as:"NE",diag:"7|0|XTTE0505|compile-decimal-formats",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}compiled-formats",slot:"1"},{N:"let","var":"Q{}picture-chars",slot:"8",eval:"4",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}decimal-separator"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-separator"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}percent"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}per-mille"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}zero-digit"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}digit"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}pattern-separator"}]},{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"varRef",name:"Q{}picture-chars",slot:"8"}]}]}]},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}picture-chars",slot:"8"}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"3",eval:"0 16 16",C:[{N:"str",val:"XTSE1300"},{N:"fn", -name:"concat",C:[{N:"str",val:"xsl:decimal-format "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" contains the same symbol used in two different picture character roles"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}decimalFormat c~untyped"}]},{N:"true"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}decimalFormat c~untyped"}]}]}]}]}]}]}]}]},{N:"co",id:"149",binds:"96 97 96 97 96 97 96 97 96 97 96 97",C:[{N:"template",name:"Q{}numberFormat",flags:"os",as:"*NE",line:"68", -module:"numbering.xsl",slots:"2",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace", -C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"70",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"callT",line:"72",name:"Q{MyFunctions}AVT",bSlot:"0",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}format",C:[{N:"slash",line:"73",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"1"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"75",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"1"},{N:"str",val:"format"}]}]}]}]}]},{N:"callT",line:"77",name:"Q{MyFunctions}AVT",bSlot:"2",C:[{N:"withParam",name:"Q{}avt-string",flags:"c", -as:"?NA nQ{}start-at",C:[{N:"slash",line:"78",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}start-at"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"1"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"80",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"3"},{N:"str",val:"startAt"}]}]}]}]}]}, -{N:"choose",line:"82",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-separator"}]}]},{N:"callT",line:"83",name:"Q{MyFunctions}AVT",bSlot:"4",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}grouping-separator",C:[{N:"slash",line:"84",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-separator"}]}]}, -{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"86",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"5"},{N:"str",val:"gpSep"}]}]}]}]}]}]},{N:"choose",line:"89",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-size"}]}]}, -{N:"callT",line:"90",name:"Q{MyFunctions}AVT",bSlot:"6",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}grouping-size",C:[{N:"slash",line:"91",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-size"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"0"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"93",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?", -diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"7"},{N:"str",val:"gpSize"}]}]}]}]}]}]},{N:"choose",line:"96",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ordinal"}]}]},{N:"callT",line:"97",name:"Q{MyFunctions}AVT",bSlot:"8",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}ordinal",C:[{N:"slash",line:"98",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ordinal"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"false"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"100",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"9"},{N:"str",val:"ordinal"}]}]}]}]}]}]},{N:"choose",line:"103",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N", -diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}lang"}]}]},{N:"callT",line:"107",name:"Q{MyFunctions}AVT",bSlot:"10",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}lang",C:[{N:"slash",line:"108",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}lang"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"en"}]},{N:"withParam",name:"Q{}role", -flags:"c",as:"?NA",C:[{N:"treat",line:"110",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"11"},{N:"str",val:"lang"}]}]}]}]}]}]}]}]}]},{N:"co",id:"150",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_ATTRIBUTE",as:"1FM k[AS] v[1AS]",line:"36",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"NA"}]}]}]},{N:"co",id:"151", -binds:"3",C:[{N:"function",name:"Q{MyFunctions}wrongAttribute",line:"795",module:"normalize.xsl",eval:"4",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}context",as:"+NA"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"803",C:[{N:"first",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"0",eval:"16 16 16",C:[{N:"choose",line:"802",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"str",val:"XTSE0090"},{N:"true"},{N:"str",val:"XTSE0020"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]},{N:"str",val:" must not have attribute @"},{N:"fn",name:"name", -C:[{N:"dot",type:"1NA"}]}]},{N:"dot",type:"1NA"}]}]}]}]},{N:"co",id:"152",binds:"",C:[{N:"function",name:"Q{MyFunctions}stackTrace",line:"503",module:"lib.xsl",eval:"0",flags:"pU",as:"*",slots:"0",C:[{N:"empty",role:"body"}]}]},{N:"co",id:"153",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}card-values",as:"1FM k[AS] v[1ADI]",line:"120",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"5",C:[{N:"str",val:"*"},{N:"int",val:"7"},{N:"str",val:"+"},{N:"int",val:"6"},{N:"str",val:"0"}, -{N:"int",val:"1"},{N:"str",val:"1"},{N:"int",val:"2"},{N:"str",val:"?"},{N:"int",val:"3"}]}]}]},{N:"co",id:"154",binds:"154",C:[{N:"function",name:"Q{MyFunctions}closure2",line:"631",module:"XSLT-SEF-compiler.xsl",eval:"4",flags:"pU",as:"*",slots:"6",C:[{N:"arg",name:"Q{}current",as:"1AS"},{N:"arg",name:"Q{}dependencies",as:"1FM"},{N:"arg",name:"Q{}found",as:"*AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"639","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"3",eval:"13",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}found",slot:"2"},{N:"str",val:", "}]},{N:"let",line:"635","var":"Q{}next",slot:"4",eval:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"varRef",name:"Q{}current",slot:"0"}]},{N:"sequence",line:"636",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}next", -slot:"4"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"varRef",name:"Q{}found",slot:"2"}]}]},{N:"fn",line:"639",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1600"},{N:"fn",name:"concat",C:[{N:"str",val:"Circular definition of character map "},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot"}]},{N:"str",val:" via character maps "},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", -slot:"3"}]}]}]},{N:"choose",line:"647",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}next",slot:"4"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"*AS",slot:"5",eval:"4",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}found",slot:"2"},{N:"treat",as:"AS",diag:"0|2||f:closure2",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|2||f:closure2",C:[{N:"varRef",name:"Q{}next",slot:"4"}]}]}]}]},{N:"forEach",C:[{N:"varRef",name:"Q{}next",slot:"4"},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false", -bSlot:"0",eval:"16 1 1",C:[{N:"treat",as:"AS",diag:"0|0||f:closure2",C:[{N:"check",card:"1",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:closure2",C:[{N:"dot"}]}]}]}]},{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"5"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}found",slot:"2"}]}]}]}]}]}]},{N:"co",id:"155",vis:"PRIVATE",binds:"",C:[{N:"function",name:"Q{MyFunctions}pvt-emit-literal",line:"23",module:"XSLT-value-template.xsl", -eval:"9",flags:"pU",as:"1NA",slots:"1",C:[{N:"arg",name:"Q{}in",as:"1AS"},{N:"att",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation f=MyFunctions xs=~ xsl=~ xml=~",line:"26",name:"literal",C:[{N:"varRef",name:"Q{}in",slot:"0"}]}]}]},{N:"co",id:"48",binds:"154",C:[{N:"function",name:"Q{MyFunctions}closure2",line:"625",module:"XSLT-SEF-compiler.xsl",eval:"4",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}current",as:"1AS"},{N:"arg",name:"Q{}dependencies",as:"1FM"},{N:"tailCallLoop",role:"body", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"628",C:[{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"foreign",bSlot:"0",eval:"1 1 0",C:[{N:"varRef",name:"Q{}current",slot:"0"},{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"empty"}]}]}]}]},{N:"co",id:"156",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.OVERLAPS",as:"1AS",line:"166",module:"type.xsl", -visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"OV"}]}]},{N:"co",id:"157",binds:"",C:[{N:"function",name:"Q{MyFunctions}notify",line:"397",module:"lib.xsl",eval:"8",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}code",as:"1AS"},{N:"arg",name:"Q{}message",as:"1AS"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"400",name:"error",C:[{N:"fn",line:"33", -name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"varRef",line:"400",name:"Q{}code",slot:"0"}]},{N:"varRef",name:"Q{}message",slot:"1"}]}]}]},{N:"co",id:"158",binds:"73 3 3 3",C:[{N:"template",name:"Q{}XSLT-version",flags:"os",as:"1AD",line:"36",module:"static.xsl",slots:"2",C:[{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"37","var":"Q{}version-attribute",as:"*NA",slot:"0", -eval:"4",C:[{N:"choose",line:"39",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_version"}]}]},{N:"treat",line:"40",as:"NA",diag:"3|0|XTTE0570|version-attribute",C:[{N:"applyT",mode:"Q{}static",bSlot:"0",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_version"}]}]}]},{N:"fn",line:"50", -name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"slash",line:"50",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"true"},{N:"slash",line:"50",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}, -{N:"check",line:"54",card:"1",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"sequence",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}version-attribute",slot:"0"}]}]},{N:"treat",line:"55",as:"AD",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"cvUntyped",to:"AD",diag:"7|0|XTTE0505|XSLT-version", -C:[{N:"data",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",eval:"0 16 16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" lacks @version"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"choose",line:"57",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat", -as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}version-attribute",slot:"0"}]}]},{N:"sequence",line:"58",C:[{N:"treat",as:"AD",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"cvUntyped",to:"AD",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"data",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Root element "}, -{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:namespace-uri",C:[{N:"dot",flags:"a"}]}]}]},{N:"str",val:" - "},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:"; Version attribute "},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"varRef",name:"Q{}version-attribute",slot:"0"}]}]},{N:"str",val:" = "},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string", -C:[{N:"varRef",name:"Q{}version-attribute",slot:"0"}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]}]},{N:"treat",line:"59",as:"AD",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"cvUntyped",to:"AD",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"data",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"2",eval:"0 16 16",C:[{N:"str",val:"XTSE0150"},{N:"fn",name:"concat",C:[{N:"str", -val:"Simplified stylesheet "},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" lacks @xsl:version"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]}]},{N:"let",line:"61","var":"Q{}version-string",as:"1AS",slot:"1",eval:"8",C:[{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}version-attribute",slot:"0"}]}]}]}, -{N:"str",val:"^\\+"},{N:"str",val:""},{N:"str",val:""}]},{N:"sequence",line:"62",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"varRef",name:"Q{}version-string",slot:"1"}]}]},{N:"treat",line:"64",as:"AD",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"cvUntyped",to:"AD",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"data",diag:"7|0|XTTE0505|XSLT-version",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"3",eval:"0 16 16",C:[{N:"str",val:"XTSE0110"},{N:"fn", -name:"concat",C:[{N:"str",val:"Stylesheet version must be an xs:decimal value. Value is "},{N:"data",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}version-attribute",slot:"0"}]}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"choose",line:"75",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"varRef",name:"Q{}version-string",slot:"1"}]},{N:"cast",flags:"a",as:"1AD",C:[{N:"varRef",name:"Q{}version-string",slot:"1"}]},{N:"true"},{N:"dec",val:"3"}]}]}]}]}]}]}]}]},{N:"co", -id:"159",binds:"46 159 46",C:[{N:"function",name:"Q{MyFunctions}serialize",line:"297",module:"lib.xsl",eval:"4",flags:"pU",as:"*AS",slots:"7",C:[{N:"arg",name:"Q{}in",as:"*"},{N:"arg",name:"Q{}indent",as:"1AS"},{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"304",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}in",slot:"0"}]}, -{N:"str",val:"()"}]},{N:"forEach",line:"308",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"choose",line:"311",C:[{N:"instance",of:"1FM",C:[{N:"dot"}]},{N:"let",line:"312","var":"Q{}indent",as:"1AS",slot:"2",eval:"8",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}indent",slot:"1"},{N:"str",val:" "}]},{N:"fn",line:"325",name:"concat",C:[{N:"str",val:"map{"},{N:"atomic",val:"\n",type:"AZ"},{N:"let","var":"Q{}m",slot:"3",eval:"16",C:[{N:"dot"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0", -as:"1FM",slot:"4",eval:"13",C:[{N:"treat",as:"FM",diag:"0|0||map:get",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:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"0",eval:"8",C:[{N:"dot",type:"1A"}]},{N:"str",val:" :"},{N:"let","var":"Q{}p", -slot:"5",eval:"4",C:[{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"1",eval:"4 1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"4"},{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:"331",of:"1FA",C:[{N:"dot"}]},{N:"fn",line:"332",name:"concat",C:[{N:"str",val:"["},{N:"fn",name:"string-join",C:[{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"2",eval:"4",C:[{N:"lookupAll",C:[{N:"dot"}]}]},{N:"str", -val:","}]},{N:"str",val:"]"}]},{N:"instance",line:"334",of:"1F",C:[{N:"dot"}]},{N:"str",val:"function(*)"},{N:"instance",line:"337",of:"1NA",C:[{N:"dot"}]},{N:"fn",line:"338",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:"340",of:"1AQ",C:[{N:"dot"}]},{N:"fn",line:"341",name:"concat",C:[{N:"str",val:"'"},{N:"let","var":"Q{}qname",as:"1AQ",slot:"6",eval:"16", -C:[{N:"treat",as:"AQ",diag:"0|0||f:QNameToEQ",C:[{N:"check",card:"1",diag:"0|0||f:QNameToEQ",C:[{N:"cvUntyped",to:"AQ",C:[{N:"data",diag:"0|0||f:QNameToEQ",C:[{N:"dot"}]}]}]}]},{N:"fn",line:"163",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"6"}]},{N:"str",val:"}"},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"6"}]}]}]},{N:"str",val:"'"}]},{N:"instance",line:"343",of:"1AS",C:[{N:"dot"}]},{N:"fn",line:"344", -name:"concat",C:[{N:"str",val:"'"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot"}]},{N:"str",val:"'"}]},{N:"instance",line:"346",of:"1AB",C:[{N:"dot"}]},{N:"fn",line:"353",name:"concat",C:[{N:"choose",C:[{N:"dot"},{N:"str",val:"true"},{N:"true"},{N:"str",val:"false"}]},{N:"str",val:"()"}]},{N:"instance",line:"355",of:"1NN",C:[{N:"dot"}]},{N:"fn",line:"356",name:"concat",C:[{N:"str",val:"xmlns:"},{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:"instance",line:"358",of:"1A",C:[{N:"dot"}]},{N:"fn",line:"360",name:"string",C:[{N:"dot"}]},{N:"true"},{N:"fn",line:"363",name:"serialize",C:[{N:"dot"},{N:"map",size:"2",C:[{N:"str",val:"method"},{N:"str",val:"adaptive"},{N:"str",val:"indent"},{N:"true"}]}]}]}]}]}]}]},{N:"co",id:"46",binds:"159",C:[{N:"function",name:"Q{MyFunctions}serialize",line:"293",module:"lib.xsl",eval:"4",flags:"pU",as:"*AS",slots:"1",C:[{N:"arg",name:"Q{}in",as:"*"},{N:"tailCallLoop",role:"body", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"295",C:[{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"foreign",bSlot:"0",eval:"1 0",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"str",val:""}]}]}]}]},{N:"co",id:"104",binds:"160 18 161 161 28 107 162 123 18 123 18 123 18",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"1065",module:"type.xsl",eval:"7",flags:"pU", -as:"*",slots:"24",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1074",C:[{N:"let","var":"Q{}suppliedItemType",slot:"4",eval:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"p"}]}, -{N:"let",line:"1075","var":"Q{}suppliedCard",slot:"5",eval:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"o"}]},{N:"let",line:"1076","var":"Q{}reqItemType",slot:"6",eval:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"p"}]},{N:"let",line:"1080","var":"Q{}cardOK",as:"1AB",slot:"7",eval:"16",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"EQ"},{N:"str",val:"GT"}]},{N:"let",line:"1077","var":"Q{}required", -as:"1AS",slot:"8",eval:"16",C:[{N:"treat",as:"AS",diag:"0|0||t:cardinalityRelationship",C:[{N:"check",card:"1",diag:"0|0||t:cardinalityRelationship",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:cardinalityRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"o"}]}]}]}]}]},{N:"let",line:"1079","var":"Q{}supplied",as:"1AS",slot:"9",eval:"16",C:[{N:"treat",as:"AS",diag:"0|1||t:cardinalityRelationship",C:[{N:"check",card:"1",diag:"0|1||t:cardinalityRelationship", -C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||t:cardinalityRelationship",C:[{N:"varRef",name:"Q{}suppliedCard",slot:"5"}]}]}]}]},{N:"choose",line:"73",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}required",slot:"8"},{N:"varRef",name:"Q{}supplied",slot:"9"}]},{N:"str",val:"EQ"},{N:"compareToString",line:"76",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}required",slot:"8"}]},{N:"str",val:"GT"},{N:"true"},{N:"let",line:"80","var":"Q{}R",slot:"10",eval:"16",C:[{N:"choose",C:[{N:"compareToString", -op:"eq",val:"*",C:[{N:"varRef",name:"Q{}required",slot:"8"}]},{N:"str",val:"Z1M"},{N:"compareToString",op:"eq",val:"+",C:[{N:"varRef",name:"Q{}required",slot:"8"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}required",slot:"8"}]},{N:"str",val:"1"},{N:"compareToString",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}required",slot:"8"}]},{N:"str",val:"Z1"},{N:"compareToString",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}required",slot:"8"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"let", -line:"81","var":"Q{}S",slot:"11",eval:"16",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}supplied",slot:"9"}]},{N:"str",val:"Z1M"},{N:"compareToString",op:"eq",val:"+",C:[{N:"varRef",name:"Q{}supplied",slot:"9"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}supplied",slot:"9"}]},{N:"str",val:"1"},{N:"compareToString",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}supplied",slot:"9"}]},{N:"str",val:"Z1"},{N:"compareToString",op:"eq",val:"0",C:[{N:"varRef", -name:"Q{}supplied",slot:"9"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"choose",line:"91",C:[{N:"fn",name:"contains",C:[{N:"varRef",name:"Q{}R",slot:"10"},{N:"varRef",name:"Q{}S",slot:"11"}]},{N:"str",val:"GT"},{N:"fn",name:"contains",C:[{N:"varRef",name:"Q{}S",slot:"11"},{N:"varRef",name:"Q{}R",slot:"10"}]},{N:"str",val:"LT"},{N:"true"},{N:"str",val:"OV"}]}]}]}]}]}]}]},{N:"let",line:"1087","var":"Q{}itemTypeOK",as:"1AB",slot:"12",eval:"16",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"literal",count:"2",C:[{N:"str",val:"EQ"},{N:"str",val:"GT"}]},{N:"choose",line:"1086",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"n"}]}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"n"}]}]}]},{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"str",val:"e"}]}]}]},{N:"fn",name:"exists",C:[{N:"lookup", -C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"str",val:"e"}]}]}]},{N:"ufCall",name:"Q{MyTypes}itemTypeRelationship",tailCall:"false",bSlot:"0",eval:"1 1",C:[{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}suppliedType",slot:"1"}]},{N:"true"},{N:"let","var":"Q{}R",as:"1AS",slot:"13",eval:"16",C:[{N:"treat",as:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:alphaRelationship",C:[{N:"varRef", -name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"14",eval:"16",C:[{N:"treat",as:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||t:alphaRelationship",C:[{N:"varRef",name:"Q{}suppliedItemType",slot:"4"}]}]}]}]},{N:"choose",line:"185",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"13"},{N:"varRef",name:"Q{}S",slot:"14"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with", -C:[{N:"varRef",name:"Q{}R",slot:"13"},{N:"varRef",name:"Q{}S",slot:"14"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"14"},{N:"varRef",name:"Q{}R",slot:"13"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]}]}]},{N:"choose",line:"1089",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}itemTypeOK",slot:"12"},{N:"varRef",name:"Q{}cardOK",slot:"7"}]},{N:"varRef",line:"1090",name:"Q{}expression",slot:"0"},{N:"varRef",line:"1092",name:"Q{}itemTypeOK",slot:"12"},{N:"ufCall", -line:"1093",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"1",eval:"1 1 1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"and",line:"1095",op:"and",C:[{N:"varRef",name:"Q{}cardOK",slot:"7"},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}suppliedCard",slot:"5"}]},{N:"str",val:"0"}]}]},{N:"varRef", -line:"1096",name:"Q{}expression",slot:"0"},{N:"fn",line:"1100",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"str",val:"A"}]},{N:"let",line:"1106","var":"Q{}expression.1",slot:"15",eval:"16",C:[{N:"choose",C:[{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?", -diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}suppliedItemType",slot:"4"}]}]}]}]},{N:"str",val:"A"}]},{N:"varRef",name:"Q{}expression",slot:"0"},{N:"true"},{N:"elem",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"904",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", -C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"2"}]},{N:"slash",line:"905",simple:"1",C:[{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1106",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1106",name:"Q{}expression",slot:"0"}]}]}]},{N:"let",line:"1112","var":"Q{}expression.2",slot:"16",eval:"16",C:[{N:"choose",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]},{N:"varRef",name:"Q{}expression.1",slot:"15"},{N:"true"},{N:"elem",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"915",name:"cvUntyped",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"to",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"lookup",C:[{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1112",name:"Q{}requiredType",slot:"2"},{N:"str",val:"p"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType", -flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"3"}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1112",name:"Q{}diag",slot:"3"}]},{N:"slash",line:"916",simple:"1",C:[{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1112",name:"Q{}expression.1", -slot:"15"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1112",name:"Q{}expression.1",slot:"15"}]}]}]},{N:"let",line:"1118","var":"Q{}expression.3",slot:"17",eval:"16",C:[{N:"choose",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}reqItemType", -slot:"6"}]},{N:"literal",count:"2",C:[{N:"str",val:"AO"},{N:"str",val:"AF"}]}]},{N:"ufCall",name:"Q{MyTypes}convert",tailCall:"false",bSlot:"4",eval:"1 1 1",C:[{N:"varRef",name:"Q{}expression.2",slot:"16"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"true"},{N:"varRef",name:"Q{}expression.2",slot:"16"}]},{N:"let",line:"1120","var":"Q{}expression.4",as:"?NE",slot:"18",eval:"7",C:[{N:"let",line:"1121","var":"Q{}convertedType",as:"1FM",slot:"19",eval:"16",C:[{N:"ufCall", -name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"5",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}expression.3",slot:"17"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]},{N:"choose",line:"1123",C:[{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}convertedType", -slot:"19"},{N:"str",val:"p"}]}]}]}]}]},{N:"treat",as:"AS",diag:"0|1||fn:starts-with",C:[{N:"check",card:"?",diag:"0|1||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||fn:starts-with",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]}]},{N:"varRef",line:"1124",name:"Q{}expression.3",slot:"17"},{N:"compareToString",line:"1126",op:"eq",val:"DJ",C:[{N:"let","var":"Q{}R",as:"1AS",slot:"20",eval:"16",C:[{N:"treat",as:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship", -C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}convertedType",slot:"19"},{N:"str",val:"p"}]}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"21",eval:"16",C:[{N:"treat",as:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||t:alphaRelationship",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"choose",line:"185",C:[{N:"vc",op:"eq",onEmpty:"0", -comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"20"},{N:"varRef",name:"Q{}S",slot:"21"}]},{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"20"},{N:"varRef",name:"Q{}S",slot:"21"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"21"},{N:"varRef",name:"Q{}R",slot:"20"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]}]},{N:"treat",line:"1127",as:"NE",diag:"3|0|XTTE0570|expression.4",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|expression.4", -C:[{N:"ufCall",name:"Q{MyTypes}type-error",tailCall:"false",bSlot:"6",eval:"1 1 1 1",C:[{N:"varRef",name:"Q{}suppliedType",slot:"1"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"},{N:"varRef",name:"Q{}expression",slot:"0"}]}]}]},{N:"true"},{N:"ufCall",line:"1130",name:"Q{MyTypes}treat",tailCall:"false",bSlot:"7",eval:"1 1 1",C:[{N:"varRef",name:"Q{}expression.3",slot:"17"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]},{N:"choose", -line:"1139",C:[{N:"varRef",name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.4",slot:"18"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"8",eval:"16 1 1",C:[{N:"check",card:"1",diag:"0|0||t:cardCheck",C:[{N:"varRef",name:"Q{}expression.4",slot:"18"}]},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]}]}]}]},{N:"fn",line:"1142",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with", -C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}reqItemType",slot:"6"}]}]}]}]},{N:"str",val:"F"}]},{N:"let",line:"1144","var":"Q{}expression.1",slot:"22",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}treat",tailCall:"false",bSlot:"9",eval:"1 1 1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]},{N:"choose",line:"1150",C:[{N:"varRef",name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.1", -slot:"22"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"10",eval:"1 1 1",C:[{N:"varRef",name:"Q{}expression.1",slot:"22"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]},{N:"true"},{N:"let",line:"1159","var":"Q{}expression.1",slot:"23",eval:"16",C:[{N:"choose",C:[{N:"varRef",name:"Q{}itemTypeOK",slot:"12"},{N:"varRef",name:"Q{}expression",slot:"0"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}treat",tailCall:"false",bSlot:"11",eval:"1 1 1", -C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]},{N:"choose",line:"1165",C:[{N:"varRef",name:"Q{}cardOK",slot:"7"},{N:"varRef",name:"Q{}expression.1",slot:"23"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}cardCheck",tailCall:"foreign",bSlot:"12",eval:"1 1 1",C:[{N:"varRef",name:"Q{}expression.1",slot:"23"},{N:"varRef",name:"Q{}requiredType",slot:"2"},{N:"varRef",name:"Q{}diag",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"163", -binds:"55",C:[{N:"function",name:"Q{MyFunctions}syntax-error",line:"206",module:"lib.xsl",eval:"4",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}message",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"209",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error",tailCall:"foreign",bSlot:"0",eval:"0 1",C:[{N:"str",val:"XTSE0010"}, -{N:"varRef",name:"Q{}message",slot:"0"}]}]}]}]},{N:"co",id:"164",binds:"",C:[{N:"function",name:"Q{MyFunctions}NCName",line:"148",module:"lib.xsl",eval:"16",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"156",C:[{N:"fn",name:"matches",C:[{N:"treat",as:"AS",diag:"0|0||fn:matches", -C:[{N:"check",card:"?",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]},{N:"str",val:"^\\i\\c*$"},{N:"str",val:""}]},{N:"treat",as:"AS",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"data",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]},{N:"true"},{N:"treat",as:"AS",diag:"5|0|XTTE0780|f:NCName#1", -C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"data",diag:"5|0|XTTE0780|f:NCName#1",C:[{N:"fn",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"data",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}input",slot:"0"}]},{N:"str",val:"' is not a valid NCName"}]}]}]}]}]}]}]}]}]},{N:"co",id:"148",binds:"147 165 166 165 167 13 82 107 107 107 107 168 137 166 165 113 169 147 118 119 82 107 13 13 13 82 107 107 107 107 31 166 113 58 31 3 31 166 42 170 107 3 107 13 107 171 107 166 172 173 174 107 107 174 174 107 31 174 3 3 107 3 175 107 166 176 177 174 52 178 174 179 179 175 180 166 107 144 13 82 107 174 107 169 181 166 182 112 31 31 53 31 107 166 113 166 113 169 174 178 174 179 183 184 107 171 107 166 185 161 186 173 107 3 175 107 169 6 6 6 166 107 187 119 13 107 122 122 174 3 13 174 107 166 113 31 174 107 13 82 107 31 53 166 107 113", -C:[{N:"mode",name:"Q{}process-xpath",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"3.0",seq:"290",rank:"5",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"853",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"853",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"854",flags:"t",C:[{N:"withParam",name:"Q{}nsAttribute",flags:"t",as:"1NA",C:[{N:"check",line:"855",card:"1",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ns"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"287",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"639",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"union",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"639",op:"|",C:[{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}VARDEF,NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}ZZZparams"},{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]}]}]}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"642",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"643","var":"Q{}temp",as:"*NE",slot:"0",eval:"8",C:[{N:"treat",line:"644",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"callT",name:"Q{}process-variables",bSlot:"0",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"axis",line:"645",name:"child",nodeTest:"NE"}]}]}]},{N:"sequence",line:"648",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef", -name:"Q{}temp",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"varRef",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"261",rank:"2",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"83",module:"regular-expressions.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"83",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"literal",count:"2",C:[{N:"str",val:"matching"},{N:"str",val:"nonMatching"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}analyzeString"}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"84", -flags:"t",C:[{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM k[AS] v[1AS]",C:[{N:"gVarRef",line:"85",name:"Q{}ST.SINGLE_STRING",bSlot:"1"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"233",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"116",module:"numbering.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"116",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role",chk:"0"},{N:"str",val:"lang"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"117","var":"Q{}temp",as:"1NE",slot:"0",eval:"16",C:[{N:"treat",line:"118",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"120", -name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"2",eval:"1 1 16",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"3"},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg109987815",bSlot:"4"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.25",seq:"258",rank:"0",minImp:"0",slots:"1",matches:"NE n*:analyzeString",flags:"s",line:"53", -module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE n*:analyzeString"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"55","var":"Q{}parts",as:"*NE",slot:"0",eval:"8",C:[{N:"treat",line:"56",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy", -line:"61",flags:"cin",sit:"1NE n*:analyzeString",C:[{N:"sequence",role:"content",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",line:"58",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"5",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"6",eval:"8",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2", -C:[{N:"str",val:"matching"},{N:"str",val:"nonMatching"}]},{N:"attVal",name:"Q{}role",chk:"0"}]}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"7",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]}]}]}]}]},{N:"axis",line:"62",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"62",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule", -prec:"0",prio:"2.0",seq:"155",rank:"4",minImp:"0",slots:"4",matches:"NE nQ{http://ns.saxonica.com/xslt/export}applyT",flags:"s",line:"208",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"209",C:[{N:"param",name:"Q{}options",slot:"0", -flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"210","var":"Q{}parts",as:"*NE",slot:"1",eval:"8",C:[{N:"treat",line:"211",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"213","var":"Q{}select",as:"*NE",slot:"2",eval:"4",C:[{N:"filter", -flags:"",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role",chk:"0"},{N:"str",val:"select"}]}]},{N:"copy",line:"215",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}applyT",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"218",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"},{N:"axis",name:"self",nodeTest:"NE n*:slash"}]}]},{N:"let", -ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"3",eval:"4",C:[{N:"lookup",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"rules.xsl",line:"218",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"8", -eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}select",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"3"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"3"}]}]}]}]},{N:"str",val:"N"}]}]}]}]},{N:"elem",line:"219",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l", -C:[{N:"str",val:"select"}]},{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"varRef",line:"220",name:"Q{}select",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"224",name:"Q{}select",slot:"2"}]},{N:"except",line:"227",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}parts",slot:"1"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}select",slot:"2"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"276",rank:"1",minImp:"0",slots:"8",matches:"NE nQ{http://ns.saxonica.com/xslt/export}treat", -flags:"s",line:"353",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}treat"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"355","var":"Q{}required-type",slot:"0",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"9",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", -C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]},{N:"let",line:"356","var":"Q{}required-cardinality",as:"1AS",slot:"1",eval:"8",C:[{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required-type",slot:"0"},{N:"str",val:"o"}]}]}]},{N:"let",line:"357","var":"Q{}required-baseType",slot:"2",eval:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required-type", -slot:"0"},{N:"str",val:"p"}]},{N:"let",line:"358","var":"Q{}attributes",as:"*NA",slot:"3",eval:"4",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"359","var":"Q{}role",as:"?NA",slot:"4",eval:"8",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"let",line:"360","var":"Q{}source",as:"*NE",slot:"5",eval:"8",C:[{N:"treat",line:"361",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"363", -"var":"Q{}sourceSequenceType",slot:"6",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"10",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}source",slot:"5"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}source",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]}, -{N:"let",line:"364","var":"Q{}sourceType",slot:"7",eval:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}sourceSequenceType",slot:"6"},{N:"str",val:"p"}]},{N:"choose",line:"367",C:[{N:"and",op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}required-baseType",slot:"2"}]}]}]}]},{N:"str",val:"A"}]},{N:"or",op:"or",C:[{N:"fn",name:"starts-with", -C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}sourceType",slot:"7"}]}]}]}]},{N:"str",val:"N"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}sourceType",slot:"7"}]},{N:"str",val:""}]}]}]},{N:"copy",line:"369",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat", -C:[{N:"sequence",role:"content",C:[{N:"varRef",name:"Q{}attributes",slot:"3"},{N:"elem",line:"370",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"axis",line:"371",name:"attribute",nodeTest:"NA nQ{}diag"},{N:"elem",line:"373",name:"cvUntyped",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"to",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{}required-baseType",slot:"2"}]}]}]},{N:"str",val:" "}]}]},{N:"elem",line:"375",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"376",name:"Q{}source",slot:"5"}]}]}]}]}]}]}]},{N:"compareToString",line:"382",op:"ne",val:"*",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"copy",line:"384",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat",C:[{N:"sequence", -role:"content",C:[{N:"varRef",name:"Q{}attributes",slot:"3"},{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1879190852", -bSlot:"11"}]},{N:"elem",line:"385",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"varRef",name:"Q{}required-cardinality",slot:"1"}]},{N:"except",line:"386",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}attributes",slot:"3"}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{http://ns.saxonica.com/xslt/export}asJ,NA nQ{}jsTest]"}]},{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg2065453085",bSlot:"12"}]},{N:"varRef",line:"391",name:"Q{}source",slot:"5"}]}]}]}]},{N:"fn",line:"395",name:"deep-equal",C:[{N:"varRef",name:"Q{}required-type",slot:"0"},{N:"varRef",name:"Q{}sourceSequenceType", -slot:"6"}]},{N:"forEach",line:"396",C:[{N:"varRef",name:"Q{}source",slot:"5"},{N:"copy",line:"398",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"copy",line:"404",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}treat",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"varRef", -name:"Q{}attributes",slot:"3"},{N:"varRef",name:"Q{}source",slot:"5"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"284",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}namespace",flags:"s",line:"593",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}namespace"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"597",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}namespace",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"598","var":"Q{}temp",as:"*NE",slot:"0",eval:"8",C:[{N:"treat",line:"599",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"sequence",line:"603",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"13",eval:"16 1 16",C:[{N:"check", -card:"1",diag:"0|0||f:typeCheck",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]}]},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"14"},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string", -C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"15"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTDE0920"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"603",name:"concat",C:[{N:"str",val:'namespace name="'},{N:"data", -diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]},{N:"subscript",line:"604",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"int",val:"2"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"275",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}co",flags:"s",line:"339",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"sequence",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"340",C:[{N:"choose",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}options",bSlot:"16"},{N:"str",val:"traceProgress"}]},{N:"message",line:"348",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting XPath on component"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}id"}]},{N:"fn",name:"name", -C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE n*:mode"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}, -{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",val:" templates"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"nextMatch",line:"350",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"286",rank:"3",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sequence",flags:"s",line:"623",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"}, -{N:"union",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"623",op:"|",C:[{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}VARDEF,NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"},{N:"fn",name:"exists",C:[{N:"axis",name:"child", -nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]}]}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"626","var":"Q{}temp",as:"*NE",slot:"0",eval:"8",C:[{N:"treat",line:"627",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"callT",name:"Q{}process-variables",bSlot:"17",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"axis", -line:"628",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}static-base-uri",flags:"t",as:"1AS",C:[{N:"treat",line:"631",as:"AS",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|static-base-uri",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}sequence", -flags:"a"},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:baseUri"}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA n*:baseUri"}]},{N:"str",val:"dummy-base-uri"}]}]}]}]}]}]}]}]}]},{N:"callT",line:"634",name:"Q{}Sequence-and-type",bSlot:"18",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"varRef",line:"635",name:"Q{}temp",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"280",rank:"1",minImp:"0", -slots:"5",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sequence",flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"444","var":"Q{}parts",as:"*NE",slot:"0",eval:"8",C:[{N:"treat",line:"445",as:"NE",diag:"3|0|XTTE0570|parts", -C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"449",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"19"}]},{N:"axis",line:"451",name:"attribute",nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM", -slot:"1",eval:"16",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"20",eval:"8",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts", -slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"21",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"2",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"22",eval:"1",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"1"}]},{N:"choose", -line:"461",C:[{N:"every","var":"Q{}p",slot:"3",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}p",slot:"3"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]}]}, -{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att",line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"0"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"470",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType", -slot:"2"}]},{N:"varRef",line:"472",name:"Q{}parts",slot:"0"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"4",eval:"8",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"copy",line:"479",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content", -C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"486",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"23",eval:"16",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"1"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]}, -{N:"varRef",line:"490",name:"Q{}parts",slot:"0"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"182",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}try",flags:"s",line:"279",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}try"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"280","var":"Q{}parts",as:"*NE",slot:"0",eval:"8",C:[{N:"treat",line:"281",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"286",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"287",name:"sType",flags:"l",C:[{N:"ufCall",line:"284",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"24",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}commonType", -tailCall:"false",bSlot:"25",eval:"8",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"26",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]}]}]}]}]},{N:"varRef",line:"288",name:"Q{}parts",slot:"0"}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"1.0",seq:"274",rank:"3",minImp:"0",slots:"5",matches:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable",flags:"s",line:"252",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"254", -C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"0"}]}]}]},{N:"copy",line:"263",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"},{N:"choose",line:"264",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self", -nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"att",line:"266",name:"slot",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"int", -val:"2"}]},{N:"int",val:"0"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"let",line:"270","var":"Q{}def",as:"1NE",slot:"1",eval:"16",C:[{N:"choose",line:"272",C:[{N:"compareToInt",op:"le",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:"treat",line:"273",as:"NE",diag:"3|0|XTTE0570|def",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|def",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child", -nodeTest:"NE"}]}]}]},{N:"true"},{N:"elem",line:"276",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"body"}]},{N:"applyT",line:"277",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"sequence",line:"282",C:[{N:"choose",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current859694243",as:"1",slot:"2",eval:"16",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0", -as:"?AZ",slot:"3",eval:"13",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current859694243",slot:"2"},{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"}]}, -{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]}]}]}]},{N:"fn",line:"285",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XPST0008"},{N:"fn",name:"concat",C:[{N:"str",val:"Global variable "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:" cannot refer to itself in its definition"}]}]}]},{N:"let",line:"293","var":"Q{}requiredType", -as:"?FM",slot:"4",eval:"7",C:[{N:"first",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"27",eval:"16",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]},{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false", -bSlot:"28",eval:"16",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{}sType"}]}]}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"forEach",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"int",val:"3"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"29",eval:"16",C:[{N:"treat",as:"AS",diag:"0|0||t:marshalType",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot"}]}]}]}]}]}]}]}]}]},{N:"choose",line:"297",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data", -diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"30"}]}]},{N:"ufCall",line:"300",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"31",eval:"1 16 16",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"32"},{N:"str",val:"TYPE_OP"}]}]},{N:"str",val:"0"},{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"300", -name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}type-error-map",bSlot:"33"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"300",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"choose",line:"260",C:[{N:"fn", -name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"fn",name:"concat",C:[{N:"str",val:' match="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"str",val:'"'}]},{N:"true"},{N:"fn",name:"concat",C:[{N:"str",val:' name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:'"'}]}]}]}]},{N:"str",val:"|"}]}]}]}]}]},{N:"fn",line:"302",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]}, -{N:"sequence",line:"303",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"varRef",name:"Q{}def",slot:"1"}]},{N:"true"},{N:"sequence",line:"307",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"dot",type:"1NA nQ{}sType"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"34"}]}]}, -{N:"varRef",name:"Q{}def",slot:"1"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"265",rank:"4",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator",flags:"s",line:"59",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"60","var":"Q{}init",as:"1NE",slot:"0",eval:"16",C:[{N:"treat",line:"61",as:"NE",diag:"3|0|XTTE0570|init",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|init",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let",line:"65","var":"Q{}rules",as:"*NE",slot:"1",eval:"8",C:[{N:"treat",line:"66",as:"NE",diag:"3|0|XTTE0570|rules",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]}, -{N:"withParam",name:"Q{}valueType",flags:"t",as:"1AS",C:[{N:"treat",line:"67",as:"AS",diag:"8|0|XTTE0590|valueType",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|valueType",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|valueType",C:[{N:"data",diag:"8|0|XTTE0590|valueType",C:[{N:"first",line:"64",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}init",slot:"0"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}sType"}]},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"dot",type:"1NA nQ{}sType"}]}]},{N:"str",val:"0"}]}]}]},{N:"str",val:"*"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"73",C:[{N:"choose",C:[{N:"gc",line:"72",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"slash",simple:"2",C:[{N:"docOrder", -intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}rules",slot:"1"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"}]},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"accumulator-before"},{N:"str",val:"accumulator-after"}]},{N:"attVal",name:"Q{}name",chk:"0"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]}, -{N:"data",line:"73",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"ufCall",line:"76",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"35",eval:"0 16 16",C:[{N:"str",val:"XTDE3400"},{N:"fn",name:"concat",C:[{N:"str",val:"Accumulator "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:" refers to itself"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}accumulator",flags:"a"}]}]},{N:"copy",line:"79", -flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}accumulator",C:[{N:"sequence",role:"content",C:[{N:"att",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}init",slot:"0"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]},{N:"axis",line:"80",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"88",name:"Q{}init",slot:"0"},{N:"varRef",line:"91",name:"Q{}rules",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"164",rank:"1",minImp:"0",slots:"0", -matches:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration",flags:"s",line:"217",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}nextIteration"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"219",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}nextIteration",C:[{N:"sequence", -role:"content",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"36"}]},{N:"axis",line:"220",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"221",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"148",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mode",flags:"s",line:"68",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}, -{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"70",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mode",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"71","var":"Q{}templates",as:"*NE",slot:"0",eval:"8",C:[{N:"treat",line:"72",as:"NE",diag:"3|0|XTTE0570|templates",C:[{N:"applyT",flags:"c", -bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"forEach",line:"74",C:[{N:"sort",C:[{N:"varRef",role:"select",name:"Q{}templates",slot:"0"},{N:"sortKey",line:"75",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prec",chk:"0"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{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:"sortKey",line:"76",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prio",chk:"0"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{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:"sortKey",line:"77",comp:"DESC|NC11",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}seq", -chk:"0"}]},{N:"str",role:"order",val:"descending"},{N:"str",role:"dataType",val:"number"},{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:"copy",line:"79",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"att",name:"rank",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int", -val:"1"}]}]}]},{N:"axis",line:"80",name:"attribute",nodeTest:"NA"},{N:"axis",line:"80",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"274",rank:"3",minImp:"0",slots:"5",matches:"NE nQ{http://ns.saxonica.com/xslt/export}withParam",flags:"s",line:"252",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"254",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"0"}]}]}]},{N:"copy",line:"263",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"},{N:"choose",line:"264",C:[{N:"fn",name:"exists",C:[{N:"axis", -name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"att",line:"266",name:"slot",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, -{N:"int",val:"2"}]},{N:"int",val:"0"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"let",line:"270","var":"Q{}def",as:"1NE",slot:"1",eval:"16",C:[{N:"choose",line:"272",C:[{N:"compareToInt",op:"le",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:"treat",line:"273",as:"NE",diag:"3|0|XTTE0570|def",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|def",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child", -nodeTest:"NE"}]}]}]},{N:"true"},{N:"elem",line:"276",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"body"}]},{N:"applyT",line:"277",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"sequence",line:"282",C:[{N:"choose",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current859694243",as:"1",slot:"2",eval:"16",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0", -as:"?AZ",slot:"3",eval:"13",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current859694243",slot:"2"},{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"}]}, -{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]}]}]}]},{N:"fn",line:"285",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XPST0008"},{N:"fn",name:"concat",C:[{N:"str",val:"Global variable "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:" cannot refer to itself in its definition"}]}]}]},{N:"let",line:"293","var":"Q{}requiredType", -as:"?FM",slot:"4",eval:"7",C:[{N:"first",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"27",eval:"16",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]},{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false", -bSlot:"28",eval:"16",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{}sType"}]}]}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"forEach",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"int",val:"3"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"29",eval:"16",C:[{N:"treat",as:"AS",diag:"0|0||t:marshalType",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot"}]}]}]}]}]}]}]}]}]},{N:"choose",line:"297",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data", -diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"30"}]}]},{N:"ufCall",line:"300",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"31",eval:"1 16 16",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"32"},{N:"str",val:"TYPE_OP"}]}]},{N:"str",val:"0"},{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"300", -name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}type-error-map",bSlot:"33"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"300",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"choose",line:"260",C:[{N:"fn", -name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"fn",name:"concat",C:[{N:"str",val:' match="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"str",val:'"'}]},{N:"true"},{N:"fn",name:"concat",C:[{N:"str",val:' name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:'"'}]}]}]}]},{N:"str",val:"|"}]}]}]}]}]},{N:"fn",line:"302",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]}, -{N:"sequence",line:"303",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"varRef",name:"Q{}def",slot:"1"}]},{N:"true"},{N:"sequence",line:"307",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"dot",type:"1NA nQ{}sType"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"34"}]}]}, -{N:"varRef",name:"Q{}def",slot:"1"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"242",rank:"1",minImp:"0",slots:"10",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey",flags:"s",line:"158",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"159",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"160","var":"Q{}input",as:"1NE",slot:"1",eval:"16",C:[{N:"treat",line:"161",as:"NE",diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child", -nodeTest:"NE"}]}]}]}]},{N:"let",line:"164","var":"Q{}properties",as:"*NE",slot:"2",eval:"8",C:[{N:"sequence",line:"165",C:[{N:"treat",as:"NE",diag:"3|0|XTTE0570|properties",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"choose",line:"166",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"collation"},{N:"str", -val:"lang"},{N:"str",val:"caseOrder"}]},{N:"attVal",name:"Q{}role",chk:"0"}]}]}]},{N:"elem",line:"167",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"collation"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]},{N:"let",line:"175","var":"Q{}dataType",as:"*NE",slot:"3",eval:"4",C:[{N:"filter", -flags:"",C:[{N:"varRef",name:"Q{}properties",slot:"2"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role",chk:"0"},{N:"str",val:"dataType"}]}]},{N:"let",line:"178","var":"Q{}atomizedInput",slot:"4",eval:"3",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"37",eval:"1 1 16",C:[{N:"varRef",name:"Q{}input",slot:"1"},{N:"gVarRef",name:"Q{}ST.OPTIONAL_ATOMIC",bSlot:"38"},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag", -C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1485169201",bSlot:"39"}]}]}]}]},{N:"let",line:"179","var":"Q{}input",as:"1NE",slot:"5",eval:"16",C:[{N:"choose",line:"200",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"select"}]}]},{N:"treat",line:"201",as:"NE", -diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"forEach",C:[{N:"check",card:"?",diag:"4|0|XTTE3180|xsl:copy/select",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]},{N:"copy",line:"202",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",C:[{N:"copyOf",flags:"c",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]},{N:"att",line:"203",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"copyOf", -line:"204",flags:"c",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"N"}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"208",as:"NE",diag:"3|0|XTTE0570|input",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|input",C:[{N:"varRef",name:"Q{}atomizedInput",slot:"4"}]}]}]},{N:"let",line:"214","var":"Q{}principal",slot:"6",eval:"4",C:[{N:"lookup",C:[{N:"ufCall",line:"213",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"40",eval:"16",C:[{N:"check", -card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]},{N:"str",val:"p"}]},{N:"let",line:"216","var":"Q{}sortNumeric",slot:"7",eval:"16",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}alphaCode",as:"1AS",slot:"8",eval:"16",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -as:"AS",diag:"0|0||t:isNumeric",C:[{N:"check",card:"1",diag:"0|0||t:isNumeric",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:isNumeric",C:[{N:"varRef",name:"Q{}principal",slot:"6"}]}]}]}]},{N:"or",module:"type.xsl",line:"438",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"8"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"8"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode", -slot:"8"},{N:"str",val:"AF"}]}]}]},{N:"let",line:"219","var":"Q{}sortTemporal",as:"1AB",slot:"9",eval:"16",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}principal",slot:"6"}]},{N:"literal",count:"3",C:[{N:"str",val:"AM"},{N:"str",val:"AA"},{N:"str",val:"AT"}]}]},{N:"copy",line:"223",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}sortKey",C:[{N:"sequence",role:"content",C:[{N:"axis", -name:"attribute",nodeTest:"NA"},{N:"choose",line:"224",C:[{N:"fn",line:"172",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}properties",slot:"2"},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"caseOrder"},{N:"str",val:"lang"}]},{N:"attVal",name:"Q{}role",chk:"0"}]}]}]}]},{N:"att",line:"245",name:"comp",flags:"l",C:[{N:"fn",name:"string-join", -C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",line:"174",flags:"",C:[{N:"varRef",name:"Q{}properties",slot:"2"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role",chk:"0"},{N:"str",val:"order"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]},{N:"str",val:"descending"}]},{N:"str",val:"DESC"}]},{N:"choose",C:[{N:"varRef",name:"Q{}sortNumeric",slot:"7"}, -{N:"str",val:"DblSC"},{N:"vc",line:"218",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}dataType",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]}]}]}]},{N:"str",val:"number"}]},{N:"str",val:"NC"},{N:"varRef",name:"Q{}sortTemporal",slot:"9"},{N:"str",val:"CalVC"},{N:"true"}, -{N:"str",val:"CCC"}]}]},{N:"str",val:"|"}]}]}]},{N:"choose",line:"249",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]},{N:"str",val:"xs:duration"}]},{N:"ufCall",line:"251",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"41",eval:"0 0 1",C:[{N:"str",val:"XTDE1030"},{N:"str",val:"xs:duration types are not comparable and may not be used in xsl:sort/@select"},{N:"varRef", -name:"Q{}input",slot:"5"}]},{N:"true"},{N:"sequence",line:"282",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}input",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}input",slot:"5"}]}]},{N:"except",line:"295",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}properties",slot:"2"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]}]},{N:"choose",line:"297",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}dataType", -slot:"3"}]},{N:"fn",line:"220",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}principal",slot:"6"}]}]}]}]},{N:"str",val:"A"}]}]},{N:"empty"},{N:"fn",line:"298",name:"empty",C:[{N:"varRef",name:"Q{}dataType",slot:"3"}]},{N:"elem",line:"299",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"val", -flags:"l",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"varRef",name:"Q{}sortNumeric",slot:"7"},{N:"varRef",name:"Q{}sortTemporal",slot:"9"}]},{N:"str",val:"number"},{N:"true"},{N:"str",val:"text"}]}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"dataType"}]}]}]},{N:"true"},{N:"varRef",line:"305",name:"Q{}dataType",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"241",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}sort",flags:"s",line:"144", -module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}sort"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"146",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}sort",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"147","var":"Q{}for",as:"1NE", -slot:"0",eval:"16",C:[{N:"treat",line:"148",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"sequence",line:"150",C:[{N:"att",name:"sType",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"0"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]},{N:"varRef",line:"151",name:"Q{}for",slot:"0"},{N:"applyT",line:"152",flags:"c", -bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"sorting.xsl",line:"153",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"42",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"0"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"274",rank:"3",minImp:"0",slots:"5",matches:"NE nQ{http://ns.saxonica.com/xslt/export}template",flags:"s",line:"252", -module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}template"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"254",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables", -C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"0"}]}]}]},{N:"copy",line:"263",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"},{N:"choose",line:"264",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"att",line:"266",name:"slot",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS", -C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"int",val:"2"}]},{N:"int",val:"0"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"let",line:"270","var":"Q{}def",as:"1NE",slot:"1",eval:"16",C:[{N:"choose",line:"272",C:[{N:"compareToInt", -op:"le",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:"treat",line:"273",as:"NE",diag:"3|0|XTTE0570|def",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|def",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"elem",line:"276",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l", -C:[{N:"str",val:"body"}]},{N:"applyT",line:"277",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"sequence",line:"282",C:[{N:"choose",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current859694243",as:"1",slot:"2",eval:"16",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"3",eval:"13",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current859694243",slot:"2"}, -{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", -slot:"3"}]}]}]}]}]}]},{N:"fn",line:"285",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XPST0008"},{N:"fn",name:"concat",C:[{N:"str",val:"Global variable "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:" cannot refer to itself in its definition"}]}]}]},{N:"let",line:"293","var":"Q{}requiredType",as:"?FM",slot:"4",eval:"7",C:[{N:"first",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, -{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"27",eval:"16",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]},{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"28",eval:"16",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{}sType"}]}]}]}]},{N:"choose",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"forEach",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"int",val:"3"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"29",eval:"16",C:[{N:"treat", -as:"AS",diag:"0|0||t:marshalType",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot"}]}]}]}]}]}]}]}]}]},{N:"choose",line:"297",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"30"}]}]}, -{N:"ufCall",line:"300",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"31",eval:"1 16 16",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289", -name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"32"},{N:"str",val:"TYPE_OP"}]}]},{N:"str",val:"0"},{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"300",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}type-error-map",bSlot:"33"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"300",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"choose",line:"260",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}, -{N:"fn",name:"concat",C:[{N:"str",val:' match="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"str",val:'"'}]},{N:"true"},{N:"fn",name:"concat",C:[{N:"str",val:' name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:'"'}]}]}]}]},{N:"str",val:"|"}]}]}]}]}]},{N:"fn",line:"302",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"sequence",line:"303", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"varRef",name:"Q{}def",slot:"1"}]},{N:"true"},{N:"sequence",line:"307",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"dot",type:"1NA nQ{}sType"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"34"}]}]},{N:"varRef",name:"Q{}def", -slot:"1"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"178",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condCont",flags:"s",line:"211",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}condCont"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"212","var":"Q{}source",as:"1NE",slot:"0",eval:"16",C:[{N:"treat",line:"213",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"216",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}condCont",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"217",name:"sType",flags:"l",C:[{N:"fn",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"sequenceType.xsl",line:"196",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"conditionals.xsl",line:"217",card:"1",diag:"0|0||t:makeOptional",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]},{N:"str",val:"^1"},{N:"str",val:"?"}, -{N:"str",val:""}]},{N:"str",val:"^\\+"},{N:"str",val:"*"},{N:"str",val:""}]}]},{N:"varRef",line:"218",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"283",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}dot",flags:"s",line:"585",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}dot"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"586",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"copy",line:"588",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}dot",C:[{N:"sequence",role:"content",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"43",eval:"1",C:[{N:"varRef",name:"Q{}context-type", -slot:"0"}]}]},{N:"axis",line:"589",name:"attribute",nodeTest:"NA"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"156",rank:"4",minImp:"0",slots:"12",matches:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule",flags:"s",line:"232",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"233",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"234",name:"Q{}defaultXPathNamespace",slot:"1",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|defaultXPathNamespace", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"data",diag:"8|0|XTTE0590|defaultXPathNamespace",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"237","var":"Q{}priority",as:"?NA",slot:"2",eval:"8",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"},{N:"let",line:"238","var":"Q{}attributes",as:"*NA",slot:"3",eval:"8",C:[{N:"treat",line:"239",as:"NA",diag:"3|0|XTTE0570|attributes",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA nQ{}priority]"}]}]}, -{N:"let",line:"241","var":"Q{}requiredType",as:"?FM",slot:"4",eval:"7",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|requiredType",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"44",eval:"16",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"let",line:"242","var":"Q{}match",as:"*NE",slot:"5", -eval:"4",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role",chk:"0"}]},{N:"str",val:"match"}]}]},{N:"let",line:"267","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"6",eval:"13",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}match",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}, -{N:"str",val:"node()"}]},{N:"let",line:"251","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"7",eval:"13",C:[{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}match",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]},{N:"let",line:"243","var":"Q{}action",as:"*NE",slot:"8",eval:"4",C:[{N:"except",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}match", -slot:"5"}]}]},{N:"let",line:"245","var":"Q{}patterns",as:"*NE",slot:"9",eval:"8",C:[{N:"treat",line:"246",as:"NE",diag:"3|0|XTTE0570|patterns",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}match",slot:"5"}]}]},{N:"let",line:"249","var":"Q{}warnings",as:"*NE",slot:"10",eval:"4",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}patterns",slot:"9"},{N:"fn",name:"exists",C:[{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:p.warning"}]}]},{N:"sequence",line:"250",C:[{N:"forEach", -C:[{N:"varRef",name:"Q{}warnings",slot:"10"},{N:"message",line:"251",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Warning:"},{N:"forEach",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:p.warning"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}message"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}message"}]}]},{N:"str",val:"in pattern"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"7"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error", -val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"forEach",line:"254",C:[{N:"except",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}patterns",slot:"9"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}warnings",slot:"10"}]}]},{N:"sequence",line:"255",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"message",line:"256",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Missing @sType"},{N:"fn",name:"serialize",C:[{N:"dot",type:"1NE"}]}]}, -{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"elem",line:"260",name:"templateRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"261",C:[{N:"varRef",name:"Q{}attributes",slot:"3"},{N:"att",line:"262",name:"prio",flags:"l",C:[{N:"fn",line:"264",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}priority",slot:"2"}]},{N:"cast",line:"265", -flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}priority",slot:"2"}]}]}]}]},{N:"varRef",line:"267",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"6"},{N:"atomic",val:"-0.5",type:"AZ"},{N:"true"},{N:"data",line:"269",C:[{N:"mergeAdj",C:[{N:"applyT",mode:"Q{}pattern-priority",bSlot:"45",C:[{N:"dot",role:"select",type:"1NE"}]}]}]}]}]},{N:"str",val:""}]}]},{N:"att",line:"274",name:"matches",flags:"l",C:[{N:"fn",name:"substring", -C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}sType",chk:"0"}]},{N:"int",val:"2"}]}]},{N:"copy",line:"276",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"277",name:"role",flags:"l",C:[{N:"str",val:"match"}]},{N:"axis",line:"278",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"283","var":"Q{}body",as:"1NE",slot:"11",eval:"16",C:[{N:"treat",line:"284",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|body", -C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}action",slot:"8"},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"rules.xsl",line:"285",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"46",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]},{N:"choose",line:"294",C:[{N:"fn",name:"exists", -C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"47",eval:"1 16 16",C:[{N:"varRef",name:"Q{}body",slot:"11"},{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg963014210",bSlot:"48"}]}]}]}]},{N:"true"},{N:"varRef", -name:"Q{}body",slot:"11"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"282",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}str",flags:"s",line:"578",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}str"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"580",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}str",C:[{N:"sequence",role:"content",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"49"}]},{N:"axis",line:"581",name:"attribute",nodeTest:"NA"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"255",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc",flags:"s",line:"103",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"104",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"50"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]}, -{N:"param",line:"105",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"1FM",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|focus-context-type",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"106","var":"Q{}forEach",as:"*NE",slot:"2",eval:"3",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"}, -{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"forEachItem"},{N:"str",val:"forEachSource"}]},{N:"attVal",name:"Q{}role",chk:"0"}]}]},{N:"let",line:"107","var":"Q{}select",as:"*NE",slot:"3",eval:"3",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role",chk:"0"}]},{N:"str",val:"selectRows"}]}]},{N:"let",line:"108","var":"Q{}source",as:"?NE",slot:"4",eval:"7", -C:[{N:"treat",line:"109",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}forEach",slot:"2"}]}]}]},{N:"copy",line:"112",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc",C:[{N:"let",role:"content","var":"Q{}for",as:"1NE",slot:"5",eval:"16",C:[{N:"treat",line:"113",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1", -C:[{N:"varRef",role:"select",name:"Q{}select",slot:"3"},{N:"withParam",name:"Q{}context-type",flags:"t",as:"?FM",C:[{N:"choose",line:"120",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}source",slot:"4"}]},{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", -type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"merging.xsl",line:"120",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"51",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"4"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]},{N:"str",val:"o"}, -{N:"str",val:"1"}]},{N:"str",val:"code"}]},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"0"}]}]}]}]}]},{N:"let",line:"124","var":"Q{}body",as:"*NE",slot:"6",eval:"8",C:[{N:"treat",line:"125",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"union",op:"|",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}select",slot:"3"}]},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}forEach",slot:"2"}]}]}]}, -{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"126",name:"Q{}context-type",slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ufCall",line:"123",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"52",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"5"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]}]}]}]},{N:"sequence",line:"130",C:[{N:"att",name:"sType", -flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"5"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]},{N:"axis",line:"131",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"132",name:"Q{}source",slot:"4"},{N:"varRef",line:"132",name:"Q{}for",slot:"5"},{N:"varRef",line:"132",name:"Q{}body",slot:"6"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"158",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}forEach",flags:"s", -line:"70",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEach"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"71",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"53"},{N:"treat",role:"conversion",as:"FM", -diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"72",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"54"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"75","var":"Q{}for",as:"1NE",slot:"2",eval:"16",C:[{N:"treat", -line:"76",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let",line:"79","var":"Q{}forItemType",as:"1FM",slot:"3",eval:"8",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove", -type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"repetition.xsl",line:"79",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"55",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for", -slot:"2"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]},{N:"let",line:"80","var":"Q{}body",as:"1NE",slot:"4",eval:"16",C:[{N:"treat",line:"81",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"82",name:"Q{}context-type", -slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"varRef",line:"83",name:"Q{}forItemType",slot:"3"}]}]}]}]},{N:"copy",line:"89",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}forEach",C:[{N:"sequence",role:"content",C:[{N:"att",name:"sType",flags:"l",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"repetition.xsl",line:"89",card:"1",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]},{N:"str",val:"^[01*?+]"}, -{N:"str",val:""},{N:"str",val:""}]}]},{N:"true"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"56"}]}]},{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}role"},{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"90",name:"attribute",nodeTest:"NA nQ{}module"},{N:"choose",line:"92",C:[{N:"and",op:"and",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl", -line:"455","var":"Q{}alphaCode",slot:"5",eval:"4",C:[{N:"lookup",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"repetition.xsl",line:"92",name:"Q{}forItemType",slot:"3"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef", -name:"Q{}alphaCode",slot:"5"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]}]}]}]},{N:"str",val:"N"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}for",slot:"2"},{N:"axis",name:"self",nodeTest:"NE n*:slash"}]}]}]},{N:"elem",line:"93",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"varRef",line:"94",name:"Q{}for",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"98",name:"Q{}for",slot:"2"}]},{N:"varRef",line:"101",name:"Q{}body",slot:"4"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"235",rank:"4",minImp:"0",slots:"5",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"133",module:"numbering.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate", -C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"133",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"select"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nodeNum"}]},{N:"sequence",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"134",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"57"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"135", -C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}needsNode"}]}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]}]},{N:"fn",name:"not",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"1", -eval:"4",C:[{N:"lookup",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"numbering.xsl",line:"135",card:"1",diag:"0|0||t:isNode",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=", -C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"N"}]}]}]}]}]},{N:"ufCall",line:"136",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"58",eval:"0 0 16",C:[{N:"str",val:"XTTE0990"},{N:"str",val:"xsl:number without @select or @value must have a node() as context"}, -{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"let",line:"138","var":"Q{}outer",as:"1NE",slot:"2",eval:"16",C:[{N:"treat",line:"140",as:"NE",diag:"3|0|XTTE0570|outer",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|outer",C:[{N:"try",flags:"r",C:[{N:"let","var":"Q{}temp",as:"1NE",slot:"3",eval:"16",C:[{N:"treat",line:"141",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"varRef",line:"143",name:"Q{}temp", -slot:"3"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0002 Q{http://www.w3.org/2005/xqt-errors}XPTY0020",C:[{N:"ufCall",line:"145",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"59",eval:"0 0 16",C:[{N:"str",val:"XTTE0990"},{N:"str",val:"xsl:number without @select or @value must have a node() as context"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]}]}]}]},{N:"sequence",line:"148",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"4",eval:"4",C:[{N:"lookup",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"numbering.xsl",line:"148",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"60",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}outer",slot:"2"}, -{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"4"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode", -slot:"4"}]}]}]}]},{N:"str",val:"N"}]}]}]}]},{N:"ufCall",line:"149",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"61",eval:"0 16 16",C:[{N:"str",val:"XTTE1000"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:number/@select must yield a result of type node(), not "},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"62",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"63",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped", -to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}outer",slot:"2"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]}]}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}]},{N:"varRef",line:"151",name:"Q{}outer",slot:"2"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"234",rank:"4",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"123",module:"numbering.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate", -C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"123",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"value"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}numSeqFmt"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"124","var":"Q{}temp",as:"1NE",slot:"0",eval:"16",C:[{N:"treat",line:"125",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"128",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"64",eval:"1 1 16",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"gVarRef",name:"Q{}ST.MULTIPLE_ATOMIC",bSlot:"65"},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef", -name:"Q{http://saxon.sf.net/generated-variable}gg1701756941",bSlot:"66"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"297",rank:"1",minImp:"0",slots:"29",matches:"NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"s",line:"964",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"966",C:[{N:"param",name:"Q{}options",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"967",name:"Q{}local.variables",slot:"1",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"968",name:"Q{}globals",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]}, -{N:"param",line:"969",name:"Q{}global.functions",slot:"3",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param",line:"970",name:"Q{}accumulators",slot:"4",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"param",line:"971",name:"Q{}context-type",slot:"5",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"67"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param",line:"972",name:"Q{}focus-context-type",slot:"6",flags:"t",as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type",slot:"5"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"6"}]}]}]},{N:"param",line:"973",name:"Q{}nsAttribute",slot:"7",flags:"t",as:"?NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"supplied",slot:"7"}]}]}]},{N:"param",line:"974",name:"Q{}defaultHTML5",slot:"8",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied", -slot:"8"}]}]}]}]}]},{N:"let",line:"981","var":"Q{}slotMap",as:"1FM v[?]",slot:"9",eval:"8",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",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:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot", -type:"1A"},{N:"subscript",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",dyn:"$local.variables",C:[{N:"treat",as:"F",diag:"0|0||saxon:apply",C:[{N:"check",card:"1",diag:"0|0||saxon:apply",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]},{N:"arrayBlock",C:[{N:"dot",type:"1A"}]}]},{N:"int",val:"2"}]}]}]},{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:"982","var":"Q{}role",as:"?NA", -slot:"10",eval:"8",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"let",line:"983","var":"Q{}line",as:"?NA",slot:"11",eval:"8",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}line"},{N:"let",line:"984","var":"Q{}allow-empty",as:"?AB",slot:"12",eval:"7",C:[{N:"vc",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}allow-empty"}]},{N:"str",val:"true"}]},{N:"let",line:"986","var":"Q{}ns",as:"?FM k[AS] v[1AS]",slot:"13",eval:"7",C:[{N:"choose",C:[{N:"fn", -name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xpathDefaultNamespace"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]},{N:"let",line:"988","var":"Q{}collation",as:"?FM k[AS] v[?AS]",slot:"14",eval:"7",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}, -{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"defaultCollation"},{N:"first",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]}]}]},{N:"let",line:"989","var":"Q{}backward-compatibility",as:"1AB",slot:"15",eval:"8",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}BC"}]},{N:"let",line:"991","var":"Q{}checkType",as:"?AS", -slot:"16",eval:"8",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|checkType",C:[{N:"data",diag:"3|0|XTTE0570|checkType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}checkType"}]}]},{N:"let",line:"999","var":"Q{}namespaces",slot:"17",eval:"7",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"65","var":"Q{}ns",as:"?NA",slot:"18",eval:"7",C:[{N:"lastOf", -C:[{N:"slash",simple:"2",C:[{N:"slash",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"999",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, -{N:"choose",line:"72",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}ns",slot:"18"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespaces"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"varRef",name:"Q{}ns",slot:"18"}]}]}]},{N:"let","var":"Q{}prefix",slot:"19",eval:"8",C:[{N:"fn",name:"substring-before", -C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"20",eval:"8",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"19"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"20"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces", -bSlot:"68"},{N:"varRef",name:"Q{}prefix",slot:"19"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"20"}]}]}]}]}]},{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:"1006","var":"Q{}context-type",as:"?FM",slot:"21",eval:"7",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"}]},{N:"vc",op:"ne",onEmpty:"0", -comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"str",val:"select"}]}]},{N:"varRef",name:"Q{}focus-context-type",slot:"6"},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"5"}]},{N:"let",line:"1011","var":"Q{}temp",as:"1",slot:"22",eval:"16",C:[{N:"check",line:"1042",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"try",flags:"r",C:[{N:"applyT",line:"1044",mode:"Q{}exportNS",bSlot:"69",C:[{N:"ifCall",role:"select",line:"1042",name:"Q{http://saxon.sf.net/}compile-XPath", -type:"1",C:[{N:"check",card:"1",diag:"0|0||saxon:compile-XPath",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||saxon:compile-XPath",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]},{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}merge",type:"1FM",C:[{N:"sequence",C:[{N:"map",size:"1",C:[{N:"str",val:"language"},{N:"str",val:"XSLT"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"html5Mode"},{N:"varRef",name:"Q{}defaultHTML5",slot:"8"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backwardCompatibility"},{N:"varRef",name:"Q{}backward-compatibility",slot:"15"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"inCatch"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"axis", -name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}catch"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"inTry"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}try"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"allowEmpty"}, -{N:"varRef",name:"Q{}allow-empty",slot:"12"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"globals"},{N:"varRef",name:"Q{}globals",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"globalFunctions"},{N:"varRef",name:"Q{}global.functions",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"accumulators"},{N:"varRef",name:"Q{}accumulators", -slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"slotMap"},{N:"varRef",name:"Q{}slotMap",slot:"9"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"contextType"},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}role",slot:"10"}]}]},{N:"str",val:"match"}]},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"70"}, -{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"21"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"nsAttribute"},{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}nsAttribute",slot:"7"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}ns",slot:"13"},{N:"varRef",name:"Q{}namespaces",slot:"17"},{N:"varRef",name:"Q{}collation",slot:"14"}]}, -{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:"check",card:"?",diag:"0|2||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPTY0020",C:[{N:"fn",line:"1052",name:"error",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultedSelect"}]},{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors", -loc:"XTTE0510"},{N:"true"},{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:"fn",name:"concat",C:[{N:"str",val:"Static error in XPath"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"71",eval:"16",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]}, -{N:"str",val:" {"},{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]},{N:"str",val:"}: "},{N:"data",diag:"0|5||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"1061",C:[{N:"elem",name:"ex:empty",nsuri:"http://ns.saxonica.com/xslt/export",C:[{N:"empty"}]},{N:"fn",line:"1064", -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:"fn",name:"concat",C:[{N:"str",val:"Static error in XPath"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"72",eval:"16",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}xpath",flags:"a"}]},{N:"str",val:" {"}, -{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]},{N:"str",val:"}: "},{N:"data",diag:"0|5||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]}]},{N:"let",line:"1069","var":"Q{}temp",as:"1NE",slot:"23",eval:"16",C:[{N:"choose",line:"1071",C:[{N:"instance",of:"1FM",C:[{N:"varRef",name:"Q{}temp",slot:"22"}]},{N:"let", -line:"1072","var":"Q{}type",slot:"24",eval:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"22"},{N:"str",val:"type"}]},{N:"let",line:"1076","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"25",eval:"13",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}type",slot:"24"}]}]}]},{N:"str",val:" "}]},{N:"treat",line:"1073",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach", -C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"22"},{N:"str",val:"expr"}]},{N:"copy",line:"1075",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"1076",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"25"}]},{N:"slash",line:"1077",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis", -name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"1082",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"varRef",name:"Q{}temp",slot:"22"}]}]},{N:"sequence",line:"1086",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultedSelect"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS", -C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"N"}]}]},{N:"fn",name:"not",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]},{N:"str",val:""}]}]}]}]},{N:"fn",line:"1089",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors", -loc:"XTTE0510"},{N:"fn",name:"concat",C:[{N:"str",val:"The required item type of the context item for xpath '"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]},{N:"str",val:"' is node(), but the supplied expression has type "},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"73",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:displayType",C:[{N:"varRef",name:"Q{}context-type",slot:"21"}]}]}]}]}]},{N:"let",line:"1091","var":"Q{}temp",as:"1NE", -slot:"26",eval:"16",C:[{N:"choose",line:"1093",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}context-type",slot:"21"},{N:"str",val:"p"}]}]},{N:"str",val:""}]},{N:"ufCall",name:"Q{MyFunctions}requiresNodeTest",tailCall:"false",bSlot:"74",eval:"1",C:[{N:"varRef",name:"Q{}temp",slot:"23"}]},{N:"true"},{N:"false"}]},{N:"elem",line:"1094",name:"slash",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"simple",flags:"l",C:[{N:"str",val:"1"}]},{N:"docOrder",line:"1095",intra:"1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"23"},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"elem",line:"1096",name:"treat",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"sequence", -C:[{N:"att",name:"as",flags:"l",C:[{N:"str",val:"N"}]},{N:"att",name:"diag",flags:"l",C:[{N:"str",val:"13|0|XTTE0510|"}]},{N:"elem",line:"1097",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"empty"}]}]}]},{N:"varRef",line:"1099",name:"Q{}temp",slot:"23"}]}]},{N:"true"},{N:"varRef",line:"1103",name:"Q{}temp",slot:"23"}]},{N:"let",line:"1107","var":"Q{}temp",as:"1NE",slot:"27",eval:"16",C:[{N:"choose",line:"1114",C:[{N:"and",line:"1111",op:"and",C:[{N:"fn", -name:"matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]},{N:"str",val:"^(\\+|\\*)N"},{N:"str",val:""}]},{N:"fn",name:"empty",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"union",op:"|",C:[{N:"union",op:"|",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE u[NE u[NE u[NE u[NE u[NE u[NE n*:sequence,NE n*:axis],NE n*:filter],NE n*:except],NE n*:for],NE n*:forEach],NE n*:varRef],NE n*:gVarRef],NE n*:copyOf]"},{N:"filter", -flags:"",C:[{N:"axis",name:"self",nodeTest:"NE n*:fn"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:"reverse"}]}]}]},{N:"axis",name:"self",nodeTest:"NE n*:ufCall"}]}]}]}]},{N:"elem",line:"1115",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",line:"1116",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}temp",slot:"26"}]}]}, -{N:"and",line:"1119",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}slash"}]}]},{N:"fn",name:"starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"attVal",name:"Q{}type",chk:"0"}]}]},{N:"str",val:"item("}]}]},{N:"elem",line:"1120",name:"homCheck",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence", -line:"1121",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"26"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}temp",slot:"26"}]}]},{N:"true"},{N:"varRef",line:"1125",name:"Q{}temp",slot:"26"}]},{N:"let",line:"1129","var":"Q{}temp",as:"1NE",slot:"28",eval:"16",C:[{N:"choose",line:"1131",C:[{N:"varRef",name:"Q{}checkType",slot:"16"},{N:"treat",line:"1132",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck", -tailCall:"false",bSlot:"75",eval:"1 16 16",C:[{N:"varRef",name:"Q{}temp",slot:"27"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"76",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"varRef",name:"Q{}checkType",slot:"16"}]}]},{N:"check",card:"1",diag:"0|2||f:typeCheck",C:[{N:"cvUntyped",line:"992",to:"AS",diag:"3|0|XTTE0570|diagnostic",C:[{N:"data",diag:"3|0|XTTE0570|diagnostic",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}diagnostic"}]}]}]}]}]}]},{N:"true"}, -{N:"varRef",line:"1135",name:"Q{}temp",slot:"27"}]},{N:"choose",line:"1140",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"axis",name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:"current"}]}]}]},{N:"choose",line:"1142",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}context-type",slot:"21"}]},{N:"elem",line:"1143", -name:"error",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"code",flags:"l",C:[{N:"str",val:"XTDE1360"}]},{N:"att",name:"message",flags:"l",C:[{N:"str",val:"context absent for current()"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"1144",name:"Q{}role",slot:"10"}]}]},{N:"true"},{N:"elem",line:"1152",name:"let",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",C:[{N:"att",name:"var", -flags:"l",C:[{N:"str",val:"fn-current"}]},{N:"att",name:"slot",flags:"l",C:[{N:"str",val:"199"}]},{N:"axis",line:"1153",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"1153",name:"Q{}role",slot:"10"},{N:"varRef",line:"1153",name:"Q{}line",slot:"11"},{N:"slash",line:"1153",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"elem",line:"1154",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"err",C:[{N:"empty"}]}, -{N:"applyT",line:"1155",mode:"Q{}xpath-with-current",bSlot:"77",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"28"}]}]}]}]},{N:"true"},{N:"forEach",line:"1171",C:[{N:"varRef",name:"Q{}temp",slot:"28"},{N:"copy",line:"1173",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"10"},{N:"varRef",name:"Q{}line",slot:"11"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0", -prio:"0.0",seq:"166",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}choose",flags:"s",line:"29",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}choose"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"30","var":"Q{}parts",as:"*NE",slot:"0",eval:"8",C:[{N:"treat", -line:"31",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"36",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}choose",C:[{N:"sequence",role:"content",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"78",eval:"16",C:[{N:"ufCall",line:"34",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"79",eval:"8",C:[{N:"check",card:"+",diag:"0|0||t:commonType", -C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"filter",flags:"pb",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"compareToInt",op:"eq",val:"0",C:[{N:"arith",op:"mod",calc:"i%i",C:[{N:"fn",name:"position"},{N:"int",val:"2"}]}]}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"80",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]}]}]}]}]}, -{N:"axis",line:"37",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"37",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"247",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup",flags:"s",line:"117",module:"grouping.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"118",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"81"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"119",name:"Q{}focus-context-type",slot:"1",flags:"t",as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type",slot:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"1"}]}]}]},{N:"copy",line:"122",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup",C:[{N:"let",role:"content","var":"Q{}population",as:"1NE",slot:"2",eval:"16",C:[{N:"treat",line:"123",as:"NE",diag:"3|0|XTTE0570|population",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|population",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"let", -line:"125","var":"Q{}populationType",slot:"3",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"82",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}population",slot:"2"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]},{N:"let",line:"127","var":"Q{}body",as:"+NE",slot:"4",eval:"8",C:[{N:"treat",line:"128",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|body",C:[{N:"applyT", -flags:"c",bSlot:"-1",C:[{N:"tail",role:"select",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}focus-context-type",flags:"t",as:"?FM",C:[{N:"varRef",line:"129",name:"Q{}context-type",slot:"0"}]},{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove", -type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"grouping.xsl",line:"126",name:"Q{}populationType",slot:"3"},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]}]},{N:"sequence",line:"133",C:[{N:"att",name:"sType",flags:"l",C:[{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"grouping.xsl",line:"133",card:"1",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:withOccurrenceIndicator",C:[{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter", -flags:"",C:[{N:"varRef",name:"Q{}body",slot:"4"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role",chk:"0"},{N:"str",val:"content"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"axis",line:"134",name:"attribute",nodeTest:"NA"},{N:"choose",line:"136",C:[{N:"and",op:"and",C:[{N:"let",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"type.xsl",line:"455","var":"Q{}alphaCode",slot:"5",eval:"4",C:[{N:"lookup",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"grouping.xsl",line:"136",name:"Q{}populationType",slot:"3"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data", -diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"5"}]}]}]}]},{N:"str",val:"N"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}population",slot:"2"},{N:"axis",name:"self",nodeTest:"NE n*:slash"}]}]}]},{N:"elem", -line:"137",name:"docOrder",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"intra",flags:"l",C:[{N:"str",val:"1"}]},{N:"slash",line:"138",simple:"1",C:[{N:"varRef",name:"Q{}population",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"138",name:"Q{}population",slot:"2"}]}]},{N:"true"},{N:"varRef",line:"142",name:"Q{}population",slot:"2"}]},{N:"varRef",line:"145",name:"Q{}body",slot:"4"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0", -prio:"0.5",seq:"292",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}valueOf",flags:"s",line:"866",module:"xpath.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}valueOf"},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"866",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:"string-join"}]}]}]},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"867",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"copy",line:"869", -flags:"inl",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}valueOf",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"870",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"271",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}MAP",flags:"s",line:"49",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}MAP"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"83"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"51", -name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map}"},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"target"}]}]},{N:"str",val:"JS"}]},{N:"str",val:"_new"}, -{N:"true"},{N:"str",val:"merge"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_MAP",bSlot:"84"}]},{N:"axis",line:"52",name:"attribute",nodeTest:"NA"},{N:"let",line:"53","var":"Q{}entries",as:"*NE",slot:"1",eval:"8",C:[{N:"treat",line:"54",as:"NE",diag:"3|0|XTTE0570|entries",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"sequence",line:"56",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"85",eval:"16 1 16", -C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"varRef",name:"Q{}entries",slot:"1"}]},{N:"gVarRef",name:"Q{}ST.MULTIPLE_MAP",bSlot:"86"},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg465257140",bSlot:"87"}]}]}]}]},{N:"elem",line:"57",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn", -name:"concat",C:[{N:"str",val:"Q{"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map}"},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"target"}]}]},{N:"str",val:"JS"}]},{N:"str",val:"_new"},{N:"true"},{N:"str",val:"merge"}]}]}]},{N:"elem",line:"58",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", -C:[{N:"sequence",line:"59",C:[{N:"elem",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"map()"}]},{N:"elem",line:"60",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"duplicates"}]}]}]}, -{N:"elem",line:"61",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:"reject"}]}]}]}]},{N:"elem",line:"63",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"map()"}]},{N:"elem",line:"64",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", -C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"duplicates-error-code"}]}]}]},{N:"elem",line:"65",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:"XTDE3365"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"177",part:"1",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty",flags:"s",line:"202",module:"conditionals.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}onNonEmpty"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"203","var":"Q{}source",as:"1NE",slot:"0",eval:"16",C:[{N:"treat",line:"204",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis", -role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"207",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"277",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}copyOf",flags:"s",line:"410",module:"xpath.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}copyOf"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"411","var":"Q{}source",as:"1NE",slot:"0",eval:"16",C:[{N:"treat",line:"412",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis", -role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"415",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}copyOf",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"274",rank:"3",minImp:"0",slots:"5",matches:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam", -flags:"s",line:"252",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"254",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables", -C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"0"}]}]}]},{N:"copy",line:"263",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"},{N:"choose",line:"264",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"att",line:"266",name:"slot",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS", -C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"int",val:"2"}]},{N:"int",val:"0"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"let",line:"270","var":"Q{}def",as:"1NE",slot:"1",eval:"16",C:[{N:"choose",line:"272",C:[{N:"compareToInt", -op:"le",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:"treat",line:"273",as:"NE",diag:"3|0|XTTE0570|def",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|def",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"elem",line:"276",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l", -C:[{N:"str",val:"body"}]},{N:"applyT",line:"277",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"sequence",line:"282",C:[{N:"choose",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current859694243",as:"1",slot:"2",eval:"16",C:[{N:"dot",type:"1NE",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"3",eval:"13",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current859694243",slot:"2"}, -{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", -slot:"3"}]}]}]}]}]}]},{N:"fn",line:"285",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XPST0008"},{N:"fn",name:"concat",C:[{N:"str",val:"Global variable "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:" cannot refer to itself in its definition"}]}]}]},{N:"let",line:"293","var":"Q{}requiredType",as:"?FM",slot:"4",eval:"7",C:[{N:"first",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, -{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"27",eval:"16",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]},{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"28",eval:"16",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot",type:"1NA nQ{}sType"}]}]}]}]},{N:"choose",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}withParam"}]},{N:"forEach",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}local.variables",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"int",val:"3"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"29",eval:"16",C:[{N:"treat", -as:"AS",diag:"0|0||t:marshalType",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"dot"}]}]}]}]}]}]}]}]}]},{N:"choose",line:"297",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"30"}]}]}, -{N:"ufCall",line:"300",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"31",eval:"1 16 16",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"varRef",name:"Q{}requiredType",slot:"4"}]},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289", -name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"32"},{N:"str",val:"TYPE_OP"}]}]},{N:"str",val:"0"},{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"300",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}type-error-map",bSlot:"33"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"300",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"choose",line:"260",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}, -{N:"fn",name:"concat",C:[{N:"str",val:' match="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"str",val:'"'}]},{N:"true"},{N:"fn",name:"concat",C:[{N:"str",val:' name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:'"'}]}]}]}]},{N:"str",val:"|"}]}]}]}]}]},{N:"fn",line:"302",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"sequence",line:"303", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"varRef",name:"Q{}def",slot:"1"}]},{N:"true"},{N:"sequence",line:"307",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}def",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"dot",type:"1NA nQ{}sType"}]},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"34"}]}]},{N:"varRef",name:"Q{}def", -slot:"1"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"293",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fn",flags:"s",line:"875",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"875", -op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"str",val:"string-join"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"876","var":"Q{}temp",as:"*NE",slot:"0",eval:"8",C:[{N:"treat",line:"877",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis", -role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"880",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"elem",line:"881",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"882",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}name]"},{N:"slash",simple:"1",C:[{N:"first",C:[{N:"varRef",name:"Q{}temp",slot:"0"}]}, -{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"true"},{N:"copy",line:"887",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}fn",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"888",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"289",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF",flags:"s",as:"1NE",line:"812",module:"xpath.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"813",card:"1",diag:'7|0|XTTE0505|match="ex:PARAMDEF" mode="process-xpath"',C:[{N:"sequence",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"}, -{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"814",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied", -slot:"1"}]}]}]}]}]},{N:"param",line:"815",name:"Q{}version",slot:"2",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"30"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|version",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"data",diag:"8|0|XTTE0590|version",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"let",line:"818","var":"Q{}init",as:"1NE",slot:"3",eval:"16",C:[{N:"treat",line:"819",as:"NE",diag:"3|0|XTTE0570|init",C:[{N:"check", -card:"1",diag:"3|0|XTTE0570|init",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"elem",line:"823",name:"param",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",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:"att",name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",line:"816",name:"Q{}no.slots",slot:"1"}]}]}, -{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"88"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, -{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"89"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"}]},{N:"str",val:"true"}]},{N:"str",val:"t"}]}]},{N:"fn",name:"string",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}, -{N:"str",val:"true"}]},{N:"str",val:"r"}]}]}]}]},{N:"applyT",line:"824",mode:"Q{}attribute-sans-prefix",bSlot:"90",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"axis",line:"825",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"825", -name:"attribute",nodeTest:"NA nQ{}module"},{N:"let",line:"828","var":"Q{}supplied",as:"1NE",slot:"4",eval:"9",C:[{N:"elem",line:"829",name:"supplied",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"conversion"}]},{N:"att",name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",line:"816",name:"Q{}no.slots",slot:"1"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"91"}]}]}]}, -{N:"choose",line:"832",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"834","var":"Q{}required",slot:"5",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"92",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]},{N:"sequence",line:"841",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck", -tailCall:"false",bSlot:"93",eval:"1 1 16",C:[{N:"varRef",name:"Q{}init",slot:"3"},{N:"varRef",name:"Q{}required",slot:"5"},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"94"},{N:"str",val:"TYPE_OP"}]}]},{N:"str",val:"0"},{N:"choose",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"841",C:[{N:"compareToInt",op:"eq",val:"20",C:[{N:"varRef",name:"Q{}version",slot:"2"}]},{N:"str",val:"XTTE0600"},{N:"true"},{N:"str",val:"XTTE0570"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"841",name:"concat",C:[{N:"str",val:'xsl:param name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]},{N:"ufCall",line:"844",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"95",eval:"1 1 16",C:[{N:"varRef",name:"Q{}supplied",slot:"4"},{N:"varRef",name:"Q{}required",slot:"5"},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"96"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"1"},{N:"str",val:"XTTE0590"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"844",name:"concat",C:[{N:"str",val:'xsl:param name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"847",C:[{N:"varRef",name:"Q{}init",slot:"3"},{N:"varRef",name:"Q{}supplied",slot:"4"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"281",rank:"4",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}pattern",flags:"s", -line:"561",module:"xpath.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"561",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"match"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}forEachGroup"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"562","var":"Q{}temp",as:"*NE",slot:"1",eval:"4",C:[{N:"treat",line:"563",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]},{N:"iterate",line:"565", -C:[{N:"tail",role:"select",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"1"}]},{N:"params",role:"params",line:"566",C:[{N:"param",name:"Q{}partial",slot:"0",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}temp",slot:"1"}]},{N:"supplied",role:"conversion",slot:"0"}]}]},{N:"varRef",role:"on-completion",line:"567",name:"Q{}partial",slot:"0"},{N:"nextIteration",role:"action",line:"570",C:[{N:"withParam",name:"Q{}partial",as:"1NE",slot:"0",C:[{N:"elem",name:"p.venn",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"att",name:"op",flags:"l",C:[{N:"str",val:"union"}]},{N:"docOrder",line:"571",intra:"0",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}partial",slot:"0"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"varRef",line:"571",name:"Q{}partial",slot:"0"},{N:"dot",line:"571",type:"1NE"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"281",rank:"4", -minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}pattern",flags:"s",line:"561",module:"xpath.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"561",op:"eq",onEmpty:"0", -comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}]},{N:"str",val:"match"}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}key"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"562","var":"Q{}temp",as:"*NE",slot:"1",eval:"4",C:[{N:"treat", -line:"563",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]},{N:"iterate",line:"565",C:[{N:"tail",role:"select",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"1"}]},{N:"params",role:"params",line:"566",C:[{N:"param",name:"Q{}partial",slot:"0",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}temp",slot:"1"}]},{N:"supplied",role:"conversion",slot:"0"}]}]},{N:"varRef",role:"on-completion",line:"567",name:"Q{}partial",slot:"0"},{N:"nextIteration",role:"action",line:"570",C:[{N:"withParam", -name:"Q{}partial",as:"1NE",slot:"0",C:[{N:"elem",name:"p.venn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"op",flags:"l",C:[{N:"str",val:"union"}]},{N:"docOrder",line:"571",intra:"0",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}partial",slot:"0"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"varRef",line:"571",name:"Q{}partial",slot:"0"}, -{N:"dot",line:"571",type:"1NE"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"281",rank:"4",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}pattern",flags:"s",line:"561",module:"xpath.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"561",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"literal",count:"2",C:[{N:"str",val:"count"},{N:"str",val:"from"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}nodeNum"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"562","var":"Q{}temp", -as:"*NE",slot:"1",eval:"4",C:[{N:"treat",line:"563",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]},{N:"iterate",line:"565",C:[{N:"tail",role:"select",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"1"}]},{N:"params",role:"params",line:"566",C:[{N:"param",name:"Q{}partial",slot:"0",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}temp",slot:"1"}]},{N:"supplied",role:"conversion",slot:"0"}]}]},{N:"varRef",role:"on-completion",line:"567",name:"Q{}partial",slot:"0"},{N:"nextIteration", -role:"action",line:"570",C:[{N:"withParam",name:"Q{}partial",as:"1NE",slot:"0",C:[{N:"elem",name:"p.venn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"op",flags:"l",C:[{N:"str",val:"union"}]},{N:"docOrder",line:"571",intra:"0",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}partial",slot:"0"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"varRef", -line:"571",name:"Q{}partial",slot:"0"},{N:"dot",line:"571",type:"1NE"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"298",rank:"1",minImp:"0",slots:"18",matches:"NE nQ{http://ns.saxonica.com/xslt/export}pattern",flags:"s",as:"*NE",line:"1297",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1299",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"97"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1300",name:"Q{}local.variables",slot:"1",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"1301",name:"Q{}globals",slot:"2",flags:"t",C:[{N:"map", -role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"param",line:"1302",name:"Q{}global.functions",slot:"3",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param",line:"1303",name:"Q{}accumulators",slot:"4",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"param",line:"1304",name:"Q{}context-type",slot:"5",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"98"}, -{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param",line:"1305",name:"Q{}nsAttribute",slot:"6",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|nsAttribute",C:[{N:"supplied",slot:"6"}]}]}]},{N:"param",line:"1306",name:"Q{}defaultHTML5",slot:"7",flags:"t",as:"1AB",C:[{N:"false", -role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"let",line:"1307","var":"Q{}priority",as:"*NA",slot:"8",eval:"8",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}templateRule"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"}]}, -{N:"let",line:"1309","var":"Q{}slotMap",as:"1FM v[?]",slot:"9",eval:"8",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",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:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1A"}, -{N:"subscript",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",dyn:"$local.variables",C:[{N:"treat",as:"F",diag:"0|0||saxon:apply",C:[{N:"check",card:"1",diag:"0|0||saxon:apply",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]},{N:"arrayBlock",C:[{N:"dot",type:"1A"}]}]},{N:"int",val:"2"}]}]}]},{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:"1310","var":"Q{}role",as:"?NA",slot:"10", -eval:"8",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"let",line:"1312","var":"Q{}ns",as:"?FM k[AS] v[1AS]",slot:"11",eval:"7",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"xpathDefaultNamespace"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]},{N:"let",line:"1314","var":"Q{}xpath", -as:"?NA",slot:"12",eval:"8",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"},{N:"let",line:"1329","var":"Q{}temp",as:"1",slot:"13",eval:"16",C:[{N:"check",line:"1359",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"try",flags:"r",C:[{N:"applyT",mode:"Q{}exportNS",bSlot:"99",C:[{N:"ifCall",role:"select",name:"Q{http://saxon.sf.net/}compile-XPath",type:"1",C:[{N:"check",card:"1",diag:"0|0||saxon:compile-XPath",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}xpath", -slot:"12"}]}]}]},{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}merge",type:"1FM",C:[{N:"sequence",C:[{N:"literal",count:"2",C:[{N:"map",size:"1",C:[{N:"str",val:"language"},{N:"str",val:"XSLT"}]},{N:"map",size:"1",C:[{N:"str",val:"type"},{N:"str",val:"pattern"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"splitPattern"},{N:"fn", -name:"empty",C:[{N:"varRef",name:"Q{}priority",slot:"8"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"globals"},{N:"varRef",name:"Q{}globals",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"globalFunctions"},{N:"varRef",name:"Q{}global.functions",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"accumulators"},{N:"varRef", -name:"Q{}accumulators",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"nsAttribute"},{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}nsAttribute",slot:"6"}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"html5Mode"},{N:"varRef",name:"Q{}defaultHTML5",slot:"7"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"slotMap"},{N:"varRef",name:"Q{}slotMap", -slot:"9"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"contextType"},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}role",slot:"10"}]}]},{N:"str",val:"match"}]},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"100"},{N:"true"},{N:"varRef",name:"Q{}context-type",slot:"5"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"}, -{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}ns",slot:"11"}]},{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:"check",card:"?",diag:"0|2||saxon:compile-XPath",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"}]}]}]},{N:"catch",errors:"*",C:[{N:"fn",line:"1368",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:"choose", -line:"1366",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",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:"XPST0003"}]},{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0340"},{N:"true"}, -{N:"data",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]}]}]}]},{N:"fn",name:"concat",C:[{N:"str",val:"Static error in pattern"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"101",eval:"16",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}pattern",flags:"a"}]},{N:"str",val:" {"},{N:"data",diag:"0|3||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath"}]},{N:"str",val:"}: "},{N:"data",diag:"0|5||fn:concat", -C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]}]}]},{N:"let",line:"1373","var":"Q{}temp",as:"1NE",slot:"14",eval:"16",C:[{N:"choose",line:"1375",C:[{N:"instance",of:"1FM",C:[{N:"varRef",name:"Q{}temp",slot:"13"}]},{N:"let",line:"1376","var":"Q{}type",slot:"15",eval:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"13"},{N:"str",val:"type"}]},{N:"let",line:"1382","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"16", -eval:"13",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"varRef",name:"Q{}type",slot:"15"}]}]}]},{N:"str",val:" "}]},{N:"treat",line:"1377",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}temp",slot:"13"},{N:"str",val:"expr"}]},{N:"copy",line:"1379",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", -C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"1382",name:"type",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"16"}]},{N:"slash",line:"1384",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"true"},{N:"treat",line:"1389",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"varRef",name:"Q{}temp",slot:"13"}]}]},{N:"let",line:"1393","var":"Q{}attr",as:"?NA",slot:"17",eval:"1", -C:[{N:"varRef",name:"Q{}role",slot:"10"},{N:"forEach",line:"1401",C:[{N:"choose",line:"1399",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"14"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}UnionExprP"}]}]},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"14"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"true"},{N:"varRef",name:"Q{}temp",slot:"14"}]},{N:"choose",line:"1411",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b", -C:[{N:"axis",name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"str",val:"current"}]}]}]},{N:"elem",line:"1412",name:"p.withCurrent",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"err",C:[{N:"sequence",line:"1413",C:[{N:"varRef",name:"Q{}attr",slot:"17"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"applyT",line:"1414",mode:"Q{}pattern-with-current", -bSlot:"102",C:[{N:"dot",role:"select",type:"1NE"}]}]}]},{N:"true"},{N:"copy",line:"1419",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"varRef",name:"Q{}attr",slot:"17"},{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"266",rank:"4",minImp:"0",slots:"11",matches:"NE nQ{http://ns.saxonica.com/xslt/export}accRule",flags:"s",line:"95",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match", -test:"NE nQ{http://ns.saxonica.com/xslt/export}accRule"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AS",slot:"2",eval:"13",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1855463032", -bSlot:"103"}]}]}]},{N:"sequence",line:"96",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"97",name:"Q{}valueType",slot:"1",flags:"ti",as:"1AS",C:[{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|valueType",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|valueType",C:[{N:"cvUntyped",to:"AS", -diag:"8|0|XTTE0590|valueType",C:[{N:"data",diag:"8|0|XTTE0590|valueType",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"98","var":"Q{}this",as:"1",slot:"3",eval:"16",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}accRule",flags:"a"},{N:"let",line:"135","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1FM k[AS] v[+]",slot:"4",eval:"13",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"Q{}value"},{N:"sequence",C:[{N:"varRef", -name:"Q{}this",slot:"3"},{N:"int",val:"0"},{N:"varRef",name:"Q{}valueType",slot:"1"}]}]},{N:"let",line:"99","var":"Q{}priority",as:"?NA",slot:"5",eval:"8",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}priority"},{N:"let",line:"100","var":"Q{}attributes",as:"*NA",slot:"6",eval:"8",C:[{N:"treat",line:"101",as:"NA",diag:"3|0|XTTE0570|attributes",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA nQ{}priority]"}]}]},{N:"let",line:"104","var":"Q{}action", -as:"*NE",slot:"7",eval:"4",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"let",line:"106","var":"Q{}typeAsMap",slot:"8",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"104",eval:"1",C:[{N:"varRef",name:"Q{}valueType",slot:"1"}]},{N:"let",line:"107","var":"Q{}patterns",as:"+NE",slot:"9",eval:"8",C:[{N:"treat",line:"108",as:"NE",diag:"3|0|XTTE0570|patterns",C:[{N:"check",card:"+",diag:"3|0|XTTE0570|patterns",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter", -role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role",chk:"0"}]},{N:"str",val:"match"}]}]}]}]}]},{N:"forEach",line:"112",C:[{N:"varRef",name:"Q{}patterns",slot:"9"},{N:"elem",line:"113",name:"accRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"valueType",flags:"l",C:[{N:"varRef",name:"Q{}valueType",slot:"1"}]},{N:"varRef",line:"114",name:"Q{}attributes", -slot:"6"},{N:"att",line:"115",name:"prio",flags:"l",C:[{N:"fn",line:"117",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}priority",slot:"5"}]},{N:"cast",line:"118",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}priority",slot:"5"}]}]}]}]},{N:"true"},{N:"data",line:"121",C:[{N:"mergeAdj",C:[{N:"applyT",mode:"Q{}pattern-priority",bSlot:"105",C:[{N:"dot",role:"select", -type:"1NE"}]}]}]}]}]},{N:"str",val:""}]}]},{N:"copy",line:"126",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"127",name:"role",flags:"l",C:[{N:"str",val:"match"}]},{N:"axis",line:"128",name:"child",nodeTest:"NE"}]}]},{N:"let",line:"130","var":"Q{}processedAction",as:"1NE",slot:"10",eval:"16",C:[{N:"treat",line:"131",as:"NE",diag:"3|0|XTTE0570|processedAction",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processedAction",C:[{N:"applyT", -flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}action",slot:"7"},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"streaming.xsl",line:"133",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"106",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM k[AS] v[+]",C:[{N:"varRef",line:"135",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"4"}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"int", -val:"1"}]}]}]}]},{N:"ufCall",line:"142",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"107",eval:"1 1 1",C:[{N:"varRef",name:"Q{}processedAction",slot:"10"},{N:"varRef",name:"Q{}typeAsMap",slot:"8"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"2"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"222",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}constructSimpleContent",flags:"s",line:"362",module:"creating-new-nodes.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}constructSimpleContent"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"363","var":"Q{}parts",as:"*NE",slot:"0",eval:"8",C:[{N:"treat",line:"364",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}, -{N:"choose",line:"367",C:[{N:"fn",name:"matches",C:[{N:"check",card:"?",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]},{N:"str",val:"^xs:string|^[1+?*]AS"},{N:"str",val:""}]},{N:"varRef",line:"368", -name:"Q{}parts",slot:"0"},{N:"true"},{N:"let",line:"371","var":"Q{}on-empty",as:"*NE n*:onEmpty",slot:"1",eval:"4",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"axis",name:"child",nodeTest:"NE n*:onEmpty"}]}]}]},{N:"let",line:"379","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*NE n*:onEmpty",slot:"2",eval:"4",C:[{N:"docOrder", -intra:"0",C:[{N:"varRef",name:"Q{}on-empty",slot:"1"}]},{N:"sequence",line:"372",C:[{N:"elem",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_STRING",bSlot:"108"}]},{N:"forEach",line:"374",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"elem",line:"375",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC", -bSlot:"109"}]},{N:"elem",line:"376",name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"copy",line:"378",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ITEM",bSlot:"110"}]},{N:"axis",line:"379",name:"attribute",nodeTest:"NA"},{N:"except",line:"379",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"}]}]}]}]}]}]}]},{N:"elem", -line:"384",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"111"}]},{N:"elem",line:"385",name:"dot",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]},{N:"varRef",line:"388",name:"Q{}on-empty",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"254",rank:"1",minImp:"0",slots:"11",matches:"NE nQ{http://ns.saxonica.com/xslt/export}merge", -flags:"s",line:"58",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}merge"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"59","var":"Q{}sources",as:"*NE",slot:"0",eval:"8",C:[{N:"treat",line:"60",as:"NE",diag:"3|0|XTTE0570|sources",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis", -role:"select",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mergeSrc"}]}]},{N:"let",line:"64","var":"Q{}keyTypes",as:"*FA",slot:"1",eval:"4",C:[{N:"slash",C:[{N:"varRef",name:"Q{}sources",slot:"0"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}_from-sequence",type:"1FA",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sortKey"},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"112",eval:"16",C:[{N:"check", -card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]}]}]},{N:"sequence",line:"74",C:[{N:"let","var":"Q{}h",slot:"2",eval:"7",C:[{N:"first",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1FA v[1FM]",slot:"3",eval:"13",C:[{N:"treat",as:"FA v[1FM]",diag:"0|0||f:comparableMergeKeys",C:[{N:"check",card:"1",diag:"0|0||f:comparableMergeKeys",C:[{N:"varRef",name:"Q{}h",slot:"2"}]}]},{N:"choose", -C:[{N:"some","var":"Q{}t",slot:"4",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"}]},{N:"fn",name:"not",C:[{N:"let","var":"Q{}k1",as:"1FA v[1FM]",slot:"5",eval:"16",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"},{N:"let","var":"Q{}k2",as:"1FA v[1FM]",slot:"6",eval:"16",C:[{N:"treat",as:"FA v[1FM]",diag:"0|1||f:comparableMergeKeys",C:[{N:"varRef",name:"Q{}t",slot:"4"}]},{N:"and",line:"100",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k2",slot:"6"}]}]},{N:"every","var":"Q{}k",slot:"7",C:[{N:"to",C:[{N:"int",val:"1"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"5"}]}]},{N:"let","var":"Q{}a",slot:"8",eval:"4",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get", -type:"*",C:[{N:"varRef",name:"Q{}k1",slot:"5"},{N:"varRef",name:"Q{}k",slot:"7"}]},{N:"str",val:"p"}]},{N:"let","var":"Q{}b",slot:"9",eval:"4",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k2",slot:"6"},{N:"varRef",name:"Q{}k",slot:"7"}]},{N:"str",val:"p"}]},{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq", -C:[{N:"varRef",name:"Q{}a",slot:"8"}]},{N:"atomSing",card:"?",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"substring",C:[{N:"treat",as:"AS",diag:"0|0||fn:substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}a",slot:"8"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]},{N:"fn",name:"substring",C:[{N:"treat",as:"AS",diag:"0|0||fn:substring",C:[{N:"check", -card:"?",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}a",slot:"8"}]},{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}b",slot:"9"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]}]}]}, -{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"113",eval:"0 16 16",C:[{N:"str",val:"XTTE2230"},{N:"fn",name:"concat",C:[{N:"str",val:"Merge key types "},{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}keyTypes",slot:"1"},{N:"forEach",C:[{N:"lookupAll",C:[{N:"dot",type:"1FA"}]},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"114",eval:"16",C:[{N:"treat",as:"FM",diag:"0|0||t:displayType",C:[{N:"dot"}]}]}]}]},{N:"str",val:","}]},{N:"str", -val:" are not comparable"}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}merge",flags:"a"}]}]}]}]},{N:"let",line:"76","var":"Q{}parts",as:"*NE",slot:"10",eval:"8",C:[{N:"treat",line:"77",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE d[NE,NE n*:mergeSrc]"},{N:"withParam",name:"Q{}context-type",flags:"t",as:"1FM",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"merging.xsl",line:"63",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"115",eval:"16",C:[{N:"check",card:"1", -diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"varRef",name:"Q{}sources",slot:"0"}]},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]}]}]},{N:"copy",line:"82",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}merge",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts", -slot:"10"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role",chk:"0"}]},{N:"str",val:"action"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]}]},{N:"varRef",name:"Q{}sources",slot:"0"},{N:"varRef",name:"Q{}parts",slot:"10"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"295",rank:"3",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}convert",flags:"s",line:"905",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match", -C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}convert"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"905",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}to",chk:"0"}]},{N:"str",val:"xs:string"}]}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"905",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}data"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"906","var":"Q{}temp",as:"1NE",slot:"0",eval:"16",C:[{N:"treat",line:"907",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash", -role:"select",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}data"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"choose",line:"910",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"varRef",line:"911",name:"Q{}temp",slot:"0"},{N:"true"},{N:"copy",line:"915",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}convert",C:[{N:"sequence", -role:"content",C:[{N:"att",name:"type",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}to"}]},{N:"str",val:"*"}]}]},{N:"axis",line:"916",name:"attribute",nodeTest:"NA"},{N:"elem",line:"917",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"choose",line:"919",C:[{N:"fn",name:"starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}, -{N:"str",val:"*NT"}]},{N:"elem",line:"920",name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"921",name:"Q{}temp",slot:"0"}]},{N:"true"},{N:"varRef",line:"925",name:"Q{}temp",slot:"0"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"294",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}convert",flags:"s",line:"898",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}convert"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"898",name:"attribute",nodeTest:"NA nQ{}to"}]},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"900",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}convert", -C:[{N:"sequence",role:"content",C:[{N:"att",name:"type",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}to"}]},{N:"str",val:"*"}]}]},{N:"axis",line:"901",name:"attribute",nodeTest:"NA"},{N:"applyT",line:"902",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"182",part:"1",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}catch", -flags:"s",line:"279",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}catch"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"280","var":"Q{}parts",as:"*NE",slot:"0",eval:"8",C:[{N:"treat",line:"281",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", -name:"child",nodeTest:"NE"}]}]},{N:"copy",line:"286",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"287",name:"sType",flags:"l",C:[{N:"ufCall",line:"284",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"24",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"25",eval:"8",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn", -name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"26",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]}]}]}]}]},{N:"varRef",line:"288",name:"Q{}parts",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"273",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}package",flags:"s",line:"117",module:"xpath.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}package"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"119",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}package",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"let",line:"177","var":"Q{}accumulators",as:"1FM v[1AS]", -slot:"0",eval:"8",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"string",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, -{N:"str",val:"*"}]}]}]}]}]},{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:"187","var":"Q{}global.functions",as:"1FM",slot:"1",eval:"8",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"fn",name:"concat",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:"#"},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}role",chk:"0"}]},{N:"str",val:"body"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"}, -{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]},{N:"let",line:"194","var":"Q{}typed-globals",as:"*NE",slot:"2",eval:"8",C:[{N:"treat",line:"196",as:"NE",diag:"3|0|XTTE0570|typed-globals",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalVariable,NE nQ{http://ns.saxonica.com/xslt/export}globalParam]"}]},{N:"withParam",name:"Q{}globals", -flags:"t",as:"1FM k[AZ] v[1NE]",C:[{N:"ifCall",line:"200",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}globalVariable"}]}]},{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}, -{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}globalParam"}]}]}]},{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:"withParam",name:"Q{}global.functions",flags:"t",as:"1FM",C:[{N:"varRef",line:"201",name:"Q{}global.functions",slot:"1"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"1FM v[1AS]",C:[{N:"varRef",line:"203",name:"Q{}accumulators",slot:"0"}]}]}]},{N:"sequence",line:"207",C:[{N:"choose", -C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}options",bSlot:"116"},{N:"str",val:"traceProgress"}]},{N:"message",line:"208",C:[{N:"sequence",role:"select",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}typed-globals",slot:"2"}]},{N:"str",val:"global variables/params"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"221",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}no.slots", -flags:"t",as:"1ADI",C:[{N:"int",val:"0"}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"map",size:"0"}]},{N:"withParam",name:"Q{}globals",flags:"t",as:"1FM v[1]",C:[{N:"ifCall",line:"215",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"varRef",name:"Q{}typed-globals",slot:"2"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"dot",type:"1NE"}]}]},{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:"withParam",name:"Q{}global.functions",flags:"t",as:"1FM",C:[{N:"varRef",line:"229",name:"Q{}global.functions",slot:"1"}]},{N:"withParam",name:"Q{}accumulators",flags:"t",as:"1FM v[1AS]",C:[{N:"varRef",line:"231",name:"Q{}accumulators", -slot:"0"}]},{N:"withParam",name:"Q{}named-template-params",flags:"t",as:"1FM v[1FM v[1A]]",C:[{N:"ifCall",line:"212",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE n*:co"},{N:"axis",name:"child",nodeTest:"NE n*:template"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}PARAMDEF"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"}, -{N:"int",val:"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:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-first"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]},{N:"withParam",name:"Q{}version",flags:"t",as:"1ADI",C:[{N:"check",line:"233",card:"1",diag:"8|0|XTTE0590|version",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|version",C:[{N:"data",diag:"8|0|XTTE0590|version", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]}]},{N:"choose",line:"235",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"117"}]}]},{N:"fn",line:"238",name:"error",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"118"},{N:"fn",name:"concat",C:[{N:"str",val:"XPath compilation stage failed with "},{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}message-count",type:"1ADI", -C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"119"}]}]},{N:"str",val:" errors - see message console for details"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"296",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj",flags:"s",line:"934",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"935","var":"Q{}temp",as:"1NE",slot:"0",eval:"16",C:[{N:"treat",line:"936",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"939",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}mergeAdj",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}sType"}]},{N:"choose",line:"941",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}sequence"}]}]},{N:"varRef",line:"942",name:"Q{}temp",slot:"0"},{N:"fn",line:"944",name:"starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]},{N:"str",val:"item("}]},{N:"elem",line:"945",name:"homCheck",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"varRef",line:"946",name:"Q{}temp",slot:"0"}]},{N:"true"},{N:"varRef",line:"950",name:"Q{}temp",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"192",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}evaluate",flags:"s",line:"88",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}evaluate"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"88",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"89",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"process-xpath ex:evaluate @ex:asJ = "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"let",line:"91","var":"Q{}temp",as:"1NE",slot:"0",eval:"16",C:[{N:"treat",line:"92",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"ufCall",line:"95",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"120",eval:"1 16 16", -C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"ufCall",line:"90",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"121",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1651379334",bSlot:"122"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"279",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}empty",flags:"s",line:"436",module:"xpath.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}empty"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"438",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}empty",C:[{N:"sequence",role:"content",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"123"}]},{N:"axis", -line:"439",name:"attribute",nodeTest:"NA"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"285",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}first",flags:"s",line:"610",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}first"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"610",name:"attribute",nodeTest:"NA nQ{}BC"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"611","var":"Q{}source",as:"1NE",slot:"0",eval:"16",C:[{N:"treat",line:"612",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child", -nodeTest:"NE"}]}]}]},{N:"copy",line:"615",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}first",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA nQ{}BC]"},{N:"att",line:"617",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"124",eval:"16",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl", -line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"617",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"125",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", -C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"?"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"618",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"268",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}key",flags:"s",line:"46",module:"key.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}key"}, -{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"47","var":"Q{}match",as:"*NE",slot:"0",eval:"3",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role",chk:"0"},{N:"str",val:"match"}]}]},{N:"let",line:"48","var":"Q{}processed-match",as:"1NE",slot:"1",eval:"16",C:[{N:"treat",line:"49",as:"NE", -diag:"3|0|XTTE0570|processed-match",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processed-match",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}match",slot:"0"}]}]}]},{N:"copy",line:"61",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}key",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"62",name:"flags",flags:"l",C:[{N:"cvUntyped",line:"54",to:"AS",diag:"3|0|XTTE0570|flags",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join", -C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}flags"},{N:"choose",line:"55",C:[{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"false",bSlot:"126",eval:"1 0",C:[{N:"varRef",name:"Q{}processed-match",slot:"1"},{N:"str",val:"NA"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"a"}]}]},{N:"choose",line:"56",C:[{N:"ufCall",name:"Q{MyFunctions}pattern-matches-node-kind",tailCall:"false",bSlot:"127",eval:"1 0", -C:[{N:"varRef",name:"Q{}processed-match",slot:"1"},{N:"str",val:"NN"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"n"}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]},{N:"varRef",line:"63",name:"Q{}processed-match",slot:"1"},{N:"applyT",line:"64",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}match",slot:"0"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"177",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty", -flags:"s",line:"202",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"203","var":"Q{}source",as:"1NE",slot:"0",eval:"16",C:[{N:"treat",line:"204",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source", -C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"207",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}source",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"varRef",name:"Q{}source",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"278",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}copy", -flags:"s",line:"419",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}copy"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"420",C:[{N:"param",name:"Q{}context-type",slot:"0",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"128"},{N:"treat",role:"conversion", -as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"426",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}context-type",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"129",eval:"0 0 16",C:[{N:"str",val:"XTTE0945"},{N:"str",val:"No context item for xsl:copy"},{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}copy",flags:"a"}]}]},{N:"let",line:"427","var":"Q{}source", -as:"1NE",slot:"1",eval:"16",C:[{N:"treat",line:"428",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|source",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]},{N:"copy",line:"431",flags:"in",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}copy",C:[{N:"sequence",role:"content",C:[{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"130",eval:"16",C:[{N:"first",C:[{N:"sequence", -C:[{N:"varRef",name:"Q{}context-type",slot:"0"},{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"131"}]}]}]}]},{N:"axis",line:"432",name:"attribute",nodeTest:"NA"},{N:"varRef",line:"432",name:"Q{}source",slot:"1"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"195",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function",flags:"s",line:"178",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}function"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"178",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"179","var":"Q{}type",slot:"0",eval:"16", -C:[{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"132",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]},{N:"let",line:"180","var":"Q{}temp",as:"1NE",slot:"1",eval:"16",C:[{N:"treat",line:"181",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"forEach",line:"185",C:[{N:"varRef", -name:"Q{}temp",slot:"1"},{N:"copy",line:"189",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE n*:arg"},{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"133",eval:"16 16 16",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"filter",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role",chk:"0"},{N:"str",val:"body"}]}]}]},{N:"treat",as:"FM", -diag:"0|1||f:typeCheck",C:[{N:"check",card:"1",diag:"0|1||f:typeCheck",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"r"}]}]}]},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string", -C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"134"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0780"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"callable-components.xsl",line:"189",name:"concat",C:[{N:"str",val:"function "}, -{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:"()"}]}]},{N:"str",val:"|"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"291",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function",flags:"s",line:"859",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"860",flags:"t",C:[{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"empty"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"196",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://ns.saxonica.com/xslt/export}function",flags:"s",line:"194",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}function"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"195",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"196",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots", -C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"copy",line:"203",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}function",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE n*:arg"},{N:"applyT",line:"204",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal", -name:"Q{}role",chk:"0"},{N:"str",val:"body"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"207",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"axis",name:"child",nodeTest:"NE n*:arg"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE n*:arg"}, -{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot",chk:"0"}]},{N:"fn",name:"string",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"135"}]}]}]}]}]}]},{N:"varRef",name:"Q{}local.variables",slot:"0"}]},{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:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"arith",line:"208",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"1"},{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE n*:arg"}]}]}]},{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"empty"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"280",part:"2",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fork",flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match", -test:"NE nQ{http://ns.saxonica.com/xslt/export}fork"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"444","var":"Q{}parts",as:"*NE",slot:"0",eval:"8",C:[{N:"treat",line:"445",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"449",C:[{N:"fn", -name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"19"}]},{N:"axis",line:"451",name:"attribute",nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM",slot:"1",eval:"16",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"}, -{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"20",eval:"8",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType", -tailCall:"false",bSlot:"21",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"2",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"22",eval:"1",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"1"}]},{N:"choose",line:"461",C:[{N:"every","var":"Q{}p",slot:"3",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1", -C:[{N:"varRef",name:"Q{}p",slot:"3"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]}]},{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att",line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType", -slot:"2"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"0"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"470",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"472",name:"Q{}parts",slot:"0"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn", -name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"4",eval:"8",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"copy",line:"479",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}, -{N:"true"},{N:"copy",line:"486",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"23",eval:"16",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove", -type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"1"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"490",name:"Q{}parts",slot:"0"}]}]}]}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"0.0",seq:"163",rank:"1",minImp:"0",slots:"10",matches:"NE nQ{http://ns.saxonica.com/xslt/export}iterate",flags:"s",line:"179",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}iterate"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"180",C:[{N:"param",name:"Q{}no.slots", -slot:"0",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"181",name:"Q{}local.variables",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables", -C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"182",name:"Q{}context-type",slot:"2",flags:"t",as:"?FM",C:[{N:"gVarRef",role:"select",name:"Q{}ST.SINGLE_ITEM",bSlot:"136"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|context-type",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"183",name:"Q{}focus-context-type",slot:"3",flags:"t",as:"?FM",C:[{N:"varRef",role:"select",name:"Q{}context-type", -slot:"2"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|focus-context-type",C:[{N:"supplied",slot:"3"}]}]}]},{N:"copy",line:"186",flags:"cin",sit:"1NE nQ{http://ns.saxonica.com/xslt/export}iterate",C:[{N:"let",role:"content","var":"Q{}for",as:"1NE",slot:"4",eval:"16",C:[{N:"treat",line:"187",as:"NE",diag:"3|0|XTTE0570|for",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|for",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select", -flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role",chk:"0"},{N:"str",val:"select"}]}]}]}]}]},{N:"let",line:"189","var":"Q{}bindings",as:"*NE nQ{http://ns.saxonica.com/xslt/export}for",slot:"5",eval:"3",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}for",slot:"4"},{N:"axis",name:"descendant-or-self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}for"}]},{N:"let",line:"190","var":"Q{}new.local.variables",as:"1FM",slot:"6",eval:"8",C:[{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"slash",C:[{N:"varRef",name:"Q{}bindings",slot:"5"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE nQ{http://ns.saxonica.com/xslt/export}for"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot",chk:"0"}]},{N:"str",val:""}]}]}]},{N:"varRef", -name:"Q{}local.variables",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:"let",line:"191","var":"Q{}no.slots",as:"1ADI",slot:"7",eval:"16",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"0"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}bindings",slot:"5"}]}]},{N:"let",line:"193","var":"Q{}params",as:"1NE",slot:"8",eval:"16",C:[{N:"treat",line:"194",as:"NE",diag:"3|0|XTTE0570|params", -C:[{N:"check",card:"1",diag:"3|0|XTTE0570|params",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}role",chk:"0"},{N:"str",val:"params"}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"varRef",line:"195",name:"Q{}no.slots",slot:"7"}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"varRef",line:"196",name:"Q{}new.local.variables",slot:"6"}]}]}]}]}, -{N:"let",line:"201","var":"Q{}body",as:"*NE",slot:"9",eval:"8",C:[{N:"treat",line:"202",as:"NE",diag:"3|0|XTTE0570|body",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"select"},{N:"str",val:"params"}]},{N:"attVal",name:"Q{}role",chk:"0"}]}]}]},{N:"withParam",name:"Q{}focus-context-type", -flags:"t",as:"?FM",C:[{N:"varRef",line:"203",name:"Q{}context-type",slot:"2"}]},{N:"withParam",name:"Q{}context-type",flags:"t",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"repetition.xsl",line:"199",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"137",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}for",slot:"4"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"205",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence", -C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}params",slot:"8"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"sequence",C:[{N:"dot",type:"1NE"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot",chk:"0"}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]},{N:"varRef", -name:"Q{}new.local.variables",slot:"6"}]},{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:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"arith",line:"206",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"7"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}params",slot:"8"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]},{N:"sequence",line:"212",C:[{N:"att", -name:"sType",flags:"l",C:[{N:"ufCall",line:"211",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"138",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"139",eval:"8",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}body",slot:"9"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"action"},{N:"str",val:"on-completion"}]},{N:"attVal",name:"Q{}role",chk:"0"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType", -tailCall:"false",bSlot:"140",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]}]}]}]}]},{N:"axis",line:"213",name:"attribute",nodeTest:"NA nQ{}role"},{N:"varRef",line:"214",name:"Q{}for",slot:"4"},{N:"varRef",line:"214",name:"Q{}params",slot:"8"},{N:"varRef",line:"214",name:"Q{}body",slot:"9"}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"280",part:"1",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq", -flags:"s",line:"443",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"444","var":"Q{}parts",as:"*NE",slot:"0",eval:"8",C:[{N:"treat",line:"445",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", -name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"449",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]},{N:"elem",line:"450",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"19"}]},{N:"axis",line:"451",name:"attribute",nodeTest:"NA"}]}]},{N:"true"},{N:"let",line:"456","var":"Q{}commonTypeAsMap",as:"1FM",slot:"1",eval:"16",C:[{N:"choose",C:[{N:"fn",name:"empty", -C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"20",eval:"8",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"21",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]}]}]}]},{N:"let",line:"457","var":"Q{}commonType",slot:"2",eval:"16",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"22",eval:"1",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"1"}]},{N:"choose",line:"461",C:[{N:"every","var":"Q{}p",slot:"3",C:[{N:"varRef", -name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}p",slot:"3"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"462",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]}]},{N:"axis",line:"463",name:"attribute",nodeTest:"NA"},{N:"att", -line:"464",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"465",name:"Q{}parts",slot:"0"}]}]},{N:"fn",line:"468",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]},{N:"copy",line:"470",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"471",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"472",name:"Q{}parts", -slot:"0"}]}]},{N:"compareToInt",line:"475",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"476","var":"Q{}role",as:"?NA",slot:"4",eval:"8",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"},{N:"forEach",line:"477",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"copy",line:"479",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef", -name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"486",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"489",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"23",eval:"16",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl", -line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"489",name:"Q{}commonTypeAsMap",slot:"1"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef", -line:"490",name:"Q{}parts",slot:"0"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"288",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://ns.saxonica.com/xslt/export}VARDEF",flags:"s",as:"1NE",line:"784",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}VARDEF"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"785",card:"1",diag:'7|0|XTTE0505|match="ex:VARDEF" mode="process-xpath"',C:[{N:"sequence",C:[{N:"param",name:"Q{}local.variables",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"786",name:"Q{}no.slots",slot:"1",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI", -diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data",diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"elem",line:"789",name:"let",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"var",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"att",name:"slot",flags:"l",C:[{N:"convert", -from:"ADI",to:"AS",C:[{N:"varRef",line:"787",name:"Q{}no.slots",slot:"1"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"141"}]},{N:"applyT",line:"790",mode:"Q{}attribute-sans-prefix",bSlot:"142",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}, -{N:"axis",line:"791",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",line:"791",name:"attribute",nodeTest:"NA nQ{}module"},{N:"let",line:"792","var":"Q{}temp",as:"*NE",slot:"2",eval:"8",C:[{N:"treat",line:"793",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"797",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"sequence",line:"799",C:[{N:"att",name:"sType",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"ufCall",line:"803",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"143",eval:"16 16 16",C:[{N:"check",card:"1",diag:"0|0||f:typeCheck",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]},{N:"ufCall",line:"800",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"144",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"data", -diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|2||f:typeCheck",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"145"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0570"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"803",name:"concat",C:[{N:"str",val:'xsl:variable name="'},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}, -{N:"str",val:'"'}]}]},{N:"str",val:"|"}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"806",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]},{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash", -simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"varRef",name:"Q{}temp",slot:"2"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"272",rank:"2",minImp:"0",slots:"0",matches:"NT",flags:"s",line:"111",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NT"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"111",name:"not",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"empty",role:"action"}]}]}]},{N:"co",id:"73",binds:"188 3 158 52 3 189 51 189 52 189 3 78 3 3 3 3 3 190 75",C:[{N:"mode",name:"Q{}static",onNo:"SC",flags:"W",patternSlots:"1",C:[{N:"templateRule",prec:"0",prio:"5.01",seq:"328",rank:"10",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"25",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"25",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"26",C:[{N:"param",name:"Q{}attr",slot:"0", -as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"27",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"31",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"1NA",C:[{N:"att",line:"29",name:"xpath-default-namespace",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"5.0",seq:"323",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"20",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"22",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"5.0",seq:"4",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"718",module:"static.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"718",flags:"",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"union",op:"|",C:[{N:"union",op:"|",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]}]}]}, -{N:"gc",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"718",op:">",card:"M:N",comp:"QUNC",C:[{N:"data",diag:"1|0||>",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"},{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]},{N:"dec",val:"3"}]}]},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"718",name:"not",C:[{N:"filter",flags:"b",C:[{N:"gVarRef",name:"Q{}top-level-declarations",bSlot:"0"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]}]}]}]}]}]}]},{N:"message",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"719",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"IGNORING "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"templateRule",prec:"0",prio:"3.5",seq:"361",rank:"8",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"130",module:"attributes.xsl",C:[{N:"p.withPredicate", -role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"130",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"131",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"132",name:"Q{}extension-element-prefixes",slot:"1",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|extension-element-prefixes",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|extension-element-prefixes",C:[{N:"data",diag:"8|0|XTTE0590|extension-element-prefixes", -C:[{N:"supplied",slot:"1"}]}]}]}]},{N:"nextMatch",line:"133",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"136",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}extension-element-prefixes",flags:"t",as:"*AS",C:[{N:"sequence",line:"135",C:[{N:"varRef",name:"Q{}extension-element-prefixes",slot:"1"},{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"3.2",seq:"20",rank:"7",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1028",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1028",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1029",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param", -line:"1030",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1032","var":"Q{}use-expression",as:"1AS",slot:"2",eval:"16",C:[{N:"choose",line:"1034",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]},{N:"treat",line:"1035",as:"AS", -diag:"3|0|XTTE0570|use-expression",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]}]}]}]},{N:"true"},{N:"check",line:"1038",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"}]}]}]}]},{N:"let",line:"1042","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",eval:"9",C:[{N:"let",line:"1043","var":"Q{}dot",as:"1",slot:"4",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"compElem",line:"1044",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach", -role:"content",line:"1045",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"1047",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"4"}]}]}]}, -{N:"str",role:"select",val:""}]}]}]}]},{N:"let",line:"1052","var":"Q{}use",as:"1AB",slot:"5",eval:"16",C:[{N:"treat",line:"1055",as:"AB",diag:"3|0|XTTE0570|use",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|use",C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|use",C:[{N:"data",diag:"3|0|XTTE0570|use",C:[{N:"try",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn", -name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"withParam",name:"Q{}compileSyntax",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}errorsAsMessages",as:"1AB",C:[{N:"false"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050", -C:[{N:"fn",line:"1063",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Y"},{N:"treat",as:"AS",diag:"0|1||fn:error",C:[{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",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:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"let",line:"1068","var":"Q{}possibleCode",as:"1AS",slot:"6", -eval:"8",C:[{N:"fn",name:"substring-before",C:[{N:"treat",as:"AS",diag:"0|0||fn:substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:substring-before",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]},{N:"choose",line:"1075",C:[{N:"castable",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"error",C:[{N:"cast", -flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"substring-after",C:[{N:"treat",as:"AS",diag:"0|0||fn:substring-after",C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"fn",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:"treat",as:"AS",diag:"0|1||fn:error",C:[{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",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:"choose",line:"1080",C:[{N:"varRef", -name:"Q{}use",slot:"5"},{N:"sequence",line:"1081",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]}]}]},{N:"fn",line:"1082",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors", -loc:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"str",val:"@xsl:use-when cannot be used on XSL element "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]}]},{N:"nextMatch",line:"1084",flags:"t"}]},{N:"fn",line:"1086",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]},{N:"applyT", -line:"1092",flags:"ct",bSlot:"-1",C:[{N:"copy",role:"select",line:"1089",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",C:[{N:"axis",role:"content",name:"attribute",nodeTest:"NA d[NA,NA u[NA nQ{}use-when,NA nQ{}_use-when]]"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.2",seq:"5",rank:"7",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"723",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"vc",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"723",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{http://www.w3.org/XML/1998/namespace}space",chk:"0"}]},{N:"str",val:"preserve"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"724",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", -slot:"0"}]}]},{N:"nextMatch",line:"725",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"727",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xml-space-preserve",flags:"t",as:"1AB",C:[{N:"true"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"19",rank:"6",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1023",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1023",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1024", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",eval:"0 16 16",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"str",val:"@xsl:use-when cannot be used on XSL element "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"3.0",seq:"21",rank:"5",minImp:"0",slots:"6",matches:"NE",flags:"s",line:"1149",module:"static.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1149",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1150",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1151",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace", -C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1153","var":"Q{}use-expression",as:"1AS",slot:"2",eval:"16",C:[{N:"choose",line:"1155",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]},{N:"treat",line:"1156",as:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT", -flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]}]}]}]},{N:"true"},{N:"check",line:"1159",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"}]}]}]}]},{N:"let",line:"1163","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",eval:"9", -C:[{N:"let",line:"1164","var":"Q{}dot",as:"1",slot:"4",eval:"16",C:[{N:"dot",type:"1NE",flags:"a"},{N:"compElem",line:"1165",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach",role:"content",line:"1166",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]}, -{N:"compAtt",line:"1167",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"4"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"let",line:"1171","var":"Q{}use",as:"1AB",slot:"5",eval:"16",C:[{N:"treat",line:"1174",as:"AB",diag:"3|0|XTTE0570|use",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|use", -C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|use",C:[{N:"data",diag:"3|0|XTTE0570|use",C:[{N:"try",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"}, -{N:"true"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"1176",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Z"},{N:"treat",as:"AS",diag:"0|1||fn:error",C:[{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",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:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"fn",line:"1179",name:"error",C:[{N:"cast",flags:"a",as:"1AQ",C:[{N:"fn",name:"substring-before",C:[{N:"treat",as:"AS",diag:"0|0||fn:substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:substring-before",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"fn",name:"substring-after", -C:[{N:"treat",as:"AS",diag:"0|0||fn:substring-after",C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]},{N:"choose",line:"1183",C:[{N:"varRef",name:"Q{}use",slot:"5"},{N:"nextMatch",line:"1184",flags:"t"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.0",seq:"6",rank:"5",minImp:"0", -slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"731",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"731",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"732","var":"Q{}version",as:"1AD",slot:"0",eval:"9",C:[{N:"callT",line:"733",name:"Q{}XSLT-version",bSlot:"2"},{N:"nextMatch",line:"735",flags:"t",C:[{N:"withParam",name:"Q{}XSLT-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"736",name:"Q{}version",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"16",rank:"4",minImp:"0",slots:"8",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"984",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"984",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]},{N:"sequence", -role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"985",C:[{N:"param",name:"Q{}xml-space-preserve",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"986",name:"Q{}import-precedence",slot:"1",flags:"t",C:[{N:"int",role:"select",val:"1"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"987",name:"Q{}moduleLabel",slot:"2",flags:"t",as:"1AS", -C:[{N:"str",role:"select",val:"A"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"data",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"988",name:"Q{}precLabel",slot:"3",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precLabel", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"data",diag:"8|0|XTTE0590|precLabel",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"989",name:"Q{}stylesheet-properties",slot:"4",flags:"t",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|stylesheet-properties",C:[{N:"supplied",slot:"4"}]}]},{N:"copy",line:"992",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",C:[{N:"sequence",role:"content",C:[{N:"att",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"5",eval:"16",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists", -C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash", -simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"3"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"}, -{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",line:"994",name:"ex:baseUri",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"att",line:"995",name:"ex:precLabel",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"varRef",name:"Q{}precLabel",slot:"3"}]},{N:"choose",line:"996",C:[{N:"fn",name:"empty", -C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}decimal-format,NE nQ{http://www.w3.org/1999/XSL/Transform}import],NE nQ{http://www.w3.org/1999/XSL/Transform}include],NE nQ{http://www.w3.org/1999/XSL/Transform}output]"}]},{N:"varRef",line:"997",name:"Q{}stylesheet-properties",slot:"4"}]},{N:"att",line:"999",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}node",as:"1N",slot:"6",eval:"16",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1", -C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"7",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"6"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"7"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node", -slot:"6"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"7"}]}]}]}]}]}]}]}]}]}]}]},{N:"choose",line:"1000",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"compareToString",op:"eq",val:"http://www.w3.org/1999/XSL/Transform",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"ufCall",line:"1005",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"4",eval:"0 16 16", -C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"str",val:"An XSLT element cannot have attribute(s) "},{N:"fn",name:"string-join",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"compareToString",op:"eq",val:"http://www.w3.org/1999/XSL/Transform",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:","}]},{N:"str",val:" in the XSLT namespace"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*", -flags:"a"}]}]},{N:"applyT",line:"1007",flags:"c",bSlot:"-1",C:[{N:"docOrder",role:"select",intra:"1",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"applyT",line:"1010",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal", -count:"4",C:[{N:"str",val:""},{N:"str",val:"http://saxon.sf.net/"},{N:"str",val:"http://ns.saxonica.com/xslt/export"},{N:"str",val:"http://www.w3.org/XML/1998/namespace"}]},{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"callT",line:"1011",name:"Q{}staticText",bSlot:"5",C:[{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1012",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"6",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*", -flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.9",seq:"17",rank:"3",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"1017",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1017",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, -{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"14",rank:"0",minImp:"0",slots:"26",matches:"NE",flags:"s",line:"834",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"835",C:[{N:"param",name:"Q{}required-version",slot:"0",as:"?AD",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|required-version", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|required-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|required-version",C:[{N:"data",diag:"8|0|XTTE0590|required-version",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"836",name:"Q{}has-uniform-static-context",slot:"1",flags:"ti",as:"1AB",C:[{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context", -C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"837",name:"Q{}extension-element-namespaces",slot:"2",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"data",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"supplied",slot:"2"}]}]}]}]},{N:"choose",line:"842",C:[{N:"varRef", -name:"Q{}has-uniform-static-context",slot:"1"},{N:"copy",line:"844",flags:"in",sit:"1NE",C:[{N:"let",role:"content","var":"Q{}lineNo",slot:"3",eval:"16",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",eval:"16",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",eval:"8", -C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"845",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"compareToInt", -op:"ne",val:"-1",C:[{N:"varRef",name:"Q{}lineNo",slot:"3"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}lineNo",slot:"3"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"6",eval:"16",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -card:"1",diag:"0|0||f:line-number",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"7",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"6"}]},{N:"choose",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"7"},{N:"int",val:"-1"}]},{N:"instance",of:"1NE",C:[{N:"varRef",name:"Q{}node",slot:"6"}]}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef", -name:"Q{}ln",slot:"7"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",line:"846",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}lineNo",slot:"3"}]}]}]},{N:"choose",line:"848",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{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:"att",line:"849",name:"ex:baseUri", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"851",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",line:"852",name:"ex:exclude",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",line:"909",C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"slash",C:[{N:"dot", -line:"852",type:"1NE",flags:"a"},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"true"},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]}]}]},{N:"let",line:"910","var":"Q{}owner",as:"*N u[NE,ND]",slot:"8",eval:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"choose",line:"912",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]}]}]},{N:"forEach",line:"913",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}owner",slot:"8"},{N:"axis",name:"namespace", -nodeTest:"NN"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NN"}]}]},{N:"true"},{N:"let",line:"923","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"9",eval:"13",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}owner",slot:"8"}]},{N:"forEach",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"choose", -C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot",type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"dot",type:"1AS"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"9"}]}]},{N:"fn",name:"string",C:[{N:"dot",type:"1AU"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"forEach",line:"854",C:[{N:"union",op:"|",C:[{N:"slash",simple:"1",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}, -{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]},{N:"att",line:"855",name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"let",line:"857", -"var":"Q{}shadows",as:"*NA",slot:"10",eval:"4",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"858",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"10"}]}]}]},{N:"applyT",line:"859",flags:"c",bSlot:"-1",C:[{N:"varRef", -role:"select",name:"Q{}shadows",slot:"10"}]},{N:"callT",line:"860",name:"Q{}staticText",bSlot:"7"}]}]}]}]}]},{N:"true"},{N:"copy",line:"866",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]},{N:"fn",name:"not",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -"var":"Q{}n1",as:"1NE",slot:"11",eval:"16",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE",flags:"a"},{N:"let","var":"Q{}n2",as:"1NE",slot:"12",eval:"16",C:[{N:"treat",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",as:"NE",diag:"0|1||f:has-same-namespaces",C:[{N:"check",card:"1",diag:"0|1||f:has-same-namespaces",C:[{N:"axis", -name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"let",module:"namespaces.xsl",line:"120","var":"Q{}n1.prefixes",as:"*AS",slot:"13",eval:"4",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"varRef",name:"Q{}n1",slot:"11"}]},{N:"let",line:"121","var":"Q{}n2.prefixes",as:"*AS",slot:"14",eval:"4",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"varRef",name:"Q{}n2",slot:"12"}]},{N:"and",line:"127",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}n1.prefixes",slot:"13"}]}, -{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}n2.prefixes",slot:"14"}]}]},{N:"every","var":"Q{}p",slot:"15",C:[{N:"varRef",name:"Q{}n1.prefixes",slot:"13"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}n2.prefixes",slot:"14"},{N:"varRef",name:"Q{}p",slot:"15"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"15"},{N:"varRef",name:"Q{}n1",slot:"11"}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef", -name:"Q{}p",slot:"15"},{N:"varRef",name:"Q{}n2",slot:"12"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",line:"867",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"16",eval:"16",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns", -chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"8"},{N:"fn",name:"name",C:[{N:"dot", -type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"let",line:"869","var":"Q{}base",as:"?AU",slot:"17",eval:"8",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"sequence",line:"870",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"varRef",name:"Q{}base",slot:"17"},{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:"att",line:"871",name:"ex:baseUri",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"varRef",name:"Q{}base",slot:"17"}]}]}]},{N:"choose",line:"873",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",line:"874",name:"ex:exclude",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",line:"909", -C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"slash",C:[{N:"dot",line:"874",type:"1NE",flags:"a"},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"true"},{N:"sequence",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]}]}]},{N:"let",line:"910","var":"Q{}owner",as:"*N u[NE,ND]",slot:"18",eval:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"choose",line:"912",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]}]}]},{N:"forEach",line:"913",C:[{N:"slash", -simple:"2",C:[{N:"varRef",name:"Q{}owner",slot:"18"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NN"}]}]},{N:"true"},{N:"let",line:"923","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"19",eval:"13",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}owner",slot:"18"}]},{N:"forEach",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize", -C:[{N:"dot",type:"1NA"}]}]}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot",type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"dot",type:"1AS"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"19"}]}]},{N:"fn",name:"string",C:[{N:"dot",type:"1AU"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"forEach",line:"876",C:[{N:"union",op:"|",C:[{N:"slash",simple:"1",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]},{N:"att",line:"877",name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AZ", -to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"let",line:"879","var":"Q{}lineNo",slot:"20",eval:"16",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"21",eval:"16",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE",flags:"a"}, -{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"21"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"22",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number", -type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"21"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"22"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"21"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"22"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"880",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"compareToInt",op:"ne",val:"-1",C:[{N:"varRef",name:"Q{}lineNo", -slot:"20"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}lineNo",slot:"20"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"23",eval:"16",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -card:"1",diag:"0|0||f:line-number",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"24",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"23"}]},{N:"choose",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"24"},{N:"int",val:"-1"}]},{N:"instance",of:"1NE",C:[{N:"varRef",name:"Q{}node",slot:"23"}]}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"}, -{N:"varRef",name:"Q{}ln",slot:"24"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",line:"881",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}lineNo",slot:"20"}]}]}]},{N:"let",line:"883","var":"Q{}shadows",as:"*NA",slot:"25",eval:"4",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"884",C:[{N:"applyT", -flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"25"}]}]}]},{N:"applyT",line:"885",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"25"}]},{N:"callT",line:"886",name:"Q{}staticText",bSlot:"9"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"10",rank:"4",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform", -flags:"s",line:"782",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"},{N:"p.nodeTest",test:"NE"}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"783",C:[{N:"param",name:"Q{}XSLT-version",slot:"0",flags:"t",as:"1AD",C:[{N:"dec",role:"select",val:"3"},{N:"treat",role:"conversion", -as:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"data",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"choose",line:"785",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"vc",op:"gt",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}XSLT-version",slot:"0"},{N:"dec",val:"3"}]}]}, -{N:"nextMatch",line:"786",flags:"t"},{N:"true"},{N:"ufCall",line:"790",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"10",eval:"0 16 16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" must be the root element of a document, or the child of xsl:package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"8",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text", -flags:"s",line:"770",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"771",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",line:"772",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",eval:"16 16",C:[{N:"fn",name:"concat", -C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"a"}]},{N:"str",val:" cannot contain element "},{N:"slash",C:[{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"a"}]}]},{N:"nextMatch",line:"774",flags:"t",C:[{N:"withParam",name:"Q{}xml-space-preserve",flags:"t",as:"1AB",C:[{N:"true"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5", -seq:"18",part:"1",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"1019",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1019",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"1020",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"12",eval:"0 16 16",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"str",val:"Non-global "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"data",diag:"0|3||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:" cannot be static"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"10",rank:"4",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet", -flags:"s",line:"782",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"p.nodeTest",test:"NE"}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"783",C:[{N:"param",name:"Q{}XSLT-version",slot:"0",flags:"t",as:"1AD",C:[{N:"dec",role:"select",val:"3"},{N:"treat",role:"conversion", -as:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"data",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"choose",line:"785",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"vc",op:"gt",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}XSLT-version",slot:"0"},{N:"dec",val:"3"}]}]}, -{N:"nextMatch",line:"786",flags:"t"},{N:"true"},{N:"ufCall",line:"790",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"10",eval:"0 16 16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" must be the root element of a document, or the child of xsl:package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"18",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable", -flags:"s",line:"1019",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1019",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"1020",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"12",eval:"0 16 16",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"str",val:"Non-global "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" "},{N:"data",diag:"0|3||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:" cannot be static"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"13",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}import", -flags:"s",line:"802",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"802",name:"not",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"normalize.xsl", -line:"769",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"802",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]},{N:"ufCall",role:"action", -ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"803",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",eval:"0 16 16",C:[{N:"str",val:"XTSE0190"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"a"}]},{N:"str",val:" must be a top-level component"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"a"}]}]}, -{N:"templateRule",prec:"0",prio:"0.5",seq:"11",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"s",line:"796",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"796",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b", -C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"797",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",eval:"0 16 16",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE", -flags:"a"}]},{N:"str",val:" cannot have any content"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"9",rank:"4",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"s",line:"779",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"p.nodeTest",test:"NE"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"780",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",eval:"0 16 16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"a"}]},{N:"str",val:" must be a the root element of a document"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"12",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}include", -flags:"s",line:"799",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"799",name:"not",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"normalize.xsl", -line:"769",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"799",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]},{N:"ufCall",role:"action", -ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"800",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",eval:"0 16 16",C:[{N:"str",val:"XTSE0170"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"a"}]},{N:"str",val:" must be a top-level component"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"a"}]}]}, -{N:"templateRule",prec:"0",prio:"0.5",seq:"11",part:"1",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"s",line:"796",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"796",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter", -flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"797",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",eval:"0 16 16",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE", -flags:"a"}]},{N:"str",val:" cannot have any content"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"7",rank:"2",minImp:"0",slots:"7",matches:"NA",flags:"s",line:"740",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"740",name:"starts-with", -C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"741",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check", -card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"742",name:"Q{}var-slots",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"743",name:"Q{}stylesheet-base-uri",slot:"2",flags:"t",as:"1AU",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|stylesheet-base-uri",C:[{N:"fn", -name:"base-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"744",name:"Q{}xpath-default-namespace",slot:"3",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"3"}]}]}]},{N:"let",line:"745","var":"Q{}container",as:"1NE c~untyped",slot:"4",eval:"9",C:[{N:"let",line:"746","var":"Q{}dot",as:"*N u[NE,ND]",slot:"5",eval:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"750","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"6",eval:"13",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}dot", -slot:"5"}]},{N:"compElem",line:"747",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"3"}]}]}]},{N:"forEach",role:"content",line:"748",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"check",card:"1",diag:"0|0||fn:in-scope-prefixes",C:[{N:"varRef",name:"Q{}dot",slot:"5"}]}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"750",flags:"l", -C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]}]},{N:"compAtt",line:"755",C:[{N:"fn",role:"name",name:"substring",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"int",val:"2"}]},{N:"fn",role:"select", -line:"757",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",line:"758",C:[{N:"ufCall",line:"757",name:"Q{MyFunctions}parse-value-template",tailCall:"false",bSlot:"17",eval:"16 16",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:parse-value-template",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"dot",type:"1NA",flags:"a"}]},{N:"choose",line:"760",C:[{N:"compareToString",op:"eq",val:"literal",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"valueOf", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]},{N:"true"},{N:"evaluate",line:"763",dxns:"",C:[{N:"cvUntyped",role:"xpath",to:"AS",C:[{N:"data",diag:"4|0||xsl:evaluate/xpath",C:[{N:"dot",type:"1NA"}]}]},{N:"empty",role:"cxt"},{N:"convert",role:"baseUri",from:"AU",to:"AS",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"2"}]},{N:"varRef",role:"nsCxt",name:"Q{}container",slot:"4"},{N:"str",role:"sa",val:"no"},{N:"ifCall",role:"options",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:"allow-xslt-functions"},{N:"true"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots",slot:"1"}]},{N:"map",size:"1",C:[{N:"str",val:"allow-empty"},{N:"true"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",role:"wp",name:"Q{}static-vars", -slot:"0"}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"22",part:"1",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}use-when",flags:"s",line:"1188",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-when"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"22",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when", -flags:"s",line:"1188",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"15",part:"1",rank:"1",minImp:"0",slots:"1",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes",flags:"s",line:"892",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"894","var":"Q{}discard",slot:"0",eval:"4",C:[{N:"applyT",line:"895",mode:"Q{}normalize",bSlot:"18",C:[{N:"dot",role:"select",type:"1NA",flags:"a"}]},{N:"subscript",line:"897",C:[{N:"varRef",name:"Q{}discard",slot:"0"},{N:"int",val:"100000"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"15",rank:"2",minImp:"0",slots:"1",matches:"NA nQ{}exclude-result-prefixes",flags:"s",line:"892",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}exclude-result-prefixes"}, -{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"894","var":"Q{}discard",slot:"0",eval:"4",C:[{N:"applyT",line:"895",mode:"Q{}normalize",bSlot:"18",C:[{N:"dot",role:"select",type:"1NA",flags:"a"}]},{N:"subscript",line:"897",C:[{N:"varRef",name:"Q{}discard",slot:"0"},{N:"int",val:"100000"}]}]}]},{N:"templateRule",prec:"0", -prio:"-0.5",seq:"23",rank:"0",minImp:"0",slots:"0",matches:"NC",flags:"s",line:"1189",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NC"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"23",part:"1",rank:"0",minImp:"0",slots:"0",matches:"NP",flags:"s",line:"1189",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NP"},{N:"empty",role:"action"}]}]}]},{N:"co",id:"191",binds:"",C:[{N:"function",name:"Q{MyFunctions}syntax-error",line:"221",module:"lib.xsl",eval:"8", -flags:"pU",as:"*",slots:"3",C:[{N:"arg",name:"Q{}code",as:"1AS"},{N:"arg",name:"Q{}message",as:"1AS"},{N:"arg",name:"Q{}location",as:"1AS"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"226",name:"error",C:[{N:"fn",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"varRef",line:"226",name:"Q{}code",slot:"0"}]},{N:"varRef", -name:"Q{}message",slot:"1"}]}]}]},{N:"co",id:"192",binds:"193",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"85",module:"lib.xsl",eval:"16",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg",name:"Q{}name",as:"1AS"},{N:"arg",name:"Q{}context",as:"1NE"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"88",C:[{N:"ufCall",name:"Q{MyFunctions}EQName", -tailCall:"foreign",bSlot:"0",eval:"1 1 0 0",C:[{N:"varRef",name:"Q{}name",slot:"0"},{N:"varRef",name:"Q{}context",slot:"1"},{N:"str",val:"XTSE0020"},{N:"empty"}]}]}]}]},{N:"co",id:"55",binds:"",C:[{N:"function",name:"Q{MyFunctions}syntax-error",line:"214",module:"lib.xsl",eval:"8",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}code",as:"1AS"},{N:"arg",name:"Q{}message",as:"1AS"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"218",name:"error",C:[{N:"fn",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"varRef",line:"218",name:"Q{}code",slot:"0"}]},{N:"varRef",name:"Q{}message",slot:"1"}]}]}]},{N:"co",id:"194",binds:"193",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"90",module:"lib.xsl",eval:"16",flags:"pU",as:"1AS",slots:"3",C:[{N:"arg",name:"Q{}name",as:"1AS"},{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}error-code",as:"1AS"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"94",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"foreign",bSlot:"0",eval:"1 1 1 0",C:[{N:"varRef",name:"Q{}name",slot:"0"},{N:"varRef",name:"Q{}context",slot:"1"},{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"empty"}]}]}]}]},{N:"co",id:"193",binds:"3 3 3 3 3 3",C:[{N:"function",name:"Q{MyFunctions}EQName",line:"106",module:"lib.xsl",eval:"16",flags:"pU",as:"1AS",slots:"7",C:[{N:"arg",name:"Q{}name.in",as:"1AS"},{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}error-code",as:"1AS"}, -{N:"arg",name:"Q{}xpath-default-namespace",as:"?AS"},{N:"treat",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"112",as:"AS",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"data",diag:"5|0|XTTE0780|f:EQName#4",C:[{N:"try",flags:"r",C:[{N:"let","var":"Q{}name", -as:"1AS",slot:"4",eval:"8",C:[{N:"fn",name:"normalize-space",C:[{N:"varRef",name:"Q{}name.in",slot:"0"}]},{N:"choose",line:"114",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:"Q{"}]},{N:"varRef",line:"115",name:"Q{}name",slot:"4"},{N:"fn",line:"117",name:"contains",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:":"}]},{N:"let",line:"119","var":"Q{}local",as:"1AS",slot:"5",eval:"8",C:[{N:"fn",name:"substring-after",C:[{N:"varRef",name:"Q{}name",slot:"4"}, -{N:"str",val:":"}]},{N:"sequence",line:"120",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"castable",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}local",slot:"5"}]}]},{N:"ufCall",line:"121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",eval:"1 16 1",C:[{N:"varRef",name:"Q{}error-code",slot:"2"},{N:"fn",name:"concat",C:[{N:"str",val:"Invalid local name: "},{N:"varRef",name:"Q{}name",slot:"4"}]},{N:"varRef",name:"Q{}context",slot:"1"}]}]},{N:"let",line:"123","var":"Q{}uri",as:"?AU", -slot:"6",eval:"8",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"fn",line:"118",name:"substring-before",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:":"}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"sequence",line:"124",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]},{N:"ufCall",line:"125",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",eval:"0 16 1",C:[{N:"str",val:"XTSE0280"},{N:"fn",name:"concat",C:[{N:"str",val:"Unbound prefix in QName: "}, -{N:"varRef",name:"Q{}name",slot:"4"}]},{N:"varRef",name:"Q{}context",slot:"1"}]}]},{N:"fn",line:"127",name:"concat",C:[{N:"str",val:"Q{"},{N:"varRef",name:"Q{}uri",slot:"6"},{N:"str",val:"}"},{N:"varRef",name:"Q{}local",slot:"5"}]}]}]}]}]},{N:"fn",line:"129",name:"not",C:[{N:"castable",flags:"a",as:"1ASNTNC",C:[{N:"varRef",name:"Q{}name",slot:"4"}]}]},{N:"sequence",line:"130",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"2",eval:"1 16 1",C:[{N:"varRef",name:"Q{}error-code", -slot:"2"},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}name",slot:"4"},{N:"str",val:" is not a valid name"}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]},{N:"true"},{N:"fn",line:"133",name:"concat",C:[{N:"str",val:"Q{"},{N:"varRef",name:"Q{}xpath-default-namespace",slot:"3"},{N:"str",val:"}"},{N:"varRef",name:"Q{}name",slot:"4"}]}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}FOCA0002",C:[{N:"sequence",line:"136",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"3",eval:"0 16 1",C:[{N:"str",val:"XTSE0280"},{N:"treat",as:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTSE0080 Q{http://www.w3.org/2005/xqt-errors}XTSE0280 Q{http://www.w3.org/2005/xqt-errors}XTSE0808", -C:[{N:"sequence",line:"138",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"4",eval:"16 16 1",C:[{N:"check",card:"1",diag:"0|0||f:syntax-error-at",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:"treat",as:"AS",diag:"0|1||f:syntax-error-at",C:[{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||f:syntax-error-at",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"139",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"5",eval:"1 16 1",C:[{N:"varRef", -name:"Q{}error-code",slot:"2"},{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]},{N:"str",val:" code:"},{N:"data",diag:"0|2||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"code"}]}]}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"Q{}error"}]}]}]}]}]}]}]}]}]},{N:"co",id:"183",binds:"",C:[{N:"mode",name:"Q{}pattern-with-current", -onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"299",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fn",flags:"s",line:"1538",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1538",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"str",val:"current"}]}]},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1539",name:"varRef",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions}current"}]}, -{N:"att",name:"slot",flags:"l",C:[{N:"str",val:"0"}]},{N:"axis",line:"1540",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"co",id:"195",binds:"166",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"1059",module:"type.xsl",eval:"4",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1062",C:[{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"foreign",bSlot:"0",eval:"1 1 0",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}required",slot:"1"},{N:"str",val:"0|0||"}]}]}]}]},{N:"co",id:"166",binds:"103 104 93 107 196",C:[{N:"function",name:"Q{MyFunctions}typeCheck",line:"975",module:"type.xsl",eval:"4",flags:"pU",as:"*",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"tailCallLoop", -role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"996",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}literal"}]}]},{N:"ufCall",name:"Q{MyFunctions}typeCheckLiteral",tailCall:"foreign",bSlot:"0",eval:"1 1 1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"varRef",name:"Q{}required", -slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}typeCheck",tailCall:"foreign",bSlot:"1",eval:"1 16 1 1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}empty"}]}]},{N:"gVarRef",name:"Q{}ST.EMPTY_SEQUENCE",bSlot:"2"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef", -name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"3",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}ST.MULTIPLE_ITEM",bSlot:"4"}]},{N:"varRef",name:"Q{}required",slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]}]}]}]}]},{N:"co", -id:"113",binds:"",C:[{N:"globalVariable",name:"Q{}roleKind",as:"1FM k[AS] v[1ADI]",line:"532",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"18",C:[{N:"str",val:"TEMPLATE_RESULT"},{N:"int",val:"7"},{N:"str",val:"GROUPING_KEY"},{N:"int",val:"11"},{N:"str",val:"EVALUATE_RESULT"},{N:"int",val:"12"},{N:"str",val:"CONTEXT_ITEM"},{N:"int",val:"13"},{N:"str",val:"FUNCTION_RESULT"},{N:"int",val:"5"},{N:"str",val:"UNARY_EXPR"},{N:"int",val:"9"},{N:"str",val:"TYPE_OP"},{N:"int", -val:"2"},{N:"str",val:"CHARACTER_MAP_EXPANSION"},{N:"int",val:"16"},{N:"str",val:"ORDER_BY"},{N:"int",val:"6"},{N:"str",val:"AXIS_STEP"},{N:"int",val:"14"},{N:"str",val:"DOCUMENT_ORDER"},{N:"int",val:"17"},{N:"str",val:"PARAM"},{N:"int",val:"8"},{N:"str",val:"INSTRUCTION"},{N:"int",val:"4"},{N:"str",val:"UPDATING_EXPR"},{N:"int",val:"10"},{N:"str",val:"BINARY_EXPR"},{N:"int",val:"1"},{N:"str",val:"OPTION"},{N:"int",val:"15"},{N:"str",val:"FUNCTION"},{N:"int",val:"0"},{N:"str",val:"VARIABLE"},{N:"int", -val:"3"}]}]}]},{N:"co",id:"197",binds:"",C:[{N:"function",name:"Q{MyFunctions}namespace-uri-for-prefix-or-default",line:"168",module:"namespaces.xsl",eval:"7",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}prefix",as:"1AS"},{N:"arg",name:"Q{}element",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"177",C:[{N:"compareToString",op:"eq",val:"#default", -C:[{N:"varRef",name:"Q{}prefix",slot:"0"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"1"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"0"},{N:"varRef",name:"Q{}element",slot:"1"}]}]}]}]},{N:"co",id:"198",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ZERO",as:"1ADI",line:"105",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int", -val:"1"}]}]},{N:"co",id:"199",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_INTEGER",as:"1FM k[AS] v[1AS]",line:"22",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"ADI"}]}]}]},{N:"co",id:"100",binds:"190 173 173 173 200 200",C:[{N:"template",name:"Q{}value-template",flags:"os",as:"?NE",line:"41",module:"value-templates.xsl",slots:"13",C:[{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~", -line:"42",card:"?",diag:"7|0|XTTE0505|value-template",C:[{N:"sequence",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"43",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check", -card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"44",name:"Q{}has-uniform-static-context",slot:"2",flags:"ti",as:"1AB",C:[{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param", -line:"45",name:"Q{}default-collation",slot:"3",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"47",name:"Q{}backward-compatibility",slot:"4",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|backward-compatibility", -C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"data",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"supplied",slot:"4"}]}]}]}]}]},{N:"param",line:"48",name:"Q{}attr",slot:"5",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"5"}]}]},{N:"let",line:"56","var":"Q{}text.value",as:"1",slot:"6",eval:"16",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1", -C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NA"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NT"}]}]}]},{N:"dot",flags:"a"},{N:"true"}, -{N:"fn",name:"normalize-space",C:[{N:"treat",as:"AS",diag:"0|0||fn:normalize-space",C:[{N:"check",card:"?",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"let",line:"57","var":"Q{}lineNr",as:"1ADI",slot:"7",eval:"16",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node", -as:"1N",slot:"8",eval:"16",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:line-number",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|1|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]},{N:"treat",module:"lib.xsl", -line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"9",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number", -type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"8"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"9"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"9"}]}]}]}]}]}]}]}]}]},{N:"let",line:"58","var":"Q{}loc",as:"1AS",slot:"10",eval:"16",C:[{N:"choose",line:"60",C:[{N:"instance",of:"1NA",C:[{N:"dot",flags:"a"}]}, -{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/@"},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]}]}]},{N:"instance",line:"61",of:"1NT",C:[{N:"dot",flags:"a"}]},{N:"cvUntyped", -line:"61",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/text()"}]}]}]},{N:"true"},{N:"cvUntyped",line:"62",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"first",C:[{N:"slash",simple:"1", -C:[{N:"treat",as:"N",diag:"14|1|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]}]}]}]},{N:"let",line:"66","var":"Q{}parts",as:"*NE",slot:"11",eval:"4",C:[{N:"choose",line:"68",C:[{N:"fn",name:"contains",C:[{N:"treat",as:"AS",diag:"0|0||fn:contains",C:[{N:"check",card:"?",diag:"0|0||fn:contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"str",val:"{"}]},{N:"forEach",line:"69",C:[{N:"ufCall", -name:"Q{MyFunctions}parse-value-template",tailCall:"false",bSlot:"0",eval:"16 16",C:[{N:"treat",as:"AS",diag:"0|0||f:parse-value-template",C:[{N:"check",card:"1",diag:"0|0||f:parse-value-template",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:parse-value-template",C:[{N:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"treat",as:"N",diag:"0|1||f:parse-value-template",C:[{N:"dot",flags:"a"}]}]},{N:"choose",line:"71",C:[{N:"compareToString",op:"eq",val:"literal",C:[{N:"fn",name:"name",C:[{N:"dot", -type:"1NA"}]}]},{N:"elem",line:"72",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"and",line:"74",op:"and",C:[{N:"compareToString",op:"eq",val:"expression",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:"\\S+"},{N:"str",val:""}]}]},{N:"elem", -line:"75",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string-join"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"1"}]},{N:"let",line:"76","var":"Q{}content",as:"1NE",slot:"12",eval:"9",C:[{N:"elem",line:"77",name:"convert",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"from",flags:"l",C:[{N:"str",val:"AZ"}]},{N:"att",name:"to",flags:"l", -C:[{N:"str",val:"AS"}]},{N:"elem",line:"78",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"elem",line:"79",name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"elem",line:"80",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]},{N:"att",name:"loc",flags:"l",C:[{N:"varRef",name:"Q{}loc",slot:"10"}]},{N:"att", -name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}lineNr",slot:"7"}]}]},{N:"att",name:"allow-empty",flags:"l",C:[{N:"str",val:"true"}]},{N:"choose",line:"81",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"4"},{N:"att",line:"82",name:"BC",flags:"l",C:[{N:"str",val:"true"}]}]},{N:"varRef",line:"85",name:"Q{}xpath-default-namespace",slot:"1"},{N:"varRef",line:"85",name:"Q{}default-collation",slot:"3"}]}]}]}]}]}]},{N:"sequence",line:"93",C:[{N:"choose",C:[{N:"varRef", -name:"Q{}backward-compatibility",slot:"4"},{N:"elem",line:"94",name:"first",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"95",name:"Q{}content",slot:"12"}]},{N:"true"},{N:"varRef",line:"99",name:"Q{}content",slot:"12"}]},{N:"elem",line:"102",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:" "}]}]}]}]}]}]},{N:"true"},{N:"elem",line:"106",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]}, -{N:"true"},{N:"elem",line:"112",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att",name:"val",flags:"l",C:[{N:"fn",name:"replace",C:[{N:"treat",as:"AS",diag:"0|0||fn:replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"str",val:"\\}\\}"},{N:"str",val:"}"},{N:"str",val:""}]}]}]}]},{N:"choose",line:"117",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1", -C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NA"}]}]},{N:"choose",line:"119",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"11"}]},{N:"elem",line:"120",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"2"}]},{N:"varRef",line:"121",name:"Q{}attr",slot:"5"}]}]},{N:"compareToInt", -line:"124",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"forEach",line:"125",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"copy",line:"127",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}attr",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"elem",line:"132",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"concat"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"3"}]},{N:"varRef",line:"133",name:"Q{}attr",slot:"5"},{N:"varRef",line:"135",name:"Q{}parts",slot:"11"},{N:"elem",line:"137",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]}]}]}]}]},{N:"fn",line:"144",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"11"}]},{N:"empty"}, -{N:"compareToInt",line:"145",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"elem",line:"146",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"4"}]},{N:"varRef",line:"147",name:"Q{}attr",slot:"5"},{N:"varRef",line:"148",name:"Q{}parts",slot:"11"}]}]},{N:"true"},{N:"elem", -line:"152",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"5"}]},{N:"varRef",line:"153",name:"Q{}attr",slot:"5"},{N:"elem",line:"154",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string-join"}]},{N:"elem",line:"155",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef", -line:"156",name:"Q{}parts",slot:"11"}]},{N:"elem",line:"158",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"190",vis:"PUBLIC",binds:"201 202 201 202 35 203 203 24 204 205 204 204 205 205 3 3",C:[{N:"function",name:"Q{MyFunctions}parse-value-template",line:"51",module:"XSLT-value-template.xsl",eval:"4",flags:"pU",as:"*NA",slots:"13",C:[{N:"arg",name:"Q{}in",as:"1AS"},{N:"arg",name:"Q{}location", -as:"1N"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation f=MyFunctions xs=~ xsl=~ xml=~",line:"55","var":"Q{}codepoints-in",as:"*ADI",slot:"9",eval:"4",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"varRef",name:"Q{}in",slot:"0"}]},{N:"treat",line:"56",as:"NA",diag:"5|0|XTTE0780|f:parse-value-template#2",C:[{N:"iterate",C:[{N:"to",role:"select",C:[{N:"int",val:"1"},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"}]}]},{N:"params",role:"params",line:"57",C:[{N:"param", -name:"Q{}in-expression",slot:"2",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-expression",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|in-expression",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-expression",C:[{N:"data",diag:"8|0|XTTE0590|in-expression",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"58",name:"Q{}comment-depth",slot:"3",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|comment-depth", -C:[{N:"check",card:"1",diag:"8|0|XTTE0590|comment-depth",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|comment-depth",C:[{N:"data",diag:"8|0|XTTE0590|comment-depth",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"59",name:"Q{}in-single-quotes",slot:"4",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"data", -diag:"8|0|XTTE0590|in-single-quotes",C:[{N:"supplied",slot:"4"}]}]}]}]}]},{N:"param",line:"60",name:"Q{}in-double-quotes",slot:"5",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"data",diag:"8|0|XTTE0590|in-double-quotes",C:[{N:"supplied",slot:"5"}]}]}]}]}]},{N:"param",line:"61",name:"Q{}brace-depth",slot:"6", -as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|brace-depth",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|brace-depth",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|brace-depth",C:[{N:"data",diag:"8|0|XTTE0590|brace-depth",C:[{N:"supplied",slot:"6"}]}]}]}]}]},{N:"param",line:"62",name:"Q{}start-of-part",slot:"7",as:"1ADI",C:[{N:"int",role:"select",val:"1"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|start-of-part",C:[{N:"check",card:"1", -diag:"8|0|XTTE0590|start-of-part",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|start-of-part",C:[{N:"data",diag:"8|0|XTTE0590|start-of-part",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"param",line:"63",name:"Q{}skip-char",slot:"8",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|skip-char",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|skip-char",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|skip-char",C:[{N:"data",diag:"8|0|XTTE0590|skip-char",C:[{N:"supplied", -slot:"8"}]}]}]}]}]}]},{N:"choose",role:"on-completion",line:"66",C:[{N:"varRef",name:"Q{}in-expression",slot:"2"},{N:"ufCall",line:"67",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",eval:"0 16 1",C:[{N:"str",val:"XTSE0350"},{N:"fn",name:"concat",C:[{N:"str",val:"Missing closing brace after expression:"},{N:"varRef",name:"Q{}in",slot:"0"}]},{N:"varRef",name:"Q{}location",slot:"1"}]},{N:"vc",line:"69",op:"le",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}start-of-part",slot:"7"}, -{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"}]}]},{N:"att",line:"26",name:"literal",C:[{N:"fn",line:"76",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"}]},{N:"str",val:"{{"},{N:"str",val:"{"},{N:"str",val:"q"}]},{N:"str",val:"}}"},{N:"str",val:"}"},{N:"str",val:"q"}]}]}]},{N:"let",role:"action",line:"80","var":"Q{}i",as:"1ADI",slot:"10",eval:"16",C:[{N:"dot",type:"1ADI"}, -{N:"let",line:"81","var":"Q{}c1",as:"*ADI",slot:"11",eval:"7",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"},{N:"varRef",name:"Q{}i",slot:"10"}]},{N:"let",line:"82","var":"Q{}c2",as:"*ADI",slot:"12",eval:"7",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}codepoints-in",slot:"9"},{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]},{N:"choose",line:"84",C:[{N:"varRef",name:"Q{}skip-char",slot:"8"},{N:"nextIteration",line:"86",C:[{N:"withParam",name:"Q{}skip-char", -as:"1AB",slot:"8",C:[{N:"false"}]}]},{N:"varRef",line:"89",name:"Q{}in-expression",slot:"2"},{N:"choose",line:"91",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}APOS",bSlot:"0"}]}]},{N:"nextIteration",line:"93",C:[{N:"withParam",name:"Q{}in-single-quotes",as:"1AB",slot:"4",C:[{N:"false"}]}]},{N:"and",line:"96",op:"and",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}, -{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}QUOT",bSlot:"1"}]}]},{N:"nextIteration",line:"98",C:[{N:"withParam",name:"Q{}in-double-quotes",as:"1AB",slot:"5",C:[{N:"false"}]}]},{N:"and",line:"101",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}APOS",bSlot:"2"}]},{N:"compareToInt",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]}]},{N:"fn", -name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"nextIteration",line:"103",C:[{N:"withParam",name:"Q{}in-single-quotes",as:"1AB",slot:"4",C:[{N:"true"}]}]},{N:"and",line:"106",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}QUOT",bSlot:"3"}]},{N:"compareToInt",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]}]}, -{N:"nextIteration",line:"108",C:[{N:"withParam",name:"Q{}in-double-quotes",as:"1AB",slot:"5",C:[{N:"true"}]}]},{N:"and",line:"111",op:"and",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LPAREN",bSlot:"4"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}COLON",bSlot:"5"}]}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]}, -{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]}]},{N:"nextIteration",line:"113",C:[{N:"withParam",name:"Q{}comment-depth",as:"1ADI",slot:"3",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"},{N:"int",val:"1"}]}]},{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"and",line:"117",op:"and",C:[{N:"and",op:"and",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]},{N:"vc",op:"eq",onEmpty:"0", -comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}COLON",bSlot:"6"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}RPAREN",bSlot:"7"}]}]},{N:"nextIteration",line:"119",C:[{N:"withParam",name:"Q{}comment-depth",as:"1ADI",slot:"3",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"},{N:"int",val:"1"}]}]},{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"and",line:"123", -op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"8"}]},{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"fn",name:"not",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]}]}]}]},{N:"nextIteration",line:"125",C:[{N:"withParam",name:"Q{}brace-depth", -as:"1ADI",slot:"6",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"},{N:"int",val:"1"}]}]}]},{N:"and",line:"128",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}RBRACE",bSlot:"9"}]},{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-single-quotes",slot:"4"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}in-double-quotes",slot:"5"}]}]},{N:"fn",name:"not",C:[{N:"compareToInt", -op:"gt",val:"0",C:[{N:"varRef",name:"Q{}comment-depth",slot:"3"}]}]}]}]},{N:"choose",line:"130",C:[{N:"compareToInt",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"}]},{N:"sequence",line:"134",C:[{N:"att",line:"32",name:"expression",C:[{N:"fn",line:"134",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"varRef",name:"Q{}start-of-part",slot:"7"}]}]}]},{N:"nextIteration", -line:"136",C:[{N:"withParam",name:"Q{}in-expression",as:"1AB",slot:"2",C:[{N:"false"}]},{N:"withParam",name:"Q{}start-of-part",as:"1ADI",slot:"7",C:[{N:"arith",line:"137",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]}]}]},{N:"true"},{N:"nextIteration",line:"142",C:[{N:"withParam",name:"Q{}brace-depth",as:"1ADI",slot:"6",C:[{N:"fn",name:"max",C:[{N:"sequence",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}brace-depth",slot:"6"},{N:"int",val:"1"}]},{N:"int",val:"0"}]}]}]}]}]}]}, -{N:"vc",line:"151",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"10"}]},{N:"choose",line:"153",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef",name:"Q{}LBRACE",bSlot:"11"}]},{N:"nextIteration",line:"155",C:[{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"true"},{N:"sequence",line:"159",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}start-of-part", -slot:"7"},{N:"varRef",name:"Q{}i",slot:"10"}]},{N:"att",line:"26",name:"literal",C:[{N:"fn",line:"166",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"varRef",name:"Q{}start-of-part",slot:"7"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"varRef",name:"Q{}start-of-part",slot:"7"}]}]},{N:"str",val:"{{"},{N:"str",val:"{"},{N:"str",val:"q"}]},{N:"str",val:"}}"},{N:"str",val:"}"},{N:"str",val:"q"}]}]}]},{N:"nextIteration", -line:"169",C:[{N:"withParam",name:"Q{}in-expression",as:"1AB",slot:"2",C:[{N:"true"}]},{N:"withParam",name:"Q{}start-of-part",as:"1ADI",slot:"7",C:[{N:"arith",line:"170",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}i",slot:"10"},{N:"int",val:"1"}]}]}]}]}]},{N:"vc",line:"175",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c1",slot:"11"},{N:"gVarRef",name:"Q{}RBRACE",bSlot:"12"}]},{N:"choose",line:"177",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}c2",slot:"12"},{N:"gVarRef", -name:"Q{}RBRACE",bSlot:"13"}]},{N:"nextIteration",line:"179",C:[{N:"withParam",name:"Q{}skip-char",as:"1AB",slot:"8",C:[{N:"true"}]}]},{N:"true"},{N:"ufCall",line:"183",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",eval:"0 0 1",C:[{N:"str",val:"XTSE0370"},{N:"str",val:"Closing brace must be doubled"},{N:"varRef",name:"Q{}location",slot:"1"}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"206",binds:"3",C:[{N:"template",name:"Q{}collect-doc",flags:"os",as:"1ND",line:"961",module:"static.xsl", -slots:"2",C:[{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"962",card:"1",diag:"7|0|XTTE0505|collect-doc",C:[{N:"sequence",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param", -line:"963",name:"Q{}uri",slot:"1",C:[{N:"fn",role:"select",name:"resolve-uri",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}href",chk:"0"}]}]},{N:"check",card:"1",diag:"0|1||fn:resolve-uri",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:base-uri",C:[{N:"dot",flags:"a"}]}]}]}]}]},{N:"supplied",role:"conversion",slot:"1"}]},{N:"choose",line:"964",C:[{N:"lookup",C:[{N:"varRef", -name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"sequence",line:"965",C:[{N:"treat",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"href:"},{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"treat", -line:"966",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"BASE-URI:"},{N:"fn",name:"base-uri",C:[{N:"treat",as:"N",diag:"0|0||fn:base-uri",C:[{N:"dot",flags:"a"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"treat",line:"967",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"resolved-URI:"},{N:"varRef",name:"Q{}uri", -slot:"1"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]}]},{N:"treat",line:"970",as:"ND",diag:"7|0|XTTE0505|collect-doc",C:[{N:"try",flags:"r",C:[{N:"fn",name:"doc",C:[{N:"treat",as:"AS",diag:"0|0||fn:doc",C:[{N:"check",card:"?",diag:"0|0||fn:doc",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:doc",C:[{N:"varRef",name:"Q{}uri",slot:"1"}]}]}]}]}]},{N:"catch",errors:"*",C:[{N:"sequence",line:"972",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"0",eval:"0 16 16",C:[{N:"str",val:"XTSE0165"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" of "},{N:"data",diag:"0|2||fn:concat",C:[{N:"varRef",name:"Q{}uri",slot:"1"}]},{N:"str",val:" failed:"},{N:"data",diag:"0|4||fn:concat",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"slash", -simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]},{N:"doc",line:"973",C:[{N:"elem",line:"975",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"att",line:"976",name:"version",flags:"l",C:[{N:"str",val:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"207",binds:"",C:[{N:"globalVariable",name:"Q{}global-variables-as-pairs",as:"*",line:"179",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC", -flags:"s",C:[{N:"false"}]}]},{N:"co",id:"208",binds:"70",C:[{N:"function",name:"Q{MyTypes}allowsZeroOrOne",line:"135",module:"type.xsl",eval:"16",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"*"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"137",card:"1",diag:"5|0|XTTE0780|t:allowsZeroOrOne#1",C:[{N:"vc",op:"ne",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"arith",op:"mod",calc:"a%a",C:[{N:"cvUntyped",to:"AO",C:[{N:"atomSing",card:"?",diag:"1|0||mod",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]}]},{N:"gVarRef",name:"Q{}StaticProperty.ALLOWS_MANY",bSlot:"0"}]},{N:"int",val:"0"}]}]}]}]},{N:"co",id:"209",binds:"62",C:[{N:"globalVariable",name:"Q{}standard.attributes",as:"*NA",line:"301",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"docOrder",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"301",intra:"0",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"gVarRef",name:"Q{}xslt.standard.attributes",bSlot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"dot",type:"1NA nQ{}name"}]}]},{N:"str",val:"_"}]}]}]}]}]}]},{N:"co",id:"210",binds:"",C:[{N:"globalVariable",name:"Q{}xslt.schema",as:"1FM k[AS] v[1F]",line:"1",module:"XSLT-schema.xsl",visibility:"PRIVATE", -C:[{N:"map",size:"77",C:[{N:"str",val:"use-package"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"package-version"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"accept"},{N:"str",val:"AAA"},{N:"str",val:"override"},{N:"str",val:"AAA"}]}]},{N:"str",val:"matching-substring"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str", -val:"map-entry"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"key"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"key"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"}, -{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3280"}]},{N:"str",val:"output"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"24",C:[{N:"str",val:"omit-xml-declaration"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"method"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"json"},{N:"str",val:"adaptive"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"allow-duplicate-names"},{N:"map",size:"2",C:[{N:"str",val:"values"}, -{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"media-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"doctype-public"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"escape-uri-attributes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"standalone"},{N:"map", -size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"boolean"},{N:"str",val:"omit"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"json-node-output-method"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"doctype-system"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str", -val:"isAVT"},{N:"false"}]},{N:"str",val:"item-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"indent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"suppress-indentation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", -val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"byte-order-mark"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"include-content-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"encoding"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"normalization-form"},{N:"map",size:"2", -C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"NFC"},{N:"str",val:"NFD"},{N:"str",val:"NFKC"},{N:"str",val:"NFKD"},{N:"str",val:"fully-normalized"},{N:"str",val:"none"},{N:"str",val:"nmtoken"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"html-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"nmtoken"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"undeclare-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"build-tree"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"cdata-section-elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"parameter-document"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", -val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"non-matching-substring"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"analyze-string"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"sequence"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, -{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]},{N:"str",val:"fork"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"}, -{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"sequence"},{N:"str",val:"AAA"},{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"for-each-group"},{N:"str",val:"AAA"}]}]},{N:"str",val:"fallback"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"next-iteration"}, -{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"mode"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"9", -C:[{N:"str",val:"warning-on-multiple-match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"on-no-match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"deep-copy"},{N:"str",val:"shallow-copy"},{N:"str",val:"deep-skip"},{N:"str",val:"shallow-skip"},{N:"str",val:"text-only-copy"},{N:"str",val:"fail"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"typed"},{N:"map",size:"2",C:[{N:"str",val:"values"}, -{N:"literal",count:"4",C:[{N:"str",val:"boolean"},{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-accumulators"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"on-multiple-match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"use-last"},{N:"str",val:"fail"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"warning-on-no-match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"}, -{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"accumulator-rule"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"match"},{N:"str",val:"parents"},{N:"str",val:"accumulator"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"phase"},{N:"map",size:"2", -C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"start"},{N:"str",val:"end"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"expose"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"3",C:[{N:"str",val:"component"}, -{N:"str",val:"names"},{N:"str",val:"visibility"}]},{N:"str",val:"parents"},{N:"str",val:"package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"component"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"template"},{N:"str",val:"function"},{N:"str",val:"attribute-set"},{N:"str",val:"variable"},{N:"str",val:"mode"},{N:"str",val:"*"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"for-each"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str", -val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"preserve-space"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"elements"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str", -val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"import"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"}, -{N:"map",size:"1",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"package"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"},{N:"map",size:"14",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str", -val:"use-when"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"},{N:"map",size:"2",C:[{N:"str",val:"values"}, -{N:"literal",count:"2",C:[{N:"str",val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"package-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map", -size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"id"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str", -val:"declared-modes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"extension-element-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"expose"},{N:"str", -val:"AAA"},{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"accumulator"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"name"},{N:"str",val:"initial-value"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"4",C:[{N:"str",val:"initial-value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"}, -{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"accumulator-rule"}, -{N:"str",val:"AAA"}]}]},{N:"str",val:"with-param"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"6",C:[{N:"str",val:"apply-templates"},{N:"str",val:"call-template"},{N:"str",val:"apply-imports"},{N:"str",val:"next-match"},{N:"str",val:"next-iteration"},{N:"str",val:"evaluate"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"4",C:[{N:"str",val:"tunnel"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"}, -{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"}, -{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"assert"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"test"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"test"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"error-code"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str", -val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"message"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"terminate"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"}, -{N:"true"}]},{N:"str",val:"error-code"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"include"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str", -val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"accept"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"3",C:[{N:"str",val:"component"},{N:"str",val:"names"}, -{N:"str",val:"visibility"}]},{N:"str",val:"parents"},{N:"str",val:"use-package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"},{N:"str",val:"hidden"}]},{N:"str",val:"isAVT"}, -{N:"false"}]},{N:"str",val:"component"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"6",C:[{N:"str",val:"template"},{N:"str",val:"function"},{N:"str",val:"attribute-set"},{N:"str",val:"variable"},{N:"str",val:"mode"},{N:"str",val:"*"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"call-template"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map", -size:"1",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"number"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"12",C:[{N:"str",val:"level"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"single"}, -{N:"str",val:"multiple"},{N:"str",val:"any"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"letter-value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"alphabetic"},{N:"str",val:"traditional"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"from"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"grouping-size"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"integer"},{N:"str", -val:"isAVT"},{N:"true"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"count"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"value"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"ordinal"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str", -val:"isAVT"},{N:"true"}]},{N:"str",val:"format"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"grouping-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"start-at"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"}, -{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"perform-sort"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str", -val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"on-completion"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"iterate"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"}, -{N:"str",val:"XTSE3125"}]},{N:"str",val:"merge-key"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"merge-source"},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"order"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"ascending"},{N:"str",val:"descending"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"case-order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"upper-first"},{N:"str",val:"lower-first"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"data-type"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"text"},{N:"str",val:"number"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3200"}]},{N:"str",val:"result-document"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"27", -C:[{N:"str",val:"omit-xml-declaration"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"method"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"json"},{N:"str",val:"adaptive"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"}, -{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"allow-duplicate-names"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"media-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"doctype-public"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"escape-uri-attributes"},{N:"map", -size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"standalone"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"boolean"},{N:"str",val:"omit"}]},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"json-node-output-method"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"5",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"eqname"}]},{N:"str", -val:"isAVT"},{N:"true"}]},{N:"str",val:"doctype-system"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"item-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"output-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"nmtoken"}, -{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"indent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"suppress-indentation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"byte-order-mark"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"include-content-type"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"encoding"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"normalization-form"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"NFC"},{N:"str",val:"NFD"},{N:"str",val:"MFKC"},{N:"str",val:"MFKD"},{N:"str",val:"fully-normalized"},{N:"str",val:"none"},{N:"str",val:"nmtoken"}]},{N:"str",val:"isAVT"},{N:"true"}]}, -{N:"str",val:"html-version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"format"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"undeclare-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"build-tree"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"cdata-section-elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"true"}]}, -{N:"str",val:"parameter-document"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"merge-action"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"merge"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1", -C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"next-match"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"transform"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"}, -{N:"map",size:"11",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-when"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"id"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"extension-element-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"}, -{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"override"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"use-package"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"}, -{N:"map",size:"5",C:[{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"attribute-set"},{N:"str",val:"AAA"},{N:"str",val:"function"},{N:"str",val:"AAA"},{N:"str",val:"template"},{N:"str",val:"AAA"},{N:"str",val:"variable"},{N:"str",val:"AAA"}]}]},{N:"str",val:"param"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"7",C:[{N:"str",val:"package"},{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"override"}, -{N:"str",val:"template"},{N:"str",val:"function"},{N:"str",val:"iterate"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"tunnel"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"static"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"required"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}, -{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"text"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"disable-output-escaping"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"PCDATA"},{N:"str",val:"AAA"}]}]},{N:"str",val:"source-document"},{N:"map",size:"3", -C:[{N:"str",val:"required.attributes"},{N:"str",val:"href"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"href"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"use-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str", -val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"stylesheet"},{N:"map", -size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"version"},{N:"str",val:"permitted.attributes"},{N:"map",size:"11",C:[{N:"str",val:"expand-text"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-when"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str", -val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"eqname"},{N:"str",val:"#unnamed"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"input-type-annotations"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"preserve"},{N:"str",val:"strip"},{N:"str",val:"unspecified"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"version"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"id"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"id"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exclude-result-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"default-collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uris"},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"extension-element-prefixes"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"prefixes"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath-default-namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"declarations"},{N:"str",val:"AAA"}]}]},{N:"str",val:"apply-imports"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str", -val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"copy-of"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"copy-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"copy-namespaces"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"}, -{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"merge-source"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"select"},{N:"str",val:"parents"},{N:"str",val:"merge"},{N:"str",val:"permitted.attributes"},{N:"map",size:"9",C:[{N:"str",val:"for-each-source"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"}, -{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use-accumulators"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"sort-before-merge"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str", -val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"for-each-item"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"}, -{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"merge-key"},{N:"str",val:"AAA"}]}]},{N:"str",val:"context-item"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"template"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"required"},{N:"str",val:"optiona"}, -{N:"str",val:"absent"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"item-type"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"attribute-set"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"}, -{N:"map",size:"4",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]}, -{N:"str",val:"streamable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"attribute"},{N:"str",val:"AAA"}]}]},{N:"str",val:"strip-space"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"}, -{N:"map",size:"1",C:[{N:"str",val:"elements"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"analyze-string"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"select"},{N:"str",val:"regex"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"3",C:[{N:"str",val:"regex"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", -val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"flags"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"matching-substring"},{N:"str",val:"AAA"},{N:"str",val:"non-matching-substring"},{N:"str",val:"AAA"},{N:"str",val:"fallback"},{N:"str", -val:"AAA"}]}]},{N:"str",val:"decimal-format"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"12",C:[{N:"str",val:"percent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"exponent-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"}, -{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"pattern-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"zero-digit"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"infinity"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"decimal-separator"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"digit"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"per-mille"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"minus-sign"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"NaN"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"grouping-separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"value-of"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"}, -{N:"map",size:"3",C:[{N:"str",val:"separator"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"disable-output-escaping"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"}, -{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0870"}]},{N:"str",val:"processing-instruction"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]}, -{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0880"}]},{N:"str",val:"where-populated"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"otherwise"},{N:"map",size:"4",C:[{N:"str", -val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"choose"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"copy"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"}, -{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"inherit-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"copy-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str", -val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"choose"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str", -val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"otherwise"},{N:"str",val:"AAA"},{N:"str",val:"when"},{N:"str",val:"AAA"}]}]},{N:"str",val:"for-each-group"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"7",C:[{N:"str",val:"group-by"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str", -val:"group-starting-with"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"composite"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"group-adjacent"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"}, -{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"group-ending-with"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"merge"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"}, -{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"merge-action"},{N:"str",val:"AAA"},{N:"str",val:"merge-source"},{N:"str",val:"AAA"}]}]},{N:"str",val:"character-map"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]}, -{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use-character-maps"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"output-character"},{N:"str",val:"AAA"}]}]},{N:"str",val:"function"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, -{N:"str",val:"name"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"8",C:[{N:"str",val:"cache"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"override-extension-function"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"streamability"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"8",C:[{N:"str",val:"unclassified"},{N:"str",val:"absorbing"},{N:"str",val:"inspection"},{N:"str",val:"filter"},{N:"str",val:"shallow-descent"},{N:"str",val:"deep-descent"},{N:"str",val:"ascent"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"new-each-time"},{N:"map",size:"2",C:[{N:"str", -val:"values"},{N:"literal",count:"7",C:[{N:"str",val:"yes"},{N:"str",val:"true"},{N:"str",val:"1"},{N:"str",val:"no"},{N:"str",val:"false"},{N:"str",val:"0"},{N:"str",val:"maybe"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"override"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"evaluate"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"xpath"},{N:"str",val:"permitted.attributes"}, -{N:"map",size:"7",C:[{N:"str",val:"with-params"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"base-uri"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"context-item"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"}, -{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"schema-aware"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"xpath"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace-context"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str", -val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"with-param"},{N:"str",val:"AAA"}]}]},{N:"str",val:"iterate"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"select"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"on-completion"},{N:"str",val:"AAA"},{N:"str",val:"param"}, -{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"template"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"priority"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"decimal"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"content-item"},{N:"str",val:"AAA"},{N:"str",val:"param"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"when"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"test"}, -{N:"str",val:"parents"},{N:"str",val:"choose"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"test"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"apply-templates"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2", -C:[{N:"str",val:"mode"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"token"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"2",C:[{N:"str",val:"with-param"},{N:"str",val:"AAA"},{N:"str",val:"sort"},{N:"str",val:"AAA"}]}]},{N:"str",val:"document"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str", -val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str", -val:"AAA"}]}]},{N:"str",val:"namespace"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"ncname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"}, -{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0910"}]},{N:"str",val:"try"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"rollback-output"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str", -val:"permitted.children"},{N:"map",size:"3",C:[{N:"str",val:"fallback"},{N:"str",val:"AAA"},{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"},{N:"str",val:"catch"},{N:"str",val:"AAA"}]}]},{N:"str",val:"global-context-item"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"use"}, -{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"required"},{N:"str",val:"optional"},{N:"str",val:"absent"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"item-type"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"catch"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"str",val:"try"},{N:"str", -val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"errors"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"tokens"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3150"}]},{N:"str",val:"map"}, -{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"0"},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"variable"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"}, -{N:"false"}]},{N:"str",val:"static"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"as"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"sequence-type"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"visibility"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"},{N:"str",val:"abstract"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str", -val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0620"}]},{N:"str",val:"attribute"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"separator"},{N:"map",size:"2", -C:[{N:"str",val:"values"},{N:"str",val:"string"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"qname"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str", -val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0840"}]},{N:"str",val:"element"}, -{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"name"},{N:"str",val:"permitted.attributes"},{N:"map",size:"6",C:[{N:"str",val:"use-attribute-sets"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqnames"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"inherit-namespaces"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"qname"}, -{N:"str",val:"isAVT"},{N:"true"}]},{N:"str",val:"validation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"4",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"preserve"},{N:"str",val:"strip"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"namespace"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"true"}]}]}, -{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"if"},{N:"map",size:"3",C:[{N:"str",val:"required.attributes"},{N:"str",val:"test"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"test"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str", -val:"AAA"}]}]},{N:"str",val:"output-character"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"character"},{N:"str",val:"string"}]},{N:"str",val:"parents"},{N:"str",val:"character-map"},{N:"str",val:"permitted.attributes"},{N:"map",size:"2",C:[{N:"str",val:"character"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"char"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"string"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"string"}, -{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"sort"},{N:"map",size:"5",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"parents"},{N:"literal",count:"4",C:[{N:"str",val:"for-each"},{N:"str",val:"for-each-group"},{N:"str",val:"apply-templates"},{N:"str",val:"perform-sort"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"7",C:[{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"}, -{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"lang"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"language"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"ascending"},{N:"str",val:"descending"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"case-order"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"upper-first"},{N:"str",val:"lower-first"}]},{N:"str", -val:"isAVT"},{N:"false"}]},{N:"str",val:"stable"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"data-type"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"3",C:[{N:"str",val:"text"},{N:"str",val:"number"},{N:"str",val:"eqname"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"}, -{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE1015"}]},{N:"str",val:"namespace-alias"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"stylesheet-prefix"},{N:"str",val:"result-prefix"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"2", -C:[{N:"str",val:"result-prefix"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"prefix"},{N:"str",val:"#default"}]},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"stylesheet-prefix"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"literal",count:"2",C:[{N:"str",val:"prefix"},{N:"str",val:"#default"}]},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"0"}]},{N:"str",val:"break"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"}, -{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3125"}]},{N:"str",val:"key"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"literal",count:"2",C:[{N:"str",val:"name"}, -{N:"str",val:"match"}]},{N:"str",val:"parents"},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"str",val:"permitted.attributes"},{N:"map",size:"5",C:[{N:"str",val:"match"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"pattern"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"use"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"composite"},{N:"map",size:"2", -C:[{N:"str",val:"values"},{N:"str",val:"boolean"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"collation"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"uri"},{N:"str",val:"isAVT"},{N:"false"}]},{N:"str",val:"name"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"eqname"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]}]},{N:"str",val:"comment"},{N:"map",size:"4",C:[{N:"str", -val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE0940"}]},{N:"str",val:"on-empty"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str", -val:"permitted.attributes"},{N:"map",size:"1",C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]},{N:"str",val:"on-non-empty"},{N:"map",size:"4",C:[{N:"str",val:"required.attributes"},{N:"empty"},{N:"str",val:"permitted.attributes"},{N:"map",size:"1", -C:[{N:"str",val:"select"},{N:"map",size:"2",C:[{N:"str",val:"values"},{N:"str",val:"expression"},{N:"str",val:"isAVT"},{N:"false"}]}]},{N:"str",val:"permitted.children"},{N:"map",size:"1",C:[{N:"str",val:"sequence-constructor"},{N:"str",val:"AAA"}]},{N:"str",val:"selectAndContent"},{N:"str",val:"XTSE3185"}]}]}]}]},{N:"co",id:"211",binds:"",C:[{N:"globalVariable",name:"Q{}group.function-names",as:"*AS",line:"958",module:"xpath.xsl",visibility:"PRIVATE",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"958",C:[{N:"literal",count:"2",C:[{N:"str",val:"group"},{N:"str",val:"grouping-key"}]},{N:"fn",name:"concat",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions}current-"},{N:"dot",type:"1AS"}]}]}]}]},{N:"co",id:"212",binds:"212",C:[{N:"template",name:"Q{}expandCharMapRef",flags:"os",line:"170",module:"output.xsl",slots:"3",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"171",C:[{N:"param",name:"Q{}charMapRef",slot:"0",flags:"i",as:"1AS",C:[{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|charMapRef",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|charMapRef",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|charMapRef",C:[{N:"data",diag:"8|0|XTTE0590|charMapRef",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"172",name:"Q{}charMaps",slot:"1",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|charMaps",C:[{N:"supplied", -slot:"1"}]}]},{N:"let",line:"174","var":"Q{}usedCharMap",as:"*NE",slot:"2",eval:"4",C:[{N:"filter",flags:"",C:[{N:"varRef",name:"Q{}charMaps",slot:"1"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"varRef",name:"Q{}charMapRef",slot:"0"}]}]},{N:"choose",line:"176",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]},{N:"sequence",line:"177",C:[{N:"forEach",C:[{N:"fn", -name:"tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]}]}]}]}]},{N:"callT",line:"178",name:"Q{}expandCharMapRef",bSlot:"0",C:[{N:"withParam", -name:"Q{}charMapRef",flags:"c",as:"1AS",C:[{N:"fn",line:"179",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"withParam",name:"Q{}charMaps",flags:"c",as:"*NE",C:[{N:"varRef",line:"180",name:"Q{}charMaps",slot:"1"}]}]}]},{N:"conditionalSort",line:"183",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"child",nodeTest:"NE n*:m"}]}]}]}]}, -{N:"true"},{N:"conditionalSort",line:"186",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}usedCharMap",slot:"2"},{N:"axis",name:"child",nodeTest:"NE n*:m"}]}]}]}]}]}]}]}]},{N:"co",id:"213",binds:"",C:[{N:"function",name:"Q{MyFunctions}string-map",line:"448",module:"lib.xsl",eval:"8",flags:"pU",as:"1FM",slots:"1",C:[{N:"arg",name:"Q{}input",as:"*FM"},{N:"ifCall",role:"body", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"456",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"varRef",name:"Q{}input",slot:"0"},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"use-any"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"FOJS0003"}]}]}]}]},{N:"co",id:"189",binds:"73",C:[{N:"template",name:"Q{}staticText", -flags:"os",line:"929",module:"static.xsl",slots:"2",C:[{N:"sequence",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"930",C:[{N:"param",name:"Q{}xml-space-preserve",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"iterate",line:"932",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child", -nodeTest:"N u[NE,NP,NC,NT]"}]},{N:"params",role:"params",line:"933",C:[{N:"param",name:"Q{}pending-text",slot:"1",as:"1AS",C:[{N:"str",role:"select",val:""},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|pending-text",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|pending-text",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|pending-text",C:[{N:"data",diag:"8|0|XTTE0590|pending-text",C:[{N:"supplied",slot:"1"}]}]}]}]}]}]},{N:"choose",role:"on-completion",line:"935",C:[{N:"or",op:"or",C:[{N:"fn", -name:"normalize-space",C:[{N:"varRef",name:"Q{}pending-text",slot:"1"}]},{N:"varRef",name:"Q{}xml-space-preserve",slot:"0"}]},{N:"valueOf",line:"936",C:[{N:"varRef",name:"Q{}pending-text",slot:"1"}]}]},{N:"choose",role:"action",line:"940",C:[{N:"instance",of:"1NE",C:[{N:"dot",type:"1N u[NE,NP,NC,NT]"}]},{N:"sequence",line:"941",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"normalize-space",C:[{N:"varRef",name:"Q{}pending-text",slot:"1"}]},{N:"varRef",name:"Q{}xml-space-preserve",slot:"0"}]}, -{N:"valueOf",line:"942",C:[{N:"varRef",name:"Q{}pending-text",slot:"1"}]}]},{N:"applyT",line:"944",mode:"Q{}static",bSlot:"0",C:[{N:"dot",role:"select",type:"1N u[NE,NP,NC,NT]"}]},{N:"nextIteration",line:"946",C:[{N:"withParam",name:"Q{}pending-text",as:"1AS",slot:"1",C:[{N:"str",val:""}]}]}]},{N:"instance",line:"949",of:"1NT",C:[{N:"dot",type:"1N u[NE,NP,NC,NT]"}]},{N:"nextIteration",line:"951",C:[{N:"withParam",name:"Q{}pending-text",as:"1AS",slot:"1",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}pending-text", -slot:"1"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1N u[NE,NP,NC,NT]"}]}]}]}]}]}]}]}]}]},{N:"co",id:"214",binds:"",C:[{N:"function",name:"Q{MyTypes}isNumeric",line:"436",module:"type.xsl",eval:"16",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}alphaCode",as:"1AS"},{N:"or",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"438",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"starts-with", -C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str",val:"AF"}]}]}]}]},{N:"co",id:"12",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}card-symbols",as:"1FM k[ADI] v[1]",line:"121",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"5",C:[{N:"int",val:"1"},{N:"str",val:"0"},{N:"int",val:"2"},{N:"str", -val:"1"},{N:"int",val:"3"},{N:"str",val:"?"},{N:"int",val:"6"},{N:"str",val:"+"},{N:"int",val:"7"},{N:"str",val:"*"}]}]}]},{N:"co",id:"215",binds:"105 106",C:[{N:"function",name:"Q{MyFunctions}literalType",line:"1009",module:"type.xsl",eval:"16",flags:"pU",as:"1FM",slots:"2",C:[{N:"arg",name:"Q{}inst",as:"1NE"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1011","var":"Q{}name", -as:"1AS",slot:"1",eval:"8",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"0"}]},{N:"choose",line:"1014",C:[{N:"compareToString",op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"ifCall",line:"1015",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:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst",slot:"0"},{N:"axis", -name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"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:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"ifCall",line:"1022",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:"p"},{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"0"},{N:"attVal",name:"Q{}type",chk:"0"}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"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:"gc",line:"1024",op:"=",card:"N:1",comp:"CCC", -C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"0"},{N:"true"},{N:"treat",line:"1028",as:"FM",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"1"},{N:"varRef",name:"Q{}name",slot:"1"}]}]}]}]}]}]}]},{N:"co", -id:"216",binds:"",C:[{N:"function",name:"Q{MyFunctions}innermostExNs",line:"163",module:"namespaces.xsl",eval:"7",flags:"pU",as:"?NA",slots:"1",C:[{N:"arg",name:"Q{}node",as:"1N"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"first", -C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"co",id:"217",binds:"161",C:[{N:"function",name:"Q{MyTypes}cvUntyped",line:"909",module:"type.xsl",eval:"9",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}type",as:"1FM"}, -{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"915",name:"cvUntyped",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"to",flags:"l",C:[{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{}type", -slot:"1"},{N:"str",val:"p"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"0"}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"916",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"916",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"218",binds:"",C:[{N:"globalVariable",name:"Q{}FAST_JAVA_XPATH",as:"1AB",line:"103", -module:"xpath.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"52",binds:"",C:[{N:"globalVariable",name:"Q{}known-namespaces",as:"1FM k[AS] v[1AS]",line:"549",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"12",C:[{N:"str",val:"err"},{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"str",val:"fn"},{N:"str",val:"http://www.w3.org/2005/xpath-functions"},{N:"str",val:"math"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/math"},{N:"str",val:"ixsl"}, -{N:"str",val:"http://saxonica.com/ns/interactiveXSLT"},{N:"str",val:"js"},{N:"str",val:"http://saxonica.com/ns/globalJS"},{N:"str",val:"saxon"},{N:"str",val:"http://saxon.sf.net/"},{N:"str",val:"xsi"},{N:"str",val:"http://www.w3.org/2001/XMLSchema-instance"},{N:"str",val:"xsl"},{N:"str",val:"http://www.w3.org/1999/XSL/Transform"},{N:"str",val:"xml"},{N:"str",val:"http://www.w3.org/XML/1998/namespace"},{N:"str",val:"array"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/array"},{N:"str",val:"xs"}, -{N:"str",val:"http://www.w3.org/2001/XMLSchema"},{N:"str",val:"map"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/map"}]}]}]},{N:"co",id:"219",binds:"",C:[{N:"function",name:"Q{MyTypes}isNode",line:"453",module:"type.xsl",eval:"16",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"455","var":"Q{}alphaCode", -slot:"1",eval:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]},{N:"or",line:"456",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with", -C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"N"}]}]}]}]}]},{N:"co",id:"175",binds:"220 220 175 175 175 13",C:[{N:"function",name:"Q{MyTypes}displayType",line:"120",module:"sequenceType.xsl",eval:"8",flags:"pU",as:"1AS",slots:"4",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"123","var":"Q{}alphaCode",slot:"1",eval:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type", -slot:"0"},{N:"str",val:"p"}]},{N:"cvUntyped",line:"126",to:"AS",diag:"5|0|XTTE0780|t:displayType#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"o"}]}]},{N:"str",val:"0"}]},{N:"valueOf", -flags:"S",C:[{N:"str",val:"empty-sequence()"}]},{N:"vc",line:"127",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"valueOf",line:"127",flags:"S",C:[{N:"str",val:"item()"}]},{N:"fn",line:"128",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data", -diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"A"}]},{N:"let",line:"130","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*A",slot:"2",eval:"4",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg504138124",bSlot:"0"},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef", -name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"},{N:"attVal",name:"Q{}p",chk:"0"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"fn",line:"132",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"N"}]},{N:"let",line:"141","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"*A", -slot:"3",eval:"4",C:[{N:"data",diag:"1|1||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg504138124",bSlot:"1"},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"3"},{N:"attVal",name:"Q{}p",chk:"0"}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str", -val:"("},{N:"choose",C:[{N:"instance",of:"1FM",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"n"}]}]},{N:"data",diag:"0|2||fn:concat",C:[{N:"lookup",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"n"}]},{N:"str",val:"code"}]}]},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"n"}]}]}]},{N:"str",val:")"}]}]},{N:"and",line:"143",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:"FA"}]},{N:"fn",name:"empty",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"v"}]}]}]},{N:"str",val:"array(*)"},{N:"vc",line:"146",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:"FA"}]},{N:"fn",line:"147",name:"concat",C:[{N:"str",val:"array("}, -{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"2",eval:"16",C:[{N:"treat",as:"FM",diag:"0|0||t:displayType",C:[{N:"check",card:"1",diag:"0|0||t:displayType",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"v"}]}]}]}]},{N:"str",val:")"}]},{N:"and",line:"149",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str", -val:"FA"}]},{N:"fn",name:"empty",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"v"}]}]}]},{N:"str",val:"array(*)"},{N:"vc",line:"152",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:"FM"}]},{N:"str",val:"map(*)"},{N:"vc",line:"156",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing", -card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:"F"}]},{N:"choose",line:"164",C:[{N:"fn",name:"exists",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"a"}]}]},{N:"fn",name:"concat",C:[{N:"str",val:"(function("},{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"a"}]},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"3",eval:"16",C:[{N:"treat",as:"FM",diag:"0|0||t:displayType", -C:[{N:"dot"}]}]}]},{N:"str",val:","}]},{N:"str",val:") as "},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"4",eval:"16",C:[{N:"treat",as:"FM",diag:"0|0||t:displayType",C:[{N:"check",card:"1",diag:"0|0||t:displayType",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"r"}]}]}]}]},{N:"str",val:")"}]},{N:"true"},{N:"str",val:"function(*)"}]},{N:"vc",line:"166",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing", -card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:"E"}]},{N:"str",val:"empty-sequence()"},{N:"true"},{N:"ufCall",line:"171",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"5",eval:"1",C:[{N:"varRef",name:"Q{}type",slot:"0"}]}]},{N:"valueOf",line:"174",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"filter",flags:"b",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"o"}]},{N:"and",op:"and", -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:"dot"}]},{N:"str",val:"1"}]},{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:"dot"}]},{N:"str",val:"0"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]},{N:"co",id:"53",binds:"",C:[{N:"mode",name:"Q{}attribute-sans-prefix",onNo:"FF",flags:"W", -patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"393",rank:"0",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"1758",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1759",C:[{N:"fn",role:"name",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}, -{N:"convert",role:"select",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]}]},{N:"co",id:"221",binds:"",C:[{N:"globalVariable",name:"Q{}serialization-properties",as:"*AS",line:"21",module:"output.xsl",visibility:"PRIVATE",C:[{N:"literal",count:"22",C:[{N:"str",val:"method"},{N:"str",val:"allow-duplicate-names"},{N:"str",val:"build-tree"},{N:"str",val:"byte-order-mark"},{N:"str",val:"cdata-section-elements"},{N:"str",val:"doctype-public"},{N:"str",val:"doctype-system"},{N:"str", -val:"encoding"},{N:"str",val:"escape-uri-attributes"},{N:"str",val:"html-version"},{N:"str",val:"include-content-type"},{N:"str",val:"indent"},{N:"str",val:"item-separator"},{N:"str",val:"json-node-output-method"},{N:"str",val:"media-type"},{N:"str",val:"normalization-form"},{N:"str",val:"omit-xml-declaration"},{N:"str",val:"parameter-document"},{N:"str",val:"standalone"},{N:"str",val:"suppress-indentation"},{N:"str",val:"undeclare-prefixes"},{N:"str",val:"output-version"}]}]}]},{N:"co",id:"222", -binds:"",C:[{N:"globalVariable",name:"Q{}lre.attributes",as:"1NE n~attributeGroup c~untyped",line:"263",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"elem",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"264",name:"xs:attributeGroup",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"literal-result-element-attributes"}]}, -{N:"elem",line:"265",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-collation"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:uri-list"}]}]}]},{N:"elem",line:"266",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-mode"}]},{N:"att",name:"type", -flags:"l",C:[{N:"str",val:"xsl:default-mode-type"}]}]}]},{N:"elem",line:"267",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-validation"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:validation-strip-or-preserve"}]},{N:"att",name:"default",flags:"l",C:[{N:"str",val:"strip"}]}]}]},{N:"elem",line:"268",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att", -name:"name",flags:"l",C:[{N:"str",val:"expand-text"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:yes-or-no"}]}]}]},{N:"elem",line:"269",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"extension-element-prefixes"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:prefixes"}]}]}]},{N:"elem",line:"270",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema", -flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"exclude-result-prefixes"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:prefixes"}]}]}]},{N:"elem",line:"271",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"xpath-default-namespace"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type", -flags:"l",C:[{N:"str",val:"xs:anyURI"}]}]}]},{N:"elem",line:"272",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"inherit-namespaces"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:yes-or-no"}]},{N:"att",name:"default",flags:"l",C:[{N:"str",val:"yes"}]}]}]},{N:"elem",line:"273",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema", -flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-attribute-sets"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:EQNames"}]},{N:"att",name:"default",flags:"l",C:[{N:"str",val:""}]}]}]},{N:"elem",line:"274",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"use-when"}]},{N:"att",name:"form",flags:"l",C:[{N:"str", -val:"qualified"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:expression"}]}]}]},{N:"elem",line:"275",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"version"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:decimal"}]}]}]},{N:"elem",line:"276",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att", -name:"name",flags:"l",C:[{N:"str",val:"type"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:EQName"}]}]}]},{N:"elem",line:"277",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"validation"}]},{N:"att",name:"form",flags:"l",C:[{N:"str",val:"qualified"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:validation-type"}]}]}]}]}]}]}]},{N:"co", -id:"223",binds:"224 224",C:[{N:"function",name:"Q{MyTypes}isPlain",line:"446",module:"type.xsl",eval:"16",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"448",card:"1",diag:"5|0|XTTE0780|t:isPlain#1",C:[{N:"sequence",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}types",bSlot:"0"},{N:"varRef",name:"Q{}type",slot:"0"}]},{N:"str",val:"isPlain"}]}]},{N:"false"}]},{N:"treat",line:"451",as:"AB",diag:"5|0|XTTE0780|t:isPlain#1",C:[{N:"cvUntyped",to:"AB",diag:"5|0|XTTE0780|t:isPlain#1",C:[{N:"data",diag:"5|0|XTTE0780|t:isPlain#1",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}types",bSlot:"1"},{N:"varRef",name:"Q{}type",slot:"0"}]},{N:"str",val:"isPlain"}]}]}]}]}]}]}]}]}, -{N:"co",id:"225",binds:"210 209 151 7 86 226 3 92 227 92 92 92 92 3 3 7 78 78",C:[{N:"template",name:"Q{}check-syntax-primary",flags:"os",as:"*NE",line:"137",module:"XSLT-syntax.xsl",slots:"8",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"138",C:[{N:"param",name:"Q{}forward-compatibility-mode",slot:"0",flags:"t",as:"1AB",C:[{N:"false",role:"select"}, -{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"data",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"let",line:"141","var":"Q{}context",as:"1",slot:"1",eval:"16",C:[{N:"dot",flags:"a"},{N:"let",line:"142","var":"Q{}schema",as:"?FM",slot:"2",eval:"7",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|schema", -C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}xslt.schema",bSlot:"0"},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"dot",flags:"a"}]}]}]}]},{N:"choose",line:"145",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}schema",slot:"2"}]},{N:"let",line:"147","var":"Q{}provided",as:"*AS",slot:"3",eval:"4",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]}, -{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"let",line:"148","var":"Q{}missing-attributes",as:"*AS",slot:"4",eval:"4",C:[{N:"filter",flags:"b",C:[{N:"treat",line:"146",as:"AS",diag:"3|0|XTTE0570|required.attributes",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|required.attributes",C:[{N:"data",diag:"3|0|XTTE0570|required.attributes",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"required.attributes"}]}]}]}]},{N:"fn",name:"not", -C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}provided",slot:"3"},{N:"dot",type:"1AS"}]}]}]},{N:"let",line:"150","var":"Q{}pa.names",as:"*AS",slot:"5",eval:"4",C:[{N:"sequence",C:[{N:"treat",as:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",line:"149",as:"FM",diag:"3|0|XTTE0570|permitted.attributes",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|permitted.attributes", -C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"permitted.attributes"}]}]}]}]}]}]},{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"data",diag:"3|0|XTTE0570|pa.names",C:[{N:"gVarRef",name:"Q{}standard.attributes",bSlot:"1"}]}]}]},{N:"sequence",line:"153",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}forward-compatibility-mode",slot:"0"}]},{N:"treat",line:"154",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"homCheck",C:[{N:"slash",C:[{N:"filter", -flags:"b",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"normalize.xsl",line:"818",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"XSLT-syntax.xsl",line:"151",as:"NE",diag:"0|0||f:plainAtt",C:[{N:"varRef",name:"Q{}context", -slot:"1"}]},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}pa.names",slot:"5"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongAttribute",tailCall:"false",bSlot:"2",eval:"8",C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"let",line:"168","var":"Q{}permitted.children",as:"*A",slot:"6", -eval:"4",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:"check",card:"1",diag:"0|0||map:keys",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"permitted.children"}]}]}]}]},{N:"sequence",line:"170",C:[{N:"choose",C:[{N:"choose",line:"161",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"check",card:"1",diag:"0|0||map:contains",C:[{N:"varRef",name:"Q{}schema", -slot:"2"}]},{N:"str",val:"parents"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*A",slot:"7",eval:"4",C:[{N:"data",diag:"1|1||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"parents"}]}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"local-name",C:[{N:"check",card:"?",diag:"0|0||fn:local-name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]}, -{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"7"},{N:"dot",type:"1AS"}]}]}]}]}]},{N:"true"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"dot",flags:"a"}]}]}]}, -{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]}]},{N:"choose",line:"177",C:[{N:"varRef",name:"Q{}forward-compatibility-mode",slot:"0"},{N:"gVarRef",name:"Q{}XSL-ignore",bSlot:"3"},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}wrongParent",tailCall:"false",bSlot:"4",eval:"16",C:[{N:"treat",as:"NE",diag:"0|0||f:wrongParent",C:[{N:"varRef", -name:"Q{}context",slot:"1"}]}]}]}]},{N:"varRef",line:"179",name:"Q{}missing-attributes",slot:"4"},{N:"treat",line:"180",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}missingAttribute",tailCall:"false",bSlot:"5",eval:"16 16",C:[{N:"treat",as:"NE",diag:"0|0||f:missingAttribute",C:[{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"check",card:"1",diag:"0|1||f:missingAttribute",C:[{N:"first",C:[{N:"varRef",name:"Q{}missing-attributes",slot:"4"}]}]}]}]},{N:"gc",line:"182", -op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"str",val:"sequence-constructor"}]},{N:"empty"},{N:"fn",line:"183",name:"empty",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"}]},{N:"choose",line:"190",C:[{N:"fn",name:"has-children",C:[{N:"treat",as:"N",diag:"0|0||fn:has-children",C:[{N:"dot",flags:"a"}]}]},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"6",eval:"0 16 16",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" must be empty"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]},{N:"gc",line:"192",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"str",val:"declarations"}]},{N:"sequence", -line:"193",C:[{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"7",eval:"8",C:[{N:"dot",type:"1NT"}]}]}]},{N:"choose",line:"199",C:[{N:"varRef", -name:"Q{}forward-compatibility-mode",slot:"0"},{N:"empty"},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}declaration-names",bSlot:"8"},{N:"fn",name:"local-name", -C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]}]},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"attVal",name:"Q{}version",chk:"0"}]},{N:"dec",val:"3"}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"9",eval:"8",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]}]},{N:"treat",line:"200",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary", -C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"10",eval:"8",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"gc",line:"202",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children", -slot:"6"},{N:"str",val:"PCDATA"}]},{N:"treat",line:"203",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"11",eval:"8",C:[{N:"dot",type:"1NE"}]}]}]},{N:"true"},{N:"treat",line:"207",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"sequence",C:[{N:"filter",flags:"b", -C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child", -nodeTest:"NT"}]},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"12",eval:"8",C:[{N:"dot",type:"1N"}]}]}]}]},{N:"choose",line:"211",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"check",card:"1",diag:"0|0||map:contains",C:[{N:"varRef",name:"Q{}schema",slot:"2"}]},{N:"str",val:"selectAndContent"}]}, -{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"except",op:"except",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]}, -{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]},{N:"treat",line:"213",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",eval:"16 16 16",C:[{N:"treat",as:"AS",diag:"0|0||f:syntax-error-at",C:[{N:"check", -card:"1",diag:"0|0||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:syntax-error-at",C:[{N:"first",C:[{N:"sequence",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"selectAndContent"}]},{N:"str",val:"XTSE0840"}]}]}]}]}]}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" cannot have both @select and content"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]}]}]}]}]}, -{N:"fn",line:"217",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import-schema"}]}]},{N:"treat",line:"218",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",eval:"0 16 16",C:[{N:"str",val:"XTSE1650"},{N:"fn",name:"concat",C:[{N:"str",val:"The "},{N:"fn",name:"name",C:[{N:"treat",as:"N", -diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" declaration cannot be handled by this XSLT compiler"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]},{N:"varRef",line:"220",name:"Q{}forward-compatibility-mode",slot:"0"},{N:"choose",line:"230",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"normalize.xsl",line:"769", -C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"XSLT-syntax.xsl",line:"230",as:"NE",diag:"0|0||f:isTopLevel",C:[{N:"dot",flags:"a"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}, -{N:"gVarRef",name:"Q{}XSL-ignore",bSlot:"15"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary", -C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",eval:"16 16",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" is not a known XSLT element and has no xsl:fallback child"}]},{N:"treat",as:"N",diag:"0|1||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]},{N:"true"},{N:"treat",line:"233",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"17",eval:"16 16",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" is not a known XSLT element"}]},{N:"treat",as:"N",diag:"0|1||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]}]}]}]},{N:"co",id:"228",binds:"",C:[{N:"globalVariable",name:"Q{}support-XSLT4",as:"1AB",line:"170",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"true"}]}]},{N:"co",id:"229",binds:"78",C:[{N:"function",name:"Q{MyFunctions}check-sort", -line:"247",module:"lib.xsl",eval:"7",flags:"pU",as:"0",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"255",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}, -{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"check",card:"0",diag:"5|0|XTTE0780|f:check-sort#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",eval:"16 1",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:sort+ must be the first children of "},{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"}, -{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"230",binds:"",C:[{N:"globalVariable",name:"Q{}html-ascii-case-insensitive.collation",as:"1AU",line:"28",module:"sorting.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"atomic",val:"http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensitive",type:"AU"}]}]},{N:"co",id:"51",binds:"",C:[{N:"function",name:"Q{MyFunctions}has-uniform-static-context",line:"153",module:"namespaces.xsl", -eval:"16",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}element",as:"1N"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"157","var":"Q{http://saxon.sf.net/generated-variable}cc187749347",as:"*NE",slot:"1",eval:"4",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}element",slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"and",line:"160",op:"and", -C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",line:"156",name:"empty",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}element",slot:"0"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]},{N:"fn",line:"157",name:"empty",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}cc187749347", -slot:"1"},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]},{N:"ifCall",line:"133",name:"Q{http://saxon.sf.net/}has-uniform-namespaces",type:"1AB",C:[{N:"treat",as:"NE",diag:"0|0||saxon:has-uniform-namespaces",C:[{N:"varRef",line:"155",name:"Q{}element",slot:"0"}]}]}]},{N:"fn",line:"159",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"varRef", -name:"Q{http://saxon.sf.net/generated-variable}cc187749347",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}]}]},{N:"co",id:"169",binds:"",C:[{N:"globalParam",name:"Q{}options",as:"1FM",line:"181",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",C:[{N:"map",size:"0"}]}]},{N:"co",id:"231",binds:"",C:[{N:"globalVariable",name:"Q{}nodeTypeMap",as:"1FM k[AS] v[1ADI]",line:"573",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map", -size:"11",C:[{N:"str",val:"text"},{N:"int",val:"3"},{N:"str",val:"processing-instruction"},{N:"int",val:"7"},{N:"str",val:"document_fragment"},{N:"int",val:"11"},{N:"str",val:"namespace-node"},{N:"int",val:"13"},{N:"str",val:"document-node"},{N:"int",val:"9"},{N:"str",val:"document"},{N:"int",val:"9"},{N:"str",val:"namespace"},{N:"int",val:"13"},{N:"str",val:"attribute"},{N:"int",val:"2"},{N:"str",val:"element"},{N:"int",val:"1"},{N:"str",val:"document_type"},{N:"int",val:"10"},{N:"str",val:"comment"}, -{N:"int",val:"8"}]}]}]},{N:"co",id:"232",binds:"",C:[{N:"function",name:"Q{MyTypes}isAtomic",line:"458",module:"type.xsl",eval:"16",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"460","var":"Q{}alphaCode",slot:"1",eval:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]},{N:"or",line:"461", -op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]},{N:"str",val:""}]},{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"}]}]}]}]},{N:"str",val:"A"}]}]}]}]}]},{N:"co",id:"233",binds:"",C:[{N:"globalVariable", -name:"Q{}on-no-match",as:"1FM k[AS] v[1AS]",line:"27",module:"rules.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"6",C:[{N:"str",val:"deep-skip"},{N:"str",val:"DS"},{N:"str",val:"shallow-copy"},{N:"str",val:"SC"},{N:"str",val:"text-only-copy"},{N:"str",val:"TC"},{N:"str",val:"deep-copy"},{N:"str",val:"DC"},{N:"str",val:"shallow-skip"},{N:"str",val:"SS"},{N:"str",val:"fail"},{N:"str",val:"FF"}]}]}]},{N:"co",id:"124",binds:"",C:[{N:"globalVariable",name:"Q{}compiler.version",as:"1ND",line:"192", -module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"doc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"192",flags:"t",text:"1.0.9",C:[{N:"valueOf",flags:"Sl",C:[{N:"str",val:"1.0.9"}]}]}]}]},{N:"co",id:"234",binds:"",C:[{N:"function",name:"Q{MyFunctions}is-aliased-name",line:"572",module:"creating-new-nodes.xsl",eval:"8",flags:"pU",as:"1AB",slots:"2", -C:[{N:"arg",name:"Q{}original-name",as:"1AQ"},{N:"arg",name:"Q{}namespace-aliases",as:"1FM"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"577",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"fn",line:"576",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name", -slot:"0"}]}]}]}]},{N:"co",id:"178",binds:"",C:[{N:"mode",name:"Q{}exportNS",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"301",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"1562",module:"xpath.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"compElem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1563",C:[{N:"fn",role:"name",name:"local-name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",role:"namespace",val:"http://ns.saxonica.com/xslt/export"},{N:"applyT",role:"content",line:"1564",flags:"c",bSlot:"-1",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"namespace",nodeTest:"NN"},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"302",part:"3",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}ns", -flags:"s",line:"1567",module:"xpath.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}ns"},{N:"p.nodeTest",test:"NE nQ{}gVarRef"}]},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"302",part:"2",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}ns",flags:"s",line:"1567",module:"xpath.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}ns"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"}]}, -{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"302",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}ns",flags:"s",line:"1567",module:"xpath.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}ns"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"302",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{}ns",flags:"s",line:"1567",module:"xpath.xsl", -C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}ns"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}int"}]},{N:"empty",role:"action"}]}]}]},{N:"co",id:"235",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_STRING",as:"1FM k[AS] v[1AS]",line:"25",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"AS"}]}]}]},{N:"co",id:"176",binds:"",C:[{N:"globalVariable", -name:"Q{}ST.MULTIPLE_ATOMIC",as:"1FM k[AS] v[1AS]",line:"15",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]},{N:"co",id:"236",binds:"",C:[{N:"function",name:"Q{MyTypes}allowsZeroNEW",line:"131",module:"type.xsl",eval:"8",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"1AS"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"66",name:"contains",C:[{N:"choose",C:[{N:"compareToString",line:"133",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z1M"},{N:"compareToString",line:"133",op:"eq",val:"+",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",line:"133",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"1"},{N:"compareToString",line:"133",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z1"},{N:"compareToString", -line:"133",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"str",val:"Z"}]}]}]},{N:"co",id:"171",binds:"102 107",C:[{N:"mode",name:"Q{}pattern-priority",onNo:"FF",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"303",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"22",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"22",flags:"S",C:[{N:"str",val:"0"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"308",part:"3",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.genPos",flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.genPos"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"307",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent",flags:"s",line:"31",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withCurrent"},{N:"applyT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"32",flags:"ct",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"305",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate",flags:"s",line:"29",module:"pattern.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"29",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}code",chk:"0"}]},{N:"str",val:""}]}]},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"29",flags:"S",C:[{N:"str",val:"1"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"308",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate", -flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withPredicate"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"308",part:"5",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.simPos", -flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.simPos"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"308",part:"2",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.genNode", -flags:"s",line:"34",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.genNode"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"304",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.booleanExp", -flags:"s",line:"28",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.booleanExp"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"28",flags:"S",C:[{N:"str",val:"1"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"310",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn", -flags:"s",line:"57",module:"pattern.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"57",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"intersect"},{N:"str",val:"except"}]},{N:"attVal",name:"Q{}op",chk:"0"}]}]},{N:"applyT", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"58",flags:"ct",bSlot:"-1",C:[{N:"first",role:"select",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn",flags:"s",line:"37",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match", -test:"NE nQ{http://ns.saxonica.com/xslt/export}p.venn"},{N:"fn",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",name:"string",C:[{N:"ufCall",line:"39",name:"Q{MyFunctions}nodeTestPriority",tailCall:"false",bSlot:"0",eval:"16",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"ufCall",name:"Q{MyTypes}marshalType", -tailCall:"false",bSlot:"1",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]}]}]},{N:"true"},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"int",val:"1"},{N:"str",val:"p"},{N:"str",val:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"308",part:"4",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeSet",flags:"s",line:"34",module:"pattern.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeSet"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"306",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.any",flags:"s",line:"30",module:"pattern.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.any"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"30",flags:"S",C:[{N:"str",val:"-1"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"308",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper",flags:"s",line:"34", -module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.withUpper"},{N:"valueOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"34",flags:"S",C:[{N:"str",val:"0.5"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"309",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeTest",flags:"s", -line:"37",module:"pattern.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://ns.saxonica.com/xslt/export}p.nodeTest"},{N:"fn",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",name:"string",C:[{N:"ufCall",line:"39",name:"Q{MyFunctions}nodeTestPriority",tailCall:"false",bSlot:"0",eval:"16",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}test"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"1",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"}]}]}]}]},{N:"true"},{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"int",val:"1"},{N:"str",val:"p"},{N:"str",val:"N"}]}]}]}]}]}]}]},{N:"co",id:"237",binds:"",C:[{N:"function",name:"Q{MyFunctions}has-uniform-namespaces",line:"131",module:"namespaces.xsl", -eval:"8",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}element",as:"1N"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"133",name:"Q{http://saxon.sf.net/}has-uniform-namespaces",type:"1AB",C:[{N:"treat",as:"NE",diag:"0|0||saxon:has-uniform-namespaces",C:[{N:"varRef",name:"Q{}element",slot:"0"}]}]}]}]},{N:"co",id:"238",binds:"239 46 210",C:[{N:"template", -name:"Q{}compileXSLTschema",flags:"os",line:"332",module:"XSLT-syntax.xsl",slots:"0",C:[{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"333",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"sequence",line:"334",C:[{N:"att",name:"version",flags:"l",C:[{N:"str",val:"3.0"}]},{N:"namespace",line:"335",flags:"l",C:[{N:"str",role:"name",val:"f"}, -{N:"str",role:"select",val:"MyFunctions"}]},{N:"comment",line:"336",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1568450200",bSlot:"0"}]},{N:"elem",line:"337",name:"xsl:variable",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",line:"338",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"xslt.schema"}]},{N:"att",line:"339",name:"select",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"ufCall",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"1", -eval:"1",C:[{N:"gVarRef",name:"Q{}xslt.schema",bSlot:"2"}]},{N:"str",val:" "}]}]}]}]}]}]}]}]},{N:"co",id:"240",binds:"",C:[{N:"function",name:"Q{MyTypes}isNumericType",line:"441",module:"type.xsl",eval:"16",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"443","var":"Q{}alphaCode",as:"1AS",slot:"1",eval:"16",C:[{N:"treat", -as:"AS",diag:"0|0||t:isNumeric",C:[{N:"check",card:"1",diag:"0|0||t:isNumeric",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:isNumeric",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"base"}]}]}]}]}]},{N:"or",line:"438",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef", -name:"Q{}alphaCode",slot:"1"},{N:"str",val:"AF"}]}]}]}]}]},{N:"co",id:"64",binds:"13 13",C:[{N:"function",name:"Q{MyTypes}unmarshalType0",line:"74",module:"sequenceType.xsl",eval:"8",flags:"pU",as:"1AS",slots:"3",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"cvUntyped",role:"body",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"78",to:"AS",diag:"5|0|XTTE0780|t:unmarshalType0#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"o"}]},{N:"str",val:"1"}]}]}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"p"}]}]},{N:"str",val:" "}]}]},{N:"forEach",line:"79",C:[{N:"filter",flags:"b",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys", -type:"*A",C:[{N:"varRef",name:"Q{}type",slot:"0"}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"literal",count:"2",C:[{N:"str",val:"o"},{N:"str",val:"p"}]},{N:"dot",type:"1A"}]}]}]},{N:"let",line:"80","var":"Q{}key",as:"1",slot:"1",eval:"16",C:[{N:"dot",type:"1A"},{N:"let",line:"81","var":"Q{}value",slot:"2",eval:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}type", -slot:"0"},{N:"varRef",name:"Q{}key",slot:"1"}]},{N:"choose",line:"84",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"literal",count:"3",C:[{N:"str",val:"n"},{N:"str",val:"c"},{N:"str",val:"t"}]},{N:"varRef",name:"Q{}key",slot:"1"}]},{N:"valueOf",line:"94",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}key",slot:"1"},{N:"choose",C:[{N:"instance",of:"1FM",C:[{N:"varRef",name:"Q{}value",slot:"2"}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"lookup", -C:[{N:"varRef",name:"Q{}value",slot:"2"},{N:"str",val:"code"}]}]},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}value",slot:"2"}]}]},{N:"str",val:" "}]}]},{N:"gc",line:"96",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"literal",count:"4",C:[{N:"str",val:"k"},{N:"str",val:"r"},{N:"str",val:"v"},{N:"str",val:"e"}]},{N:"varRef",name:"Q{}key",slot:"1"}]},{N:"valueOf",line:"97",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}key",slot:"1"}, -{N:"str",val:"["},{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"16",C:[{N:"treat",as:"FM",diag:"0|0||t:unmarshalType",C:[{N:"check",card:"1",diag:"0|0||t:unmarshalType",C:[{N:"varRef",name:"Q{}value",slot:"2"}]}]}]},{N:"str",val:"] "}]}]},{N:"gc",line:"99",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"literal",count:"2",C:[{N:"str",val:"a"},{N:"str",val:"u"}]},{N:"varRef",name:"Q{}key",slot:"1"}]},{N:"sequence",line:"102", -C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}key",slot:"1"},{N:"str",val:"["}]}]},{N:"valueOf",line:"103",C:[{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"choose",line:"101",C:[{N:"instance",of:"1FA",C:[{N:"varRef",name:"Q{}value",slot:"2"}]},{N:"lookupAll",C:[{N:"varRef",name:"Q{}value",slot:"2"}]},{N:"true"},{N:"varRef",name:"Q{}value",slot:"2"}]},{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"1",eval:"16",C:[{N:"treat",as:"FM",diag:"0|0||t:unmarshalType", -C:[{N:"dot"}]}]}]},{N:"str",val:","}]}]},{N:"valueOf",line:"104",C:[{N:"str",val:"] "}]}]}]}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]},{N:"co",id:"241",binds:"40",C:[{N:"template",name:"Q{}parameters",flags:"os",line:"1551",module:"XSLT-SEF-compiler.xsl",slots:"0",C:[{N:"applyT",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1552",mode:"Q{}sef", -flags:"t",bSlot:"0",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]}]},{N:"co",id:"242",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_DOCUMENT",as:"1FM k[AS] v[1AS]",line:"30",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"ND"}]}]}]},{N:"co",id:"243",binds:"", -C:[{N:"globalVariable",name:"Q{MyTypes}MANY",as:"1ADI",line:"103",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"4"}]}]},{N:"co",id:"244",binds:"",C:[{N:"globalVariable",name:"Q{MyTypes}ONE",as:"1ADI",line:"102",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co",id:"188",binds:"",C:[{N:"globalVariable",name:"Q{}top-level-declarations",as:"+NE",line:"239",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"240",C:[{N:"elem",name:"accumulator",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"241",name:"attribute-set",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"242",name:"character-map",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"243",name:"decimal-format",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"244",name:"function",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"245",name:"global-context-item",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"246",name:"import",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"247",name:"import-schema", -nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"248",name:"include",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"249",name:"key",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"250",name:"mode",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"251",name:"namespace-alias",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"252",name:"output",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"253",name:"param",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"254",name:"preserve-space",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"255",name:"strip-space", -nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"256",name:"template",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"257",name:"use-package",nsuri:"",C:[{N:"empty"}]},{N:"elem",line:"258",name:"variable",nsuri:"",C:[{N:"empty"}]}]}]}]},{N:"co",id:"245",binds:"",C:[{N:"globalVariable",name:"Q{}errorsAsMessages",as:"1AB",line:"187",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"126",binds:"13 242",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_DOCUMENT",as:"1AS",line:"48", -module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"48",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_DOCUMENT",bSlot:"1"}]}]}]},{N:"co",id:"125",binds:"",C:[{N:"template",name:"Q{}record-location",flags:"os",as:"*NA",line:"1542",module:"XSLT-SEF-compiler.xsl",slots:"0",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1543",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}]},{N:"att",line:"1544",name:"line",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}lineNr",chk:"0"}]}]}]}]},{N:"choose",line:"1546",C:[{N:"fn",name:"exists", -C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"att",line:"1547",name:"module",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri",chk:"0"}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]}]}]}]}]},{N:"co", -id:"246",binds:"",C:[{N:"globalVariable",name:"Q{}COMPILE_GLOBAL",as:"1AB",line:"104",module:"xpath.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"75",binds:"3 3 3 3 84 3 194 225 3 3 3 78 78 3 3 3 77 78 3 3 3 41 230 3 3 3 34 34 3 26 3 78 78 3 3 78 3 78 3 78 3 3 78 3 77 3 3 78 78 3 210 209 34 3 3 3 33 194 34 3 33 3 247 3 3 3 194 194 3 3 3 3 193 3 3 3 3 193 193 34 34 3 33 192 33 3 3 3 175 13 194 3 33 3 33 192 3 3 3 3 3 3 33 33 3 3 141 194 3 141 194 164 141 194 194 141 141 194 3 194 194", -C:[{N:"mode",name:"Q{}normalize",onNo:"SC",flags:"W",patternSlots:"1",C:[{N:"templateRule",prec:"0",prio:"5.01",seq:"329",rank:"16",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"25",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"25",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"26",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"31",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}xpath-default-namespace",flags:"t",as:"1NA",C:[{N:"att",line:"29",name:"xpath-default-namespace",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"5.0",seq:"324",rank:"15",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param", -name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"32", -rank:"14",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"39",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"39",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}type"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"40",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",eval:"0 0 16",C:[{N:"str",val:"XTSE1660"},{N:"str",val:"Attribute @[xsl:]type is not allowed (SaxonJS is not schema-aware)"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:type"}]}]},{N:"nextMatch",line:"41",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"32",rank:"14",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s", -line:"39",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"39",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"40",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",eval:"0 0 16",C:[{N:"str",val:"XTSE1660"},{N:"str",val:"Attribute @[xsl:]type is not allowed (SaxonJS is not schema-aware)"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:type"}]}]},{N:"nextMatch",line:"41",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"3.2",seq:"37",rank:"13",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"145",module:"normalize.xsl",C:[{N:"p.withPredicate", -role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"145",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{http://www.w3.org/XML/1998/namespace}space",chk:"0"}]},{N:"str",val:"preserve"}]}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"146",flags:"t",C:[{N:"withParam",name:"Q{}xml-space-preserve",flags:"t",as:"1AB",C:[{N:"true"}]}]}]},{N:"templateRule",prec:"0",prio:"3.2",seq:"33",rank:"13",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"45",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"45",flags:"b", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}validation"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"strip"},{N:"str",val:"preserve"},{N:"str",val:"lax"}]},{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}validation"}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"47",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",eval:"0 16 16",C:[{N:"str",val:"XTSE1660"},{N:"fn",name:"concat",C:[{N:"str",val:"Attribute @[xsl:]validation with value "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:validation"}]},{N:"str",val:" is not allowed (SaxonJS is not schema-aware)"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:validation"}]}]},{N:"nextMatch",line:"48", -flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"3.2",seq:"33",rank:"13",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"45",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"45",flags:"b",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}validation"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"strip"},{N:"str",val:"preserve"},{N:"str",val:"lax"}]},{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}validation"}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"47",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"1",eval:"0 16 16",C:[{N:"str",val:"XTSE1660"},{N:"fn",name:"concat",C:[{N:"str",val:"Attribute @[xsl:]validation with value "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:validation"}]},{N:"str",val:" is not allowed (SaxonJS is not schema-aware)"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:validation"}]}]},{N:"nextMatch",line:"48",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"34", -rank:"12",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"53",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"53",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-validation"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1", -comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"strip"},{N:"str",val:"preserve"},{N:"str",val:"lax"}]},{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-validation"}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"55",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"2", -eval:"0 16 16",C:[{N:"str",val:"XTSE1660"},{N:"fn",name:"concat",C:[{N:"str",val:"Attribute @[xsl:]default-validation with value "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:default-validation"}]},{N:"str",val:" is not allowed (SaxonJS is not schema-aware)"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:default-validation"}]}]},{N:"nextMatch",line:"56",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"34", -rank:"12",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"53",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"53",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-validation"}, -{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"strip"},{N:"str",val:"preserve"},{N:"str",val:"lax"}]},{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}default-validation"}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"55",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"2",eval:"0 16 16",C:[{N:"str",val:"XTSE1660"},{N:"fn",name:"concat",C:[{N:"str",val:"Attribute @[xsl:]default-validation with value "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:default-validation"}]},{N:"str",val:" is not allowed (SaxonJS is not schema-aware)"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA n*:default-validation"}]}]},{N:"nextMatch",line:"56",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"3.0", -seq:"35",rank:"11",minImp:"0",slots:"4",matches:"NE",flags:"s",line:"59",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"59",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"60",C:[{N:"param",name:"Q{}extension-element-namespaces",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"data",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"let",line:"61","var":"Q{}att",as:"?NA",slot:"1",eval:"7",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]},{N:"let",line:"64","var":"Q{}context",as:"1",slot:"2",eval:"16",C:[{N:"dot",type:"1NE",flags:"a"},{N:"nextMatch",line:"88",flags:"t",C:[{N:"withParam",name:"Q{}extension-element-namespaces",flags:"t",as:"*AS",C:[{N:"sequence",line:"89",C:[{N:"varRef",name:"Q{}extension-element-namespaces",slot:"0"},{N:"treat",line:"65",as:"AS",diag:"3|0|XTTE0570|uris",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|uris", -C:[{N:"data",diag:"3|0|XTTE0570|uris",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"varRef",name:"Q{}att",slot:"1"}]}]}]},{N:"let",line:"75","var":"Q{}uri",as:"?AS",slot:"3",eval:"8",C:[{N:"convert",from:"AU",to:"AS",diag:"3|0|XTTE0570|uri",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"choose",line:"74",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1AS"}, -{N:"str",val:"#default"}]},{N:"str",val:""},{N:"true"},{N:"dot",type:"1AS"}]},{N:"varRef",name:"Q{}context",slot:"2"}]}]},{N:"sequence",line:"76",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}uri",slot:"3"}]},{N:"ufCall",line:"77",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"3",eval:"0 16 16",C:[{N:"str",val:"XTSE1430"},{N:"fn",name:"concat",C:[{N:"str",val:"Extension element prefix "},{N:"dot",type:"1AS"},{N:"str",val:" is not bound to any URI"}]},{N:"check",card:"1", -diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}att",slot:"1"}]}]}]},{N:"choose",line:"79",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}reserved-namespaces",bSlot:"4"},{N:"varRef",name:"Q{}uri",slot:"3"}]},{N:"ufCall",line:"82",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"5",eval:"0 16 16",C:[{N:"str",val:"XTSE0085"},{N:"fn",name:"concat",C:[{N:"str",val:"Extension element prefix "},{N:"dot",type:"1AS"},{N:"str",val:" cannot be bound to the reserved namespace "}, -{N:"varRef",name:"Q{}uri",slot:"3"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}att",slot:"1"}]}]}]},{N:"varRef",line:"84",name:"Q{}uri",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.0",seq:"35",rank:"11",minImp:"0",slots:"4",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"59",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"59",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"60",C:[{N:"param",name:"Q{}extension-element-namespaces",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"cvUntyped",to:"AS", -diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"data",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"let",line:"61","var":"Q{}att",as:"?NA",slot:"1",eval:"7",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]},{N:"let",line:"64","var":"Q{}context",as:"1",slot:"2",eval:"16",C:[{N:"dot", -type:"1NE",flags:"a"},{N:"nextMatch",line:"88",flags:"t",C:[{N:"withParam",name:"Q{}extension-element-namespaces",flags:"t",as:"*AS",C:[{N:"sequence",line:"89",C:[{N:"varRef",name:"Q{}extension-element-namespaces",slot:"0"},{N:"treat",line:"65",as:"AS",diag:"3|0|XTTE0570|uris",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|uris",C:[{N:"data",diag:"3|0|XTTE0570|uris",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"varRef",name:"Q{}att", -slot:"1"}]}]}]},{N:"let",line:"75","var":"Q{}uri",as:"?AS",slot:"3",eval:"8",C:[{N:"convert",from:"AU",to:"AS",diag:"3|0|XTTE0570|uri",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"choose",line:"74",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1AS"},{N:"str",val:"#default"}]},{N:"str",val:""},{N:"true"},{N:"dot",type:"1AS"}]},{N:"varRef",name:"Q{}context",slot:"2"}]}]},{N:"sequence",line:"76",C:[{N:"choose",C:[{N:"fn",name:"empty", -C:[{N:"varRef",name:"Q{}uri",slot:"3"}]},{N:"ufCall",line:"77",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"3",eval:"0 16 16",C:[{N:"str",val:"XTSE1430"},{N:"fn",name:"concat",C:[{N:"str",val:"Extension element prefix "},{N:"dot",type:"1AS"},{N:"str",val:" is not bound to any URI"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}att",slot:"1"}]}]}]},{N:"choose",line:"79",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}reserved-namespaces", -bSlot:"4"},{N:"varRef",name:"Q{}uri",slot:"3"}]},{N:"ufCall",line:"82",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"5",eval:"0 16 16",C:[{N:"str",val:"XTSE0085"},{N:"fn",name:"concat",C:[{N:"str",val:"Extension element prefix "},{N:"dot",type:"1AS"},{N:"str",val:" cannot be bound to the reserved namespace "},{N:"varRef",name:"Q{}uri",slot:"3"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}att",slot:"1"}]}]}]},{N:"varRef",line:"84",name:"Q{}uri",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"1.6",seq:"40",rank:"8",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"205",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"205",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"nextMatch",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"206",flags:"t",C:[{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"let",line:"215","var":"Q{}mode",slot:"0",eval:"7",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]},{N:"choose", -C:[{N:"compareToString",op:"eq",val:"#unnamed",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"varRef",name:"Q{}mode",slot:"0"}]}]}]}]},{N:"str",val:"#unnamed"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"6",eval:"16 16 0",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"varRef",name:"Q{}mode",slot:"0"}]}]}]},{N:"dot",type:"1NE",flags:"a"},{N:"str", -val:"XTSE0020"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.6",seq:"40",rank:"8",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"205",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"205", -name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"206",flags:"t",C:[{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"let",line:"215","var":"Q{}mode",slot:"0",eval:"7",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]},{N:"choose",C:[{N:"compareToString",op:"eq",val:"#unnamed",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"varRef",name:"Q{}mode",slot:"0"}]}]}]}]},{N:"str",val:"#unnamed"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"6",eval:"16 16 0",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName", -C:[{N:"varRef",name:"Q{}mode",slot:"0"}]}]}]},{N:"dot",type:"1NE",flags:"a"},{N:"str",val:"XTSE0020"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"39",rank:"7",minImp:"0",slots:"2",matches:"NE",flags:"s",line:"182",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"182", -name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"184",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"}]},{N:"nextMatch",line:"185",flags:"t"},{N:"true"},{N:"let",line:"189","var":"Q{}rawValue",as:"1AS",slot:"0", -eval:"8",C:[{N:"fn",name:"replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]}]},{N:"str",val:"^\\+"},{N:"str",val:""},{N:"str",val:""}]},{N:"let",line:"196","var":"Q{}version",as:"1AD",slot:"1",eval:"16",C:[{N:"choose",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"varRef",name:"Q{}rawValue",slot:"0"}]}, -{N:"cast",flags:"a",as:"1AD",C:[{N:"varRef",name:"Q{}rawValue",slot:"0"}]},{N:"true"},{N:"dec",val:"3"}]},{N:"nextMatch",line:"197",flags:"t",C:[{N:"withParam",name:"Q{}XSLT-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"198",name:"Q{}version",slot:"1"}]},{N:"withParam",name:"Q{}forward-compatibility-mode",flags:"t",as:"1AB",C:[{N:"vc",line:"199",op:"gt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"1"},{N:"dec",val:"3"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"39",rank:"7", -minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"182",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"182",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"184",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"}]},{N:"nextMatch",line:"185",flags:"t"},{N:"true"},{N:"let",line:"189","var":"Q{}rawValue",as:"1AS",slot:"0",eval:"8",C:[{N:"fn",name:"replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]}]}, -{N:"str",val:"^\\+"},{N:"str",val:""},{N:"str",val:""}]},{N:"let",line:"196","var":"Q{}version",as:"1AD",slot:"1",eval:"16",C:[{N:"choose",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"varRef",name:"Q{}rawValue",slot:"0"}]},{N:"cast",flags:"a",as:"1AD",C:[{N:"varRef",name:"Q{}rawValue",slot:"0"}]},{N:"true"},{N:"dec",val:"3"}]},{N:"nextMatch",line:"197",flags:"t",C:[{N:"withParam",name:"Q{}XSLT-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"198",name:"Q{}version",slot:"1"}]},{N:"withParam",name:"Q{}forward-compatibility-mode", -flags:"t",as:"1AB",C:[{N:"vc",line:"199",op:"gt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"1"},{N:"dec",val:"3"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.2",seq:"36",rank:"6",minImp:"0",slots:"2",matches:"NE",flags:"s",line:"93",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"94",C:[{N:"param",name:"Q{}extension-element-namespaces",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"data",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"choose",line:"97",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}, -{N:"let",line:"98","var":"Q{}possible-fallbacks",as:"*NE",slot:"1",eval:"9",C:[{N:"callT",line:"99",name:"Q{}check-syntax-primary",bSlot:"7"},{N:"choose",line:"102",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}possible-fallbacks",slot:"1"},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}ignore"}]}]},{N:"message",line:"103",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"IGNORING "},{N:"fn",name:"serialize",C:[{N:"dot", -type:"1NE",flags:"a"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"fn",line:"105",name:"exists",C:[{N:"varRef",name:"Q{}possible-fallbacks",slot:"1"}]},{N:"applyT",line:"107",flags:"ct",bSlot:"-1",C:[{N:"conditionalSort",role:"select",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}possible-fallbacks",slot:"1"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"varRef", -name:"Q{}possible-fallbacks",slot:"1"},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]}]}]},{N:"true"},{N:"nextMatch",line:"110",flags:"t"}]}]},{N:"and",line:"118",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}extension-element-namespaces",slot:"0"}]},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}extension-element-namespaces",slot:"0"},{N:"fn",name:"namespace-uri", -C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"fn",name:"not",C:[{N:"slash",line:"769",C:[{N:"dot",line:"118",type:"1NE",flags:"a"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]},{N:"choose",line:"120",C:[{N:"compareToString",op:"eq",val:"http://saxon.sf.net/",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NE", -flags:"a"}]}]},{N:"nextMatch",line:"122",flags:"t"},{N:"compareToString",line:"124",op:"eq",val:"http://saxonica.com/ns/interactiveXSLT",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"nextMatch",line:"126",flags:"t"},{N:"fn",line:"128",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]},{N:"elem",line:"129",name:"xsl:sequence",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"att",line:"130",name:"select",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"error(QName('http://www.w3.org/2005/xqt-errors', 'XTDE1450'), 'Extension element "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:"\n must contain at least one xsl:fallback child')"}]}]}]}]}]},{N:"true"},{N:"applyT",line:"135",flags:"ct",bSlot:"-1",C:[{N:"slash",role:"select",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}, -{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]}]},{N:"true"},{N:"nextMatch",line:"140",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"119",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"912",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"912",name:"attribute",nodeTest:"NA nQ{}for-each-item"}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"912",name:"attribute",nodeTest:"NA nQ{}for-each-source"}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"913", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"8",eval:"0 0 16",C:[{N:"str",val:"XTSE3195"},{N:"str",val:"xsl:merge-source cannot contain both @for-each-item and @for-each-source"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"117",rank:"3",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"909",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match", -C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"909",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"910",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"9",eval:"0 16 16",C:[{N:"str",val:"XTSE3190"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:merge-source siblings cannot have the same name:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"86",rank:"5",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}output", -flags:"s",line:"627",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"627",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}build-tree"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"628","var":"Q{}temp",as:"1NE",slot:"0",eval:"16",C:[{N:"treat",line:"629",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"forEach",line:"631",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"copy",line:"633",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"compAtt",line:"634",flags:"l",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"convert", -role:"namespace",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",role:"select",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"axis",line:"638",name:"child",nodeTest:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.5",seq:"31",rank:"10",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}if",flags:"s",line:"39",module:"normalize4.xsl",C:[{N:"p.withPredicate", -role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}if"},{N:"and",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"39",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}then"}]},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"axis",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}fallback]"},{N:"filter", -flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"40",C:[{N:"param",name:"Q{}allowSyntaxExtensions",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion", -slot:"0"}]},{N:"choose",line:"42",C:[{N:"varRef",name:"Q{}allowSyntaxExtensions",slot:"0"},{N:"ufCall",line:"43",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"10",eval:"0 16 16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}if",flags:"a"}]},{N:"str",val:" cannot have both @then and content"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}if",flags:"a"}]},{N:"true"},{N:"nextMatch", -line:"46",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"120",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action",flags:"s",line:"916",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"916",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action"}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"917",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",eval:"0 16",C:[{N:"str",val:"xsl:merge must have exactly one xsl:merge-action child"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule", -prec:"0",prio:"1.0",seq:"115",rank:"5",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback",flags:"s",line:"901",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"901",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"},{N:"fn",name:"not",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge"}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"902",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"12",eval:"0 16",C:[{N:"str",val:"xsl:fallback must be the last children of xsl:merge"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}fallback",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"92",part:"1",rank:"3",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates",flags:"s",line:"699",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"}, -{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"699",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"700",C:[{N:"param",name:"Q{}default-mode",slot:"0", -flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"let",line:"701","var":"Q{}temp",as:"1NE",slot:"1",eval:"16",C:[{N:"treat",line:"702",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch", -flags:"i"}]}]},{N:"forEach",line:"704",C:[{N:"varRef",name:"Q{}temp",slot:"1"},{N:"copy",line:"706",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"707",name:"mode",flags:"l",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-mode",slot:"0"},{N:"str",val:"#unnamed"}]}]}]},{N:"axis",line:"708",name:"child",nodeTest:"N"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5", -seq:"77",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode",flags:"s",line:"574",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"574",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, -{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"576",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}mode",C:[{N:"sequence",role:"content",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"#unnamed"}]},{N:"applyT",line:"577",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA"}]}]}]}]},{N:"templateRule",prec:"0", -prio:"0.0",seq:"135",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}use-package",flags:"s",line:"987",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}use-package"},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"988",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"13",eval:"0 0 16",C:[{N:"str",val:"XTSE3000"},{N:"str",val:"xsl:use-package - not currently supported"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}use-package",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"2.5",seq:"30",rank:"10",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}when",flags:"s",line:"27",module:"normalize4.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}when"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"27","var":"Q{}instruction",as:"1NE",slot:"0",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}when"},{N:"and",line:"24",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}instruction",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"fn",name:"exists",C:[{N:"slash",C:[{N:"varRef",name:"Q{}instruction",slot:"0"},{N:"sequence",C:[{N:"axis",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}fallback]"}, -{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"28",C:[{N:"param",name:"Q{}allowSyntaxExtensions",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied", -role:"conversion",slot:"0"}]},{N:"choose",line:"30",C:[{N:"varRef",name:"Q{}allowSyntaxExtensions",slot:"0"},{N:"ufCall",line:"31",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",eval:"0 16 16",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" cannot have both @select and content"}]},{N:"dot",type:"1NE",flags:"a"}]},{N:"true"},{N:"nextMatch",line:"34",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"131", -rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"s",line:"971",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"971",name:"attribute",nodeTest:"NA nQ{}select"}]}, -{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"971",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"972", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",eval:"0 16 16",C:[{N:"str",val:"XTSE1040"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"a"}]},{N:"str",val:" with @select must have no sequence constructor"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"98",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose", -flags:"s",line:"831",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"831",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}when"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"832",name:"Q{MyFunctions}missingChild",tailCall:"false",bSlot:"16",eval:"16 0",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}choose",flags:"a"},{N:"str",val:"xsl:when"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"97",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose",flags:"s",line:"828",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"828",name:"exists",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"829",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",eval:"0 16",C:[{N:"str",val:"xsl:choose may only have one xsl:otherwise child"},{N:"dot", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}choose",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"108",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"s",line:"868",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"868",name:"attribute",nodeTest:"NA nQ{}collation"}]},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"868",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-starting-with"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-ending-with"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"871",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"18",eval:"0 16 16",C:[{N:"str",val:"XTSE1090"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"a"}]},{N:"str",val:" may not have @collation with @"},{N:"slash",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}group-starting-with,NA nQ{}group-ending-with]"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group", -flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"107",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"s",line:"863",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"863",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}bind-group"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}bind-grouping-key"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"866",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",eval:"0 16 16",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"a"}]},{N:"str",val:" no longer supports "},{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}bind-group,NA nQ{}bind-grouping-key]"},{N:"fn",name:"concat",C:[{N:"str",val:"@"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:" or "}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"106", -rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"s",line:"858",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"},{N:"compareToInt",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"858",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn", -name:"subsequence",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA u[NA u[NA nQ{}group-by,NA nQ{}group-starting-with],NA nQ{}group-ending-with],NA nQ{}group-adjacent]"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"861",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"20",eval:"0 16 16",C:[{N:"str", -val:"XTSE1080"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"a"}]},{N:"str",val:" must have exactly one of @group-by|@group-starting-with|@group-ending-with|@group-adjacent"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"113",rank:"3",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"s",line:"893", -module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"893",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"},{N:"fn",name:"not",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}uri",as:"1AS",slot:"0",eval:"8",C:[{N:"cvUntyped",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",to:"AS",C:[{N:"data",diag:"0|0||f:isKnownCollation",C:[{N:"dot",type:"1NA nQ{}collation"}]}]},{N:"or",module:"sorting.xsl",line:"21",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"gVarRef",name:"Q{}codepoint.collation",bSlot:"21"},{N:"gVarRef",name:"Q{}html-ascii-case-insensitive.collation", -bSlot:"22"}]},{N:"varRef",name:"Q{}uri",slot:"0"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}uri",slot:"0"},{N:"str",val:"http://www.w3.org/2013/collation/UCA"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"895",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"23",eval:"0 16 16",C:[{N:"str",val:"XTSE1210"},{N:"fn", -name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"a"}]},{N:"str",val:" uses unknown collation: "},{N:"data",diag:"0|2||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"112",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}key", -flags:"s",line:"890",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"890",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]}]},{N:"ufCall",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"891",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"24",eval:"0 16 16",C:[{N:"str",val:"XTSE1205"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" must have just one of @use or content"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"112", -rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"s",line:"890",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"890",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"axis", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"890",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"891",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"24",eval:"0 16 16", -C:[{N:"str",val:"XTSE1205"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" must have just one of @use or content"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"101",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",flags:"s",line:"841",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"841",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"841",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}use",chk:"0"},{N:"str",val:"absent"}]}]},{N:"ufCall", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"842",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"25",eval:"0 16 16",C:[{N:"str",val:"XTSE3089"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",flags:"a"}]},{N:"str",val:" cannot be absent and typed"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item", -flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"59",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",flags:"s",line:"402",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"copy",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"404",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",C:[{N:"sequence",role:"content",C:[{N:"att",name:"use",flags:"l",C:[{N:"str",val:"optional"}]},{N:"applyT",line:"405",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA nQ{http://ns.saxonica.com/xslt/export}*]"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"89",rank:"5",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"664", -module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"664",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"664",name:"not",C:[{N:"fn",name:"matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]},{N:"str",val:"\\?$|\\*$"},{N:"str",val:""}]}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"664",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]}]},{N:"let", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"666","var":"Q{}temp",as:"1NE",slot:"0",eval:"16",C:[{N:"treat",line:"667",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"forEach",line:"669",C:[{N:"varRef",name:"Q{}temp",slot:"0"},{N:"copy",line:"671",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content", -C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"672",name:"ex:implicit-mandatory",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"str",val:"true"}]},{N:"axis",line:"673",name:"child",nodeTest:"N"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"129",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"967",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate", -C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"967",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"967",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"26",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]}]},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"967",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"fn",name:"not",C:[{N:"ufCall", -name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"27",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]}]}]}]}]},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"967",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]},{N:"ufCall",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"968",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"28",eval:"0 16 16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"str",val:"required xsl:param "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:" must not have a default value"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param", -flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"127",rank:"3",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"961",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"961",name:"not",C:[{N:"ufCall",name:"Q{MyFunctions}isTopLevel",tailCall:"false",bSlot:"29",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"961",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC", -C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"962",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"30",eval:"0 16 16",C:[{N:"str",val:"XTSE0580"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:param siblings may not have the same @name: "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"126",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param", -flags:"s",line:"957",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"957",name:"empty",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package],NE nQ{http://www.w3.org/1999/XSL/Transform}template]"}]}]}, -{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"957",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"958",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"31",eval:"16 16",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"str",val:" as a child of "},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]},{N:"str",val:" may only be preceded by "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}, -{N:"str",val:"*"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"125",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"950",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"950",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE"},{N:"fn",name:"not",C:[{N:"union",op:"|",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"953",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"32",eval:"16 16",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"str",val:" as a child of "},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]},{N:"str",val:" may only be preceded by xsl:context-item?, xsl:param*"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]}, -{N:"templateRule",prec:"0",prio:"0.5",seq:"111",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"884",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"884",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"884",name:"empty",C:[{N:"union",op:"|",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"884",name:"not",C:[{N:"or",op:"or",C:[{N:"fn",name:"ends-with",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]}]},{N:"str",val:"?"}]},{N:"fn",name:"ends-with",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]}]},{N:"str",val:"*"}]}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"886",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"33",eval:"0 16 16",C:[{N:"str",val:"XTSE3520"},{N:"fn",name:"concat",C:[{N:"str",val:"Implicitly mandatory parameter $"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:" of xsl:iterate must have a value initialisation"}]}, -{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"elem",line:"887",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"109",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"874",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}, -{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"874",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"875",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"34",eval:"0 0 16",C:[{N:"str",val:"XTSE0760"},{N:"str",val:"A function parameter must have no default value"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"114",rank:"5",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge",flags:"s",line:"898",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge"}, -{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"898",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"899", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"35",eval:"0 16",C:[{N:"str",val:"xsl:merge must have at least one xsl:merge-source child"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"120",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge",flags:"s",line:"916",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge"}, -{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"916",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"917", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",eval:"0 16",C:[{N:"str",val:"xsl:merge must have exactly one xsl:merge-action child"},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"116",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge",flags:"s",line:"904",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge"},{N:"compareToInt",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"904",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"fn",name:"distinct-values",C:[{N:"slash",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key"}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"905",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"36",eval:"0 0 16",C:[{N:"str",val:"XTSE2200"},{N:"str",val:"xsl:merge-source siblings must have the same number of keys"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"2.5",seq:"30",rank:"10",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise",flags:"s",line:"27",module:"normalize4.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"27","var":"Q{}instruction",as:"1NE",slot:"0",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"},{N:"and",line:"24",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}instruction",slot:"0"},{N:"axis", -name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"fn",name:"exists",C:[{N:"slash",C:[{N:"varRef",name:"Q{}instruction",slot:"0"},{N:"sequence",C:[{N:"axis",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}fallback]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"28",C:[{N:"param",name:"Q{}allowSyntaxExtensions",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"choose",line:"30",C:[{N:"varRef",name:"Q{}allowSyntaxExtensions",slot:"0"},{N:"ufCall",line:"31",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",eval:"0 16 16",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" cannot have both @select and content"}]},{N:"dot", -type:"1NE",flags:"a"}]},{N:"true"},{N:"nextMatch",line:"34",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"123",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise",flags:"s",line:"927",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"927",name:"exists",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"928",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"37",eval:"0 16",C:[{N:"str",val:"xsl:otherwise must be the last child of xsl:choose"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise", -flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"137",rank:"3",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"s",line:"995",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"995",flags:"",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"data",diag:"1|1||eq",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"996",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"38",eval:"0 16 16",C:[{N:"str",val:"XTSE0670"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:with-param siblings may not have the same @name: "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"136",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param", -flags:"s",line:"991",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"991",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}with-param,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]}]}, -{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"992",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"39",eval:"0 16",C:[{N:"str",val:"xsl:with-param may only be preceded by (xsl:with-param|xsl:sort)*"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"102",rank:"3", -minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"s",line:"844",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"844",op:"eq",onEmpty:"0", -comp:"CCC",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]}]}]},{N:"str",val:"absent"}]}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"844",name:"empty",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"845",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"40",eval:"0 16 16",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"a"}]},{N:"str", -val:" of a purely template rule cannot have @use=absent"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"100",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"s",line:"838",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"838",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"compareToString",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"838",op:"eq",val:"absent",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}use",chk:"0"}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"839",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"41",eval:"0 16 16",C:[{N:"str",val:"XTSE3088"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"a"}]},{N:"str",val:" cannot have @as with @use=absent"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"99",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item", -flags:"s",line:"835",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"835",C:[{N:"fn",name:"reverse",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]},{N:"fn",name:"reverse",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"preceding-sibling", -nodeTest:"NT"},{N:"fn",name:"matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NT"}]}]},{N:"str",val:"\\S"},{N:"str",val:""}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"836",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"42",eval:"16 16",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name", -C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"a"}]},{N:"str",val:" as a child of "},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"NE"}]}]},{N:"str",val:" may have no preceding sibling nodes"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"134",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}try", -flags:"s",line:"983",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}try"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"983",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"except",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"983",op:"except",C:[{N:"union",op:"|",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NT"}]}]},{N:"str",val:"\\S"},{N:"str",val:""}]}]}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}catch,NE nQ{http://www.w3.org/1999/XSL/Transform}fallback]"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"984",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"43",eval:"0 0 16",C:[{N:"str",val:"XTSE3140"},{N:"str",val:"xsl:try with @select may only have xsl:catch|xsl:fallback children"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}try",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"96",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator",flags:"s",line:"824",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match", -C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"824",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"825",name:"Q{MyFunctions}missingChild",tailCall:"false",bSlot:"44",eval:"16 0",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator",flags:"a"},{N:"str",val:"xsl:accumulator-rule"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"133",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"979",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}, -{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"979",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}priority,NA nQ{}mode]"}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"979",name:"empty",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}match"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"980",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"45",eval:"0 0 16",C:[{N:"str",val:"XTSE0500"},{N:"str",val:"xsl:template with @priority or @mode must have @match"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"a"}]}]},{N:"templateRule", -prec:"0",prio:"0.5",seq:"132",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"975",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"975",name:"empty",C:[{N:"axis",name:"attribute", -nodeTest:"NA u[NA nQ{}name,NA nQ{}match]"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"976",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"46",eval:"0 0 16",C:[{N:"str",val:"XTSE0500"},{N:"str",val:"xsl:template must have at least one of @name or @match"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"a"}]}]}, -{N:"templateRule",prec:"0",prio:"0.5",seq:"92",rank:"3",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"699",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"699", -name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"699",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"700", -C:[{N:"param",name:"Q{}default-mode",slot:"0",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"let",line:"701","var":"Q{}temp",as:"1NE",slot:"1",eval:"16",C:[{N:"treat",line:"702",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1", -diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i"}]}]},{N:"forEach",line:"704",C:[{N:"varRef",name:"Q{}temp",slot:"1"},{N:"copy",line:"706",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"707",name:"mode",flags:"l",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-mode",slot:"0"},{N:"str",val:"#unnamed"}]}]}]},{N:"axis",line:"708",name:"child",nodeTest:"N"}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.5",seq:"122",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"s",line:"923",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"923",flags:"b",C:[{N:"axis", -name:"following-sibling",nodeTest:"N"},{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"self",nodeTest:"NT"},{N:"fn",name:"matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NT"}]}]},{N:"str",val:"^\\s*$"},{N:"str",val:""}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"924",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"47",eval:"0 16",C:[{N:"str",val:"xsl:on-empty must be the last instruction in a sequence constructor"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"121",rank:"3",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"s",line:"920",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"920",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"921",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"48",eval:"0 16",C:[{N:"str",val:"A sequence constructor may contain only one xsl:on-empty child"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"105",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}expose",flags:"s",line:"854",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}expose"},{N:"ufCall",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"855",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"49",eval:"0 0 16",C:[{N:"str",val:"XTSE3000"},{N:"str",val:"xsl:expose - not currently supported"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}expose",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"70",rank:"5",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}*", -flags:"s",line:"521",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}*"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"522",type:"1NA nQ{http://ns.saxonica.com/xslt/export}*",flags:"a"}]}, -{N:"templateRule",prec:"0",prio:"0.5",seq:"71",rank:"3",minImp:"0",slots:"1",matches:"NA",flags:"s",line:"524",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"525", -C:[{N:"param",name:"Q{}forward-compatibility-mode",slot:"0",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"data",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"choose",line:"527",C:[{N:"varRef",name:"Q{}forward-compatibility-mode", -slot:"0"},{N:"choose",line:"531",C:[{N:"gc",line:"528",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"treat",as:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|permitted.attributes",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|permitted.attributes",C:[{N:"lookup",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|schema",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}xslt.schema",bSlot:"50"},{N:"fn",name:"local-name",C:[{N:"check",card:"?",diag:"0|0||fn:local-name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]}]},{N:"str",val:"permitted.attributes"}]}]}]}]}]}]},{N:"cvUntyped",line:"530",to:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"data",diag:"3|0|XTTE0570|pa.names",C:[{N:"gVarRef",name:"Q{}standard.attributes",bSlot:"51"}]}]}]},{N:"fn",line:"531",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"nextMatch",line:"532", -flags:"t"}]},{N:"true"},{N:"nextMatch",line:"536",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"68",rank:"3",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"508",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NA nQ{}build-tree"},{N:"p.nodeTest", -test:"NA nQ{}byte-order-mark"}]},{N:"p.nodeTest",test:"NA nQ{}escape-uri-attributes"}]},{N:"p.nodeTest",test:"NA nQ{}include-content-type"}]},{N:"p.nodeTest",test:"NA nQ{}indent"}]},{N:"p.nodeTest",test:"NA nQ{}omit-xml-declaration"}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}standalone"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"508",name:"not",C:[{N:"vc", -op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}standalone"}]}]},{N:"str",val:"omit"}]}]}]}]},{N:"p.nodeTest",test:"NA nQ{}undeclare-prefixes"}]},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"508",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"sequence", -C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document"}]}]}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"508",name:"not",C:[{N:"fn",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA"}]}]}, -{N:"str",val:"{"}]}]}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"514",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"choose",role:"select",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"52",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:"yes"},{N:"true"},{N:"str",val:"no"}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.5",seq:"54",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"353",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"354",C:[{N:"param",name:"Q{}forward-compatibility-mode",slot:"0",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"data",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"ufCall",line:"355",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"53",eval:"0 16 16",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"str",val:" cannot have attribute "},{N:"fn",name:"name",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]},{N:"str",val:" in the XSLT namespace"}]},{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"-0.25", -seq:"53",rank:"1",minImp:"0",slots:"1",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"343",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"344",C:[{N:"param",name:"Q{}forward-compatibility-mode",slot:"0",flags:"t",as:"1AB", -C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"data",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"choose",line:"351",C:[{N:"varRef",name:"Q{}forward-compatibility-mode",slot:"0"},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"54",eval:"0 16 16",C:[{N:"str",val:"XTSE0805"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]},{N:"str",val:" is not a permitted attribute in the XSLT namespace"}]},{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"50",part:"1",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes", -flags:"s",line:"309",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"312",type:"1NA",flags:"a"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"82",rank:"5",minImp:"0",slots:"0",matches:"NA nQ{}result-prefix",flags:"s",line:"602", -module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}result-prefix"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"602",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"dot",type:"1NA nQ{}result-prefix"}]},{N:"str",val:"#default"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"}]}, -{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"603",type:"1NA",flags:"a"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"83",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}result-prefix",flags:"s",line:"610",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}result-prefix"}, -{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"610",name:"empty",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:namespace-uri-for-prefix",C:[{N:"dot",type:"1NA nQ{}result-prefix"}]}]},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]}]},{N:"p.nodeTest", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"611",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"55",eval:"0 16 16",C:[{N:"str",val:"XTSE0812"},{N:"fn",name:"concat",C:[{N:"str",val:"Undeclared namespace prefix - "},{N:"data",diag:"0|1||fn:concat", -C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"dot",type:"1NA",flags:"a"}]},{N:"dot",line:"612",type:"1NA",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"3",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}composite",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}composite"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"56",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"46",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}default-mode",flags:"s",line:"273",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}default-mode"},{N:"p.nodeTest", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"280",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"convert",role:"namespace",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"choose",role:"select",C:[{N:"compareToString",op:"eq", -val:"#unnamed",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"str",val:"#unnamed"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"57",eval:"16 16 0",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.5",seq:"90",part:"1",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}tunnel",flags:"s",line:"678",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}tunnel"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"679","var":"Q{}value",slot:"0",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"58",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"sequence",line:"681",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}value",slot:"0"},{N:"fn",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"axis",name:"self",nodeTest:"NE u[NE u[NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}template,NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates],NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports],NE nQ{http://www.w3.org/1999/XSL/Transform}call-template],NE nQ{http://www.w3.org/1999/XSL/Transform}next-match]"}]}]}]}, -{N:"ufCall",line:"684",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"59",eval:"0 0 16",C:[{N:"str",val:"XTSE0020"},{N:"str",val:"@tunnel=true only permitted on definition and invocations of templates or global parameters"},{N:"dot",type:"1NA",flags:"a"}]}]},{N:"compAtt",line:"686",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"fn",role:"select",name:"string",C:[{N:"varRef",name:"Q{}value",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"90", -rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}tunnel",flags:"s",line:"678",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}tunnel"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"679","var":"Q{}value",slot:"0", -eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"58",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"sequence",line:"681",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}value",slot:"0"},{N:"fn",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"axis",name:"self",nodeTest:"NE u[NE u[NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}template,NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates],NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports],NE nQ{http://www.w3.org/1999/XSL/Transform}call-template],NE nQ{http://www.w3.org/1999/XSL/Transform}next-match]"}]}]}]}, -{N:"ufCall",line:"684",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"59",eval:"0 0 16",C:[{N:"str",val:"XTSE0020"},{N:"str",val:"@tunnel=true only permitted on definition and invocations of templates or global parameters"},{N:"dot",type:"1NA",flags:"a"}]}]},{N:"compAtt",line:"686",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"fn",role:"select",name:"string",C:[{N:"varRef",name:"Q{}value",slot:"0"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67", -part:"6",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}expand-text",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}expand-text"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn", -role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"56",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"11",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}inherit-namespaces",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}inherit-namespaces"},{N:"p.nodeTest", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"56",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0", -prio:"0.5",seq:"67",part:"10",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}inherit-namespaces",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}inherit-namespaces"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"56",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"47",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-validation",flags:"s",line:"283",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-validation"}, -{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"285",type:"1NA",flags:"a"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"75",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}sort-before-merge",flags:"s",line:"559",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}sort-before-merge"}, -{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"566",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"choose",role:"select",C:[{N:"compareToString",op:"eq",val:"maybe",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data", -diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"str",val:"maybe"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"60",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"61",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}html-version",flags:"s",line:"412",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}html-version"}, -{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"412",name:"not",C:[{N:"fn",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA nQ{}html-version"}]}]},{N:"str",val:"{"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"420",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}html-version",flags:"a"}]},{N:"fn",role:"select",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"dot",type:"1NA nQ{}html-version",flags:"a"}]}]},{N:"data",C:[{N:"dot",type:"1NA nQ{}html-version",flags:"a"}]},{N:"true"},{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"61",eval:"0 16 16", -C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"str",val:"@html-version must be decimal - supplied value:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA nQ{}html-version",flags:"a"}]}]},{N:"dot",type:"1NA nQ{}html-version",flags:"a"}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"48",rank:"3",minImp:"0",slots:"3",matches:"NA nQ{}default-collation",flags:"s",line:"288",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false", -C:[{N:"p.nodeTest",test:"NA nQ{}default-collation"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"289","var":"Q{}tokens",as:"*AS",slot:"0",eval:"4",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"let", -line:"290","var":"Q{}recognized",as:"?AS",slot:"1",eval:"7",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}tokens",slot:"0"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}uri",as:"1AS",slot:"2",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -type:"1AS"},{N:"or",module:"sorting.xsl",line:"21",op:"or",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1947666055",bSlot:"62"},{N:"varRef",name:"Q{}uri",slot:"2"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}uri",slot:"2"},{N:"str",val:"http://www.w3.org/2013/collation/UCA"}]}]}]}]}]}, -{N:"compAtt",line:"300",C:[{N:"choose",role:"name",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"str",val:"defaultCollation"},{N:"true"},{N:"str",val:"xsl:defaultCollation"}]},{N:"fn",role:"select",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"varRef",name:"Q{}recognized",slot:"1"},{N:"varRef",name:"Q{}recognized",slot:"1"},{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence", -C:[{N:"varRef",name:"Q{}tokens",slot:"0"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"63",eval:"0 16 16",C:[{N:"str",val:"XTSE0125"},{N:"fn",name:"concat",C:[{N:"str",val:'Unknown default collation "'},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:'"'}]},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"true"},{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"64",eval:"0 16 16",C:[{N:"str",val:"XTSE0125"},{N:"fn",name:"concat",C:[{N:"str",val:'No recognized collation in "'},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:'"'}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"65",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}mode",flags:"s",line:"464",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false", -C:[{N:"p.nodeTest",test:"NA nQ{}mode"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"465",C:[{N:"param",name:"Q{}default-mode",slot:"0",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"check", -card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"compAtt",line:"480",C:[{N:"fn",role:"name",name:"local-name",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"}]},{N:"fn",role:"select",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"let","var":"Q{}t",slot:"1",eval:"4",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data", -diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"}]}]}]},{N:"choose",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}t",slot:"1"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"65",eval:"0 16 16",C:[{N:"str",val:"XXXXX"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:apply-templates/@mode must only have one value - supplied values:"},{N:"data",diag:"0|1||fn:concat", -C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"}]}]},{N:"dot",type:"1NA nQ{}mode",flags:"a"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"check",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}t",slot:"1"}]},{N:"str",val:"#default"}]},{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-mode",slot:"0"},{N:"str",val:"#unnamed"}]}]},{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"varRef",name:"Q{}t",slot:"1"},{N:"literal",count:"2",C:[{N:"str",val:"#current"},{N:"str",val:"#unnamed"}]}]},{N:"varRef", -name:"Q{}t",slot:"1"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"66",eval:"16 16 0",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"varRef",name:"Q{}t",slot:"1"}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"63",rank:"3",minImp:"0",slots:"3",matches:"NA nQ{}mode",flags:"s",line:"426",module:"normalize.xsl",C:[{N:"p.withUpper", -role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}mode"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"427",C:[{N:"param",name:"Q{}default-mode",slot:"0",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|default-mode", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"compAtt",line:"450",C:[{N:"fn",role:"name",name:"local-name",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"}]},{N:"fn",role:"select",name:"string-join",C:[{N:"let","var":"Q{}modes",slot:"1",eval:"4",C:[{N:"for","var":"Q{}m",as:"AS",slot:"2",C:[{N:"fn",role:"in",name:"tokenize",C:[{N:"cvUntyped",to:"AS", -C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"}]}]}]},{N:"choose",role:"return",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}m",slot:"2"}]},{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-mode",slot:"0"},{N:"str",val:"#unnamed"}]}]},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"#all"},{N:"str",val:"#unnamed"}]},{N:"varRef",name:"Q{}m",slot:"2"}]},{N:"varRef",name:"Q{}m",slot:"2"},{N:"true"},{N:"ufCall", -name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"67",eval:"1 16 0",C:[{N:"varRef",name:"Q{}m",slot:"2"},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0550"}]}]}]},{N:"choose",C:[{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}modes",slot:"1"},{N:"str",val:"#all"}]},{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}modes",slot:"1"}]}]}]},{N:"data",diag:"0|0||fn:string-join",C:[{N:"ufCall", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"68",eval:"0 0 16",C:[{N:"str",val:"XTSE0550"},{N:"str",val:"@mode=#all must be alone"},{N:"dot",type:"1NA nQ{}mode",flags:"a"}]}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}modes",slot:"1"}]},{N:"data",diag:"0|0||fn:string-join",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"69",eval:"0 0 16",C:[{N:"str",val:"XTSE0550"},{N:"str",val:"@mode must have a mode name"},{N:"dot",type:"1NA nQ{}mode",flags:"a"}]}]}, -{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"fn",name:"distinct-values",C:[{N:"varRef",name:"Q{}modes",slot:"1"}]}]},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}modes",slot:"1"}]}]},{N:"data",diag:"0|0||fn:string-join",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"70",eval:"0 0 16",C:[{N:"str",val:"XTSE0550"},{N:"str",val:"Modes in a template declaration must be unique"},{N:"dot",type:"1NA nQ{}mode",flags:"a"}]}]},{N:"true"},{N:"varRef",name:"Q{}modes", -slot:"1"}]}]},{N:"str",val:" "}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"42",rank:"3",minImp:"0",slots:"4",matches:"NA nQ{}type",flags:"s",line:"226",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}type"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"227",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"228",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}validation"}]}]},{N:"ufCall",line:"229", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"71",eval:"0 0 16",C:[{N:"str",val:"XTSE1505"},{N:"str",val:"@type and @validation must not both be present"},{N:"dot",type:"1NA",flags:"a"}]}]},{N:"let",line:"231","var":"Q{}eqName",as:"1AS",slot:"1",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"72",eval:"16 16 0 8",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis", -name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE1520"},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|3||f:EQName",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]},{N:"let",line:"232","var":"Q{}qName",as:"1AQ",slot:"2",eval:"8",C:[{N:"let",module:"lib.xsl",line:"168","var":"Q{}parts",as:"*AS",slot:"3",eval:"4",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"substring",C:[{N:"varRef",module:"normalize.xsl",line:"232",name:"Q{}eqName",slot:"1"},{N:"int",val:"3"}]}, -{N:"str",val:"\\}"},{N:"str",val:""}]},{N:"fn",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"fn",line:"169",name:"QName",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"3"}]},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"3"},{N:"int",val:"2"}]}]}]}]},{N:"sequence",line:"233",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"http://www.w3.org/2001/XMLSchema",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef", -name:"Q{}qName",slot:"2"}]}]}]},{N:"ufCall",line:"234",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"73",eval:"0 16 16",C:[{N:"str",val:"XTSE1520"},{N:"fn",name:"concat",C:[{N:"str",val:"Unknown type "},{N:"varRef",name:"Q{}eqName",slot:"1"}]},{N:"dot",type:"1NA",flags:"a"}]}]},{N:"choose",line:"236",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"4",C:[{N:"str",val:"anyType"},{N:"str",val:"untyped"},{N:"str",val:"anyAtomicType"},{N:"str",val:"untypedAtomic"}]}, -{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qName",slot:"2"}]}]}]},{N:"ufCall",line:"237",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"74",eval:"0 16 16",C:[{N:"str",val:"XTSE1660"},{N:"fn",name:"concat",C:[{N:"str",val:"Cannot validate nodes as type "},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:" (processor is not schema-aware)"}]},{N:"dot",type:"1NA",flags:"a"}]}]},{N:"choose",line:"240",C:[{N:"and",op:"and",C:[{N:"gc",op:"=", -card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"anyAtomicType"},{N:"str",val:"untypedAtomic"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qName",slot:"2"}]}]},{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"}]}]}]}, -{N:"fn",name:"empty",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of"}]}]}]},{N:"ufCall",line:"242",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"75",eval:"0 16 16",C:[{N:"str",val:"XTSE1660"},{N:"fn",name:"concat",C:[{N:"str",val:"Cannot validate element nodes as type "},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:" (processor is not schema-aware)"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"0.5",seq:"42",part:"1",rank:"3",minImp:"0",slots:"4",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}type",flags:"s",line:"226",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}type"},{N:"p.nodeTest",test:"NE"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"227",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"228",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}validation"}]}]},{N:"ufCall",line:"229", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"71",eval:"0 0 16",C:[{N:"str",val:"XTSE1505"},{N:"str",val:"@type and @validation must not both be present"},{N:"dot",type:"1NA",flags:"a"}]}]},{N:"let",line:"231","var":"Q{}eqName",as:"1AS",slot:"1",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"72",eval:"16 16 0 8",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis", -name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE1520"},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|3||f:EQName",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]},{N:"let",line:"232","var":"Q{}qName",as:"1AQ",slot:"2",eval:"8",C:[{N:"let",module:"lib.xsl",line:"168","var":"Q{}parts",as:"*AS",slot:"3",eval:"4",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"substring",C:[{N:"varRef",module:"normalize.xsl",line:"232",name:"Q{}eqName",slot:"1"},{N:"int",val:"3"}]}, -{N:"str",val:"\\}"},{N:"str",val:""}]},{N:"fn",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"fn",line:"169",name:"QName",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"3"}]},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"3"},{N:"int",val:"2"}]}]}]}]},{N:"sequence",line:"233",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"compareToString",op:"eq",val:"http://www.w3.org/2001/XMLSchema",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef", -name:"Q{}qName",slot:"2"}]}]}]},{N:"ufCall",line:"234",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"73",eval:"0 16 16",C:[{N:"str",val:"XTSE1520"},{N:"fn",name:"concat",C:[{N:"str",val:"Unknown type "},{N:"varRef",name:"Q{}eqName",slot:"1"}]},{N:"dot",type:"1NA",flags:"a"}]}]},{N:"choose",line:"236",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"4",C:[{N:"str",val:"anyType"},{N:"str",val:"untyped"},{N:"str",val:"anyAtomicType"},{N:"str",val:"untypedAtomic"}]}, -{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qName",slot:"2"}]}]}]},{N:"ufCall",line:"237",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"74",eval:"0 16 16",C:[{N:"str",val:"XTSE1660"},{N:"fn",name:"concat",C:[{N:"str",val:"Cannot validate nodes as type "},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:" (processor is not schema-aware)"}]},{N:"dot",type:"1NA",flags:"a"}]}]},{N:"choose",line:"240",C:[{N:"and",op:"and",C:[{N:"gc",op:"=", -card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"anyAtomicType"},{N:"str",val:"untypedAtomic"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qName",slot:"2"}]}]},{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"}]}]}]}, -{N:"fn",name:"empty",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of"}]}]}]},{N:"ufCall",line:"242",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"75",eval:"0 16 16",C:[{N:"str",val:"XTSE1660"},{N:"fn",name:"concat",C:[{N:"str",val:"Cannot validate element nodes as type "},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:" (processor is not schema-aware)"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"2.0",seq:"29",rank:"9",minImp:"0",slots:"1",matches:"NA nQ{}then",flags:"s",line:"10",module:"normalize4.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}then"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}if"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"11", -C:[{N:"param",name:"Q{}allowSyntaxExtensions",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"choose",line:"13",C:[{N:"varRef",name:"Q{}allowSyntaxExtensions",slot:"0"},{N:"dot",line:"14",type:"1NA",flags:"a"},{N:"true"},{N:"ufCall",line:"17",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"76",eval:"0 16 16",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent", -nodeTest:"N u[NE,ND]"}]}]},{N:"str",val:" cannot have @"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}copy-namespaces",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}copy-namespaces"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of"}]}, -{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"56",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}copy-namespaces", -flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}copy-namespaces"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]}, -{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"56",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"95",part:"1",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}elements",flags:"s",line:"749",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}elements"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space"}]},{N:"sequence", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"750",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"752","var":"Q{}context", -as:"*N u[NE,ND]",slot:"1",eval:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"att",line:"764",name:"elements",C:[{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"choose",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"compareToString",op:"eq",val:"*",C:[{N:"dot",type:"1AS"}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"*:"}]}]},{N:"fn",name:"starts-with", -C:[{N:"dot",type:"1AS"},{N:"str",val:"Q{"}]}]},{N:"dot",type:"1AS"},{N:"fn",name:"ends-with",C:[{N:"dot",type:"1AS"},{N:"str",val:":*"}]},{N:"fn",name:"replace",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"77",eval:"16 16 0 8",C:[{N:"fn",name:"replace",C:[{N:"dot",type:"1AS"},{N:"str",val:"\\*$"},{N:"str",val:"Z"},{N:"str",val:""}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"XTSE0020"},{N:"cvUntyped",to:"AS",C:[{N:"data", -diag:"0|3||f:EQName",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]},{N:"str",val:"Z$"},{N:"str",val:"*"},{N:"str",val:""}]},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"78",eval:"16 16 0 8",C:[{N:"dot",type:"1AS"},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"XTSE0020"},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|3||f:EQName",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]},{N:"str", -val:" "}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"95",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}elements",flags:"s",line:"749",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}elements"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"750",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"752","var":"Q{}context",as:"*N u[NE,ND]",slot:"1",eval:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"att",line:"764",name:"elements",C:[{N:"fn",name:"string-join",C:[{N:"forEach", -C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"choose",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"compareToString",op:"eq",val:"*",C:[{N:"dot",type:"1AS"}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"*:"}]}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"Q{"}]}]},{N:"dot",type:"1AS"},{N:"fn",name:"ends-with",C:[{N:"dot",type:"1AS"},{N:"str",val:":*"}]},{N:"fn",name:"replace", -C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"77",eval:"16 16 0 8",C:[{N:"fn",name:"replace",C:[{N:"dot",type:"1AS"},{N:"str",val:"\\*$"},{N:"str",val:"Z"},{N:"str",val:""}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"XTSE0020"},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|3||f:EQName",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]},{N:"str",val:"Z$"},{N:"str",val:"*"},{N:"str",val:""}]},{N:"true"},{N:"ufCall", -name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"78",eval:"16 16 0 8",C:[{N:"dot",type:"1AS"},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"str",val:"XTSE0020"},{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|3||f:EQName",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"7",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}warning-on-no-match",flags:"s",line:"500", -module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}warning-on-no-match"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall", -role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"56",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"72",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}override",flags:"s",line:"541",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}override"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"542",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}override-extension-function"}]}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"79",eval:"16",C:[{N:"dot",type:"1NA nQ{}override",flags:"a"}]},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"80",eval:"16",C:[{N:"check", -card:"1",diag:"0|0||f:boolean-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}override-extension-function"}]}]}]}]}]},{N:"ufCall",line:"543",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"81",eval:"0 0 16",C:[{N:"str",val:"XTSE0020"},{N:"str",val:"@override and @override-extension-function must have the same boolean value"},{N:"dot",type:"1NA nQ{}override",flags:"a"}]}]},{N:"compAtt",line:"545",C:[{N:"fn", -role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}override",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"82",eval:"16",C:[{N:"dot",type:"1NA nQ{}override",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"47",part:"1",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace",flags:"s",line:"283",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}, -{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"285",type:"1NA",flags:"a"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"56",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}use-character-maps",flags:"s",line:"373",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-character-maps"},{N:"p.nodeTest", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"374",name:"use-character-maps",C:[{N:"fn",name:"string-join",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current2093319848",as:"1",slot:"0",eval:"16",C:[{N:"dot",type:"1NA nQ{}use-character-maps",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0", -as:"1NE i[NE,N u[NE,ND]]",slot:"1",eval:"13",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current2093319848",slot:"0"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"sequence",C:[{N:"str",val:" "},{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA nQ{}use-character-maps",flags:"a"}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false", -bSlot:"83",eval:"16 1",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"1"}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"14",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}override-extension-function",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}override-extension-function"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]}, -{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"56",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"66",rank:"5",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text", -flags:"s",line:"486",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"487",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean", -tailCall:"false",bSlot:"84",eval:"16",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"82",rank:"5",minImp:"0",slots:"0",matches:"NA nQ{}stylesheet-prefix",flags:"s",line:"602",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}stylesheet-prefix"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"602",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"dot",type:"1NA nQ{}stylesheet-prefix"}]},{N:"str",val:"#default"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"}]},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"603",type:"1NA",flags:"a"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"83",rank:"3", -minImp:"0",slots:"0",matches:"NA nQ{}stylesheet-prefix",flags:"s",line:"610",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}stylesheet-prefix"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"610",name:"empty",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"cvUntyped",to:"AS", -C:[{N:"data",diag:"0|0||fn:namespace-uri-for-prefix",C:[{N:"dot",type:"1NA nQ{}stylesheet-prefix"}]}]},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace-alias"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"611",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"55",eval:"0 16 16",C:[{N:"str",val:"XTSE0812"},{N:"fn",name:"concat",C:[{N:"str",val:"Undeclared namespace prefix - "},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"dot",type:"1NA",flags:"a"}]},{N:"dot",line:"612",type:"1NA",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"2",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}copy-accumulators",flags:"s",line:"500",module:"normalize.xsl", -C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}copy-accumulators"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean", -tailCall:"false",bSlot:"56",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"124",rank:"3",minImp:"0",slots:"4",matches:"NA nQ{}package-version",flags:"s",line:"931",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}package-version"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"932",C:[{N:"param",name:"Q{}XSLT-version",slot:"0",flags:"ti",as:"1AD",C:[{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"data",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"let",line:"933","var":"Q{}parts",as:"*AS",slot:"1",eval:"4",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize", -C:[{N:"dot",type:"1NA nQ{}package-version",flags:"a"}]}]},{N:"str",val:"-"},{N:"str",val:""}]},{N:"let",line:"934","var":"Q{}numeric",as:"*AS",slot:"2",eval:"4",C:[{N:"fn",name:"tokenize",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"1"}]},{N:"str",val:"\\."},{N:"str",val:""}]},{N:"choose",line:"946",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"int",val:"2"}]}]},{N:"castable",flags:"a",as:"1ASNTNC", -C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"1"},{N:"int",val:"2"}]}]}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}numeric",slot:"2"}]}]},{N:"every","var":"Q{}n",slot:"3",C:[{N:"varRef",name:"Q{}numeric",slot:"2"},{N:"castable",flags:"a",as:"1ADI",C:[{N:"varRef",name:"Q{}n",slot:"3"}]}]}]},{N:"empty"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"85",eval:"0 16 16",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"str",val:"@package-version "}, -{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA nQ{}package-version",flags:"a"}]},{N:"str",val:" is invalid"}]},{N:"dot",type:"1NA nQ{}package-version",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"64",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}priority",flags:"s",line:"453",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}priority"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]}, -{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"461",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"dot",type:"1NA nQ{}priority",flags:"a"}]}]},{N:"dot",type:"1NA nQ{}priority",flags:"a"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"86",eval:"0 16 16",C:[{N:"str",val:"XTSE0530"}, -{N:"fn",name:"concat",C:[{N:"str",val:"xsl:template/@priority must be decimal - supplied value:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA nQ{}priority",flags:"a"}]}]},{N:"dot",type:"1NA nQ{}priority",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"52",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}version",flags:"s",line:"339",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}version"},{N:"p.nodeTest", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"340",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"convert",role:"namespace",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"fn",role:"select",name:"replace",C:[{N:"cvUntyped", -to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:"^\\+"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"9",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}declared-modes",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}declared-modes"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"compAtt", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"56",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"46",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode", -flags:"s",line:"273",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"280",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"convert",role:"namespace",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot", -type:"1NA",flags:"a"}]}]},{N:"choose",role:"select",C:[{N:"compareToString",op:"eq",val:"#unnamed",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"str",val:"#unnamed"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"57",eval:"16 16 0",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName", -C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"50",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}extension-element-prefixes",flags:"s",line:"309",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}extension-element-prefixes"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"312",type:"1NA",flags:"a"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"75",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}new-each-time",flags:"s",line:"559",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}new-each-time"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"566",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"choose",role:"select",C:[{N:"compareToString",op:"eq",val:"maybe",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"str",val:"maybe"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"60",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"103", -rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}as",flags:"s",line:"847",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}as"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"847",name:"matches",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space", -C:[{N:"dot",type:"1NA nQ{}as"}]}]}]},{N:"str",val:"(\\*|\\+|\\?)\\s*$"},{N:"str",val:""}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"848",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"87",eval:"0 16 16",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat", -C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE i[NE,N u[NE,ND]]"}]}]},{N:"str",val:"/@as="},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]},{N:"str",val:" cannot have an occurrence indicator"}]},{N:"dot",type:"1NA nQ{}as",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"41",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}as",flags:"s",line:"219",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent", -upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}as"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"220",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"221","var":"Q{}parsedType",as:"1FM",slot:"1",eval:"16",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type", -type:"1F",C:[{N:"cvUntyped",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"normalize.xsl",line:"221",to:"AS",C:[{N:"data",diag:"0|0||f:parse-sequence-type",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]}]},{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"normalize.xsl",line:"221",card:"1",diag:"0|1||f:parse-sequence-type",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"cvUntyped",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"normalize.xsl",line:"221",to:"AS",C:[{N:"data",diag:"0|2||f:parse-sequence-type",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]},{N:"sequence",line:"222", -C:[{N:"att",name:"as",C:[{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"88",eval:"1",C:[{N:"varRef",name:"Q{}parsedType",slot:"1"}]}]},{N:"att",line:"223",name:"ex:asJ",nsuri:"http://ns.saxonica.com/xslt/export",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"89",eval:"1",C:[{N:"varRef",name:"Q{}parsedType",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"60",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}format",flags:"s",line:"409",module:"normalize.xsl", -C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}format"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"409",name:"not",C:[{N:"fn",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA nQ{}format"}]}]},{N:"str",val:"{"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document"}]}, -{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"410",C:[{N:"fn",role:"name",name:"local-name",C:[{N:"dot",type:"1NA nQ{}format",flags:"a"}]},{N:"fn",role:"select",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl", -line:"145",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"normalize.xsl",line:"410",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"90",eval:"16 16 0",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA nQ{}format",flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis", -name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTDE1460"}]},{N:"str",val:"\\{"},{N:"str",val:"{{"},{N:"str",val:""}]},{N:"str",val:"\\}"},{N:"str",val:"}}"},{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"110",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}streamability",flags:"s",line:"877",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}streamability"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"877",op:"ne",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"dot",type:"1NA nQ{}streamability"}]},{N:"str",val:"unclassified"}]}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"877",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]}, -{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"879",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"91",eval:"0 16 16",C:[{N:"str",val:"XTSE3155"},{N:"fn",name:"concat",C:[{N:"str",val:"Parameterless functions can only have @streamability=unclassified. Value given is "},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA nQ{}streamability", -flags:"a"}]}]},{N:"dot",type:"1NA nQ{}streamability",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"4",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}required",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}required"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"56",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"49",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces",flags:"s",line:"304",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}, -{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"305",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"92",eval:"16",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces", -flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"84",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}start-at",flags:"s",line:"615",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}start-at"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}number"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"616","var":"Q{}value",as:"1AS",slot:"0",eval:"8",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{}start-at",flags:"a"}]}]}]},{N:"sequence",line:"617",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"varRef",name:"Q{}value",slot:"0"},{N:"str",val:"{"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"matches",C:[{N:"varRef",name:"Q{}value",slot:"0"},{N:"str",val:"-?[0-9]+(\\s+-?[0-9]+)*"}, -{N:"str",val:""}]}]}]},{N:"ufCall",line:"618",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"93",eval:"0 0 16",C:[{N:"str",val:"XTSE0020"},{N:"str",val:"Value must be numeric"},{N:"dot",type:"1NA nQ{}start-at",flags:"a"}]}]},{N:"dot",line:"620",type:"1NA nQ{}start-at",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"91",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}stable",flags:"s",line:"690",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true", -C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}stable"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"690",name:"not",C:[{N:"fn",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA nQ{}stable"}]}]},{N:"str",val:"{"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"att",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"691",name:"stable",C:[{N:"ufCall",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"94",eval:"16",C:[{N:"dot",type:"1NA nQ{}stable",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"67",part:"5",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}ZZZexpand-text",flags:"s",line:"500", -module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}ZZZexpand-text"},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"56",eval:"16",C:[{N:"dot", -type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"52",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}version",flags:"s",line:"339",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"340", -C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"convert",role:"namespace",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"fn",role:"select",name:"replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:"^\\+"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"55",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}use-attribute-sets",flags:"s", -line:"361",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-attribute-sets"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"try",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"364",flags:"r",C:[{N:"compAtt",C:[{N:"fn",role:"name",name:"concat",C:[{N:"choose",C:[{N:"compareToString", -op:"eq",val:"http://www.w3.org/1999/XSL/Transform",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:"xsl:"},{N:"true"},{N:"str",val:""}]},{N:"str",val:"use-attribute-sets"}]},{N:"fn",role:"select",name:"string-join",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1313799195",as:"1",slot:"0",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"1",eval:"13",C:[{N:"check", -card:"1",diag:"0|1||f:EQName",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1313799195",slot:"0"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"95",eval:"16 1",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", -slot:"1"}]}]}]}]},{N:"str",val:" "}]}]},{N:"catch",errors:"*",C:[{N:"ufCall",line:"368",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"96",eval:"0 16 16",C:[{N:"str",val:"XTSE0710"},{N:"fn",name:"concat",C:[{N:"str",val:"@"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:" must be a whitespace-separated list of EQNames; supplied: "},{N:"data",diag:"0|3||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:" Cause: "},{N:"data",diag:"0|5||fn:concat",C:[{N:"ifCall", -name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.9",seq:"81",rank:"4",minImp:"0",slots:"1",matches:"NA nQ{}visibility",flags:"s",line:"589",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}visibility"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"590","var":"Q{}value",as:"1AS",slot:"0",eval:"8",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{}visibility",flags:"a"}]}]}]},{N:"sequence",line:"591",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"public"},{N:"str",val:"private"},{N:"str",val:"final"}]},{N:"varRef",name:"Q{}value",slot:"0"}]}]},{N:"ufCall",line:"592",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"97",eval:"0 16 16",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"dot",type:"1NA nQ{}visibility",flags:"a"}]},{N:"str",val:" is not a permitted value for mode visibility"}]},{N:"dot",type:"1NA nQ{}visibility",flags:"a"}]}]},{N:"choose",line:"594",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"fn",name:"not", -C:[{N:"compareToString",op:"eq",val:"private",C:[{N:"varRef",name:"Q{}value",slot:"0"}]}]}]},{N:"ufCall",line:"595",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"98",eval:"0 0 16",C:[{N:"str",val:"XTSE0020"},{N:"str",val:"private is the only permitted value for visibility of the unnamed mode"},{N:"dot",type:"1NA nQ{}visibility",flags:"a"}]}]},{N:"nextMatch",line:"597",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"58",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}visibility", -flags:"s",line:"389",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}visibility"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"399",name:"visibility",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS", -C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"let","var":"Q{}n",slot:"0",eval:"8",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{}visibility",flags:"a"}]}]}]},{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"5",C:[{N:"str",val:"private"},{N:"str",val:"public"},{N:"str",val:"final"},{N:"str",val:"abstract"},{N:"str",val:"hidden"}]},{N:"varRef",name:"Q{}n",slot:"0"}]},{N:"varRef",name:"Q{}n",slot:"0"}, -{N:"true"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"99",eval:"0 16 16",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"dot",type:"1NA nQ{}visibility",flags:"a"}]},{N:"str",val:" is not a permitted value for visibility"}]},{N:"dot",type:"1NA nQ{}visibility",flags:"a"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"13",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}disable-output-escaping", -flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}disable-output-escaping"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA", -flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"56",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"12",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}disable-output-escaping",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}disable-output-escaping"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}value-of"}]}, -{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"56",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"51",part:"1",rank:"2",minImp:"0",slots:"3", -matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes",flags:"s",line:"316",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"319","var":"Q{}att",as:"1",slot:"0",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}, -{N:"let",line:"320","var":"Q{}parent",as:"*N u[NE,ND]",slot:"1",eval:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"336","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"2",eval:"13",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}parent",slot:"1"}]},{N:"compAtt",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"fn",role:"select",name:"string-join",C:[{N:"convert",from:"A",to:"AS", -C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"choose",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"dot",type:"1AS"}]},{N:"dot",type:"1AS"},{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot",type:"1AS"}]},{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix", -C:[{N:"varRef",name:"Q{}parent",slot:"1"}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"100",eval:"0 0 1",C:[{N:"str",val:"XTSE0809"},{N:"str",val:"No default namespace is in scope"},{N:"varRef",name:"Q{}att",slot:"0"}]},{N:"true"},{N:"dot",type:"1AS"}]},{N:"fn",name:"empty",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"101",eval:"0 16 1",C:[{N:"str",val:"XTSE0808"},{N:"fn",name:"concat",C:[{N:"str",val:"Prefix "},{N:"dot",type:"1AS"},{N:"str",val:" is not declared"}]},{N:"varRef",name:"Q{}att",slot:"0"}]},{N:"true"},{N:"dot",type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.9",seq:"78",rank:"4",minImp:"0",slots:"0",matches:"NA nQ{}typed",flags:"s",line:"580",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate", -C:[{N:"p.nodeTest",test:"NA nQ{}typed"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"580",op:"=",card:"M:N",comp:"CCC",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}typed"}]},{N:"literal",count:"3",C:[{N:"str",val:"strict"},{N:"str",val:"lax"},{N:"str",val:"unspecified"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"dot", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"581",type:"1NA nQ{}typed",flags:"a"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"79",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}typed",flags:"s",line:"583",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}typed"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]}, -{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"584",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"102",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"62",rank:"5",minImp:"0",slots:"0",matches:"NA nQ{}standalone", -flags:"s",line:"422",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}standalone"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"422",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"dot",type:"1NA nQ{}standalone"}]},{N:"str",val:"omit"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document"}]}, -{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"423",type:"1NA nQ{}standalone",flags:"a"}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"29",rank:"9",minImp:"0",slots:"1",matches:"NA nQ{}select",flags:"s",line:"10",module:"normalize4.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}select"},{N:"p.nodeTest", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"11",C:[{N:"param",name:"Q{}allowSyntaxExtensions",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"choose",line:"13",C:[{N:"varRef",name:"Q{}allowSyntaxExtensions",slot:"0"},{N:"dot",line:"14", -type:"1NA",flags:"a"},{N:"true"},{N:"ufCall",line:"17",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"76",eval:"0 16 16",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"str",val:" cannot have @"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"29",rank:"9",minImp:"0",slots:"1", -matches:"NA nQ{}select",flags:"s",line:"10",module:"normalize4.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}select"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}when"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"11",C:[{N:"param",name:"Q{}allowSyntaxExtensions",slot:"0", -flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"choose",line:"13",C:[{N:"varRef",name:"Q{}allowSyntaxExtensions",slot:"0"},{N:"dot",line:"14",type:"1NA",flags:"a"},{N:"true"},{N:"ufCall",line:"17",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"76",eval:"0 16 16",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"str",val:" cannot have @"}, -{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"76",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}terminate",flags:"s",line:"569",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}terminate"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"569",name:"not",C:[{N:"fn",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA nQ{}terminate"}]}]},{N:"str",val:"{"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}message"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"570",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot", -type:"1NA nQ{}terminate",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"103",eval:"16",C:[{N:"dot",type:"1NA nQ{}terminate",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"80",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}on-multiple-match",flags:"s",line:"586",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}on-multiple-match"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]}, -{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"587",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"fn",role:"select",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"55",part:"1",rank:"2",minImp:"0", -slots:"2",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets",flags:"s",line:"361",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets"},{N:"try",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"364",flags:"r",C:[{N:"compAtt",C:[{N:"fn",role:"name",name:"concat",C:[{N:"choose", -C:[{N:"compareToString",op:"eq",val:"http://www.w3.org/1999/XSL/Transform",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:"xsl:"},{N:"true"},{N:"str",val:""}]},{N:"str",val:"use-attribute-sets"}]},{N:"fn",role:"select",name:"string-join",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current1313799195",as:"1",slot:"0",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"1", -eval:"13",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1313799195",slot:"0"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"95",eval:"16 1",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", -slot:"1"}]}]}]}]},{N:"str",val:" "}]}]},{N:"catch",errors:"*",C:[{N:"ufCall",line:"368",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"96",eval:"0 16 16",C:[{N:"str",val:"XTSE0710"},{N:"fn",name:"concat",C:[{N:"str",val:"@"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:" must be a whitespace-separated list of EQNames; supplied: "},{N:"data",diag:"0|3||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:" Cause: "},{N:"data",diag:"0|5||fn:concat",C:[{N:"ifCall", -name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"29",rank:"9",minImp:"0",slots:"1",matches:"NA nQ{}else",flags:"s",line:"10",module:"normalize4.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}else"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}if"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"11",C:[{N:"param",name:"Q{}allowSyntaxExtensions",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"choose",line:"13",C:[{N:"varRef",name:"Q{}allowSyntaxExtensions",slot:"0"},{N:"dot",line:"14",type:"1NA",flags:"a"},{N:"true"},{N:"ufCall",line:"17",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"76",eval:"0 16 16",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis", -name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"str",val:" cannot have @"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"51",rank:"3",minImp:"0",slots:"3",matches:"NA nQ{}exclude-result-prefixes",flags:"s",line:"316",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}exclude-result-prefixes"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}, -{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"319","var":"Q{}att",as:"1",slot:"0",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"},{N:"let",line:"320","var":"Q{}parent",as:"*N u[NE,ND]",slot:"1",eval:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"336","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"2", -eval:"13",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}parent",slot:"1"}]},{N:"compAtt",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"fn",role:"select",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"choose",C:[{N:"compareToString",op:"eq",val:"#all", -C:[{N:"dot",type:"1AS"}]},{N:"dot",type:"1AS"},{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot",type:"1AS"}]},{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}parent",slot:"1"}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"100",eval:"0 0 1",C:[{N:"str",val:"XTSE0809"},{N:"str",val:"No default namespace is in scope"},{N:"varRef", -name:"Q{}att",slot:"0"}]},{N:"true"},{N:"dot",type:"1AS"}]},{N:"fn",name:"empty",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"101",eval:"0 16 1",C:[{N:"str",val:"XTSE0808"},{N:"fn",name:"concat",C:[{N:"str",val:"Prefix "},{N:"dot",type:"1AS"},{N:"str",val:" is not declared"}]},{N:"varRef",name:"Q{}att",slot:"0"}]},{N:"true"},{N:"dot", -type:"1AS"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"67",part:"8",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}warning-on-multiple-match",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}warning-on-multiple-match"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"56",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"48",part:"1",rank:"2",minImp:"0",slots:"3",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",flags:"s",line:"288",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}, -{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"289","var":"Q{}tokens",as:"*AS",slot:"0",eval:"4",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"let",line:"290","var":"Q{}recognized",as:"?AS",slot:"1",eval:"7",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}tokens", -slot:"0"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}uri",as:"1AS",slot:"2",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",type:"1AS"},{N:"or",module:"sorting.xsl",line:"21",op:"or",C:[{N:"gc",op:"=",card:"N:1", -comp:"CCC",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1947666055",bSlot:"62"},{N:"varRef",name:"Q{}uri",slot:"2"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}uri",slot:"2"},{N:"str",val:"http://www.w3.org/2013/collation/UCA"}]}]}]}]}]},{N:"compAtt",line:"300",C:[{N:"choose",role:"name",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"str",val:"defaultCollation"},{N:"true"},{N:"str",val:"xsl:defaultCollation"}]},{N:"fn",role:"select",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"varRef",name:"Q{}recognized",slot:"1"},{N:"varRef",name:"Q{}recognized",slot:"1"},{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}tokens",slot:"0"},{N:"int",val:"1"},{N:"int", -val:"2"}]}]}]},{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"63",eval:"0 16 16",C:[{N:"str",val:"XTSE0125"},{N:"fn",name:"concat",C:[{N:"str",val:'Unknown default collation "'},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:'"'}]},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"true"},{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"64",eval:"0 16 16",C:[{N:"str", -val:"XTSE0125"},{N:"fn",name:"concat",C:[{N:"str",val:'No recognized collation in "'},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:'"'}]},{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"73",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}lang",flags:"s",line:"548",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}lang"},{N:"p.nodeTest", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"549",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"fn",name:"matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NA nQ{}lang",flags:"a"}]}]},{N:"str",val:"\\{"},{N:"str",val:""}]}]},{N:"fn", -name:"not",C:[{N:"castable",flags:"a",as:"1ASNTL",C:[{N:"data",diag:"2|0||castable as",C:[{N:"dot",type:"1NA nQ{}lang",flags:"a"}]}]}]}]},{N:"ufCall",line:"550",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"104",eval:"0 16 16",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"dot",type:"1NA nQ{}lang",flags:"a"}]},{N:"str",val:" is not a valid xs:language value"}]},{N:"dot",type:"1NA nQ{}lang",flags:"a"}]}]},{N:"dot",line:"552",type:"1NA nQ{}lang", -flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"94",part:"1",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}name",flags:"s",line:"728",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"728", -name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA nQ{}name"}]}]},{N:"str",val:":"}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"728",name:"not",C:[{N:"fn",name:"matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NA nQ{}name"}]}]},{N:"str",val:"\\{"},{N:"str",val:""}]}]}]}, -{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"728",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"743","var":"Q{}p",slot:"0",eval:"8",C:[{N:"fn",name:"substring-before",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:substring-before",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:":"}]},{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"0"},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"105",eval:"16 16 16",C:[{N:"choose",line:"734",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"}]},{N:"str",val:"XTDE0830"},{N:"true"},{N:"str",val:"XTDE0860"}]},{N:"fn",name:"concat",C:[{N:"str",val:'Prefix "'},{N:"varRef",name:"Q{}p",slot:"0"},{N:"str",val:'" is not bound to a namespace'}]},{N:"dot",type:"1NA",flags:"a"}]},{N:"true"},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"94",rank:"3", -minImp:"0",slots:"1",matches:"NA nQ{}name",flags:"s",line:"728",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"728",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:contains", -C:[{N:"dot",type:"1NA nQ{}name"}]}]},{N:"str",val:":"}]}]},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"728",name:"not",C:[{N:"fn",name:"matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NA nQ{}name"}]}]},{N:"str",val:"\\{"},{N:"str",val:""}]}]}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"}, -{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"728",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"743","var":"Q{}p",slot:"0",eval:"8",C:[{N:"fn", -name:"substring-before",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:substring-before",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:":"}]},{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"0"},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"105",eval:"16 16 16",C:[{N:"choose",line:"734", -C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"}]},{N:"str",val:"XTDE0830"},{N:"true"},{N:"str",val:"XTDE0860"}]},{N:"fn",name:"concat",C:[{N:"str",val:'Prefix "'},{N:"varRef",name:"Q{}p",slot:"0"},{N:"str",val:'" is not bound to a namespace'}]},{N:"dot",type:"1NA",flags:"a"}]},{N:"true"},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"93",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}name",flags:"s", -line:"714",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"723",name:"name",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data", -C:[{N:"mergeAdj",C:[{N:"let","var":"Q{}n",slot:"0",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"106",eval:"16 8",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"107",eval:"16 16 0",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA nQ{}name",flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA nQ{}name",flags:"a"}]}, -{N:"choose",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}n",slot:"0"},{N:"str",val:"Q{}"}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"108",eval:"0 0 16",C:[{N:"str",val:"XTSE0740"},{N:"str",val:"Function must be in a namespace"},{N:"dot",type:"1NA nQ{}name",flags:"a"}]},{N:"true"},{N:"varRef",name:"Q{}n",slot:"0"}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"87",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"655", -module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"656",name:"name",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"109",eval:"16 8", -C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"110",eval:"16 16 0",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA nQ{}name",flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE1570"}]},{N:"dot",type:"1NA nQ{}name",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"74",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"555",module:"normalize.xsl", -C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"556",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}name",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}NCName", -tailCall:"false",bSlot:"111",eval:"8",C:[{N:"dot",type:"1NA nQ{}name",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"45",part:"5",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"269",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"270",name:"name",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"112",eval:"16 8",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"113",eval:"16 16 0",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"45", -part:"4",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"269",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}character-map"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"270",name:"name", -C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"112",eval:"16 8",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"113",eval:"16 16 0",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"45",part:"3",rank:"3",minImp:"0", -slots:"0",matches:"NA nQ{}name",flags:"s",line:"269",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}decimal-format"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"270",name:"name",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved", -tailCall:"false",bSlot:"112",eval:"16 8",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"113",eval:"16 16 0",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"45",part:"2",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s", -line:"269",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"270",name:"name",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"112", -eval:"16 8",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"113",eval:"16 16 0",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"45",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"269",module:"normalize.xsl", -C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"270",name:"name",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"112",eval:"16 8",C:[{N:"ufCall",name:"Q{MyFunctions}EQName", -tailCall:"false",bSlot:"113",eval:"16 16 0",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"45",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"269",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false", -C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"270",name:"name",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"112",eval:"16 8",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"113",eval:"16 16 0", -C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"44",part:"1",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}name",flags:"s",line:"251",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"}, -{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"260",name:"name",C:[{N:"let","var":"Q{}n",slot:"0",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"114",eval:"16 16 0",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA", -flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"choose",C:[{N:"compareToString",op:"eq",val:"Q{http://www.w3.org/1999/XSL/Transform}initial-template",C:[{N:"varRef",name:"Q{}n",slot:"0"}]},{N:"varRef",name:"Q{}n",slot:"0"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"115",eval:"1 8",C:[{N:"varRef",name:"Q{}n",slot:"0"},{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"0.5",seq:"44",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}name",flags:"s",line:"251",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"260", -name:"name",C:[{N:"let","var":"Q{}n",slot:"0",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"114",eval:"16 16 0",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"choose",C:[{N:"compareToString",op:"eq",val:"Q{http://www.w3.org/1999/XSL/Transform}initial-template",C:[{N:"varRef",name:"Q{}n",slot:"0"}]}, -{N:"varRef",name:"Q{}n",slot:"0"},{N:"true"},{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"115",eval:"1 8",C:[{N:"varRef",name:"Q{}n",slot:"0"},{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"43",part:"2",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"246",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]}, -{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"248",name:"name",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"116",eval:"16 8",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"117",eval:"16 16 0",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"check",card:"1", -diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"43",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"246",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"248",name:"name",C:[{N:"ufCall",name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"116",eval:"16 8",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"117",eval:"16 16 0",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"43", -rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"246",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"248",name:"name",C:[{N:"ufCall", -name:"Q{MyFunctions}not-reserved",tailCall:"false",bSlot:"116",eval:"16 8",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"117",eval:"16 16 0",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"str",val:"XTSE0020"}]},{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"104",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}use", -flags:"s",line:"850",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}use"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"850",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"CCC",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space", -C:[{N:"dot",type:"1NA nQ{}use"}]}]}]},{N:"literal",count:"3",C:[{N:"str",val:"required"},{N:"str",val:"optional"},{N:"str",val:"absent"}]}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"851",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"118",eval:"0 16 16", -C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE i[NE,N u[NE,ND]]"}]}]},{N:"str",val:"/@use="},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NA nQ{}use",flags:"a"}]},{N:"str",val:" must be one of required|optional|absent"}]},{N:"dot",type:"1NA nQ{}use",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"57",rank:"3",minImp:"0",slots:"3",matches:"NA nQ{}use-accumulators",flags:"s", -line:"377",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-accumulators"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"386",name:"use-accumulators",C:[{N:"fn",name:"string-join",C:[{N:"let","var":"Q{http://saxon.sf.net/generated-variable}current2109027570", -as:"1",slot:"0",eval:"16",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"},{N:"let","var":"Q{}n",slot:"1",eval:"8",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]},{N:"choose",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"varRef",name:"Q{}n",slot:"1"}]},{N:"str",val:"#all"},{N:"true"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"2", -eval:"13",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current2109027570",slot:"0"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}n",slot:"1"}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"119",eval:"16 1 0",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"},{N:"str",val:"XTSE3300"}]}]}]}]}]}]}, -{N:"str",val:" "}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"85",rank:"5",minImp:"0",slots:"0",matches:"NA nQ{}method",flags:"s",line:"623",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}method"},{N:"gc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"623",op:"=",card:"M:N",comp:"CCC", -C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{}method"}]}]}]},{N:"literal",count:"6",C:[{N:"str",val:"xml"},{N:"str",val:"html"},{N:"str",val:"xhtml"},{N:"str",val:"text"},{N:"str",val:"json"},{N:"str",val:"adaptive"}]}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"624",name:"method",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{}method",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"88",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}method",flags:"s",line:"659",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}method"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"}]}, -{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"660",name:"method",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"120",eval:"16 16 0",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"dot",type:"1NA nQ{}method",flags:"a"}]}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}, -{N:"str",val:"XTSE1570"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"80",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}on-no-match",flags:"s",line:"586",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}on-no-match"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"587",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"fn",role:"select",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"79",part:"1",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}streamable",flags:"s",line:"583",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}streamable"}, -{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"584",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"102",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule", -prec:"0",prio:"0.5",seq:"67",part:"15",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}streamable",flags:"s",line:"500",module:"normalize.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}streamable"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"501",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"ufCall",role:"select",name:"Q{MyFunctions}normalize-boolean",tailCall:"false",bSlot:"56",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"38",rank:"0",minImp:"0",slots:"1",matches:"NT",flags:"s",line:"153",module:"normalize.xsl",C:[{N:"p.nodeTest",role:"match",test:"NT"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"154",C:[{N:"param",name:"Q{}xml-space-preserve",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"choose",line:"156",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT",flags:"a"}]}]},{N:"dot",line:"157",type:"1NT",flags:"a"},{N:"fn",line:"162",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE u[NE u[NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}choose,NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string],NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports],NE nQ{http://www.w3.org/1999/XSL/Transform}next-match],NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates],NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set],NE nQ{http://www.w3.org/1999/XSL/Transform}call-template]"}]}, -{N:"empty"},{N:"and",line:"164",op:"and",C:[{N:"varRef",name:"Q{}xml-space-preserve",slot:"0"},{N:"fn",name:"empty",C:[{N:"axis",name:"following-sibling",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}param,NE nQ{http://www.w3.org/1999/XSL/Transform}sort],NE nQ{http://www.w3.org/1999/XSL/Transform}context-item]"}]}]},{N:"elem",line:"165",name:"xsl:text",nsuri:"http://www.w3.org/1999/XSL/Transform",C:[{N:"dot",line:"166",type:"1NT",flags:"a"}]},{N:"true"},{N:"dot",line:"170",type:"1NT", -flags:"a"}]}]}]}]}]},{N:"co",id:"248",binds:"139 3",C:[{N:"function",name:"Q{MyFunctions}check-tail-position",line:"273",module:"lib.xsl",eval:"7",flags:"pU",as:"0",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"281",C:[{N:"ufCall",name:"Q{MyFunctions}is-tail-position",tailCall:"false",bSlot:"0", -eval:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"empty"},{N:"true"},{N:"check",card:"0",diag:"5|0|XTTE0780|f:check-tail-position#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",eval:"0 16 1",C:[{N:"str",val:"XTSE3120"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" must be in a tail position"}]},{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"161", -binds:"13 176",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_ATOMIC",as:"1AS",line:"58",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"58",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_ATOMIC",bSlot:"1"}]}]}]},{N:"co",id:"249",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_DECIMAL",as:"1FM k[AS] v[1AS]",line:"20", -module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"AD"}]}]}]},{N:"co",id:"185",binds:"13 235",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_STRING",as:"1AS",line:"60",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"60",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef", -name:"Q{}ST.MULTIPLE_STRING",bSlot:"1"}]}]}]},{N:"co",id:"78",binds:"3",C:[{N:"function",name:"Q{MyFunctions}syntax-error-at",line:"371",module:"lib.xsl",eval:"4",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}message",as:"1AS"},{N:"arg",name:"Q{}node",as:"1N"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"374",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at", -tailCall:"foreign",bSlot:"0",eval:"0 1 1",C:[{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{}message",slot:"0"},{N:"varRef",name:"Q{}node",slot:"1"}]}]}]}]},{N:"co",id:"250",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ZERO_OR_ONE",as:"1ADI",line:"110",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"3"}]}]},{N:"co",id:"3",binds:"179",C:[{N:"function",name:"Q{MyFunctions}syntax-error-at",line:"384",module:"lib.xsl",eval:"8",flags:"pU",as:"*",slots:"3",C:[{N:"arg", -name:"Q{}code",as:"1AS"},{N:"arg",name:"Q{}message",as:"1AS"},{N:"arg",name:"Q{}node",as:"1N"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"388",name:"error",C:[{N:"fn",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"varRef",line:"388",name:"Q{}code",slot:"0"}]},{N:"varRef",name:"Q{}message",slot:"1"},{N:"ufCall", -name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"}]}]}]}]},{N:"co",id:"196",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_ITEM",as:"1FM k[AS] v[1AS]",line:"12",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:""}]}]}]},{N:"co",id:"251",binds:"",C:[{N:"function",name:"Q{MyFunctions}QNameToEQ",line:"161",module:"lib.xsl",eval:"8",flags:"pU",as:"1AS", -slots:"1",C:[{N:"arg",name:"Q{}qname",as:"1AQ"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"163",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"0"}]},{N:"str",val:"}"},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"0"}]}]}]}]},{N:"co",id:"252",binds:"13 182", -C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_MAP",as:"1AS",line:"63",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"63",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_MAP",bSlot:"1"}]}]}]},{N:"co",id:"253",binds:"",C:[{N:"function",name:"Q{MyFunctions}escapeAVT",line:"143",module:"lib.xsl",eval:"8",flags:"pU",as:"1AS", -slots:"1",C:[{N:"arg",name:"Q{}s",as:"1AS"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"145",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}s",slot:"0"},{N:"str",val:"\\{"},{N:"str",val:"{{"},{N:"str",val:""}]},{N:"str",val:"\\}"},{N:"str",val:"}}"},{N:"str",val:""}]}]}]},{N:"co",id:"254",binds:"",C:[{N:"function",name:"Q{MyFunctions}text-nodes", -line:"236",module:"lib.xsl",eval:"4",flags:"pU",as:"*N",slots:"2",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}xml-space-preserve",as:"1AB"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"245",C:[{N:"varRef",name:"Q{}xml-space-preserve",slot:"1"},{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"child", -nodeTest:"NT"}]},{N:"true"},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NT"}]}]},{N:"str",val:"\\S"},{N:"str",val:""}]}]}]}]}]},{N:"co",id:"255",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.DISJOINT",as:"1AS",line:"165",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"DJ"}]}]},{N:"co", -id:"256",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_FLOAT",as:"1FM k[AS] v[1AS]",line:"19",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AF"}]}]}]},{N:"co",id:"47",binds:"3 221 192 193",C:[{N:"mode",name:"Q{}serialization-property",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.25",seq:"203",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}*", -flags:"s",line:"112",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}*"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"204",rank:"0",minImp:"0",slots:"1",matches:"NA",flags:"s",line:"114",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"115",C:[{N:"param",name:"Q{}group",slot:"0",flags:"i",as:"+NA",C:[{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check",card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"117",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]}]}]},{N:"ufCall",line:"120",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0", -eval:"0 16 16",C:[{N:"str",val:"XTSE1560"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output declarations contain conflicting values for property "},{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:":"},{N:"fn",name:"string-join",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]},{N:"str",val:","}]}]},{N:"first",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]}]},{N:"choose",line:"123",C:[{N:"and",op:"and",C:[{N:"compareToString", -op:"eq",val:"version",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"125",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"version"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"and",line:"127",op:"and", -C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"1"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"129",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"att",name:"value",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"fn",line:"131",name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"elem",line:"133",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"2",eval:"16 16",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent", -nodeTest:"N u[NE,ND]"}]}]}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"205",part:"1",rank:"2",minImp:"0",slots:"4",matches:"NA nQ{}suppress-indentation",flags:"s",line:"138",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}suppress-indentation"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"139",C:[{N:"param",name:"Q{}group",slot:"0",flags:"i",as:"+NA",C:[{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check",card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"140","var":"Q{}decl",as:"*N u[NE,ND]",slot:"1",eval:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"?AS",slot:"2",eval:"13",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix", -C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"1"}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"3",eval:"13",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"1"}]},{N:"elem",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]}, -{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}group",slot:"0"},{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"3",eval:"16 1 0 1",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1", -slot:"2"}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"205",rank:"2",minImp:"0",slots:"4",matches:"NA nQ{}cdata-section-elements",flags:"s",line:"138",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}cdata-section-elements"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"139",C:[{N:"param",name:"Q{}group", -slot:"0",flags:"i",as:"+NA",C:[{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check",card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"140","var":"Q{}decl",as:"*N u[NE,ND]",slot:"1",eval:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"?AS",slot:"2",eval:"13",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"check", -card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"1"}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"3",eval:"13",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"1"}]},{N:"elem",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"att",name:"value", -flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}group",slot:"0"},{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"3",eval:"16 1 0 1",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"2"}]}]}, -{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"257",binds:"13 258",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_NCNAME",as:"1AS",line:"56",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"56",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_NCNAME",bSlot:"1"}]}]}]},{N:"co",id:"259",binds:"95 97 100",C:[{N:"template",name:"Q{}constructSimpleContent", -flags:"os",as:"1NE",line:"299",module:"creating-new-nodes.xsl",slots:"3",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"300",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context", -C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"322","var":"Q{}parts",as:"1",slot:"1",eval:"16",C:[{N:"check",line:"323",card:"1",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",mode:"Q{}select.or.sequence",bSlot:"0",C:[{N:"dot",role:"select",flags:"a"}]}]},{N:"elem",line:"326",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string-join"}]},{N:"lookup",line:"327",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"1"},{N:"str",val:"select"}]}, -{N:"let",line:"328","var":"Q{}content",as:"1NE",slot:"2",eval:"9",C:[{N:"elem",line:"329",name:"constructSimpleContent",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"varRef",line:"330",name:"Q{}parts",slot:"1"}]},{N:"sequence",line:"334",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"backward-compatibility"}]},{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]}]}]},{N:"elem",line:"335",name:"first",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"336",name:"Q{}content",slot:"2"}]},{N:"true"},{N:"varRef",line:"340",name:"Q{}content",slot:"2"}]},{N:"choose",line:"344",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}comment,NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction],NE nQ{http://www.w3.org/1999/XSL/Transform}namespace]"}]}]}, -{N:"elem",line:"345",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:" "}]}]},{N:"fn",line:"347",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"fn",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA nQ{}separator"}]}]},{N:"str",val:"{"}]}]}]}, -{N:"forEach",line:"348",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"callT",line:"349",name:"Q{}value-template",bSlot:"2"}]},{N:"fn",line:"352",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]}]},{N:"elem",line:"353",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", -C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}separator",chk:"0"}]}]}]}]},{N:"true"},{N:"elem",line:"356",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"choose",C:[{N:"fn",line:"325",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}, -{N:"str",val:" "},{N:"true"},{N:"str",val:""}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"173",binds:"13 165",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_STRING",as:"1AS",line:"59",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"59",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"1"}]}]}]},{N:"co",id:"224",binds:"109", -C:[{N:"globalVariable",name:"Q{}types",as:"1FM k[AS] v[1F]",line:"415",module:"type.xsl",slots:"6",visibility:"PRIVATE",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"417",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"gVarRef",name:"Q{}type.hierarchy.tree",bSlot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]}, -{N:"let",line:"418","var":"Q{}isAtomic",as:"1AB",slot:"2",eval:"8",C:[{N:"fn",name:"starts-with",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:"xs:"}]},{N:"let",line:"419","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"3",eval:"13",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isAtomic",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"filter", -flags:"ib",C:[{N:"str",val:"()"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]},{N:"ifCall",line:"425",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:"supertypes"},{N:"slash",C:[{N:"fn",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE"},{N:"axis",name:"ancestor",nodeTest:"NE"}]}]},{N:"let","var":"Q{}n",slot:"4",eval:"8", -C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"5",eval:"13",C:[{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}n",slot:"4"},{N:"str",val:"xs:"}]}]},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}n",slot:"4"},{N:"filter",flags:"ib",C:[{N:"str",val:"()"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"5"}]}]}]}]}]}]},{N:"ifCall",line:"426",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"isPlain"},{N:"varRef",name:"Q{}isAtomic",slot:"2"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"empty-sequence()"},{N:"map",size:"1",C:[{N:"str",val:"isPlain"},{N:"false"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"co",id:"179", -binds:"",C:[{N:"function",name:"Q{MyFunctions}line-loc",line:"413",module:"lib.xsl",eval:"8",flags:"pU",as:"1AS",slots:"7",C:[{N:"arg",name:"Q{}node",as:"1N"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"415","var":"Q{}containingElement",as:"*N u[NE,ND]",slot:"1",eval:"4",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"sequence", -C:[{N:"slash",simple:"1",C:[{N:"axis",name:"self",nodeTest:"NA"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"slash",simple:"1",C:[{N:"axis",name:"self",nodeTest:"NT"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"axis",name:"self",nodeTest:"NE"}]}]},{N:"cvUntyped",line:"418",to:"AS",diag:"5|0|XTTE0780|f:line-loc#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"let","var":"Q{}lineNumber",as:"1ADI", -slot:"2",eval:"16",C:[{N:"let",line:"419","var":"Q{}lineAtt",as:"*NA",slot:"3",eval:"4",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"},{N:"lastOf",C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}line"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}]}]}]}]},{N:"choose",line:"421",C:[{N:"gc",op:">=",card:"N:1", -comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||>=",C:[{N:"varRef",name:"Q{}lineAtt",slot:"3"}]},{N:"int",val:"0"}]},{N:"check",line:"422",card:"1",diag:"3|0|XTTE0570|lineNumber",C:[{N:"cast",flags:"ae",as:"?ADI",C:[{N:"atomSing",card:"?",diag:"2|0||cast as",C:[{N:"varRef",name:"Q{}lineAtt",slot:"3"}]}]}]},{N:"true"},{N:"check",line:"426",card:"1",diag:"3|0|XTTE0570|lineNumber",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"check", -card:"?",diag:"0|0||saxon:line-number",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"}]}]}]}]}]},{N:"sequence",line:"433",C:[{N:"choose",C:[{N:"compareToInt",op:"ge",val:"0",C:[{N:"varRef",name:"Q{}lineNumber",slot:"2"}]},{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:" on line "},{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}lineNumber",slot:"2"}]}]}]}]},{N:"let",line:"436","var":"Q{}module",as:"?",slot:"4",eval:"7",C:[{N:"first",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"varRef", -name:"Q{}containingElement",slot:"1"},{N:"lastOf",C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}baseUri"}]}]}]}]}]},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"varRef",name:"Q{}containingElement",slot:"1"}]}]}]}]},{N:"choose",line:"437",C:[{N:"varRef", -name:"Q{}module",slot:"4"},{N:"valueOf",C:[{N:"fn",line:"443",name:"concat",C:[{N:"str",val:" in "},{N:"let","var":"Q{}tokens",as:"*AS",slot:"5",eval:"4",C:[{N:"fn",name:"tokenize",C:[{N:"treat",line:"437",as:"AS",diag:"0|0||f:abbreviated-module-uri",C:[{N:"check",card:"1",diag:"0|0||f:abbreviated-module-uri",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:abbreviated-module-uri",C:[{N:"varRef",name:"Q{}module",slot:"4"}]}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]},{N:"let",line:"444","var":"Q{}n", -as:"1ADI",slot:"6",eval:"8",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}tokens",slot:"5"}]},{N:"fn",line:"445",name:"concat",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}tokens",slot:"5"},{N:"arith",op:"-",calc:"i-i",C:[{N:"varRef",name:"Q{}n",slot:"6"},{N:"int",val:"1"}]}]},{N:"str",val:"/"},{N:"subscript",C:[{N:"varRef",name:"Q{}tokens",slot:"5"},{N:"varRef",name:"Q{}n",slot:"6"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]},{N:"co",id:"260",binds:"",C:[{N:"function",name:"Q{MyFunctions}typeCardinality", -line:"32",module:"type.xsl",eval:"16",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"43",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"empty-sequence()"},{N:"str",val:"error()0"}]},{N:"varRef",name:"Q{}type",slot:"0"}]},{N:"str",val:"0"},{N:"fn",name:"matches",C:[{N:"varRef", -name:"Q{}type",slot:"0"},{N:"str",val:"[*?+]$"},{N:"str",val:""}]},{N:"fn",name:"substring",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"fn",name:"string-length",C:[{N:"varRef",name:"Q{}type",slot:"0"}]}]},{N:"true"},{N:"str",val:"1"}]}]}]},{N:"co",id:"261",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SAME_TYPE",as:"1AS",line:"162",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"EQ"}]}]},{N:"co",id:"262",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg31270011", -as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str", -val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-property/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"201",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}APOS",as:"1ADI",line:"20",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"39"}]}]},{N:"co",id:"263",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_URI",as:"1FM k[AS] v[1AS]",line:"27",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str", -val:"p"},{N:"str",val:"AU"}]}]}]},{N:"co",id:"264",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_MAP",as:"1FM k[AS] v[1AS]",line:"40",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"FM"}]}]}]},{N:"co",id:"40",binds:"34 140 13 265 53 125 80 80 3 80 80 125 99 40 119 125 80 119 80 96 97 126 96 39 16 248 3 125 125 80 80 39 80 39 95 95 97 16 95 97 125 99 266 31 125 80 94 96 97 119 125 40 221 267 194 96 97 221 96 97 221 96 39 97 80 268 125 39 125 39 125 95 233 39 269 125 99 97 97 97 52 53 269 3 53 125 39 125 99 270 80 95 80 95 39 80 229 125 53 200 271 229 34 125 80 97 94 94 39 97 95 125 99 272 273 192 52 125 80 94 94 51 31 52 61 95 3 13 31 34 34 3 26 3 125 95 97 51 3 3 125 3 31 52 13 107 9 125 80 80 80 80 80 100 97 95 39 125 99 274 275 31 125 3 126 95 95 121 100 97 259 121 259 119 80 96 97 96 97 80 76 125 99 259 76 52 52 3 53 125 259 181 80 95 126 125 39 31 125 80 125 95 51 94 52 125 40 80 39 97 51 271 229 80 125 94 96 97 39 95 125 99 262 271 125 80 241 3 3 39 97 95 52 125 95 59 100 259 200 125 53 259 192 52 45 45 45 107 9 107 13 13 13 125 39 97 16 248 125 95 52 200 3 3 149 3 3 3 80 276 96 97 96 97 39 277 259 76 100 45 278 96 97 3 279 96 97 80 100 200", -C:[{N:"mode",name:"Q{}sef",onNo:"SC",flags:"W",patternSlots:"1",C:[{N:"templateRule",prec:"0",prio:"5.01",seq:"327",rank:"17",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"25",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"25",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"26",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"31",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}xpath-default-namespace",flags:"t",as:"1NA",C:[{N:"att",line:"29",name:"xpath-default-namespace",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"5.0",seq:"322",rank:"16",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param", -name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.6",seq:"362", -rank:"15",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t", -as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"357",rank:"14",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"104",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",eval:"16",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"3.3",seq:"353",rank:"13",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"96",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"350",rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"78",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"79",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"82",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}defaultCollation",C:[{N:"axis",line:"81",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"347",rank:"12",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*", -flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"72",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"75",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05", -seq:"342",rank:"11",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"62",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"338",rank:"10",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute", -nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"53",flags:"t",C:[{N:"withParam",name:"Q{}attr", -as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03",seq:"334",rank:"9",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41", -module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"45",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"330",rank:"8",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"38",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", -name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"226",rank:"6",minImp:"0",slots:"4",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"448",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate", -role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"448",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"227",rank:"6",minImp:"0",slots:"4",matches:"NE",flags:"s",line:"448",module:"creating-new-nodes.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"448",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"448",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", line:"449",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"450",name:"Q{}static-context",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"456","var":"Q{}version",as:"?AD", -slot:"2",eval:"7",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"true"},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"nextMatch",line:"457",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"458", -name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM",C:[{N:"ifCall",line:"463",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}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:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", +slot:"2",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"true"},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"nextMatch",line:"457",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"458",name:"Q{}attr", +slot:"0"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM",C:[{N:"ifCall",line:"463",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}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:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"2"},{N:"dec",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}static-context",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:"withParam",name:"Q{}xsl-version", -flags:"t",as:"?AD",C:[{N:"varRef",line:"464",name:"Q{}version",slot:"2"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"465",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"2"},{N:"dec",val:"2"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"226",rank:"6",minImp:"0",slots:"4",matches:"NE",flags:"s",line:"448",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"448",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"449",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"450",name:"Q{}static-context", -slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"456","var":"Q{}version",as:"?AD",slot:"2",eval:"7",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}version"}]},{N:"true"},{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"nextMatch",line:"457",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"458",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}static-context",flags:"t",as:"1FM",C:[{N:"ifCall",line:"463",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}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:"xsl-version"},{N:"varRef",name:"Q{}version",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"backward-compatibility"},{N:"vc",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"2"},{N:"dec",val:"2"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"}, -{N:"str",val:"XQDY0137"}]}]},{N:"varRef",name:"Q{}static-context",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:"withParam",name:"Q{}xsl-version",flags:"t",as:"?AD",C:[{N:"varRef",line:"464",name:"Q{}version",slot:"2"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"465",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"2"},{N:"dec",val:"2"}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"1.0",seq:"174",rank:"3",minImp:"0",slots:"2",matches:"NE",flags:"s",line:"161",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"161",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"},{N:"axis", -name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"162",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"164","var":"Q{}temp", -as:"*NE",slot:"1",eval:"4",C:[{N:"treat",line:"165",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"166",name:"Q{}attr",slot:"0"}]}]}]},{N:"applyT",line:"169",mode:"Q{}on-empty",flags:"t",bSlot:"1",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"1"},{N:"withParam",name:"Q{}element.attributes",flags:"t",as:"*AS",C:[{N:"choose",line:"176",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"1"}, -{N:"axis",name:"self",nodeTest:"NE n*:elem"}]}]},{N:"slash",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"228",rank:"0",minImp:"0",slots:"11",matches:"NE",flags:"s",as:"1NE",line:"470",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +flags:"t",as:"?AD",C:[{N:"varRef",line:"464",name:"Q{}version",slot:"2"}]},{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"465",op:"lt",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"2"},{N:"dec",val:"2"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"175",rank:"3",minImp:"0",slots:"2",matches:"NE",flags:"s",line:"161",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"161",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"162",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion", +as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"164","var":"Q{}temp",as:"*NE",slot:"1",C:[{N:"treat",line:"165",as:"NE",diag:"3|0|XTTE0570|temp",C:[{N:"nextMatch",flags:"i",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"166",name:"Q{}attr",slot:"0"}]}]}]},{N:"applyT",line:"169",mode:"Q{}on-empty",flags:"t",bSlot:"1",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"1"},{N:"withParam",name:"Q{}element.attributes",flags:"t",as:"*AS",C:[{N:"choose",line:"176", +C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}temp",slot:"1"},{N:"axis",name:"self",nodeTest:"NE n*:elem"}]}]},{N:"slash",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"229",rank:"0",minImp:"0",slots:"11",matches:"NE",flags:"s",as:"1NE",line:"470",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", line:"471",card:"1",diag:'7|0|XTTE0505|match="*" mode="sef"',C:[{N:"sequence",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"472",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied", -slot:"1"}]}]}]},{N:"param",line:"473",name:"Q{}static-context",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"let",line:"474","var":"Q{}namespace-aliases",as:"?FM",slot:"3",eval:"7",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"2"},{N:"str",val:"namespace-aliases"}]}]}]},{N:"let",line:"481","var":"Q{}element-name", -as:"1AQ",slot:"4",eval:"16",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]},{N:"let","var":"Q{}original-name",as:"1AQ",slot:"5",eval:"16",C:[{N:"check",card:"1",diag:"0|0||f:map-aliased-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let","var":"Q{}namespace-aliases",as:"1FM",slot:"6",eval:"16",C:[{N:"check",card:"1",diag:"0|1||f:map-aliased-name",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]},{N:"let",line:"544","var":"Q{}original-uri", -as:"1AU",slot:"7",eval:"8",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"5"}]},{N:"let",line:"547","var":"Q{}new-uri",as:"1AS",slot:"8",eval:"16",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"6"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri",slot:"7"}]}]}]}, -{N:"convert",line:"548",from:"AU",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef",name:"Q{}original-uri",slot:"7"}]},{N:"true"},{N:"treat",line:"551",as:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri", -slot:"7"}]},{N:"int",val:"2"}]}]}]}]}]}]},{N:"choose",line:"556",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"7"},{N:"varRef",name:"Q{}new-uri",slot:"8"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"5"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"9",eval:"7",C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri", -slot:"7"}]}]},{N:"fn",line:"567",name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"8"},{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"9"}]},{N:"str",val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"varRef",name:"Q{}prefix",slot:"9"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName", -C:[{N:"varRef",name:"Q{}original-name",slot:"5"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"check",card:"1",diag:"3|0|XTTE0570|element-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"491",name:"elem",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}element-name",slot:"4"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false", -bSlot:"2",eval:"16",C:[{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:"p"},{N:"str",val:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"n"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"163",name:"concat", -C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"creating-new-nodes.xsl",line:"491",name:"Q{}element-name",slot:"4"}]},{N:"str",val:"}"},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +slot:"1"}]}]}]},{N:"param",line:"473",name:"Q{}static-context",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"let",line:"474","var":"Q{}namespace-aliases",as:"?FM",slot:"3",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"2"},{N:"str",val:"namespace-aliases"}]}]}]},{N:"let",line:"481","var":"Q{}element-name",as:"1AQ", +slot:"4",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]},{N:"let","var":"Q{}original-name",as:"1AQ",slot:"5",C:[{N:"check",card:"1",diag:"0|0||f:map-aliased-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let","var":"Q{}namespace-aliases",as:"1FM",slot:"6",C:[{N:"check",card:"1",diag:"0|1||f:map-aliased-name",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]},{N:"let",line:"544","var":"Q{}original-uri",as:"1AU",slot:"7", +C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"5"}]},{N:"let",line:"547","var":"Q{}new-uri",as:"1AS",slot:"8",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"6"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri",slot:"7"}]}]}]},{N:"convert",line:"548",from:"AU", +to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef",name:"Q{}original-uri",slot:"7"}]}]},{N:"true"},{N:"check",line:"551",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef", +name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri",slot:"7"}]},{N:"int",val:"2"}]}]}]}]}]}]},{N:"choose",line:"556",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"7"},{N:"varRef",name:"Q{}new-uri",slot:"8"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"5"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"9",C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef", +name:"Q{}namespace-aliases",slot:"6"},{N:"varRef",name:"Q{}original-uri",slot:"7"}]}]},{N:"fn",line:"567",name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"8"},{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"9"}]},{N:"str",val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat", +C:[{N:"varRef",name:"Q{}prefix",slot:"9"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"5"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"check",card:"1",diag:"3|0|XTTE0570|element-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"491",name:"elem",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}element-name", +slot:"4"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"2",C:[{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:"p"},{N:"str",val:"NE"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"n"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"creating-new-nodes.xsl",line:"491",name:"Q{}element-name",slot:"4"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", module:"creating-new-nodes.xsl",line:"491",name:"Q{}element-name",slot:"4"}]}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]}]}]},{N:"att",name:"nsuri",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}element-name",slot:"4"}]}]}]},{N:"att",name:"namespaces",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}record-namespaces",tailCall:"false",bSlot:"3", -eval:"16 11",C:[{N:"dot",type:"1NE",flags:"a"},{N:"sequence",line:"486",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}exclude"}]}]}]},{N:"treat",as:"AS",diag:"3|0|XTTE0570|excluded-namespaces",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|excluded-namespaces",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"check",card:"1",diag:"0|0||map:keys", -C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]}]}]}]},{N:"str",val:"http://www.w3.org/1999/XSL/Transform"}]}]}]},{N:"applyT",line:"492",mode:"Q{}attribute-sans-prefix",bSlot:"4",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"choose", -line:"493",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"str",val:"false"}]},{N:"att",line:"494",name:"flags",flags:"l",C:[{N:"str",val:"C"}]}]},{N:"forEach",line:"496",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"},{N:"att",line:"497",name:"defaultElementNS",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", -C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]},{N:"forEach",line:"499",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"},{N:"att",line:"500",name:"defaultCollation",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]}]}]}]},{N:"let",line:"502","var":"Q{}default-collation",as:"?NA",slot:"10",eval:"7",C:[{N:"choose", -line:"504",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]},{N:"att",line:"505",name:"defaultCollation",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]}]}]},{N:"true"},{N:"varRef",line:"508",name:"Q{}default-collation",slot:"1"}]},{N:"sequence",line:"512",C:[{N:"except",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef", -name:"Q{}attr",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"callT",line:"513",name:"Q{}record-location",bSlot:"5"},{N:"choose",line:"515",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]},{N:"elem",line:"516",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"and",line:"518",op:"and", -C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"519",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA",C:[{N:"varRef",line:"520",name:"Q{}default-collation",slot:"10"}]}]},{N:"true"},{N:"elem", -line:"524",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"525",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets"}]},{N:"applyT",line:"529",flags:"c",bSlot:"-1",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"},{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets,NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation],NA nQ{http://ns.saxonica.com/xslt/export}*]]"}]}]}, -{N:"applyT",line:"530",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA",C:[{N:"varRef",line:"531",name:"Q{}default-collation",slot:"10"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"249",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"22",module:"merging.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}, -{N:"vc",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"22",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}sort-before-merge",chk:"0"},{N:"str",val:"true"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"23",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"24",name:"mergeSrc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"25",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"applyT",line:"26",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]}, -{N:"elem",line:"27",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"selectRows"}]},{N:"applyT",line:"28",mode:"Q{}create.xpath",bSlot:"6",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"29",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key"}]}]}]},{N:"applyT",line:"31",mode:"Q{}create.xpath",bSlot:"7", -C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-source"}]}]},{N:"applyT",line:"32",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"118",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"909",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate", -C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"909",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"910", -name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"8",eval:"0 16 16",C:[{N:"str",val:"XTSE3190"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:merge-source siblings cannot have the same name:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"250",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source", -flags:"s",line:"36",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"37",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", -slot:"0"}]}]},{N:"elem",line:"38",name:"mergeSrc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"39",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"applyT",line:"40",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]},{N:"applyT",line:"41",mode:"Q{}create.xpath",bSlot:"9",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"42",mode:"Q{}create.xpath", -bSlot:"10",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-source"}]}]},{N:"applyT",line:"43",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"388",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}output",flags:"s",line:"1716",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"371",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"s",line:"99",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +C:[{N:"dot",type:"1NE",flags:"a"},{N:"sequence",line:"486",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:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}exclude"}]}]}]}]},{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|excluded-namespaces",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|excluded-namespaces",C:[{N:"ifCall", +name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"3"}]}]}]}]},{N:"str",val:"http://www.w3.org/1999/XSL/Transform"}]}]}]},{N:"applyT",line:"492",mode:"Q{}attribute-sans-prefix",bSlot:"4",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"choose",line:"493",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"str",val:"false"}]},{N:"att",line:"494",name:"flags",flags:"l",C:[{N:"str",val:"C"}]}]},{N:"forEach",line:"496",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}, +{N:"att",line:"497",name:"defaultElementNS",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]},{N:"forEach",line:"499",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"},{N:"att",line:"500",name:"defaultCollation",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]}]}]}]}, +{N:"let",line:"502","var":"Q{}default-collation",as:"?NA",slot:"10",C:[{N:"choose",line:"503",C:[{N:"fn",line:"504",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]},{N:"att",line:"505",name:"defaultCollation",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation"}]}]}]},{N:"true"},{N:"varRef",line:"508",name:"Q{}default-collation",slot:"1"}]}, +{N:"sequence",line:"512",C:[{N:"except",op:"except",C:[{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"callT",line:"513",name:"Q{}record-location",bSlot:"5"},{N:"choose",line:"514",C:[{N:"and",line:"515",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"elem",line:"516",name:"empty", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"and",line:"518",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]}]},{N:"applyT",line:"519",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"},{N:"withParam",name:"Q{}default-collation",flags:"t", +as:"?NA",C:[{N:"varRef",line:"520",name:"Q{}default-collation",slot:"10"}]}]},{N:"true"},{N:"elem",line:"524",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"525",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets"}]},{N:"applyT",line:"529",flags:"c",bSlot:"-1",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}, +{N:"axis",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets,NA nQ{http://www.w3.org/1999/XSL/Transform}defaultCollation],NA nQ{http://ns.saxonica.com/xslt/export}*]]"}]}]},{N:"applyT",line:"530",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA",C:[{N:"varRef",line:"531",name:"Q{}default-collation",slot:"10"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"0.0",seq:"378",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}message",flags:"s",line:"1561",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}message"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1562",C:[{N:"param", +name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"1563",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"1564",name:"Q{}default-collation", +slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"1566",name:"message",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"6"}]},{N:"att",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", +C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"XSLT-SEF-compiler.xsl", +line:"1565",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}message",flags:"a"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}]},{N:"varRef",line:"1568",name:"Q{}attr",slot:"0"},{N:"elem",line:"1569",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"applyT",line:"1570",mode:"Q{}create.xpath",bSlot:"7",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"1571",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]},{N:"callT",line:"1573",name:"Q{MyFunctions}AVT",bSlot:"8",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}terminate",C:[{N:"axis",line:"1574",name:"attribute",nodeTest:"NA nQ{}terminate"}]}, +{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"false"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"1576",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"9"},{N:"str",val:"terminate"}]}]}]}]}]},{N:"callT",line:"1578",name:"Q{MyFunctions}AVT",bSlot:"10",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}error-code",C:[{N:"axis",line:"1579",name:"attribute", +nodeTest:"NA nQ{}error-code"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"1582",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"11"},{N:"str",val:"error"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"389",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}output", +flags:"s",line:"1716",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}output"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"372",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"s",line:"99",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", line:"100",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"101",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}schedule-action"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"102",name:"Q{}attr", -slot:"0"},{N:"callT",line:"103",name:"Q{}record-location",bSlot:"11"},{N:"elem",line:"104",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}wait"},{N:"str",val:"0"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS", -C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"1",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"a"},{N:"treat", -module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"2",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number", -type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"1"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"2"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"1"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"2"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"forEach",line:"105",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}document"},{N:"callT",line:"106",name:"Q{}role-value-template", -bSlot:"12"}]},{N:"choose",line:"108",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}document"}]},{N:"elem",line:"109",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"empty"}]}]},{N:"applyT",line:"111",mode:"Q{}sef",flags:"i",bSlot:"13",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]},{N:"choose",line:"112",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}http-request"}]},{N:"elem",line:"113",name:"xpath", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}http-request"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node", -as:"1N",slot:"3",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data", -diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"4",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"3"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"4"},{N:"int",val:"-1"}]},{N:"homCheck", -C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"3"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"4"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"170",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}assert",flags:"s",line:"104",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}assert"},{N:"sequence",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"105",C:[{N:"param",name:"Q{}options",slot:"0",flags:"tr",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"106",name:"Q{}compiler.options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select", -size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|compiler.options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|compiler.options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"107",name:"Q{}attr",slot:"2",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"109",C:[{N:"or",op:"or",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"enable-assertions"}]},{N:"lookup", -C:[{N:"varRef",name:"Q{}compiler.options",slot:"1"},{N:"str",val:"enable-assertions"}]}]},{N:"elem",line:"111",name:"choose",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"14"}]},{N:"att",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -module:"namespaces.xsl",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"conditionals.xsl",line:"110",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}assert",flags:"a"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn", -name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}]},{N:"varRef",line:"112",name:"Q{}attr",slot:"2"},{N:"callT",line:"113",name:"Q{}record-location",bSlot:"15"},{N:"applyT",line:"114",mode:"Q{}create.xpath",bSlot:"16",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"elem",line:"115",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"116",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"117",name:"message",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"17"}]},{N:"elem",line:"118",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]}, -{N:"applyT",line:"119",mode:"Q{}create.xpath",bSlot:"18",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"120",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]},{N:"elem",line:"122",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"terminate"}]}]},{N:"callT",line:"123",name:"Q{MyFunctions}AVT",bSlot:"19",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}error-code", -C:[{N:"axis",line:"124",name:"attribute",nodeTest:"NA nQ{}error-code"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9001"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"126",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"20"},{N:"str",val:"error"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"elem",line:"132",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"empty"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"269",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}map",flags:"s",line:"14",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}map"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"15", -C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"16",name:"MAP",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"17",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"elem",line:"18",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"19",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"262",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}source-document",flags:"s",line:"17",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}source-document"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"18", -C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"19",name:"Q{}options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"20",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d", -C:[{N:"sequence",line:"21",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"elem",line:"22",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"doc"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"21"}]},{N:"choose",line:"23",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"24",name:"baseUri",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}source-document",flags:"a"},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri",chk:"0"}]}]}]}]},{N:"callT",line:"26",name:"Q{MyFunctions}AVT",bSlot:"22",C:[{N:"withParam", -name:"Q{}avt-string",flags:"c",as:"?NA nQ{}href",C:[{N:"axis",line:"27",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]}]},{N:"callT",line:"30",name:"Q{}sequence-constructor",bSlot:"23"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"160",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"s",line:"144",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"},{N:"sequence",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"145",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"ufCall",line:"146",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"24",eval:"8",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration", -flags:"a"}]},{N:"ufCall",line:"146",name:"Q{MyFunctions}check-tail-position",tailCall:"false",bSlot:"25",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"a"}]},{N:"let",line:"147","var":"Q{}iteration-params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"1",eval:"4",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"a"},{N:"axis",name:"ancestor", -nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"let",line:"149","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*AZ",slot:"2",eval:"4",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}iteration-params",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",line:"148",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}, -{N:"choose",line:"149",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"},{N:"attVal",name:"Q{}name",chk:"0"}]}]},{N:"ufCall",line:"152",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"26",eval:"0 16 16",C:[{N:"str",val:"XTSE3130"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:next-iteration parameter '"},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:"' is not a parameter of the enclosing xsl:iterate"}]}, -{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]}]}]},{N:"elem",line:"155",name:"nextIteration",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"156",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"157",name:"Q{}record-location",bSlot:"27"},{N:"applyT",line:"158",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"169",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}if", +slot:"0"},{N:"callT",line:"103",name:"Q{}record-location",bSlot:"12"},{N:"elem",line:"104",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}wait"},{N:"str",val:"0"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS", +C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"1",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"a"},{N:"treat",module:"lib.xsl", +line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"2",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", +C:[{N:"varRef",name:"Q{}node",slot:"1"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"2"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"1"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"2"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"forEach",line:"105",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}document"},{N:"callT",line:"106",name:"Q{}role-value-template",bSlot:"13"}]}, +{N:"choose",line:"108",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}document"}]},{N:"elem",line:"109",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"empty"}]}]},{N:"applyT",line:"111",mode:"Q{}sef",flags:"i",bSlot:"14",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]},{N:"choose",line:"112",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}http-request"}]},{N:"elem",line:"113",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}http-request"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"3",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}schedule-action",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"4",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"3"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"4"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"3"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"4"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0", +seq:"171",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}assert",flags:"s",line:"104",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}assert"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"105",C:[{N:"param",name:"Q{}options",slot:"0",flags:"tr", +as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"106",name:"Q{}compiler.options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|compiler.options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|compiler.options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"107",name:"Q{}attr",slot:"2",as:"*NA",C:[{N:"empty", +role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"108",C:[{N:"or",line:"109",op:"or",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"enable-assertions"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}compiler.options",slot:"1"},{N:"str",val:"enable-assertions"}]}]},{N:"elem",line:"111",name:"choose",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef", +name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"15"}]},{N:"att",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"conditionals.xsl",line:"110",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}assert",flags:"a"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}]},{N:"varRef",line:"112",name:"Q{}attr",slot:"2"},{N:"callT",line:"113",name:"Q{}record-location",bSlot:"16"}, +{N:"applyT",line:"114",mode:"Q{}create.xpath",bSlot:"17",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"elem",line:"115",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"116",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"117",name:"message",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE", +bSlot:"18"}]},{N:"elem",line:"118",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"applyT",line:"119",mode:"Q{}create.xpath",bSlot:"19",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"120",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]},{N:"elem",line:"122",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", +C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"terminate"}]}]},{N:"callT",line:"123",name:"Q{MyFunctions}AVT",bSlot:"20",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}error-code",C:[{N:"axis",line:"124",name:"attribute",nodeTest:"NA nQ{}error-code"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9001"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"126",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check", +card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"21"},{N:"str",val:"error"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"elem",line:"132",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"270",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}map",flags:"s",line:"14",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}map"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"15",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"16",name:"MAP",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"17",C:[{N:"varRef", +name:"Q{}attr",slot:"0"},{N:"elem",line:"18",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"19",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"263",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}source-document",flags:"s",line:"17",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}source-document"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"18",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"19",name:"Q{}options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", +as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"20",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"21",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"elem",line:"22",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"doc"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT", +bSlot:"22"}]},{N:"choose",line:"23",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"24",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"first",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}source-document",flags:"a"},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}, +{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"callT",line:"26",name:"Q{MyFunctions}AVT",bSlot:"23",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}href",C:[{N:"axis",line:"27",name:"attribute",nodeTest:"NA nQ{}href"}]}]}]}]},{N:"callT",line:"30",name:"Q{}sequence-constructor",bSlot:"24"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"154",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-match",flags:"s",line:"190", +module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-match"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"191",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem", +line:"192",name:"nextMatch",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"25"}]},{N:"varRef",line:"193",name:"Q{}attr",slot:"0"},{N:"callT",line:"194",name:"Q{}record-location",bSlot:"26"},{N:"applyT",line:"195",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"170",rank:"1",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}if", flags:"s",line:"68",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}if"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check", -card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"70",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"71",name:"choose",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"72",C:[{N:"varRef",name:"Q{}attr",slot:"1"},{N:"callT",line:"73",name:"Q{}record-location",bSlot:"28"},{N:"applyT",line:"74",mode:"Q{}create.xpath", -bSlot:"29",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"choose",line:"76",C:[{N:"and",op:"and",C:[{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}then,NA nQ{}else]"}]}]},{N:"sequence",line:"78", -C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}then"}]},{N:"applyT",line:"79",mode:"Q{}create.xpath",bSlot:"30",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}then"}]},{N:"true"},{N:"callT",line:"82",name:"Q{}sequence-constructor",bSlot:"31"}]},{N:"elem",line:"85",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"choose",line:"87",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}else"}]}, -{N:"applyT",line:"88",mode:"Q{}create.xpath",bSlot:"32",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}else"}]},{N:"true"},{N:"elem",line:"91",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]},{N:"true"},{N:"sequence",line:"96",C:[{N:"callT",name:"Q{}sequence-constructor",bSlot:"33"},{N:"elem",line:"97",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"98",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"181",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"s",line:"241",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"242",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"243","var":"Q{}context",as:"1",slot:"1",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"a"},{N:"let",line:"244","var":"Q{}errors",as:"*AS",slot:"2",eval:"4",C:[{N:"fn",name:"tokenize",C:[{N:"treat",as:"AS",diag:"0|0||fn:tokenize",C:[{N:"check",card:"?",diag:"0|0||fn:tokenize", -C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}errors"},{N:"str",val:"*"}]}]}]}]}]}]}]},{N:"elem",line:"245",name:"catch",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"err",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}errors",slot:"2"},{N:"str",val:" "}]}]},{N:"att",line:"246",name:"errors",flags:"l",C:[{N:"fn",line:"247",name:"string-join",C:[{N:"forEach", -C:[{N:"varRef",name:"Q{}errors",slot:"2"},{N:"choose",line:"249",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1AS"},{N:"str",val:"*"}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"*:"}]}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"Q{"}]}]},{N:"dot",line:"250",type:"1AS"},{N:"fn",line:"252",name:"ends-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"}*"}]}, -{N:"fn",line:"253",name:"replace",C:[{N:"let","var":"Q{}qname",as:"1AQ",slot:"3",eval:"8",C:[{N:"fn",name:"resolve-QName",C:[{N:"fn",name:"replace",C:[{N:"dot",type:"1AS"},{N:"str",val:"*$"},{N:"str",val:"Z"},{N:"str",val:""}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"fn",module:"lib.xsl",line:"163",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"3"}]},{N:"str",val:"}"},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qname", -slot:"3"}]}]}]},{N:"str",val:"Z$"},{N:"str",val:"*"},{N:"str",val:""}]},{N:"true"},{N:"let",line:"256","var":"Q{}qname",as:"1AQ",slot:"4",eval:"8",C:[{N:"fn",name:"resolve-QName",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"fn",module:"lib.xsl",line:"163",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"4"}]},{N:"str",val:"}"},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"4"}]}]}]}]}]}, -{N:"str",val:" "}]}]},{N:"varRef",line:"274",name:"Q{}attr",slot:"0"},{N:"applyT",line:"275",mode:"Q{}select.or.sequence",bSlot:"34",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"252",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action",flags:"s",line:"49",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action"}, -{N:"applyT",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50",mode:"Q{}select.or.sequence",flags:"t",bSlot:"35",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"51",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"36"},{N:"str",val:"action"}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"376",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback",flags:"s",line:"1555",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"162",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"s",line:"171",module:"repetition.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"172",C:[{N:"ufCall",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"37",eval:"8",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"a"}]},{N:"applyT", -line:"173",mode:"Q{}select.or.sequence",flags:"t",bSlot:"38",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"174",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"39"},{N:"str",val:"on-completion"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"368",rank:"1",minImp:"0",slots:"4",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property",flags:"s",line:"48",module:"ixsl.xsl",C:[{N:"p.nodeTest", -role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"49",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace", -C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"50",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"51",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}remove-property"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef", -line:"52",name:"Q{}attr",slot:"1"},{N:"callT",line:"53",name:"Q{}record-location",bSlot:"40"},{N:"forEach",line:"54",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"55",name:"Q{}role-value-template",bSlot:"41"}]},{N:"elem",line:"58",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"ixsl:window()"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"3",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l", -C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -name:"Q{http://saxon.sf.net/generated-variable}gg522796215",bSlot:"42"}]}]}]}]},{N:"varRef",line:"59",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"150",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates",flags:"s",line:"115",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"116",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"117",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"118",name:"Q{}default-mode",slot:"2",flags:"t",as:"?AS",C:[{N:"empty", -role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"elem",line:"119",name:"applyT",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"43"}]},{N:"callT",line:"120", -name:"Q{}record-location",bSlot:"44"},{N:"applyT",line:"121",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"choose",line:"122",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"}]}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"},{N:"str",val:"#unnamed"}]}]},{N:"att",line:"123", -name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"}]}]},{N:"varRef",line:"125",name:"Q{}attr",slot:"0"},{N:"let",line:"126","var":"Q{}source",as:"*NE",slot:"3",eval:"4",C:[{N:"choose",line:"128",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"elem",line:"129",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"str", -val:"node()"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"4",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence", -C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before", -C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"defaultedSelect",flags:"l",C:[{N:"str",val:""}]}]}]},{N:"true"},{N:"treat",line:"132",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"45",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"sequence",line:"137",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}, -{N:"elem",line:"138",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"varRef",line:"139",name:"Q{}source",slot:"3"},{N:"forEach",line:"140",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"141",name:"Q{}make-sort-key",bSlot:"46"}]}]}]},{N:"true"},{N:"varRef",line:"146",name:"Q{}source",slot:"3"}]},{N:"choose",line:"149",C:[{N:"and",op:"and",C:[{N:"fn", -name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]}]},{N:"callT",line:"150",name:"Q{MyFunctions}AVT",bSlot:"47",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}separator",C:[{N:"axis",line:"151",name:"attribute", -nodeTest:"NA nQ{}separator"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"152",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"48"},{N:"str",val:"separator"}]}]}]}]}]}]},{N:"applyT",line:"171",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"202",rank:"1", -minImp:"0",slots:"12",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document",flags:"s",line:"23",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"24",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"25",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"26",name:"resultDoc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE", -bSlot:"49"}]},{N:"varRef",line:"27",name:"Q{}attr",slot:"0"},{N:"callT",line:"28",name:"Q{}record-location",bSlot:"50"},{N:"applyT",line:"29",mode:"Q{}sef",bSlot:"51",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"let",line:"31","var":"Q{}local-fixed-properties",as:"1FM k[AS]",slot:"2",eval:"8",C:[{N:"ifCall",line:"33",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"union",op:"|",C:[{N:"filter", -flags:"b",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"52"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:"{"}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]},{N:"ifCall",line:"35",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"output-version",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:"version"},{N:"true"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"applyT",line:"36",mode:"Q{}normalize-serialization-property",bSlot:"53",C:[{N:"dot",role:"select",type:"1NA"}]}]}]},{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:"41",C:[{N:"att", -name:"local",flags:"l",C:[{N:"let","var":"Q{}map",as:"1FM",slot:"3",eval:"1",C:[{N:"varRef",name:"Q{}local-fixed-properties",slot:"2"},{N:"cvUntyped",line:"196",to:"AS",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}map",slot:"3"}]},{N:"let",line:"197","var":"Q{}value", -slot:"4",eval:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}map",slot:"3"},{N:"dot",type:"1A"}]},{N:"valueOf",line:"199",C:[{N:"fn",name:"concat",C:[{N:"dot",type:"1A"},{N:"str",val:"="},{N:"choose",line:"198",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"item-separator"}]},{N:"fn",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"treat",as:"AS",diag:"0|0||fn:replace", -C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"4"}]}]}]}]},{N:"str",val:"%"},{N:"str",val:"%%"},{N:"str",val:""}]},{N:"str",val:"\n"},{N:"str",val:"%n"},{N:"str",val:""}]},{N:"true"},{N:"data",line:"199",C:[{N:"varRef",name:"Q{}value",slot:"4"}]}]},{N:"str",val:"\n"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]},{N:"let",line:"44","var":"Q{}formatExpr",as:"?NE",slot:"5",eval:"7",C:[{N:"choose",line:"46",C:[{N:"fn", -name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"empty"},{N:"castable",line:"47",flags:"a",as:"1ASNTN",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]}]},{N:"elem",line:"48",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"format"}]},{N:"att",name:"val",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"54",eval:"16 16 0", -C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}result-document",flags:"a"},{N:"str",val:"XTSE0010"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]}]}]},{N:"true"},{N:"callT",line:"54",name:"Q{MyFunctions}AVT",bSlot:"55",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}format",C:[{N:"axis",line:"55", -name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"56",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"56"},{N:"str",val:"format"}]}]}]}]}]}]},{N:"let",line:"62","var":"Q{}decl",as:"?NE nQ{http://ns.saxonica.com/xslt/export}output",slot:"6",eval:"7",C:[{N:"choose",line:"64",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}formatExpr", -slot:"5"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"let",line:"65","var":"Q{}formatName",as:"?NA",slot:"7",eval:"8",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]},{N:"let",line:"66","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"8",eval:"13",C:[{N:"data",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}formatName",slot:"7"}]},{N:"treat",as:"NE nQ{http://ns.saxonica.com/xslt/export}output", -diag:"3|0|XTTE0570|decl",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|decl",C:[{N:"filter",flags:"",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"output-declarations"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]}]}]}]}]}]},{N:"fn",line:"68",name:"empty",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"}]}, -{N:"treat",line:"69",as:"NE nQ{http://ns.saxonica.com/xslt/export}output",diag:"3|0|XTTE0570|decl",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|decl",C:[{N:"filter",flags:"b",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"output-declarations"}]},{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]},{N:"sequence",line:"75",C:[{N:"choose",C:[{N:"fn",name:"exists", -C:[{N:"varRef",name:"Q{}decl",slot:"6"}]},{N:"att",line:"83",name:"global",flags:"l",C:[{N:"let",line:"78","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"+AS",slot:"9",eval:"4",C:[{N:"sequence",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"57"},{N:"str",val:"use-character-maps"}]},{N:"let","var":"Q{}map",as:"1FM",slot:"10",eval:"8",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1", -C:[{N:"varRef",name:"Q{}decl",slot:"6"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}property"}]},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"9"},{N:"attVal",name:"Q{}name",chk:"0"}]}]},{N:"ifCall",line:"79",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:"output-version"}]},{N:"str", -val:"version"},{N:"true"},{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"cvUntyped",line:"196",to:"AS",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj", -C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}map",slot:"10"}]},{N:"let",line:"197","var":"Q{}value",slot:"11",eval:"8",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}map",slot:"10"},{N:"dot",type:"1A"}]},{N:"valueOf",line:"199",C:[{N:"fn",name:"concat",C:[{N:"dot",type:"1A"},{N:"str",val:"="},{N:"choose",line:"198",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"dot",type:"1A"},{N:"str",val:"item-separator"}]},{N:"fn",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"11"}]}]}]},{N:"str",val:"%"},{N:"str",val:"%%"},{N:"str",val:""}]},{N:"str",val:"\n"},{N:"str",val:"%n"},{N:"str",val:""}]},{N:"true"},{N:"data",line:"199",C:[{N:"varRef",name:"Q{}value",slot:"11"}]}]},{N:"str",val:"\n"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]}]}, -{N:"choose",line:"86",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]},{N:"callT",line:"87",name:"Q{MyFunctions}AVT",bSlot:"58",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}href",C:[{N:"axis",line:"88",name:"attribute",nodeTest:"NA nQ{}href"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"89",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"59"}, -{N:"str",val:"href"}]}]}]}]}]}]},{N:"choose",line:"93",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"copyOf",line:"94",flags:"c",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"}]}]},{N:"forEach",line:"97",C:[{N:"filter",flags:"b",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"60"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"fn",name:"contains", -C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:"{"}]}]},{N:"callT",line:"98",name:"Q{MyFunctions}AVT",bSlot:"61",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"1NA",C:[{N:"dot",line:"99",type:"1NA"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"1NA",C:[{N:"att",line:"101",name:"role",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{}"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"callT",line:"106",name:"Q{}sequence-constructor", -bSlot:"62",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"107",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"63"},{N:"str",val:"content"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"223",rank:"2",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"s",as:"1NE",line:"394",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"394",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"395",card:"1",diag:'7|0|XTTE0505|match="xsl:copy[@select]" mode="sef"', -C:[{N:"sequence",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"396",name:"Q{}xsl-version",slot:"1",flags:"t",as:"1AD",C:[{N:"dec",role:"select",val:"3"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|xsl-version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|xsl-version", -C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|xsl-version",C:[{N:"data",diag:"8|0|XTTE0590|xsl-version",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"397",name:"Q{}attr",slot:"2",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"399",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}xsl-version",slot:"1"},{N:"dec",val:"3"}]},{N:"elem",line:"400",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",line:"401",C:[{N:"varRef",name:"Q{}attr",slot:"2"},{N:"applyT",line:"402",mode:"Q{}create.xpath",bSlot:"64",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"},{N:"withParam",name:"Q{}checkType",as:"1AS",C:[{N:"str",val:"?"}]},{N:"withParam",name:"Q{}diagnostic",as:"1NA",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1317378265",bSlot:"65"}]}]}]},{N:"elem",line:"406",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq", -onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"str",val:"in"}]}]},{N:"callT",line:"408",name:"Q{}record-location",bSlot:"66"},{N:"callT",line:"409",name:"Q{}sequence-constructor",bSlot:"67"}]}]}]}]},{N:"true"},{N:"elem",line:"414",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att", -name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"str",val:"in"}]}]},{N:"varRef",line:"415",name:"Q{}attr",slot:"2"},{N:"callT",line:"416",name:"Q{}record-location",bSlot:"68"},{N:"callT",line:"418",name:"Q{}sequence-constructor",bSlot:"69"}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"224",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"s",as:"1NE",line:"423",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"424",C:[{N:"param", -name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"425",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]}, -{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"i"}]},{N:"str",val:"n"}]}]},{N:"varRef",line:"426",name:"Q{}attr",slot:"0"},{N:"callT",line:"427",name:"Q{}record-location",bSlot:"70"},{N:"elem",line:"428",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"sequence",line:"429",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"}]},{N:"applyT",line:"430",mode:"Q{}select.or.sequence",bSlot:"71",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"146",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode",flags:"s",line:"30",module:"rules.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"31",C:[{N:"param",name:"Q{}xsl-version",slot:"0",flags:"t",C:[{N:"dec",role:"select",val:"3"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"32",name:"Q{}compiler.options",slot:"1",flags:"t", -as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|compiler.options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|compiler.options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"33",name:"Q{}precedence-map",slot:"2",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]",diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"45", -name:"mode",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"onNo",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}on-no-match",bSlot:"72"},{N:"atomSing",diag:"0|1||map:get",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}on-no-match"},{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0", -comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}warning-on-no-match"}]},{N:"str",val:"true"}]},{N:"str",val:"+W"},{N:"true"},{N:"str",val:""}]}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"or",line:"38",op:"or",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-multiple-match"}]},{N:"str",val:"fail"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}compiler.options",slot:"1"},{N:"str",val:"on-multiple-match"}]}]},{N:"str",val:"error"}]}]},{N:"str",val:"F"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}typed"}]},{N:"str",val:"true"}]},{N:"str",val:"t"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}untyped"}]},{N:"str",val:"true"}]},{N:"str",val:"u"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}warning-on-multiple-match"}]},{N:"str",val:"true"}]},{N:"str",val:"W"},{N:"true"},{N:"str",val:""}]}]}]},{N:"att",name:"patternSlots",flags:"l",C:[{N:"str",val:"0"}]},{N:"choose",line:"46",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data", -diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:"#unnamed"}]},{N:"axis",line:"47",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"axis",line:"49",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"},{N:"att",line:"50",name:"prec",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"2"},{N:"fn",name:"string",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"applyT",line:"51",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"256",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}fork",flags:"s",line:"15",module:"splitting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}fork"},{N:"sequence", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"17",name:"fork",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"18",C:[{N:"varRef",name:"Q{}attr",slot:"0"}, -{N:"callT",line:"19",name:"Q{}sequence-constructor",bSlot:"73"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"210",rank:"2",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}element",flags:"s",as:"1NE",line:"31",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"31",op:"or",C:[{N:"fn",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}namespace",chk:"0"}]},{N:"str",val:"{"}]},{N:"fn",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"str",val:"{"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"32",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA", -C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"33",name:"compElem",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ELEMENT",bSlot:"74"}]},{N:"varRef",line:"34",name:"Q{}attr",slot:"0"},{N:"callT",line:"36",name:"Q{}record-location",bSlot:"75"},{N:"choose",line:"37",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data", -diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"str",val:"false"}]},{N:"att",line:"38",name:"flags",flags:"l",C:[{N:"str",val:"C"}]}]},{N:"forEach",line:"40",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"callT",line:"41",name:"Q{}role-value-template",bSlot:"76"}]},{N:"let",line:"43","var":"Q{}content",as:"*NE",slot:"1",eval:"8",C:[{N:"treat",line:"44",as:"NE",diag:"3|0|XTTE0570|content", -C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]}]},{N:"choose",line:"47",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}content",slot:"1"}]},{N:"elem",line:"48",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"lookup",line:"49",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"77"},{N:"str",val:"content"}]}]},{N:"compareToInt",line:"52",op:"eq", -val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}content",slot:"1"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"55","var":"Q{http://saxon.sf.net/generated-variable}v0",slot:"2",eval:"4",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"78"},{N:"str",val:"content"}]},{N:"forEach",line:"53",C:[{N:"varRef",name:"Q{}content",slot:"1"},{N:"copy",line:"55",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"}, -{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"elem",line:"60",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"61",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"79"},{N:"str",val:"content"}]},{N:"varRef",name:"Q{}content",slot:"1"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"211",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}element", -flags:"s",as:"1NE",line:"69",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"70",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", -slot:"0"}]}]},{N:"let",line:"71","var":"Q{}name",as:"1AS",slot:"1",eval:"8",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"74","var":"Q{}ns",as:"1FM",slot:"2",eval:"8",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"98", -name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"creating-new-nodes.xsl",line:"72",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}element", +card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"70",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"71",name:"choose",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"72",C:[{N:"varRef",name:"Q{}attr",slot:"1"},{N:"callT",line:"73",name:"Q{}record-location",bSlot:"27"},{N:"applyT",line:"74",mode:"Q{}create.xpath", +bSlot:"28",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"choose",line:"75",C:[{N:"and",line:"76",op:"and",C:[{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}then,NA nQ{}else]"}]}]},{N:"sequence", +line:"77",C:[{N:"choose",C:[{N:"fn",line:"78",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}then"}]},{N:"applyT",line:"79",mode:"Q{}create.xpath",bSlot:"29",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}then"}]},{N:"true"},{N:"callT",line:"82",name:"Q{}sequence-constructor",bSlot:"30"}]},{N:"elem",line:"85",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"choose",line:"86",C:[{N:"fn",line:"87",name:"exists",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}else"}]},{N:"applyT",line:"88",mode:"Q{}create.xpath",bSlot:"31",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}else"}]},{N:"true"},{N:"elem",line:"91",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]},{N:"true"},{N:"sequence",line:"96",C:[{N:"callT",name:"Q{}sequence-constructor",bSlot:"32"},{N:"elem",line:"97",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]},{N:"elem",line:"98",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"182",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"s",line:"241",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"242",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"243","var":"Q{}context",as:"1",slot:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"a"},{N:"let",line:"244","var":"Q{}errors",as:"*AS",slot:"2",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:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}errors"},{N:"str",val:"*"}]}]}]}]}]}]}]},{N:"elem",line:"245",name:"catch",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"err",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}errors",slot:"2"},{N:"str",val:" "}]}]},{N:"att",line:"246",name:"errors",flags:"l",C:[{N:"fn",line:"247", +name:"string-join",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}errors",slot:"2"},{N:"choose",line:"248",C:[{N:"or",line:"249",op:"or",C:[{N:"or",op:"or",C:[{N:"compareToString",op:"eq",val:"*",C:[{N:"dot",type:"1AS"}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"*:"}]}]},{N:"fn",name:"starts-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"Q{"}]}]},{N:"dot",line:"250",type:"1AS"},{N:"fn",line:"252",name:"ends-with",C:[{N:"dot",type:"1AS"},{N:"str",val:"}*"}]},{N:"fn",line:"253",name:"replace", +C:[{N:"let","var":"Q{}qname",as:"1AQ",slot:"3",C:[{N:"fn",name:"resolve-QName",C:[{N:"fn",name:"replace",C:[{N:"dot",type:"1AS"},{N:"str",val:"*$"},{N:"str",val:"Z"},{N:"str",val:""}]},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"fn",module:"lib.xsl",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"3"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef", +name:"Q{}qname",slot:"3"}]}]}]},{N:"str",val:"Z$"},{N:"str",val:"*"},{N:"str",val:""}]},{N:"true"},{N:"let",line:"256","var":"Q{}qname",as:"1AQ",slot:"4",C:[{N:"fn",name:"resolve-QName",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"fn",module:"lib.xsl",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"4"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName", +C:[{N:"varRef",name:"Q{}qname",slot:"4"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"varRef",line:"274",name:"Q{}attr",slot:"0"},{N:"applyT",line:"275",mode:"Q{}select.or.sequence",bSlot:"33",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}catch",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"252",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key",flags:"s",line:"46",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match", +test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",name:"Q{}make-sort-key",bSlot:"34",flags:"t"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"377",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback",flags:"s",line:"1555",module:"XSLT-SEF-compiler.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"163",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"s",line:"171",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"172",C:[{N:"ufCall",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"35",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"a"}]},{N:"applyT",line:"173",mode:"Q{}select.or.sequence",flags:"t",bSlot:"36",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"174",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"37"},{N:"str",val:"on-completion"}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"0.0",seq:"369",rank:"1",minImp:"0",slots:"4",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property",flags:"s",line:"48",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"49",C:[{N:"param",name:"Q{}xpath-default-namespace", +slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"50",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"51",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d", +namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}remove-property"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"52",name:"Q{}attr",slot:"1"},{N:"callT",line:"53",name:"Q{}record-location",bSlot:"38"},{N:"forEach",line:"54",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"55",name:"Q{}role-value-template",bSlot:"39"}]},{N:"elem",line:"58",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"ixsl:window()"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +"var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-property",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data", +diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash", +C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1733439693",bSlot:"40"}]}]}]}]},{N:"varRef",line:"59",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"151",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates", +flags:"s",line:"115",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"116",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", +slot:"0"}]}]},{N:"param",line:"117",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"118",name:"Q{}default-mode",slot:"2",flags:"t",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"elem",line:"119",name:"applyT",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"41"}]},{N:"callT",line:"120",name:"Q{}record-location",bSlot:"42"},{N:"applyT",line:"121",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}mode"}]}, +{N:"choose",line:"122",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"}]}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"},{N:"str",val:"#unnamed"}]}]},{N:"att",line:"123",name:"mode",flags:"l",C:[{N:"varRef",name:"Q{}default-mode",slot:"2"}]}]},{N:"varRef",line:"125",name:"Q{}attr",slot:"0"},{N:"let",line:"126","var":"Q{}source", +as:"*NE",slot:"3",C:[{N:"choose",line:"127",C:[{N:"fn",line:"128",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"elem",line:"129",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"str",val:"node()"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}apply-templates", +flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number", +type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"defaultedSelect",flags:"l",C:[{N:"str",val:""}]}]}]},{N:"true"},{N:"treat",line:"132",as:"NE",diag:"3|0|XTTE0570|source", +C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"43",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"sequence",line:"136",C:[{N:"choose",C:[{N:"fn",line:"137",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"elem",line:"138",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"varRef",line:"139",name:"Q{}source",slot:"3"}, +{N:"forEach",line:"140",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"141",name:"Q{}make-sort-key",bSlot:"44"}]}]}]},{N:"true"},{N:"varRef",line:"146",name:"Q{}source",slot:"3"}]},{N:"choose",line:"149",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt", +C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]}]},{N:"callT",line:"150",name:"Q{MyFunctions}AVT",bSlot:"45",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}separator",C:[{N:"axis",line:"151",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"152",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef", +name:"Q{}roles",bSlot:"46"},{N:"str",val:"separator"}]}]}]}]}]}]},{N:"applyT",line:"171",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"203",rank:"1",minImp:"0",slots:"12",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document",flags:"s",line:"23",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}result-document"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"24",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"25",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context", +C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"26",name:"resultDoc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"47"}]},{N:"varRef",line:"27",name:"Q{}attr",slot:"0"},{N:"callT",line:"28",name:"Q{}record-location",bSlot:"48"},{N:"applyT",line:"29",mode:"Q{}sef",bSlot:"49",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}, +{N:"let",line:"31","var":"Q{}local-fixed-properties",as:"1FM k[AS]",slot:"2",C:[{N:"ifCall",line:"33",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"union",op:"|",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"50"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"not",C:[{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:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"{"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]},{N:"ifCall",line:"35",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"output-version",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:"version"},{N:"true"}, +{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"applyT",line:"36",mode:"Q{}normalize-serialization-property",bSlot:"51",C:[{N:"dot",role:"select",type:"1NA"}]}]}]},{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:"41",C:[{N:"att",name:"local",flags:"l",C:[{N:"let","var":"Q{}map",as:"1FM",slot:"3",C:[{N:"varRef",name:"Q{}local-fixed-properties",slot:"2"},{N:"convert",line:"196",from:"AZ", +to:"AS",flags:"p",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}map",slot:"3"}]},{N:"let",line:"197","var":"Q{}value",slot:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"varRef",name:"Q{}map",slot:"3"},{N:"dot",type:"1A"}]},{N:"valueOf",line:"199",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"dot",type:"1A"},{N:"str",val:"="}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"choose",line:"198",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"item-separator"}]},{N:"fn",name:"replace",C:[{N:"fn",name:"replace",C:[{N:"check", +card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}value",slot:"4"}]}]}]}]},{N:"str",val:"%"},{N:"str",val:"%%"},{N:"str",val:""}]},{N:"str",val:"\n"},{N:"str",val:"%n"},{N:"str",val:""}]},{N:"true"},{N:"varRef",line:"199",name:"Q{}value",slot:"4"}]}]}]},{N:"str",val:"\n"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]},{N:"let",line:"44","var":"Q{}formatExpr", +as:"?NE",slot:"5",C:[{N:"choose",line:"45",C:[{N:"fn",line:"46",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"empty"},{N:"castable",line:"47",flags:"a",as:"1ASNTN",C:[{N:"data",diag:"2|0||castable as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]}]},{N:"elem",line:"48",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"format"}]},{N:"att",name:"val",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName", +tailCall:"false",bSlot:"52",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}result-document",flags:"a"},{N:"str",val:"XTSE0010"}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]}]}]},{N:"true"},{N:"callT",line:"54",name:"Q{MyFunctions}AVT", +bSlot:"53",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}format",C:[{N:"axis",line:"55",name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"56",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"54"},{N:"str",val:"format"}]}]}]}]}]}]},{N:"let",line:"62","var":"Q{}decl",as:"?NE nQ{http://ns.saxonica.com/xslt/export}output",slot:"6",C:[{N:"choose", +line:"64",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]},{N:"let",line:"65","var":"Q{}formatName",as:"?NA",slot:"7",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}val"}]},{N:"let",line:"66","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"8",flags:"l",C:[{N:"data",diag:"1|1||eq",C:[{N:"varRef", +name:"Q{}formatName",slot:"7"}]},{N:"treat",as:"NE nQ{http://ns.saxonica.com/xslt/export}output",diag:"3|0|XTTE0570|decl",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|decl",C:[{N:"filter",flags:"",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"output-declarations"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"attVal",name:"Q{}name"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]}]}]}]}]}]}, +{N:"fn",line:"68",name:"empty",C:[{N:"varRef",name:"Q{}formatExpr",slot:"5"}]},{N:"treat",line:"69",as:"NE nQ{http://ns.saxonica.com/xslt/export}output",diag:"3|0|XTTE0570|decl",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|decl",C:[{N:"filter",flags:"b",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"output-declarations"}]},{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]}, +{N:"sequence",line:"75",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}decl",slot:"6"}]},{N:"att",line:"83",name:"global",flags:"l",C:[{N:"let",line:"78","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"+AS",slot:"9",flags:"l",C:[{N:"sequence",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"55"},{N:"str",val:"use-character-maps"}]},{N:"let","var":"Q{}map",as:"1FM",slot:"10",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach", +C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}decl",slot:"6"},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}property"}]},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"9"},{N:"attVal",name:"Q{}name"}]}]},{N:"ifCall",line:"79",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"attVal",name:"Q{}name"}, +{N:"str",val:"output-version"}]},{N:"str",val:"version"},{N:"true"},{N:"atomSing",diag:"0|0||map:entry",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]},{N:"convert",line:"196",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:makeProperties#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:makeProperties#1", +C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}map",slot:"10"}]},{N:"let",line:"197","var":"Q{}value",slot:"11",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}map",slot:"10"},{N:"dot",type:"1A"}]},{N:"valueOf",line:"199",C:[{N:"fn",name:"concat", +C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"dot",type:"1A"},{N:"str",val:"="}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"choose",line:"198",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1A"},{N:"str",val:"item-separator"}]},{N:"fn",name:"replace",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:"varRef",name:"Q{}value",slot:"11"}]}]}]},{N:"str",val:"%"},{N:"str",val:"%%"},{N:"str",val:""}]},{N:"str",val:"\n"},{N:"str",val:"%n"},{N:"str",val:""}]},{N:"true"},{N:"varRef",line:"199",name:"Q{}value",slot:"11"}]}]}]},{N:"str",val:"\n"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]}]}]}]},{N:"choose",line:"86",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]},{N:"callT",line:"87",name:"Q{MyFunctions}AVT",bSlot:"56",C:[{N:"withParam",name:"Q{}avt-string",flags:"c", +as:"?NA nQ{}href",C:[{N:"axis",line:"88",name:"attribute",nodeTest:"NA nQ{}href"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"89",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"57"},{N:"str",val:"href"}]}]}]}]}]}]},{N:"choose",line:"93",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}format"}]},{N:"copyOf",line:"94",flags:"c",C:[{N:"varRef",name:"Q{}formatExpr", +slot:"5"}]}]},{N:"forEach",line:"97",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"58"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{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:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"{"}]}]}]}, +{N:"callT",line:"98",name:"Q{MyFunctions}AVT",bSlot:"59",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"1NA",C:[{N:"dot",line:"99",type:"1NA"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"1NA",C:[{N:"att",line:"101",name:"role",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{}"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"callT",line:"106",name:"Q{}sequence-constructor",bSlot:"60",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"107",as:"NA",diag:"8|0|XTTE0590|attr", +C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"61"},{N:"str",val:"content"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"224",rank:"2",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"s",as:"1NE",line:"394",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"394",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"395",card:"1",diag:'7|0|XTTE0505|match="xsl:copy[@select]" mode="sef"',C:[{N:"sequence",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context", +C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"396",name:"Q{}xsl-version",slot:"1",flags:"t",as:"1AD",C:[{N:"dec",role:"select",val:"3"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|xsl-version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|xsl-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|xsl-version",C:[{N:"data",diag:"8|0|XTTE0590|xsl-version",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"397",name:"Q{}attr",slot:"2", +as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"398",C:[{N:"vc",line:"399",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}xsl-version",slot:"1"},{N:"dec",val:"3"}]},{N:"elem",line:"400",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"401",C:[{N:"varRef",name:"Q{}attr",slot:"2"},{N:"applyT",line:"402",mode:"Q{}create.xpath",bSlot:"62",C:[{N:"axis", +role:"select",name:"attribute",nodeTest:"NA nQ{}select"},{N:"withParam",name:"Q{}checkType",as:"1AS",C:[{N:"str",val:"?"}]},{N:"withParam",name:"Q{}diagnostic",as:"1NA",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +name:"Q{http://saxon.sf.net/generated-variable}gg330224683",bSlot:"63"}]}]}]},{N:"elem",line:"406",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"str", +val:"in"}]}]},{N:"callT",line:"408",name:"Q{}record-location",bSlot:"64"},{N:"callT",line:"409",name:"Q{}sequence-constructor",bSlot:"65"}]}]}]}]},{N:"true"},{N:"elem",line:"414",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]}, +{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"str",val:"in"}]}]},{N:"varRef",line:"415",name:"Q{}attr",slot:"2"},{N:"callT",line:"416",name:"Q{}record-location",bSlot:"66"},{N:"callT",line:"418",name:"Q{}sequence-constructor",bSlot:"67"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"225",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"s",as:"1NE",line:"423",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match", +test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"424",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"425",name:"copy",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"c"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}, +{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"},{N:"str",val:"i"}]},{N:"str",val:"n"}]}]},{N:"varRef",line:"426",name:"Q{}attr",slot:"0"},{N:"callT",line:"427",name:"Q{}record-location",bSlot:"68"},{N:"elem",line:"428",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"429",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"}]},{N:"applyT",line:"430",mode:"Q{}select.or.sequence",bSlot:"69", +C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"219",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace",flags:"s",as:"1NE",line:"242",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"243",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"244",name:"namespace",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_NAMESPACE",bSlot:"70"}]},{N:"varRef",line:"245",name:"Q{}attr",slot:"0"},{N:"forEach",line:"246",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}, +{N:"callT",line:"247",name:"Q{}value-template",bSlot:"71"}]},{N:"callT",line:"249",name:"Q{}constructSimpleContent",bSlot:"72"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"257",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}fork",flags:"s",line:"15",module:"splitting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}fork"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"17",name:"fork",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"18",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"19",name:"Q{}sequence-constructor",bSlot:"73"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"260",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring", +flags:"s",line:"66",module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"67",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"matching"}]}, +{N:"choose",line:"68",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"elem",line:"69",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"applyT",line:"71",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"211",rank:"2",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}element",flags:"s",as:"1NE",line:"31",module:"creating-new-nodes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"31",op:"or",C:[{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:"attVal",name:"Q{}namespace"}]}]},{N:"str", +val:"{"}]},{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:"attVal",name:"Q{}name"}]}]},{N:"str",val:"{"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"32",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat", +role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"33",name:"compElem",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ELEMENT",bSlot:"74"}]},{N:"varRef",line:"34",name:"Q{}attr",slot:"0"},{N:"callT",line:"36",name:"Q{}record-location",bSlot:"75"},{N:"choose",line:"37",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"str",val:"false"}]},{N:"att",line:"38",name:"flags",flags:"l",C:[{N:"str",val:"C"}]}]},{N:"forEach",line:"40",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"callT",line:"41",name:"Q{}role-value-template",bSlot:"76"}]},{N:"let",line:"43","var":"Q{}content",as:"*NE",slot:"1",C:[{N:"treat",line:"44",as:"NE",diag:"3|0|XTTE0570|content",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"sequence", +role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]},{N:"choose",line:"46",C:[{N:"fn",line:"47",name:"empty",C:[{N:"varRef",name:"Q{}content",slot:"1"}]},{N:"elem",line:"48",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"lookup",line:"49",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"77"},{N:"str",val:"content"}]}]},{N:"compareToInt",line:"52",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn", +name:"subsequence",C:[{N:"varRef",name:"Q{}content",slot:"1"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"55","var":"Q{http://saxon.sf.net/generated-variable}v0",slot:"2",flags:"l",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"78"},{N:"str",val:"content"}]},{N:"forEach",line:"53",C:[{N:"varRef",name:"Q{}content",slot:"1"},{N:"copy",line:"54",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"55",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", +slot:"2"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"elem",line:"60",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"61",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"79"},{N:"str",val:"content"}]},{N:"varRef",name:"Q{}content",slot:"1"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"212",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}element",flags:"s",as:"1NE",line:"69",module:"creating-new-nodes.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}element"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"70",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"71","var":"Q{}name", +as:"1AS",slot:"1",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"74","var":"Q{}ns",as:"1FM",slot:"2",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"namespaces.xsl",line:"98",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"creating-new-nodes.xsl",line:"72",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}element", flags:"a"},{N:"first",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -module:"namespaces.xsl",line:"165",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"3",eval:"8",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"4",eval:"8",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"3"},{N:"choose",C:[{N:"compareToString", +module:"namespaces.xsl",line:"165",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"3",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"4",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"3"},{N:"choose",C:[{N:"compareToString", op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"80"},{N:"varRef",name:"Q{}prefix",slot:"3"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"4"}]}]}]}]}]},{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:"elem",line:"76",name:"elem",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"att",name:"type",flags:"l",C:[{N:"str",val:"element()"}]},{N:"varRef",line:"77",name:"Q{}attr",slot:"0"},{N:"let",line:"78","var":"Q{}parts",as:"*AS",slot:"5",eval:"3",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]},{N:"sequence",line:"79",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA nQ{http://ns.saxonica.com/xslt/export}*,NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS]"}]}, +flags:"d",C:[{N:"sequence",C:[{N:"att",name:"type",flags:"l",C:[{N:"str",val:"element()"}]},{N:"varRef",line:"77",name:"Q{}attr",slot:"0"},{N:"let",line:"78","var":"Q{}parts",as:"*AS",slot:"5",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]},{N:"sequence",line:"79",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA nQ{http://ns.saxonica.com/xslt/export}*,NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS]"}]}, {N:"applyT",line:"80",mode:"Q{}attribute-sans-prefix",bSlot:"81",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]},{N:"att",line:"86",name:"name",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]}]},{N:"str",val:""}]},{N:"lastOf",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]},{N:"true"},{N:"varRef",name:"Q{}name", slot:"1"}]}]},{N:"att",line:"87",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ELEMENT",bSlot:"82"}]},{N:"applyT",line:"88",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"choose",line:"89",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"str",val:"false"}]},{N:"att",line:"90",name:"flags",flags:"l",C:[{N:"str",val:"C"}]}]},{N:"let",line:"92", -"var":"Q{}prefix",as:"1AS",slot:"6",eval:"16",C:[{N:"choose",line:"94",C:[{N:"compareToInt",op:"eq",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"choose",line:"96",C:[{N:"castable",flags:"a",as:"1ASNTNC",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]},{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|prefix",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"first",C:[{N:"varRef", -name:"Q{}parts",slot:"5"}]}]}]}]},{N:"true"},{N:"cvUntyped",line:"97",to:"AS",diag:"3|0|XTTE0570|prefix",C:[{N:"cast",flags:"a",as:"1AZ",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}syntax-error-at",tailCall:"false",bSlot:"83",eval:"0 16 16",C:[{N:"str",val:"XTDE0820"},{N:"fn",name:"concat",C:[{N:"str",val:'Invalid prefix "'},{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]},{N:"str",val:'"'}]},{N:"check",card:"1", -diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"true"},{N:"str",val:""}]},{N:"sequence",line:"108",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"att",line:"115",name:"nsuri",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"ifCall",line:"114",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*", -C:[{N:"varRef",name:"Q{}ns",slot:"2"},{N:"varRef",name:"Q{}prefix",slot:"6"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"applyT",line:"118",mode:"Q{}attribute-sans-prefix",bSlot:"84",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"callT",line:"120", -name:"Q{}record-location",bSlot:"85"},{N:"callT",line:"121",name:"Q{}sequence-constructor",bSlot:"86",C:[{N:"withParam",name:"Q{}others",flags:"c",as:"*NE",C:[{N:"treat",line:"123",as:"NE",diag:"3|0|XTTE0570|others",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"260",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring", -flags:"s",line:"74",module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"75",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str", -val:"nonMatching"}]},{N:"choose",line:"76",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]},{N:"elem",line:"77",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"applyT",line:"79",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"366",rank:"1",minImp:"0",slots:"4",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-attribute",flags:"s",line:"14", -module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-attribute"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"15",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"16",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"17",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}remove-attribute"}]}, -{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"18",name:"Q{}attr",slot:"1"},{N:"callT",line:"19",name:"Q{}record-location",bSlot:"87"},{N:"forEach",line:"20",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"21",name:"Q{}role-value-template",bSlot:"88"}]},{N:"elem",line:"24",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert", -from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +"var":"Q{}prefix",as:"1AS",slot:"6",C:[{N:"choose",line:"93",C:[{N:"compareToInt",line:"94",op:"eq",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"5"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"choose",line:"95",C:[{N:"castable",line:"96",flags:"a",as:"1ASNTNC",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]},{N:"convert",line:"96",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|prefix",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|prefix", +C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]}]}]}]},{N:"true"},{N:"convert",line:"97",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|prefix",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|prefix",C:[{N:"cast",flags:"a",as:"1AZ",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}syntax-error-at",tailCall:"false",bSlot:"83",C:[{N:"str",val:"XTDE0820"},{N:"fn", +name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'Invalid prefix "'},{N:"first",C:[{N:"varRef",name:"Q{}parts",slot:"5"}]}]},{N:"str",val:'"'}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"true"},{N:"str",val:""}]},{N:"sequence",line:"108",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"att",line:"115",name:"nsuri",flags:"l",C:[{N:"fn", +name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"choose",line:"114",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}ns",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}ns",slot:"2"},{N:"varRef",name:"Q{}prefix",slot:"6"}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"6"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}element",flags:"a"}]}]}]}]}]}, +{N:"str",val:" "}]}]}]},{N:"applyT",line:"118",mode:"Q{}attribute-sans-prefix",bSlot:"84",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"callT",line:"120",name:"Q{}record-location",bSlot:"85"},{N:"callT",line:"121",name:"Q{}sequence-constructor", +bSlot:"86",C:[{N:"withParam",name:"Q{}others",flags:"c",as:"*NE",C:[{N:"treat",line:"123",as:"NE",diag:"3|0|XTTE0570|others",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-attribute-sets"}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"367",rank:"1",minImp:"0",slots:"4",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-attribute",flags:"s",line:"14",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-attribute"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"15",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param", +line:"16",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"17",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}remove-attribute"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"18",name:"Q{}attr",slot:"1"}, +{N:"callT",line:"19",name:"Q{}record-location",bSlot:"87"},{N:"forEach",line:"20",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"21",name:"Q{}role-value-template",bSlot:"88"}]},{N:"elem",line:"24",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"}, +{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}remove-attribute",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"3",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l", -C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -name:"Q{http://saxon.sf.net/generated-variable}gg1495761010",bSlot:"89"}]}]}]}]},{N:"varRef",line:"25",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"264",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule",flags:"s",line:"52",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"53",name:"accRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"5"}]},{N:"applyT",line:"54",mode:"Q{}create.xpath",bSlot:"90",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"applyT",line:"55",mode:"Q{}select.or.sequence",bSlot:"91",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"167", +{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str", +val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +name:"Q{http://saxon.sf.net/generated-variable}gg418646126",bSlot:"89"}]}]}]}]},{N:"varRef",line:"25",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"265",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule",flags:"s",line:"52",module:"streaming.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"53",name:"accRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"5"}]},{N:"applyT",line:"54",mode:"Q{}create.xpath",bSlot:"90",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"applyT",line:"55",mode:"Q{}select.or.sequence",bSlot:"91",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"168", rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}when",flags:"s",line:"41",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}when"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM", -C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"applyT",line:"43",mode:"Q{}create.xpath",bSlot:"92",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"choose",line:"45",C:[{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context", -slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"applyT",line:"46",mode:"Q{}select.or.sequence",flags:"t",bSlot:"93",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}when",flags:"a"}]},{N:"true"},{N:"callT",line:"49",name:"Q{}sequence-constructor",bSlot:"94",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"239",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"s",line:"123",module:"sorting.xsl", +C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"applyT",line:"43",mode:"Q{}create.xpath",bSlot:"92",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}test"}]},{N:"choose",line:"44",C:[{N:"vc",line:"45",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context", +slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"applyT",line:"46",mode:"Q{}select.or.sequence",flags:"t",bSlot:"93",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}when",flags:"a"}]},{N:"true"},{N:"callT",line:"49",name:"Q{}sequence-constructor",bSlot:"94",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"240",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"s",line:"123",module:"sorting.xsl", C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"123",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]}]},{N:"sequence", role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"124",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"125",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"varRef",line:"126",name:"Q{}attr",slot:"0"}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.5",seq:"238",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"s",line:"115",module:"sorting.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"115", +{N:"templateRule",prec:"0",prio:"0.5",seq:"239",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"s",line:"115",module:"sorting.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"115", name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"116",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"117",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",line:"118",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"119",mode:"Q{}create.xpath",bSlot:"95",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"120",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"240",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort", +flags:"d",C:[{N:"sequence",line:"118",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"119",mode:"Q{}create.xpath",bSlot:"95",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"120",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"241",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort", flags:"s",line:"129",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"130",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", -slot:"0"}]}]},{N:"ufCall",line:"131",name:"Q{MyFunctions}check-sort",tailCall:"false",bSlot:"96",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"a"}]},{N:"elem",line:"132",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"133",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"elem",line:"135",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"136",flags:"c",bSlot:"-1",C:[{N:"axis", -role:"select",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]},{N:"applyT",line:"138",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"165",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose",flags:"s",line:"16",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose"}, +slot:"0"}]}]},{N:"ufCall",line:"131",name:"Q{MyFunctions}check-sort",tailCall:"false",bSlot:"96",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort",flags:"a"}]},{N:"elem",line:"132",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"133",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"elem",line:"135",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"136",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", +name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}sort]"}]}]},{N:"applyT",line:"138",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"166",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose",flags:"s",line:"16",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}choose"}, {N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"17",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"18",name:"choose",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"type", flags:"l",C:[{N:"str",val:"item()*"}]},{N:"varRef",line:"19",name:"Q{}attr",slot:"0"},{N:"callT",line:"20",name:"Q{}record-location",bSlot:"97"},{N:"applyT",line:"21",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]},{N:"choose",line:"22",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"}]},{N:"sequence",line:"23",C:[{N:"elem",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}, -{N:"elem",line:"24",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"220",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"s",as:"*NE",line:"264",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +{N:"elem",line:"24",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"221",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"s",as:"*NE",line:"264",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", line:"264",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"265",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]}, -{N:"let",line:"266","var":"Q{}attrs",as:"*NA",slot:"1",eval:"11",C:[{N:"sequence",line:"267",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"choose",line:"268",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}disable-output-escaping"}]}]},{N:"str",val:"true"}]},{N:"att",line:"269",name:"flags",C:[{N:"str",val:"d"}]}]},{N:"treat",line:"271",as:"NA",diag:"3|0|XTTE0570|attrs",C:[{N:"applyT",mode:"Q{}attribute-sans-prefix", +{N:"let",line:"266","var":"Q{}attrs",as:"*NA",slot:"1",C:[{N:"sequence",line:"267",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"choose",line:"268",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}disable-output-escaping"}]}]},{N:"str",val:"true"}]},{N:"att",line:"269",name:"flags",C:[{N:"str",val:"d"}]}]},{N:"treat",line:"271",as:"NA",diag:"3|0|XTTE0570|attrs",C:[{N:"applyT",mode:"Q{}attribute-sans-prefix", bSlot:"98",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}]}]},{N:"treat",line:"274",as:"NE",diag:'7|0|XTTE0505|match="xsl:text[normalize-space()]" mode="sef"',C:[{N:"applyT",flags:"ct",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NT"}, -{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"275",name:"Q{}attrs",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"219",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"s",as:"1NE",line:"253",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"275",name:"Q{}attrs",slot:"1"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"220",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"s",as:"1NE",line:"253",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", line:"254",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"255",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"99"}]},{N:"choose",line:"256",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=", C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}disable-output-escaping"}]}]},{N:"str",val:"true"}]},{N:"att",line:"257",name:"flags",flags:"l",C:[{N:"str",val:"d"}]}]},{N:"varRef",line:"259",name:"Q{}attr",slot:"0"},{N:"elem",line:"260",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"a"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0", -prio:"0.0",seq:"243",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"s",line:"17",module:"grouping.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"18",C:[{N:"param",name:"Q{}default-collation", +prio:"0.0",seq:"244",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"s",line:"17",module:"grouping.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"18",C:[{N:"param",name:"Q{}default-collation", slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"19",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"callT",line:"20",name:"Q{}check-select",bSlot:"100"},{N:"ufCall",line:"21",name:"Q{MyFunctions}check-sort", -tailCall:"false",bSlot:"101",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"a"}]},{N:"let",line:"22","var":"Q{}key",as:"*NA",slot:"2",eval:"4",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-by"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-starting-with"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-ending-with"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-adjacent"}]},{N:"elem",line:"31",name:"forEachGroup",nsuri:"http://ns.saxonica.com/xslt/export", +tailCall:"false",bSlot:"101",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group",flags:"a"}]},{N:"let",line:"22","var":"Q{}key",as:"*NA",slot:"2",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-by"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-starting-with"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-ending-with"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}group-adjacent"}]},{N:"elem",line:"31",name:"forEachGroup",nsuri:"http://ns.saxonica.com/xslt/export", flags:"d",C:[{N:"sequence",C:[{N:"att",name:"algorithm",flags:"l",C:[{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"slash",C:[{N:"varRef",name:"Q{}key",slot:"2"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"group-|-with"},{N:"str",val:""},{N:"str",val:""}]}]},{N:"choose",line:"32",C:[{N:"choose",line:"29",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false", -bSlot:"102",eval:"16",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]},{N:"true"},{N:"false"}]},{N:"att",line:"33",name:"flags",flags:"l",C:[{N:"str",val:"c"}]}]},{N:"varRef",line:"35",name:"Q{}attr",slot:"1"},{N:"callT",line:"36",name:"Q{}record-location",bSlot:"103"},{N:"let",line:"37","var":"Q{}source",as:"*NE",slot:"3",eval:"4",C:[{N:"treat",line:"38",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"104", -C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"sequence",line:"41",C:[{N:"choose",C:[{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"45","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?NA",slot:"4",eval:"13",C:[{N:"treat",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?", -diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"105"},{N:"str",val:"sort"}]}]}]},{N:"sequence",line:"42",C:[{N:"varRef",name:"Q{}source",slot:"3"},{N:"forEach",line:"43",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"44",name:"Q{}make-sort-key",bSlot:"106",C:[{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"varRef",line:"45",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"4"}]}]}]}]}]},{N:"fn",line:"49", -name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"elem",line:"50",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"varRef",line:"51",name:"Q{}source",slot:"3"},{N:"forEach",line:"52",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"53",name:"Q{}make-sort-key",bSlot:"107"}]}]}]},{N:"true"},{N:"varRef", -line:"58",name:"Q{}source",slot:"3"}]},{N:"applyT",line:"61",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}key",slot:"2"}]},{N:"callT",line:"62",name:"Q{}sequence-constructor",bSlot:"108",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"63",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"109"},{N:"str",val:"content"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"173",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty", +bSlot:"102",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]},{N:"true"},{N:"false"}]},{N:"att",line:"33",name:"flags",flags:"l",C:[{N:"str",val:"c"}]}]},{N:"varRef",line:"35",name:"Q{}attr",slot:"1"},{N:"callT",line:"36",name:"Q{}record-location",bSlot:"103"},{N:"let",line:"37","var":"Q{}source",as:"*NE",slot:"3",C:[{N:"treat",line:"38",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"104",C:[{N:"axis", +role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"sequence",line:"40",C:[{N:"choose",C:[{N:"compareToInt",line:"41",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"45","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?NA",slot:"4",flags:"l",C:[{N:"treat",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role", +C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"105"},{N:"str",val:"sort"}]}]}]},{N:"sequence",line:"42",C:[{N:"varRef",name:"Q{}source",slot:"3"},{N:"forEach",line:"43",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"44",name:"Q{}make-sort-key",bSlot:"106",C:[{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"varRef",line:"45",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"4"}]}]}]}]}]},{N:"fn",line:"49",name:"exists",C:[{N:"axis", +name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"elem",line:"50",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"varRef",line:"51",name:"Q{}source",slot:"3"},{N:"forEach",line:"52",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"53",name:"Q{}make-sort-key",bSlot:"107"}]}]}]},{N:"true"},{N:"varRef",line:"58",name:"Q{}source", +slot:"3"}]},{N:"applyT",line:"61",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}key",slot:"2"}]},{N:"callT",line:"62",name:"Q{}sequence-constructor",bSlot:"108",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"63",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"109"},{N:"str",val:"content"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"174",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty", flags:"s",line:"153",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"154",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", -slot:"0"}]}]},{N:"elem",line:"155",name:"onNonEmpty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"156",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"157",mode:"Q{}select.or.sequence",bSlot:"110",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"370",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style",flags:"s", +slot:"0"}]}]},{N:"elem",line:"155",name:"onNonEmpty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"156",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"157",mode:"Q{}select.or.sequence",bSlot:"110",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-non-empty",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"371",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style",flags:"s", line:"81",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"82",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"83",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"84",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}set-style"}]}, {N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"85",name:"Q{}attr",slot:"1"},{N:"callT",line:"86",name:"Q{}record-location",bSlot:"111"},{N:"forEach",line:"87",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"88",name:"Q{}role-value-template",bSlot:"112"}]},{N:"elem",line:"91",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"3",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l", -C:[{N:"str",val:"1AS"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -name:"Q{http://saxon.sf.net/generated-variable}gg1571834834",bSlot:"113"}]}]}]}]}]}]},{N:"elem",line:"93",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI", -to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style",flags:"a"},{N:"treat", -module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number", -type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", -C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1871846962",bSlot:"114"}]}]}]}]},{N:"varRef", -line:"94",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"267",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"s",line:"14",module:"key.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str", +val:"1AS"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +name:"Q{http://saxon.sf.net/generated-variable}gg2078175306",bSlot:"113"}]}]}]}]}]}]},{N:"elem",line:"93",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI", +to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-style",flags:"a"},{N:"treat",module:"lib.xsl", +line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", +C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", +C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg19873741",bSlot:"114"}]}]}]}]},{N:"varRef", +line:"94",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"268",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"s",line:"14",module:"key.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}key"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", line:"15",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"16",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation", C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"17",name:"Q{}xpath-default-namespace",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"18",name:"Q{}options",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check", -card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"3"}]}]}]},{N:"let",line:"19","var":"Q{}composite",as:"1AB",slot:"4",eval:"16",C:[{N:"treat",as:"AB",diag:"3|0|XTTE0570|composite",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|composite",C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|composite",C:[{N:"data",diag:"3|0|XTTE0570|composite",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]}]},{N:"elem",line:"21",name:"key",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"115",eval:"16 16",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"a"}]}]},{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str", -val:"u"},{N:"fn",name:"string",C:[{N:"filter",flags:"ip",C:[{N:"str",val:"b"},{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"backward-compatibility"}]}]}]},{N:"fn",name:"string",C:[{N:"filter",flags:"ib",C:[{N:"str",val:"c"},{N:"varRef",name:"Q{}composite",slot:"4"}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}, -{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let","var":"Q{}context",as:"1NE",slot:"5",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1", -C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0", -comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"116"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"choose",line:"22",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"3"},{N:"str",val:"relocatable"}]}]}, -{N:"att",line:"23",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"forEach",line:"25",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"},{N:"varRef",name:"Q{}default-collation",slot:"1"}]}]},{N:"att",line:"26",name:"collation",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"callT",line:"28", -name:"Q{}record-location",bSlot:"117"},{N:"elem",line:"29",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"match"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]}]},{N:"varRef",line:"30",name:"Q{}xpath-default-namespace",slot:"2"}]}]},{N:"elem",line:"32",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", -C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"use"}]},{N:"choose",line:"34",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"elem",line:"35",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"36",mode:"Q{}create.xpath",bSlot:"118",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use"}]}]},{N:"true"},{N:"applyT",line:"40",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.5",seq:"237",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort",flags:"s",line:"111",module:"sorting.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"}]},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"112",name:"Q{}make-sort-key",bSlot:"119",flags:"t"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"236",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort",flags:"s",line:"108",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"109",name:"Q{}make-sort-key",bSlot:"120",flags:"t"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"380",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",flags:"s",as:"1NE",line:"1599",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1602",name:"glob",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"use",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"str",val:"absent"}]},{N:"str",val:"pro"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"str",val:"required"}]},{N:"str",val:"req"},{N:"true"},{N:"str", -val:"opt"}]}]},{N:"att",name:"code",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",line:"1603",name:"cxt",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"str",val:"1"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"382",rank:"2",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s", -line:"1616",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1616",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1617",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"1619","var":"Q{}has-uniform-static-context", -as:"1AB",slot:"3",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"121",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"elem",line:"1620",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef", -name:"Q{}has-uniform-static-context",slot:"3"}]}]},{N:"elem",line:"1622",name:"globalParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",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:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, -{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"122"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose",line:"1623",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options", -slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1624",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"choose",line:"1626",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]},{N:"str",val:"true"}]},{N:"att",line:"1627",name:"flags",flags:"l",C:[{N:"str",val:"r"}]}]},{N:"choose",line:"1629", -C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}implicit-mandatory"}]},{N:"str",val:"true"}]},{N:"att",line:"1630",name:"flags",flags:"l",C:[{N:"str",val:"i"}]}]},{N:"att",line:"1632",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"axis",line:"1633",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, -{N:"att",line:"1634",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"4",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param", -flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]}, -{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"123"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]}, -{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1635",mode:"Q{}param.type",bSlot:"124",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"applyT",line:"1637",mode:"Q{}select.or.sequence",bSlot:"125",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}has-uniform-static-context", -flags:"t",as:"1AB",C:[{N:"varRef",line:"1639",name:"Q{}has-uniform-static-context",slot:"3"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"194",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"155",module:"callable-components.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"157",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]},{N:"str",val:"false"}]},{N:"ufCall",line:"162",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"126",eval:"0 16 16",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"str",val:"@required can only be yes|true|1 on parameter "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:" of function "},{N:"data",diag:"0|3||fn:concat",C:[{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:"()"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param", -flags:"a"}]}]},{N:"elem",line:"165",name:"arg",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{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:"let",line:"172","var":"Q{}alphacode",slot:"0",eval:"16",C:[{N:"choose",C:[{N:"fn",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"127",eval:"16",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"callable-components.xsl",line:"172",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:parse-sequence-type",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]}]},{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"callable-components.xsl",line:"172",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"str",val:""}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"128"}]},{N:"sequence",line:"173",C:[{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}alphacode",slot:"0"},{N:"str",val:" "}]}]},{N:"att",line:"174",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}alphacode",slot:"0"},{N:"str",val:" "}]}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.5",seq:"130",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"967",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"967",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"967",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"129",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]}]},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"967",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"fn",name:"not",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"130",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]}]}]}]}]},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"967", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"968",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"131",eval:"0 16 16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"str",val:"required xsl:param "},{N:"data",diag:"0|1||fn:concat", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:" must not have a default value"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"128",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"961",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}, -{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"961",name:"not",C:[{N:"ufCall",name:"Q{MyFunctions}isTopLevel",tailCall:"false",bSlot:"132",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"961",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"}]}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"962",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"133",eval:"0 16 16",C:[{N:"str",val:"XTSE0580"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:param siblings may not have the same @name: "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"187",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"29",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"3"}]}]}]},{N:"let",line:"19","var":"Q{}composite",as:"1AB",slot:"4",C:[{N:"treat",as:"AB",diag:"3|0|XTTE0570|composite",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|composite",C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|composite",C:[{N:"data",diag:"3|0|XTTE0570|composite",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"},{N:"false"}]}]}]}]}]}]},{N:"elem",line:"21",name:"key",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"115",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"a"}]}]},{N:"att",name:"binds",flags:"l",C:[{N:"str", +val:""}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"u"},{N:"fn",name:"string",C:[{N:"filter",flags:"ip",C:[{N:"str",val:"b"},{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"backward-compatibility"}]}]}]},{N:"fn",name:"string",C:[{N:"filter",flags:"ib",C:[{N:"str",val:"c"},{N:"varRef",name:"Q{}composite",slot:"4"}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",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:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let","var":"Q{}context",as:"1NE",slot:"5",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}key",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1", +C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58", +name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"116"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]}, +{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"choose",line:"22",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"3"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"23",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"forEach", +line:"25",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"},{N:"varRef",name:"Q{}default-collation",slot:"1"}]}]},{N:"att",line:"26",name:"collation",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"callT",line:"28",name:"Q{}record-location",bSlot:"117"},{N:"elem",line:"29",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"match"}]}, +{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}match"}]}]}]},{N:"varRef",line:"30",name:"Q{}xpath-default-namespace",slot:"2"}]}]},{N:"elem",line:"32",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"use"}]},{N:"choose",line:"33",C:[{N:"fn",line:"34",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"elem",line:"35", +name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"36",mode:"Q{}create.xpath",bSlot:"118",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use"}]}]},{N:"true"},{N:"applyT",line:"40",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"238",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort",flags:"s",line:"111",module:"sorting.xsl", +C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}perform-sort"}]},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"112",name:"Q{}make-sort-key",bSlot:"119",flags:"t"}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"237",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort",flags:"s",line:"108",module:"sorting.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"109",name:"Q{}make-sort-key",bSlot:"120",flags:"t"}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"161",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"s",line:"144",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"145", +C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"ufCall",line:"146",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"121",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"a"}]},{N:"ufCall",line:"146",name:"Q{MyFunctions}check-tail-position",tailCall:"false",bSlot:"122",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration", +flags:"a"}]},{N:"let",line:"147","var":"Q{}iteration-params",as:"*NE nQ{http://www.w3.org/1999/XSL/Transform}param",slot:"1",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"let",line:"149","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"*AZ",slot:"2",flags:"l",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}iteration-params",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",line:"148",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"choose",line:"149",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"},{N:"attVal",name:"Q{}name"}]}]}, +{N:"ufCall",line:"152",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"123",C:[{N:"str",val:"XTSE3130"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:next-iteration parameter '"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"' is not a parameter of the enclosing xsl:iterate"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]}]}]},{N:"elem",line:"155",name:"nextIteration",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +line:"156",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"157",name:"Q{}record-location",bSlot:"124"},{N:"applyT",line:"158",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"381",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item",flags:"s",as:"1NE",line:"1599",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"}, +{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1602",name:"glob",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"use",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"str",val:"absent"}]}, +{N:"str",val:"pro"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]},{N:"str",val:"required"}]},{N:"str",val:"req"},{N:"true"},{N:"str",val:"opt"}]}]},{N:"att",name:"code",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",line:"1603",name:"cxt",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, +{N:"str",val:"1"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"383",rank:"2",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"1616",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1616",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1617",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"1619","var":"Q{}has-uniform-static-context",as:"1AB",slot:"1",C:[{N:"ufCall",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"125",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}, +{N:"elem",line:"1620",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context",slot:"1"}]}]},{N:"elem",line:"1622",name:"globalParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",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:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"126"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf", +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:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose",line:"1623",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1624",name:"baseUri",flags:"l", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"choose",line:"1626",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]},{N:"str",val:"true"}]},{N:"att",line:"1627",name:"flags",flags:"l",C:[{N:"str",val:"r"}]}]},{N:"choose",line:"1629",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}implicit-mandatory"}]},{N:"str",val:"true"}]},{N:"att",line:"1630",name:"flags",flags:"l",C:[{N:"str",val:"i"}]}]},{N:"att",line:"1632",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"axis",line:"1633",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"att",line:"1634",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +"var":"Q{}context",as:"1NE",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, +{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"2"},{N:"axis",name:"namespace", +nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"127"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]}, +{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1635",mode:"Q{}param.type",bSlot:"128",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"applyT",line:"1637",mode:"Q{}select.or.sequence",bSlot:"129",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"varRef",line:"1639",name:"Q{}has-uniform-static-context",slot:"1"}]}]}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"195",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"155",module:"callable-components.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"157",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]},{N:"str",val:"false"}]},{N:"ufCall",line:"162",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"130",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"@required can only be yes|true|1 on parameter "},{N:"data", +diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" of function "}]},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{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:"()"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"elem",line:"165",name:"arg",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att", +name:"slot",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{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:"let",line:"172","var":"Q{}alphacode",slot:"0",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"131",C:[{N:"treat", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"callable-components.xsl",line:"172",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-sequence-type",C:[{N:"data",diag:"0|0||f:parse-sequence-type",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]}]}]},{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"callable-components.xsl",line:"172",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"str",val:""}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"132"}]},{N:"sequence",line:"173",C:[{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}alphacode",slot:"0"},{N:"str",val:" "}]}]},{N:"att",line:"174",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}alphacode",slot:"0"},{N:"str",val:" "}]}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.5",seq:"131",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"981",module:"normalize.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"981",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"981",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"133",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]}]}]},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"981",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"fn",name:"not",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"134",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]}]}]}]}]},{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"981", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"982",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"135",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"required xsl:param "},{N:"data", +diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" must not have a default value"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"129",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"975",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}, +{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"975",name:"not",C:[{N:"ufCall",name:"Q{MyFunctions}isTopLevel",tailCall:"false",bSlot:"136",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"975",flags:"b",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"976",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"137",C:[{N:"str",val:"XTSE0580"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:param siblings may not have the same @name: "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, +{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"188",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"29",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", line:"30",name:"PARAMDEF",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"32",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}required"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"33",name:"Q{}record-location",bSlot:"134"},{N:"applyT",line:"34",mode:"Q{}select.or.sequence",bSlot:"135",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"35",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"136"},{N:"str",val:"select"}]}]},{N:"withParam",name:"Q{}has-uniform-static-context", -flags:"t",as:"1AB",C:[{N:"ufCall",line:"36",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"137",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"197",rank:"2",minImp:"0",slots:"11",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"s",as:"1NE",line:"217",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}, +nodeTest:"NA nQ{}required"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"33",name:"Q{}record-location",bSlot:"138"},{N:"applyT",line:"34",mode:"Q{}select.or.sequence",bSlot:"139",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"35",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"140"},{N:"str",val:"select"}]}]},{N:"withParam",name:"Q{}has-uniform-static-context", +flags:"t",as:"1AB",C:[{N:"ufCall",line:"36",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"141",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"198",rank:"2",minImp:"0",slots:"11",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"s",as:"1NE",line:"217",module:"callable-components.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}, {N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"217",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"218",card:"1",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"', C:[{N:"sequence",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"219",name:"Q{}named-template-signatures",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"220",name:"Q{}static-context", -slot:"2",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"2"}]}]}]},{N:"let",line:"221","var":"Q{}name",as:"1AS",slot:"3",eval:"16",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|name",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|name",C:[{N:"data",diag:"3|0|XTTE0570|name",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"choose",line:"223", -C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"1"},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"let",line:"224","var":"Q{}signature",slot:"4",eval:"3",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"1"},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"let",line:"227","var":"Q{}supplied.params",as:"*AS",slot:"5",eval:"4",C:[{N:"cvUntyped", -to:"AS",diag:"3|0|XTTE0570|supplied.params",C:[{N:"data",diag:"3|0|XTTE0570|supplied.params",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}tunnel",chk:"0"}]},{N:"str",val:"true"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"let",line:"228","var":"Q{}template",as:"1FM",slot:"6",eval:"16",C:[{N:"treat", -as:"FM",diag:"3|0|XTTE0570|template",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|template",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}signature",slot:"4"},{N:"str",val:"params"}]}]}]},{N:"let",line:"229","var":"Q{}param.names",as:"*A",slot:"7",eval:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}template",slot:"6"}]},{N:"let",line:"231","var":"Q{}unknown.params",as:"*AS",slot:"8",eval:"4",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}supplied.params", -slot:"5"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}param.names",slot:"7"},{N:"dot",type:"1AS"}]}]}]},{N:"let",line:"232","var":"Q{}unsupplied.params",as:"*AS",slot:"9",eval:"4",C:[{N:"filter",flags:"b",C:[{N:"treat",line:"230",as:"AS",diag:"3|0|XTTE0570|required.params",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|required.params",C:[{N:"filter",flags:"p",C:[{N:"varRef",name:"Q{}param.names",slot:"7"}, -{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}template",slot:"6"},{N:"dot",type:"1A"}]},{N:"str",val:"required"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}supplied.params",slot:"5"},{N:"dot",type:"1AS"}]}]}]},{N:"choose",line:"234",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"}]},{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context", -slot:"2"},{N:"str",val:"backward-compatibility"}]}]}]},{N:"let",line:"238","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*AS",slot:"10",eval:"4",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"}]},{N:"sequence",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"',C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"138",eval:"0 16 16",C:[{N:"str",val:"XTSE0680"},{N:"fn",name:"concat",C:[{N:"str",val:"Named template "}, -{N:"varRef",name:"Q{}name",slot:"3"},{N:"str",val:" does not declare parameter"},{N:"filter",flags:"ib",C:[{N:"str",val:"s"},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"10"}]}]},{N:"str",val:" "},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"},{N:"str",val:", "}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"a"}]}]},{N:"elem",line:"239",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"empty"}]}]}]},{N:"fn",line:"241",name:"exists",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"}]},{N:"sequence",line:"247",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"',C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"139",eval:"0 16 16",C:[{N:"str",val:"XTSE0690"},{N:"fn",name:"concat",C:[{N:"str",val:"A call to named template "},{N:"varRef",name:"Q{}name",slot:"3"},{N:"str",val:" requires "},{N:"cast",line:"242", -flags:"a",as:"1AZ",C:[{N:"choose",C:[{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"str",val:"a supplied value for "},{N:"true"},{N:"str",val:"supplied values for\n "}]}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"},{N:"str",val:", "}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template", -flags:"a"}]}]},{N:"elem",line:"248",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]},{N:"true"},{N:"elem",line:"251",name:"callT",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"bSlot",flags:"l",C:[{N:"str",val:"??"}]},{N:"att",name:"sType",flags:"l",C:[{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{}signature",slot:"4"},{N:"str",val:"typeJ"}]}]}]}]}, -{N:"str",val:" "}]}]},{N:"axis",line:"252",name:"attribute",nodeTest:"NA nQ{}name"},{N:"varRef",line:"253",name:"Q{}attr",slot:"0"},{N:"callT",line:"254",name:"Q{}record-location",bSlot:"140"},{N:"applyT",line:"255",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"261",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"',C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false", -bSlot:"141",eval:"0 16 16",C:[{N:"str",val:"XTSE0650"},{N:"fn",name:"concat",C:[{N:"str",val:"Named template "},{N:"varRef",name:"Q{}name",slot:"3"},{N:"str",val:" does not exist"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"a"}]}]},{N:"elem",line:"262",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"248",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge", -flags:"s",line:"15",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", -slot:"0"}]}]},{N:"elem",line:"17",name:"merge",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"142"}]},{N:"varRef",line:"18",name:"Q{}attr",slot:"0"},{N:"applyT",line:"19",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"191",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate", -flags:"s",line:"15",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr", -C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"17",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"18",name:"Q{}default-collation",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation", -C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"26",name:"evaluate",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"3",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"attVal", -name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces", -bSlot:"143"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"varRef",line:"27",name:"Q{}attr",slot:"0"},{N:"att",line:"28",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"att",line:"29",name:"sType",flags:"l", -C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"144",eval:"16",C:[{N:"choose",line:"25",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"145",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}, -{N:"true"},{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"146"}]}]}]},{N:"callT",line:"31",name:"Q{}record-location",bSlot:"147"},{N:"choose",line:"32",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]},{N:"str",val:"http://www.w3.org/1999/xhtml"}]}]},{N:"att",line:"33",name:"dxns",flags:"l",C:[{N:"convert",from:"AZ", -to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]}]},{N:"elem",line:"35",name:"cast",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"str",val:"AS"}]},{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"a"}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"xpath"}]},{N:"elem",line:"36",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"37",mode:"Q{}create.xpath",bSlot:"148", -C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]},{N:"elem",line:"40",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"sa"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"no"}]}]}]},{N:"choose",line:"42",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}context-item"}]},{N:"applyT",line:"43",mode:"Q{}create.xpath",bSlot:"149",C:[{N:"axis",role:"select",name:"attribute", -nodeTest:"NA nQ{}context-item"}]},{N:"true"},{N:"elem",line:"46",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"cxt"}]}]}]},{N:"choose",line:"50",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}with-params"}]},{N:"applyT",line:"51",mode:"Q{}create.xpath",bSlot:"150",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}with-params"}]},{N:"true"},{N:"elem",line:"54",name:"map",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"wp"}]}]}]},{N:"choose",line:"58",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace-context"}]},{N:"applyT",line:"59",mode:"Q{}create.xpath",bSlot:"151",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}namespace-context"}]}]},{N:"applyT",line:"62",mode:"Q{}create.xpath",bSlot:"152",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://saxon.sf.net/}options"}]},{N:"choose",line:"65", -C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}base-uri"}]},{N:"let",line:"66","var":"Q{}temp",as:"1NE",slot:"4",eval:"16",C:[{N:"check",line:"67",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}base-uri"},{N:"callT",line:"68",name:"Q{}value-template",bSlot:"153"}]}]},{N:"forEach",line:"71",C:[{N:"varRef",name:"Q{}temp",slot:"4"},{N:"copy",line:"73",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute", -nodeTest:"NA"},{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"154"},{N:"str",val:"baseUri"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"applyT",line:"78",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"168",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise",flags:"s",line:"55",module:"conditionals.xsl",C:[{N:"p.nodeTest", -role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"56",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied", -slot:"0"}]}]}]},{N:"elem",line:"57",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]},{N:"choose",line:"59",C:[{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"applyT",line:"60",mode:"Q{}select.or.sequence",flags:"t",bSlot:"155",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise", -flags:"a"}]},{N:"true"},{N:"callT",line:"63",name:"Q{}sequence-constructor",bSlot:"156",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"367",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute",flags:"s",line:"30",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -line:"31",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"32",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"33",name:"ifCall", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}set-attribute"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"34",name:"Q{}attr",slot:"1"},{N:"callT",line:"35",name:"Q{}record-location",bSlot:"157"},{N:"forEach",line:"36",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"37",name:"Q{}role-value-template",bSlot:"158"}]}, -{N:"elem",line:"40",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}node",as:"1N",slot:"2",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1", -C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"3",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck", -C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1AS"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1523911426",bSlot:"159"}]}]}]}]}]}]},{N:"elem",line:"42",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert", -from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"5",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l", -C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", -name:"Q{http://saxon.sf.net/generated-variable}gg1459788259",bSlot:"160"}]}]}]}]},{N:"varRef",line:"43",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"154",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports",flags:"s",line:"199",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"200",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"201",name:"applyImports",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"161"}]},{N:"varRef",line:"202",name:"Q{}attr",slot:"0"},{N:"callT",line:"203",name:"Q{}record-location",bSlot:"162"},{N:"applyT", -line:"204",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"138",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"s",line:"995",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"995",flags:"",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"data",diag:"1|1||eq",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"996",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"163",eval:"0 16 16",C:[{N:"str",val:"XTSE0670"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:with-param siblings may not have the same @name: "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"189",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param", +slot:"2",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"2"}]}]}]},{N:"let",line:"221","var":"Q{}name",as:"1AS",slot:"3",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|name",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|name",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|name",C:[{N:"data",diag:"3|0|XTTE0570|name",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]}]}]},{N:"choose",line:"222",C:[{N:"ifCall",line:"223",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"1"},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"let",line:"224","var":"Q{}signature",slot:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"1"},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"let",line:"227", +"var":"Q{}supplied.params",as:"*AS",slot:"5",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|supplied.params",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|supplied.params",C:[{N:"data",diag:"3|0|XTTE0570|supplied.params",C:[{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}tunnel"}]},{N:"str",val:"true"}]}]}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"let",line:"228","var":"Q{}template",as:"1FM",slot:"6",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|template",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|template",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}signature",slot:"4"},{N:"str",val:"params"}]}]}]},{N:"let",line:"229","var":"Q{}param.names",as:"*A",slot:"7",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"varRef",name:"Q{}template",slot:"6"}]},{N:"let", +line:"231","var":"Q{}unknown.params",as:"*AS",slot:"8",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}supplied.params",slot:"5"},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}param.names",slot:"7"},{N:"dot",type:"1AS"}]}]}]},{N:"let",line:"232","var":"Q{}unsupplied.params",as:"*AS",slot:"9",C:[{N:"filter",flags:"b",C:[{N:"convert",line:"230",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|required.params", +C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|required.params",C:[{N:"filter",flags:"p",C:[{N:"varRef",name:"Q{}param.names",slot:"7"},{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}template",slot:"6"},{N:"dot",type:"1A"}]},{N:"str",val:"required"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}supplied.params",slot:"5"},{N:"dot",type:"1AS"}]}]}]},{N:"choose",line:"233",C:[{N:"and",line:"234", +op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"}]},{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"2"},{N:"str",val:"backward-compatibility"}]}]}]},{N:"let",line:"238","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"10",flags:"l",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"}]}]},{N:"sequence",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"', +C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"142",C:[{N:"str",val:"XTSE0680"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Named template "},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"str",val:" does not declare parameter"}]},{N:"filter",flags:"ib",C:[{N:"str",val:"s"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"10"}]}]},{N:"str",val:" "}]},{N:"fn", +name:"string-join",C:[{N:"varRef",name:"Q{}unknown.params",slot:"8"},{N:"str",val:", "}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"a"}]}]},{N:"elem",line:"239",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]},{N:"fn",line:"241",name:"exists",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"}]},{N:"sequence",line:"247",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"',C:[{N:"ufCall", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"143",C:[{N:"str",val:"XTSE0690"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"A call to named template "},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"str",val:" requires "}]},{N:"cast",line:"242",flags:"a",as:"1AZ",C:[{N:"choose",C:[{N:"compareToInt",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"}, +{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"str",val:"a supplied value for "},{N:"true"},{N:"str",val:"supplied values for\n "}]}]}]},{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}unsupplied.params",slot:"9"},{N:"str",val:", "}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"a"}]}]},{N:"elem",line:"248",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]},{N:"true"},{N:"elem",line:"251",name:"callT", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"bSlot",flags:"l",C:[{N:"str",val:"??"}]},{N:"att",name:"sType",flags:"l",C:[{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{}signature",slot:"4"},{N:"str",val:"typeJ"}]}]}]}]},{N:"str",val:" "}]}]},{N:"axis",line:"252",name:"attribute",nodeTest:"NA nQ{}name"},{N:"varRef",line:"253",name:"Q{}attr",slot:"0"},{N:"callT",line:"254",name:"Q{}record-location", +bSlot:"144"},{N:"applyT",line:"255",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"sequence",line:"261",C:[{N:"treat",as:"NE",diag:'7|0|XTTE0505|match="xsl:call-template[@name]" mode="sef"',C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"145",C:[{N:"str",val:"XTSE0650"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Named template "},{N:"varRef",name:"Q{}name",slot:"3"}]},{N:"str",val:" does not exist"}]}, +{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}call-template",flags:"a"}]}]},{N:"elem",line:"262",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"253",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action",flags:"s",line:"49",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action"},{N:"applyT",role:"action", +ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50",mode:"Q{}select.or.sequence",flags:"t",bSlot:"146",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge-action",flags:"a"},{N:"withParam",name:"Q{}attr",C:[{N:"lookup",line:"51",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"147"},{N:"str",val:"action"}]}]}]}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"192",rank:"1",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate",flags:"s",line:"15",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr", +slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"17",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"18",name:"Q{}default-collation",slot:"2",flags:"t", +as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"26",name:"evaluate",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +"var":"Q{}context",as:"1NE",slot:"3",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}evaluate",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, +{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"namespace", +nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"148"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]}, +{N:"str",val:" "}]}]}]}]},{N:"varRef",line:"27",name:"Q{}attr",slot:"0"},{N:"att",line:"28",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]},{N:"att",line:"29",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"149",C:[{N:"choose",line:"25",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}, +{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"150",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"151"}]}]}]},{N:"callT",line:"31",name:"Q{}record-location",bSlot:"152"}, +{N:"choose",line:"32",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]},{N:"str",val:"http://www.w3.org/1999/xhtml"}]}]},{N:"att",line:"33",name:"dxns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]}]},{N:"elem",line:"35",name:"cast",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"str",val:"AS"}]},{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"a"}]},{N:"att",name:"role",flags:"l",C:[{N:"str",val:"xpath"}]},{N:"elem",line:"36",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"applyT",line:"37",mode:"Q{}create.xpath",bSlot:"153",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}xpath"}]}]}]}]},{N:"elem",line:"40",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", +C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"sa"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"no"}]}]}]},{N:"choose",line:"41",C:[{N:"fn",line:"42",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}context-item"}]},{N:"applyT",line:"43",mode:"Q{}create.xpath",bSlot:"154",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}context-item"}]},{N:"true"},{N:"elem",line:"46",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role", +flags:"l",C:[{N:"str",val:"cxt"}]}]}]},{N:"choose",line:"49",C:[{N:"fn",line:"50",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}with-params"}]},{N:"applyT",line:"51",mode:"Q{}create.xpath",bSlot:"155",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}with-params"}]},{N:"true"},{N:"elem",line:"54",name:"map",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"wp"}]}]}]},{N:"choose",line:"57",C:[{N:"fn",line:"58",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace-context"}]},{N:"applyT",line:"59",mode:"Q{}create.xpath",bSlot:"156",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}namespace-context"}]}]},{N:"applyT",line:"62",mode:"Q{}create.xpath",bSlot:"157",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://saxon.sf.net/}options"}]},{N:"choose",line:"64",C:[{N:"fn",line:"65",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}base-uri"}]},{N:"let",line:"66","var":"Q{}temp", +as:"1NE",slot:"4",C:[{N:"check",line:"67",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}base-uri"},{N:"callT",line:"68",name:"Q{}value-template",bSlot:"158"}]}]},{N:"forEach",line:"71",C:[{N:"varRef",name:"Q{}temp",slot:"4"},{N:"copy",line:"72",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"73",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"159"},{N:"str",val:"baseUri"}]},{N:"axis",name:"child", +nodeTest:"NE"}]}]}]}]}]},{N:"applyT",line:"78",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"169",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise",flags:"s",line:"55",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"56",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"57",name:"true",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]},{N:"choose",line:"58",C:[{N:"vc",line:"59",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?", +diag:"1|0||gt",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]},{N:"applyT",line:"60",mode:"Q{}select.or.sequence",flags:"t",bSlot:"160",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}otherwise",flags:"a"}]},{N:"true"},{N:"callT",line:"63",name:"Q{}sequence-constructor",bSlot:"161",flags:"t"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"368",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute", +flags:"s",line:"30",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"31",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"32",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"33",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}set-attribute"}]}, +{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"34",name:"Q{}attr",slot:"1"},{N:"callT",line:"35",name:"Q{}record-location",bSlot:"162"},{N:"forEach",line:"36",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"37",name:"Q{}role-value-template",bSlot:"163"}]},{N:"elem",line:"40",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str", +val:"1AS"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +name:"Q{http://saxon.sf.net/generated-variable}gg271588719",bSlot:"164"}]}]}]}]}]}]},{N:"elem",line:"42",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI", +to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-attribute",flags:"a"},{N:"treat",module:"lib.xsl", +line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", +C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", +C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg1557557661",bSlot:"165"}]}]}]}]},{N:"varRef", +line:"43",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"155",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports",flags:"s",line:"199",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}apply-imports"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"200",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"201",name:"applyImports",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"166"}]},{N:"varRef",line:"202",name:"Q{}attr",slot:"0"},{N:"callT",line:"203",name:"Q{}record-location",bSlot:"167"},{N:"applyT", +line:"204",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"139",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"s",line:"1009",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"1009",flags:"",C:[{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"data",diag:"1|1||eq",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"1010",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"168",C:[{N:"str",val:"XTSE0670"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:with-param siblings may not have the same @name: "},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"190",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param", flags:"s",line:"41",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}with-param"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"42",C:[{N:"param",name:"Q{}named-template-signatures",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|named-template-signatures", C:[{N:"check",card:"1",diag:"8|0|XTTE0590|named-template-signatures",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"44",name:"withParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"45",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"choose",line:"46",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}tunnel"}]}]}, -{N:"str",val:"true"}]},{N:"att",line:"47",name:"flags",flags:"l",C:[{N:"str",val:"t"}]}]},{N:"choose",line:"49",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}]},{N:"let",line:"50","var":"Q{}param",slot:"1",eval:"4",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",dyn:'saxon:apply(...) ? "params"',C:[{N:"treat",as:"F",diag:"0|0||saxon:apply",C:[{N:"check",card:"1",diag:"0|0||saxon:apply",C:[{N:"lookup",C:[{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{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:"params"}]}]}]},{N:"arrayBlock",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"52",C:[{N:"lookup", -C:[{N:"varRef",name:"Q{}param",slot:"1"},{N:"str",val:"type"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"1"},{N:"str",val:"typeJ"}]}]}]}]},{N:"choose",line:"54",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"}]},{N:"slash",line:"57",simple:"2",C:[{N:"let",line:"55","var":"Q{http://saxon.sf.net/generated-variable}current-626248285",as:"1",slot:"2",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param", -flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"?AZ",slot:"3",eval:"13",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current-626248285",slot:"2"},{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]}, -{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name",chk:"0"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}as,NA nQ{http://ns.saxonica.com/xslt/export}asJ]"}]}]},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose", -line:"60",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"att",line:"61",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"choose",line:"64",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]}, -{N:"elem",line:"65",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"164"}]},{N:"applyT",line:"66",mode:"Q{}select.or.sequence",bSlot:"165",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]},{N:"true"},{N:"applyT",line:"70",mode:"Q{}select.or.sequence",bSlot:"166",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param", -flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"217",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction",flags:"s",as:"1NE",line:"224",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"224",name:"matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"str",val:"\\{"},{N:"str",val:""}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"225",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]}, -{N:"elem",line:"226",name:"procInst",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",bSlot:"167"}]},{N:"varRef",line:"227",name:"Q{}attr",slot:"0"},{N:"let",line:"228","var":"Q{}nameAVT",as:"1NE",slot:"1",eval:"16",C:[{N:"check",line:"229",card:"1",diag:"3|0|XTTE0570|nameAVT",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"230",name:"Q{}value-template", -bSlot:"168"}]}]},{N:"sequence",line:"233",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}nameAVT",slot:"1"},{N:"copy",line:"235",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"169"},{N:"str",val:"name"}]},{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"callT",line:"238",name:"Q{}constructSimpleContent",bSlot:"170"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"216",rank:"1",minImp:"0",slots:"1", -matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction",flags:"s",as:"1NE",line:"215",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"216",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA", -C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"217",name:"procInst",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",bSlot:"171"}]},{N:"varRef",line:"218",name:"Q{}attr",slot:"0"},{N:"elem",line:"219",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"callT",line:"220",name:"Q{}constructSimpleContent",bSlot:"172"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"379",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"s",as:"*NA",line:"1595",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"att",role:"action", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1596",name:"cxt",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"str",val:"1"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"377",rank:"1", -minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}message",flags:"s",line:"1561",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}message"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1562",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty", -role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"1563",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"1564",name:"Q{}default-collation",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"1566",name:"message",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"173"}]},{N:"att",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -module:"namespaces.xsl",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"XSLT-SEF-compiler.xsl",line:"1565",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}message",flags:"a"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}, -{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}]},{N:"varRef",line:"1568",name:"Q{}attr",slot:"0"},{N:"elem",line:"1569",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"applyT",line:"1570",mode:"Q{}create.xpath",bSlot:"174",C:[{N:"axis", -role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"1571",flags:"ci",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]},{N:"callT",line:"1573",name:"Q{MyFunctions}AVT",bSlot:"175",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}terminate",C:[{N:"axis",line:"1574",name:"attribute",nodeTest:"NA nQ{}terminate"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"false"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat", -line:"1576",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"176"},{N:"str",val:"terminate"}]}]}]}]}]},{N:"callT",line:"1578",name:"Q{MyFunctions}AVT",bSlot:"177",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}error-code",C:[{N:"axis",line:"1579",name:"attribute",nodeTest:"NA nQ{}error-code"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}, -{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"1582",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"178"},{N:"str",val:"error"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"179",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}try",flags:"s",line:"222",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}try"}, -{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"222",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"223",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA", -C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"224",name:"try",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}rollback-output"}]}]},{N:"str",val:"false"}]},{N:"str",val:"r"},{N:"true"},{N:"str", -val:""}]}]},{N:"varRef",line:"225",name:"Q{}attr",slot:"0"},{N:"applyT",line:"226",mode:"Q{}create.xpath",bSlot:"179",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"227",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"180",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}try",flags:"s",line:"230", -module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}try"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"231",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem", -line:"232",name:"try",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}rollback-output"}]}]},{N:"str",val:"false"}]},{N:"str",val:"r"},{N:"true"},{N:"str",val:""}]}]},{N:"varRef",line:"233",name:"Q{}attr",slot:"0"},{N:"elem",line:"234",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",C:[{N:"applyT",line:"235",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}catch]"}]}]},{N:"applyT",line:"237",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"214",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"s",line:"192",module:"creating-new-nodes.xsl", -C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"192",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{N:"fn",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"str", -val:"{"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"193",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"194",name:"compAtt",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att", -name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"180"}]},{N:"varRef",line:"195",name:"Q{}attr",slot:"0"},{N:"choose",line:"197",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}, -{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"callT",line:"199",name:"Q{}record-location",bSlot:"181"},{N:"forEach",line:"200",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"callT",line:"201",name:"Q{}role-value-template",bSlot:"182"}]},{N:"callT",line:"203",name:"Q{}constructSimpleContent",bSlot:"183"}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"213",rank:"1",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"s",as:"1NE",line:"133",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"134", -C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"136","var":"Q{}name",as:"1AS",slot:"1",eval:"8",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"elem",line:"138",name:"att",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att", -name:"name",flags:"l",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"184"}]},{N:"choose",line:"139",C:[{N:"fn",name:"matches",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]},{N:"let",line:"140","var":"Q{}prefix",as:"?AS",slot:"2",eval:"7",C:[{N:"first",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]}]},{N:"let",line:"148","var":"Q{}uri", -slot:"3",eval:"4",C:[{N:"let","var":"Q{}n",slot:"4",eval:"8",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"98",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"check", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"creating-new-nodes.xsl",line:"135",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"a"},{N:"first",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -module:"namespaces.xsl",line:"165",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}, -{N:"let","var":"Q{}prefix",slot:"5",eval:"8",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"6",eval:"8",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"5"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"185"},{N:"varRef",name:"Q{}prefix",slot:"5"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"6"}]}]}]}]}]},{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:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"creating-new-nodes.xsl", -line:"148",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}prefix",slot:"2"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}n",slot:"4"}]},{N:"str",val:"~"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"186"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function", -C:[{N:"varRef",name:"Q{}prefix",slot:"2"}]}]},{N:"true"},{N:"varRef",name:"Q{}n",slot:"4"}]}]},{N:"choose",line:"150",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}uri",slot:"3"}]},{N:"sequence",line:"151",C:[{N:"att",name:"nsuri",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{}uri",slot:"3"}]}]}]},{N:"str",val:" "}]}]},{N:"namespace",line:"152",flags:"l",C:[{N:"fn",role:"name",name:"string",C:[{N:"varRef",name:"Q{}prefix", -slot:"2"}]},{N:"convert",role:"select",from:"AU",to:"AS",C:[{N:"cast",flags:"ae",as:"?AU",C:[{N:"atomSing",card:"?",diag:"2|0||cast as",C:[{N:"varRef",name:"Q{}uri",slot:"3"}]}]}]}]}]},{N:"true"},{N:"ufCall",line:"156",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"187",eval:"0 16 16",C:[{N:"str",val:"ERRRRR"},{N:"fn",name:"concat",C:[{N:"str",val:"No namespace binding for prefix "},{N:"varRef",name:"Q{}prefix",slot:"2"},{N:"str",val:" in attribute "},{N:"varRef",name:"Q{}name",slot:"1"}]}, -{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"a"}]}]}]}]}]},{N:"applyT",line:"162",mode:"Q{}attribute-sans-prefix",bSlot:"188",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"choose",line:"161",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis", -name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]}, -{N:"varRef",line:"163",name:"Q{}attr",slot:"0"},{N:"att",line:"169",name:"name",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]}]},{N:"str",val:""}]},{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:"^.+:"},{N:"str",val:""},{N:"str",val:""}]},{N:"true"},{N:"varRef",name:"Q{}name",slot:"1"}]}]},{N:"axis",line:"170",name:"attribute",nodeTest:"NA nQ{}namespace"}, -{N:"callT",line:"172",name:"Q{}record-location",bSlot:"189"},{N:"callT",line:"173",name:"Q{}constructSimpleContent",bSlot:"190"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"270",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry",flags:"s",line:"27",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"28",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"29",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_MAP",bSlot:"191"}]},{N:"varRef",line:"30",name:"Q{}attr", -slot:"0"},{N:"elem",line:"31",name:"atomSing",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"diag",flags:"l",C:[{N:"str",val:"0|0||map:entry"}]},{N:"applyT",line:"32",mode:"Q{}create.xpath",bSlot:"192",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}key"}]}]}]},{N:"applyT",line:"34",mode:"Q{}select.or.sequence",bSlot:"193",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry",flags:"a"}]}]}]}]}]},{N:"templateRule", -prec:"0",prio:"0.0",seq:"209",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}document",flags:"s",line:"17",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}document"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"18",C:[{N:"param",name:"Q{}attr", -slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"19",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"type",flags:"l",C:[{N:"str",val:"document-node()"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"194"}]},{N:"varRef",line:"20",name:"Q{}attr",slot:"0"},{N:"callT",line:"21",name:"Q{}record-location",bSlot:"195"}, -{N:"choose",line:"22",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]},{N:"elem",line:"23",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"callT",line:"25",name:"Q{}sequence-constructor",bSlot:"196"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"153",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-match",flags:"s",line:"190",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-match"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"191",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"192",name:"nextMatch",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att", -name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"197"}]},{N:"varRef",line:"193",name:"Q{}attr",slot:"0"},{N:"callT",line:"194",name:"Q{}record-location",bSlot:"198"},{N:"applyT",line:"195",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"263",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator",flags:"s",line:"34",module:"streaming.xsl",C:[{N:"p.nodeTest", +{N:"str",val:"true"}]},{N:"att",line:"47",name:"flags",flags:"l",C:[{N:"str",val:"t"}]}]},{N:"choose",line:"49",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}call-template"}]},{N:"let",line:"50","var":"Q{}param",slot:"1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}apply",type:"*",C:[{N:"treat",as:"F",diag:'21|0||map:get(...) ? "params"',C:[{N:"check",card:"1",diag:'21|0||map:get(...) ? "params"',C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"varRef",name:"Q{}named-template-signatures",slot:"0"},{N:"atomSing",diag:"20|0||key value supplied when calling a map as a function",C:[{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:"params"}]}]}]},{N:"arrayBlock",C:[{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"sequence",line:"52",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"1"},{N:"str",val:"type"}]}, +{N:"lookup",C:[{N:"varRef",name:"Q{}param",slot:"1"},{N:"str",val:"typeJ"}]}]}]}]},{N:"choose",line:"54",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}next-iteration"}]},{N:"slash",line:"57",simple:"2",C:[{N:"let",line:"55","var":"Q{http://saxon.sf.net/generated-variable}current1896874222",as:"1",slot:"2",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"?AZ",slot:"3",flags:"l",C:[{N:"slash",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}current1896874222",slot:"2"},{N:"attVal",name:"Q{}name"}]},{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}, +{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}name"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}as,NA nQ{http://ns.saxonica.com/xslt/export}asJ]"}]}]},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",line:"59",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",line:"60",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}, +{N:"att",line:"61",name:"ns",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"choose",line:"63",C:[{N:"and",line:"64",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]},{N:"elem",line:"65",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att", +name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"169"}]},{N:"applyT",line:"66",mode:"Q{}select.or.sequence",bSlot:"170",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]},{N:"true"},{N:"applyT",line:"70",mode:"Q{}select.or.sequence",bSlot:"171",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}with-param",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"218",rank:"2",minImp:"0", +slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction",flags:"s",as:"1NE",line:"224",module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"224",name:"matches",C:[{N:"convert",from:"AZ", +to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"attVal",name:"Q{}name"}]}]},{N:"str",val:"\\{"},{N:"str",val:""}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"225",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr", +C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"226",name:"procInst",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",bSlot:"172"}]},{N:"varRef",line:"227",name:"Q{}attr",slot:"0"},{N:"let",line:"228","var":"Q{}nameAVT",as:"1NE",slot:"1",C:[{N:"check",line:"229",card:"1",diag:"3|0|XTTE0570|nameAVT",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"230", +name:"Q{}value-template",bSlot:"173"}]}]},{N:"sequence",line:"233",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}nameAVT",slot:"1"},{N:"copy",line:"234",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"235",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"174"},{N:"str",val:"name"}]},{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"callT",line:"238",name:"Q{}constructSimpleContent",bSlot:"175"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"217", +rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction",flags:"s",as:"1NE",line:"215",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"216",C:[{N:"param",name:"Q{}attr", +slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"217",name:"procInst",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_PROCESSING_INSTRUCTION",bSlot:"176"}]},{N:"varRef",line:"218",name:"Q{}attr",slot:"0"},{N:"elem",line:"219",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att", +name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"callT",line:"220",name:"Q{}constructSimpleContent",bSlot:"177"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"380",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item",flags:"s",as:"*NA",line:"1595",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}, +{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1596",name:"cxt",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"str",val:"1"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"147",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode",flags:"s",line:"30",module:"rules.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"31",C:[{N:"param",name:"Q{}xsl-version",slot:"0",flags:"t", +C:[{N:"dec",role:"select",val:"3"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"32",name:"Q{}compiler.options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|compiler.options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|compiler.options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"33",name:"Q{}precedence-map",slot:"2",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]", +diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map",C:[{N:"supplied",slot:"2"}]}]}]},{N:"elem",line:"45",name:"mode",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"onNo",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}on-no-match",bSlot:"178"},{N:"atomSing",diag:"0|1||map:get",C:[{N:"first",C:[{N:"sequence", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}on-no-match"},{N:"str",val:"text-only-copy"}]}]}]}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}warning-on-no-match"}]},{N:"str",val:"true"}]},{N:"str",val:"+W"},{N:"true"},{N:"str",val:""}]}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"or",line:"38",op:"or",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-multiple-match"}]},{N:"str",val:"fail"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}compiler.options",slot:"1"},{N:"str",val:"on-multiple-match"}]}]},{N:"str",val:"error"}]}]},{N:"str",val:"F"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}typed"}]},{N:"str",val:"true"}]},{N:"str",val:"t"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}untyped"}]},{N:"str",val:"true"}]},{N:"str",val:"u"},{N:"true"},{N:"str",val:""}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}warning-on-multiple-match"}]},{N:"str",val:"true"}]}, +{N:"str",val:"W"},{N:"true"},{N:"str",val:""}]}]}]},{N:"att",name:"patternSlots",flags:"l",C:[{N:"str",val:"0"}]},{N:"choose",line:"46",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||ne",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"str",val:"#unnamed"}]},{N:"axis",line:"47",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"axis",line:"49",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"},{N:"att",line:"50",name:"prec",flags:"l",C:[{N:"convert", +from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"2"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"applyT",line:"51",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"180",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}try", +flags:"s",line:"222",module:"conditionals.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}try"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"222",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"223",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"224",name:"try",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}rollback-output"}]}]}, +{N:"str",val:"false"}]},{N:"str",val:"r"},{N:"true"},{N:"str",val:""}]}]},{N:"varRef",line:"225",name:"Q{}attr",slot:"0"},{N:"applyT",line:"226",mode:"Q{}create.xpath",bSlot:"179",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"227",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"181",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}try", +flags:"s",line:"230",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}try"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"231",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", +slot:"0"}]}]},{N:"elem",line:"232",name:"try",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}rollback-output"}]}]},{N:"str",val:"false"}]},{N:"str",val:"r"},{N:"true"},{N:"str",val:""}]}]},{N:"varRef",line:"233",name:"Q{}attr",slot:"0"},{N:"elem",line:"234",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"applyT",line:"235",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N d[N u[NT,NC,NE,NP],NE nQ{http://www.w3.org/1999/XSL/Transform}catch]"}]}]},{N:"applyT",line:"237",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}catch"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"215",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"s",line:"192", +module:"creating-new-nodes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"},{N:"or",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"192",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]},{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:"attVal",name:"Q{}name"}]}]},{N:"str",val:"{"}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"193",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]}, +{N:"elem",line:"194",name:"compAtt",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"180"}]},{N:"varRef",line:"195",name:"Q{}attr",slot:"0"},{N:"choose",line:"197",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"}, +{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"callT",line:"199",name:"Q{}record-location",bSlot:"181"},{N:"forEach",line:"200",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]},{N:"callT", +line:"201",name:"Q{}role-value-template",bSlot:"182"}]},{N:"callT",line:"203",name:"Q{}constructSimpleContent",bSlot:"183"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"214",rank:"1",minImp:"0",slots:"8",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"s",as:"1NE",line:"133",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"134",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"let",line:"136","var":"Q{}name",as:"1AS",slot:"1",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]}, +{N:"let",line:"137","var":"Q{}namespaces",slot:"2",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"98",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"creating-new-nodes.xsl",line:"135",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"a"},{N:"first",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"namespaces.xsl",line:"165",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"3",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let", +"var":"Q{}uri",slot:"4",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"3"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"184"},{N:"varRef",name:"Q{}prefix",slot:"3"}]},{N:"true"}, +{N:"varRef",name:"Q{}uri",slot:"4"}]}]}]}]}]},{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:"elem",line:"138",name:"att",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"185"}]},{N:"choose",line:"139",C:[{N:"fn",name:"matches", +C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]},{N:"let",line:"140","var":"Q{}prefix",as:"?AS",slot:"5",C:[{N:"first",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:":"},{N:"str",val:""}]}]},{N:"let",line:"148","var":"Q{}uri",slot:"6",C:[{N:"let","var":"Q{}n",slot:"7",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"check",card:"1",diag:"21|0||$namespaces",C:[{N:"varRef",name:"Q{}namespaces",slot:"2"}]}, +{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}prefix",slot:"5"}]}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}n",slot:"7"}]},{N:"str",val:"~"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"186"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function", +C:[{N:"varRef",name:"Q{}prefix",slot:"5"}]}]},{N:"true"},{N:"varRef",name:"Q{}n",slot:"7"}]}]},{N:"choose",line:"149",C:[{N:"fn",line:"150",name:"exists",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]},{N:"sequence",line:"151",C:[{N:"att",name:"nsuri",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{}uri",slot:"6"}]}]}]},{N:"str",val:" "}]}]},{N:"namespace",line:"152",flags:"l",C:[{N:"fn",role:"name",name:"string",C:[{N:"varRef", +name:"Q{}prefix",slot:"5"}]},{N:"convert",role:"select",from:"AU",to:"AS",C:[{N:"cast",flags:"ae",as:"?AU",C:[{N:"atomSing",card:"?",diag:"2|0||cast as",C:[{N:"varRef",name:"Q{}uri",slot:"6"}]}]}]}]}]},{N:"true"},{N:"ufCall",line:"156",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"187",C:[{N:"str",val:"ERRRRR"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"No namespace binding for prefix "},{N:"varRef",name:"Q{}prefix",slot:"5"}]},{N:"str", +val:" in attribute "}]},{N:"varRef",name:"Q{}name",slot:"1"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}attribute",flags:"a"}]}]}]}]}]},{N:"applyT",line:"162",mode:"Q{}attribute-sans-prefix",bSlot:"188",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"choose",line:"161",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}, +{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}attribute-set"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}]}]},{N:"varRef",line:"163",name:"Q{}attr",slot:"0"},{N:"att",line:"169",name:"name",flags:"l",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"}]}]},{N:"str",val:""}]},{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}name",slot:"1"},{N:"str",val:"^.+:"},{N:"str",val:""},{N:"str",val:""}]}, +{N:"true"},{N:"varRef",name:"Q{}name",slot:"1"}]}]},{N:"axis",line:"170",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"callT",line:"172",name:"Q{}record-location",bSlot:"189"},{N:"callT",line:"173",name:"Q{}constructSimpleContent",bSlot:"190"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"271",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry",flags:"s",line:"27",module:"maps.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry"}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"28",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"29",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name", +flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions/map}entry"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_MAP",bSlot:"191"}]},{N:"varRef",line:"30",name:"Q{}attr",slot:"0"},{N:"elem",line:"31",name:"atomSing",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"diag",flags:"l",C:[{N:"str",val:"0|0||map:entry"}]},{N:"applyT",line:"32",mode:"Q{}create.xpath",bSlot:"192",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}key"}]}]}]}, +{N:"applyT",line:"34",mode:"Q{}select.or.sequence",bSlot:"193",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}map-entry",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"210",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}document",flags:"s",line:"17",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}document"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"18",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"19",name:"doc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"type",flags:"l",C:[{N:"str",val:"document-node()"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_DOCUMENT",bSlot:"194"}]},{N:"varRef",line:"20",name:"Q{}attr",slot:"0"},{N:"callT", +line:"21",name:"Q{}record-location",bSlot:"195"},{N:"choose",line:"22",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"elem",line:"23",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"callT",line:"25",name:"Q{}sequence-constructor",bSlot:"196"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"261",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring",flags:"s",line:"74", +module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"75",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"nonMatching"}]}, +{N:"choose",line:"76",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]},{N:"elem",line:"77",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"applyT",line:"79",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"264",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator",flags:"s",line:"34",module:"streaming.xsl",C:[{N:"p.nodeTest", role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"35",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options", C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"36",name:"accumulator",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"binds",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"5"}]},{N:"axis",line:"37",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",line:"37",name:"attribute",nodeTest:"NA nQ{}as"},{N:"axis",line:"37",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",line:"38",C:[{N:"fn", name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"39",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"applyT",line:"41",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA nQ{http://ns.saxonica.com/xslt/export}*,NA u[NA nQ{http://ns.saxonica.com/xslt/export}asJ,NA nQ{http://ns.saxonica.com/xslt/export}baseUri]]"}]}, -{N:"applyT",line:"42",mode:"Q{}create.xpath",bSlot:"199",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}initial-value"}]},{N:"elem",line:"43",name:"pre",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"applyT",line:"44",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"},{N:"or",op:"or",C:[{N:"fn", -name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}phase"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}phase",chk:"0"}]},{N:"str",val:"start"}]}]}]}]}]}]},{N:"elem",line:"46",name:"post",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"applyT",line:"47",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"}, -{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}phase",chk:"0"}]},{N:"str",val:"end"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"183",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"14",module:"variables-and-parameters.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"and",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"14",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"}]},{N:"fn",name:"empty",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +{N:"applyT",line:"42",mode:"Q{}create.xpath",bSlot:"197",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}initial-value"}]},{N:"elem",line:"43",name:"pre",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"applyT",line:"44",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"},{N:"or",op:"or",C:[{N:"fn", +name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}phase"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}phase"}]},{N:"str",val:"start"}]}]}]}]}]}]},{N:"elem",line:"46",name:"post",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"0"}]},{N:"applyT",line:"47",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}accumulator-rule"}, +{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}phase"}]},{N:"str",val:"end"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"184",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"14",module:"variables-and-parameters.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"14",name:"empty",C:[{N:"sequence",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", line:"15",C:[{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"str",val:" has no following sibling so it will have no effect"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"nextMatch",line:"16",flags:"t"}]}]},{N:"templateRule",prec:"0",prio:"0.0", -seq:"185",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"18",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"19",name:"VARDEF",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",line:"20",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"21",name:"Q{}record-location",bSlot:"200"},{N:"applyT",line:"22",flags:"c",bSlot:"-1", -C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"applyT",line:"23",mode:"Q{}select.or.sequence",bSlot:"201",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"24",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"25",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"202", -eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"251",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key",flags:"s",line:"46",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"47",name:"Q{}make-sort-key",bSlot:"203",flags:"t"}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"149",rank:"7",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"87",module:"rules.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"87",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"88",C:[{N:"param",name:"Q{}location",slot:"0",flags:"t",C:[{N:"str",role:"select",val:""},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"89",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"90",name:"Q{}default-collation",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"91",name:"Q{}precedence-map", -slot:"3",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]",diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"92",name:"Q{}minimum-import-precedence-map",slot:"4",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]",diag:"8|0|XTTE0590|minimum-import-precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|minimum-import-precedence-map", -C:[{N:"supplied",slot:"4"}]}]}]},{N:"param",line:"93",name:"Q{}options",slot:"5",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"5"}]}]}]},{N:"elem",line:"98",name:"templateRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"prec",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"3"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"att",name:"seq",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}, -{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"true"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"6",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"attVal", -name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces", -bSlot:"204"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"minImp",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}minimum-import-precedence-map",slot:"4"},{N:"fn",name:"string",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",line:"94",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]}]},{N:"str",val:"absent"}]},{N:"str",val:"s"}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]}, -{N:"choose",line:"99",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"5"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"100",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"callT",line:"102",name:"Q{}record-location",bSlot:"205"},{N:"axis",line:"103",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"varRef",line:"103", -name:"Q{}xpath-default-namespace",slot:"1"},{N:"varRef",line:"103",name:"Q{}default-collation",slot:"2"},{N:"applyT",line:"104",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{http://www.w3.org/XML/1998/namespace}*]]"}]},{N:"applyT",line:"105",mode:"Q{}sef",bSlot:"206",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]},{N:"applyT",line:"107", -mode:"Q{}create.xpath",bSlot:"207",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"nextMatch",line:"108",flags:"i"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"378",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"1587",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1588",name:"Q{}sequence-constructor",bSlot:"208",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"1589",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"209"},{N:"str",val:"action"}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1591",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"210",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template", -flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"157",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each",flags:"s",line:"35",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"36", -C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"37",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"callT",line:"38",name:"Q{}check-select",bSlot:"211"},{N:"ufCall",line:"39",name:"Q{MyFunctions}check-sort", -tailCall:"false",bSlot:"212",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each",flags:"a"}]},{N:"let",line:"40","var":"Q{}source",as:"*NE",slot:"2",eval:"4",C:[{N:"treat",line:"41",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"213",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"elem",line:"43",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"44",C:[{N:"callT",name:"Q{}record-location", -bSlot:"214"},{N:"applyT",line:"45",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}]},{N:"varRef",line:"46",name:"Q{}attr",slot:"0"},{N:"choose",line:"48",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"elem",line:"49",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"50",C:[{N:"varRef",name:"Q{}source",slot:"2"},{N:"forEach", -line:"51",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"52",name:"Q{}make-sort-key",bSlot:"215"}]}]}]},{N:"true"},{N:"varRef",line:"57",name:"Q{}source",slot:"2"}]},{N:"choose",line:"60",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt",C:[{N:"lookup", -C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]}]},{N:"callT",line:"61",name:"Q{MyFunctions}AVT",bSlot:"216",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}separator",C:[{N:"axis",line:"62",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"63",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles", -bSlot:"217"},{N:"str",val:"separator"}]}]}]}]}]}]},{N:"callT",line:"66",name:"Q{}sequence-constructor",bSlot:"218"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"172",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"s",line:"145",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"146",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"147",name:"onEmpty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"148",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"149",mode:"Q{}select.or.sequence",bSlot:"219",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"a"}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"369",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property",flags:"s",line:"64",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"65",C:[{N:"param", +seq:"186",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"18",module:"variables-and-parameters.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"19",name:"VARDEF",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",line:"20",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"callT",line:"21",name:"Q{}record-location",bSlot:"198"},{N:"applyT",line:"22",flags:"c",bSlot:"-1", +C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"applyT",line:"23",mode:"Q{}select.or.sequence",bSlot:"199",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"24",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"25",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"200", +C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"250",rank:"2",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"22",module:"merging.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"22",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}sort-before-merge"},{N:"str",val:"true"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"23",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"24", +name:"mergeSrc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"25",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"applyT",line:"26",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]},{N:"elem",line:"27",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"selectRows"}]},{N:"applyT",line:"28", +mode:"Q{}create.xpath",bSlot:"201",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"29",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-key"}]}]}]},{N:"applyT",line:"31",mode:"Q{}create.xpath",bSlot:"202",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-source"}]}]},{N:"applyT",line:"32",flags:"c", +bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"119",rank:"2",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"923",module:"normalize.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"923",flags:"b",C:[{N:"axis",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"924",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"203",C:[{N:"str",val:"XTSE3190"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:merge-source siblings cannot have the same name:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}, +{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"251",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source",flags:"s",line:"36",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"37",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"38",name:"mergeSrc",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"39",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"applyT",line:"40",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}use-accumulators"}]}, +{N:"applyT",line:"41",mode:"Q{}create.xpath",bSlot:"204",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"applyT",line:"42",mode:"Q{}create.xpath",bSlot:"205",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}for-each-source"}]}]},{N:"applyT",line:"43",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"150", +rank:"7",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"87",module:"rules.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"87",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"sequence", +role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"88",C:[{N:"param",name:"Q{}location",slot:"0",flags:"t",C:[{N:"str",role:"select",val:""},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"89",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"90",name:"Q{}default-collation",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"91",name:"Q{}precedence-map",slot:"3",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]", +diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"92",name:"Q{}minimum-import-precedence-map",slot:"4",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]",diag:"8|0|XTTE0590|minimum-import-precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|minimum-import-precedence-map",C:[{N:"supplied",slot:"4"}]}]}]},{N:"param",line:"93",name:"Q{}options",slot:"5",flags:"t",as:"1FM", +C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"5"}]}]}]},{N:"elem",line:"98",name:"templateRule",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"prec",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"3"},{N:"fn", +name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"att",name:"seq",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"fn",name:"position"},{N:"int",val:"1"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"data",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]},{N:"true"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"6",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template", +flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context", +slot:"6"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"6"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*", +C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"206"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"minImp",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}minimum-import-precedence-map", +slot:"4"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]}]},{N:"att",name:"flags",flags:"l",C:[{N:"choose",C:[{N:"vc",line:"94",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use"}]}]},{N:"str",val:"absent"}]},{N:"str",val:"s"}]}]},{N:"att", +name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"choose",line:"99",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"5"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"100",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"callT",line:"102",name:"Q{}record-location",bSlot:"207"},{N:"axis",line:"103",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}, +{N:"varRef",line:"103",name:"Q{}xpath-default-namespace",slot:"1"},{N:"varRef",line:"103",name:"Q{}default-collation",slot:"2"},{N:"applyT",line:"104",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA d[NA,NA u[NA u[NA nQ{}name,NA nQ{http://ns.saxonica.com/xslt/export}*],NA nQ{http://www.w3.org/XML/1998/namespace}*]]"}]},{N:"applyT",line:"105",mode:"Q{}sef",bSlot:"208",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}context-item"}]}, +{N:"applyT",line:"107",mode:"Q{}create.xpath",bSlot:"209",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}match"}]},{N:"nextMatch",line:"108",flags:"i"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"379",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}template",flags:"s",line:"1587",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"},{N:"callT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1588",name:"Q{}sequence-constructor",bSlot:"210",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"1589",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"211"},{N:"str",val:"action"}]}]}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1591",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"212",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}template", +flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"158",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each",flags:"s",line:"35",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"36", +C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"37",name:"Q{}static-context",slot:"1",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"callT",line:"38",name:"Q{}check-select",bSlot:"213"},{N:"ufCall",line:"39",name:"Q{MyFunctions}check-sort", +tailCall:"false",bSlot:"214",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}for-each",flags:"a"}]},{N:"let",line:"40","var":"Q{}source",as:"*NE",slot:"2",C:[{N:"treat",line:"41",as:"NE",diag:"3|0|XTTE0570|source",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"215",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"elem",line:"43",name:"forEach",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"44",C:[{N:"callT",name:"Q{}record-location", +bSlot:"216"},{N:"applyT",line:"45",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}]},{N:"varRef",line:"46",name:"Q{}attr",slot:"0"},{N:"choose",line:"47",C:[{N:"fn",line:"48",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]},{N:"elem",line:"49",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"50",C:[{N:"varRef",name:"Q{}source",slot:"2"}, +{N:"forEach",line:"51",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"},{N:"callT",line:"52",name:"Q{}make-sort-key",bSlot:"217"}]}]}]},{N:"true"},{N:"varRef",line:"57",name:"Q{}source",slot:"2"}]},{N:"choose",line:"60",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"vc",op:"gt",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||gt", +C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"xsl-version"}]}]},{N:"dec",val:"3"}]}]},{N:"callT",line:"61",name:"Q{MyFunctions}AVT",bSlot:"218",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}separator",C:[{N:"axis",line:"62",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"63",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef", +name:"Q{}roles",bSlot:"219"},{N:"str",val:"separator"}]}]}]}]}]}]},{N:"callT",line:"66",name:"Q{}sequence-constructor",bSlot:"220"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"173",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"s",line:"145",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"146",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"147",name:"onEmpty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"148",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"applyT",line:"149",mode:"Q{}select.or.sequence",bSlot:"221",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}on-empty",flags:"a"}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"370",rank:"1",minImp:"0",slots:"6",matches:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property",flags:"s",line:"64",module:"ixsl.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",line:"65",C:[{N:"param", name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"66",name:"Q{}attr",slot:"1",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"1"}]}]},{N:"elem",line:"67",name:"ifCall",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}set-property"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"68",name:"Q{}attr",slot:"1"},{N:"callT",line:"69",name:"Q{}record-location",bSlot:"220"},{N:"forEach",line:"70",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"71",name:"Q{}role-value-template",bSlot:"221"}]},{N:"elem",line:"73",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", +flags:"d",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://saxonica.com/ns/interactiveXSLT}set-property"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"0"}]},{N:"varRef",line:"68",name:"Q{}attr",slot:"1"},{N:"callT",line:"69",name:"Q{}record-location",bSlot:"222"},{N:"forEach",line:"70",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"71",name:"Q{}role-value-template",bSlot:"223"}]},{N:"elem",line:"73",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"2",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~", type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, -{N:"let","var":"Q{}ln",slot:"3",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"75",name:"xpath", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"ixsl:window()"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}node",as:"1N",slot:"4",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1", -C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck", -C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg31270011",bSlot:"222"}]}]}]}]},{N:"varRef",line:"76",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"159",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate", +{N:"let","var":"Q{}ln",slot:"3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"2"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"3"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"2"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"3"}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"75",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",namespaces:"map",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}object"},{N:"str",val:"ixsl:window()"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +"var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",type:"1NE nQ{http://saxonica.com/ns/interactiveXSLT}set-property",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data", +diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash", +C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",name:"checkType",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",name:"diagnostic",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"att",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions ixsl=~ map=~ xs=~ xsl=~ xml=~",name:"Q{http://saxon.sf.net/generated-variable}gg411425835",bSlot:"224"}]}]}]}]},{N:"varRef",line:"76",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"160",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate", flags:"s",line:"109",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"110",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied", -slot:"0"}]}]},{N:"callT",line:"111",name:"Q{}check-select",bSlot:"223"},{N:"elem",line:"112",name:"iterate",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"113",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"114",name:"Q{}record-location",bSlot:"224"},{N:"applyT",line:"115",mode:"Q{}create.xpath",bSlot:"225",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"elem",line:"116",name:"params",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", -C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"params"}]},{N:"callT",line:"117",name:"Q{}parameters",bSlot:"226"}]}]},{N:"choose",line:"119",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}]},{N:"ufCall",line:"121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"227",eval:"0 0 16",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:iterate may only have one xsl:on-completion child"}, -{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"int",val:"2"}]}]}]}]},{N:"choose",line:"123",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]}, -{N:"ufCall",line:"126",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"228",eval:"0 0 16",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:on-completion may only be proceeded by xsl:param* as children of xsl:iterate"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}]}]}]},{N:"applyT",line:"128",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}, -{N:"choose",line:"129",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]},{N:"elem",line:"130",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"on-completion"}]}]}]},{N:"callT",line:"132",name:"Q{}sequence-constructor",bSlot:"229",C:[{N:"withParam",name:"Q{}include-params",flags:"c",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat", -line:"134",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"230"},{N:"str",val:"action"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"145",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sequence",flags:"s",line:"77",module:"select-sequence.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sequence"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"78",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"applyT",line:"79",mode:"Q{}select.or.sequence",flags:"t",bSlot:"231",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}sequence",flags:"a"},{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"80",name:"Q{}attr",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"225",rank:"1", +slot:"0"}]}]},{N:"callT",line:"111",name:"Q{}check-select",bSlot:"225"},{N:"elem",line:"112",name:"iterate",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"113",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"114",name:"Q{}record-location",bSlot:"226"},{N:"applyT",line:"115",mode:"Q{}create.xpath",bSlot:"227",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"elem",line:"116",name:"params",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", +C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"params"}]},{N:"callT",line:"117",name:"Q{}parameters",bSlot:"228"}]}]},{N:"choose",line:"119",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}]},{N:"ufCall",line:"121",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"229",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:iterate may only have one xsl:on-completion child"},{N:"check", +card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"subscript",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"int",val:"2"}]}]}]}]},{N:"choose",line:"123",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]}, +{N:"ufCall",line:"126",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"230",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:on-completion may only be proceeded by xsl:param* as children of xsl:iterate"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}]}]}]},{N:"applyT",line:"128",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]}, +{N:"choose",line:"129",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}on-completion"}]},{N:"elem",line:"130",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"on-completion"}]}]}]},{N:"callT",line:"132",name:"Q{}sequence-constructor",bSlot:"231",C:[{N:"withParam",name:"Q{}include-params",flags:"c",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat", +line:"134",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"232"},{N:"str",val:"action"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"146",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}sequence",flags:"s",line:"77",module:"select-sequence.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}sequence"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"78",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"applyT",line:"79",mode:"Q{}select.or.sequence",flags:"t",bSlot:"233",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}sequence",flags:"a"},{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"80",name:"Q{}attr",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"226",rank:"1", minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of",flags:"s",as:"1NE",line:"435",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"436",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty", role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"438",name:"copyOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-namespaces"}]}]},{N:"str",val:"false"}]},{N:"str",val:""},{N:"true"}, {N:"str",val:"c"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}copy-accumulators"}]}]},{N:"str",val:"true"}]},{N:"str",val:"m"},{N:"true"},{N:"str",val:""}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context", -as:"1NE",slot:"1",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, -{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot", -type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"232"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"varRef",line:"439",name:"Q{}attr",slot:"0"},{N:"callT", -line:"440",name:"Q{}record-location",bSlot:"233"},{N:"applyT",line:"441",mode:"Q{}select.or.sequence",bSlot:"234",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"218",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace",flags:"s",as:"1NE",line:"242",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}namespace"}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"243",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"244",name:"namespace",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType", -flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_NAMESPACE",bSlot:"235"}]},{N:"varRef",line:"245",name:"Q{}attr",slot:"0"},{N:"forEach",line:"246",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"callT",line:"247",name:"Q{}value-template",bSlot:"236"}]},{N:"callT",line:"249",name:"Q{}constructSimpleContent",bSlot:"237"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"221",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}value-of",flags:"s",as:"1NE",line:"280", -module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}value-of"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"281",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]}, -{N:"elem",line:"283",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"l"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"238"}]},{N:"choose",line:"284",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}disable-output-escaping"}]}]},{N:"str",val:"true"}]},{N:"att",line:"285",name:"flags", -flags:"l",C:[{N:"str",val:"d"}]}]},{N:"varRef",line:"287",name:"Q{}attr",slot:"0"},{N:"callT",line:"288",name:"Q{}record-location",bSlot:"239"},{N:"applyT",line:"289",mode:"Q{}attribute-sans-prefix",bSlot:"240",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]},{N:"callT",line:"290",name:"Q{}constructSimpleContent",bSlot:"241"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"193",rank:"1",minImp:"0",slots:"8",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}function",flags:"s",line:"98",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +as:"1NE",slot:"1",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check", +line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"namespace",nodeTest:"NN"}]}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"234"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str", +val:" "}]}]}]}]},{N:"varRef",line:"439",name:"Q{}attr",slot:"0"},{N:"callT",line:"440",name:"Q{}record-location",bSlot:"235"},{N:"applyT",line:"441",mode:"Q{}select.or.sequence",bSlot:"236",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}copy-of",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"222",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}value-of",flags:"s",as:"1NE",line:"280",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest", +role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}value-of"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"281",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"283",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"l"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"237"}]},{N:"choose",line:"284",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}disable-output-escaping"}]}]},{N:"str",val:"true"}]},{N:"att",line:"285",name:"flags",flags:"l",C:[{N:"str",val:"d"}]}]},{N:"varRef",line:"287",name:"Q{}attr", +slot:"0"},{N:"callT",line:"288",name:"Q{}record-location",bSlot:"238"},{N:"applyT",line:"289",mode:"Q{}attribute-sans-prefix",bSlot:"239",C:[{N:"sequence",role:"select",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}, +{N:"callT",line:"290",name:"Q{}constructSimpleContent",bSlot:"240"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"194",rank:"1",minImp:"0",slots:"8",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}function",flags:"s",line:"98",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", line:"99",C:[{N:"param",name:"Q{}has-uniform-static-context",slot:"0",flags:"ti",as:"1AB",C:[{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"100",name:"Q{}options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select", -size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"101","var":"Q{}params",as:"*NE",slot:"2",eval:"8",C:[{N:"treat",line:"102",as:"NE",diag:"3|0|XTTE0570|params",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"elem",line:"105",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d", -C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"fn",name:"upper-case",C:[{N:"treat",as:"AS",diag:"0|0||fn:upper-case",C:[{N:"check",card:"?",diag:"0|0||fn:upper-case",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:upper-case",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"},{N:"str",val:"private"}]}]}]}]}]}]}]}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef", -name:"Q{}has-uniform-static-context",slot:"0"}]}]},{N:"elem",line:"107",name:"function",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"242",eval:"16 16",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}function", -flags:"a"}]}]},{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"},{N:"str",val:"item()*"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}params",slot:"2"}]},{N:"int",val:"200"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -"var":"Q{}context",as:"1NE",slot:"3",eval:"16",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}function",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, -{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot", -type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"243"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",C:[{N:"fn", -name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose",line:"108",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"109",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]}, -{N:"let",line:"112","var":"Q{}flags",as:"1NT",slot:"4",eval:"9",C:[{N:"valueOf",line:"114",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"choose",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"244",eval:"8 0",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}cache"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"m"}]}]},{N:"choose",line:"115",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false", -bSlot:"245",eval:"8 0",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://saxon.sf.net/}updating"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"u"}]}]},{N:"choose",line:"116",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"246",eval:"8 0",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://saxonica.com/ns/interactiveXSLT}updating"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"u"}]}]}]}]}]}]},{N:"str",val:""}]}]},{N:"sequence",line:"119",C:[{N:"choose", -C:[{N:"data",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}flags",slot:"4"}]},{N:"att",line:"120",name:"flags",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}flags",slot:"4"}]}]}]}]},{N:"let",line:"127","var":"Q{}returnType",as:"1FM",slot:"5",eval:"16",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"247",eval:"16",C:[{N:"check", -card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"248"}]},{N:"let",line:"131","var":"Q{}signature",as:"1FM k[AS] v[1]",slot:"6",eval:"8",C:[{N:"ifCall",line:"133",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"literal",count:"2",C:[{N:"map",size:"1",C:[{N:"str", -val:"o"},{N:"str",val:"1"}]},{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"F"}]}]},{N:"ifCall",line:"135",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"r"},{N:"varRef",name:"Q{}returnType",slot:"5"}]},{N:"ifCall",line:"136",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"a"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}_from-sequence",type:"1FA",C:[{N:"for","var":"Q{}p",as:"NE",slot:"7",C:[{N:"varRef", -role:"in",name:"Q{}params",slot:"2"},{N:"ufCall",role:"return",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"249",eval:"16",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}p",slot:"7"},{N:"attVal",name:"Q{}sType",chk:"0"}]}]}]}]}]}]}]}]},{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:"141",C:[{N:"att",name:"as",flags:"l", -C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"250",eval:"1",C:[{N:"varRef",name:"Q{}returnType",slot:"5"}]}]},{N:"att",line:"142",name:"sig",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"251",eval:"1",C:[{N:"varRef",name:"Q{}signature",slot:"6"}]}]},{N:"att",line:"143",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"252",eval:"1",C:[{N:"varRef",name:"Q{}signature",slot:"6"}]}]},{N:"callT",line:"145", -name:"Q{}record-location",bSlot:"253"},{N:"varRef",line:"146",name:"Q{}params",slot:"2"},{N:"callT",line:"147",name:"Q{}sequence-constructor",bSlot:"254",C:[{N:"withParam",name:"Q{}include-params",flags:"c",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"149",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"255"},{N:"str",val:"body"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"161", -rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"s",line:"161",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}break"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"162",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"ufCall",line:"163",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"256",eval:"8",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"ufCall",line:"163",name:"Q{MyFunctions}check-tail-position",tailCall:"false",bSlot:"257",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"elem",line:"164",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",line:"165",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"166",name:"Q{}record-location",bSlot:"258"},{N:"applyT",line:"167",mode:"Q{}select.or.sequence",bSlot:"259",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"elem",line:"168",name:"break",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"259",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring", -flags:"s",line:"66",module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"67",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"matching"}]}, -{N:"choose",line:"68",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]},{N:"elem",line:"69",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]},{N:"applyT",line:"71",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"N"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"232",rank:"1",minImp:"0",slots:"14",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"s",line:"15",module:"numbering.xsl",C:[{N:"p.nodeTest", -role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}number"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"17",name:"Q{}static-context", -slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"18",name:"Q{}xpath-default-namespace",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied", -slot:"2"}]}]}]},{N:"param",line:"19",name:"Q{}ns",slot:"3",flags:"t",as:"?AS",C:[{N:"let",role:"select",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"4",eval:"16",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -as:"NE",diag:"0|0||f:encode-namespaces",C:[{N:"check",card:"1",diag:"0|0||f:encode-namespaces",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1", -C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"260"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|ns",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|ns",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|ns",C:[{N:"data",diag:"8|0|XTTE0590|ns",C:[{N:"supplied",slot:"3"}]}]}]}]}]}, -{N:"elem",line:"21",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"l"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"261"}]},{N:"varRef",line:"22",name:"Q{}attr",slot:"0"},{N:"elem",line:"23",name:"numSeqFmt",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"choose",C:[{N:"lookup", -C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"backward-compatibility"}]},{N:"int",val:"1"}]}]}]},{N:"choose",line:"26",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]},{N:"sequence",line:"27",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA u[NA u[NA nQ{}select,NA nQ{}level],NA nQ{}count],NA nQ{}from]"}]},{N:"ufCall",line:"30",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"262",eval:"0 0 16",C:[{N:"str", -val:"XTSE0975"},{N:"str",val:"xsl:number with @value must not have @select, @level, @count, or @from attributes"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"}]}]},{N:"elem",line:"32",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"value"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]}]}]}, -{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"5",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1", -C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"6",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"5"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"6"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node", -slot:"5"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"6"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"33",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]},{N:"true"},{N:"let",line:"37","var":"Q{}level",as:"1",slot:"7",eval:"16",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}level"},{N:"str",val:"single"}]}]},{N:"sequence",line:"38",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}level",slot:"7"}]},{N:"literal",count:"3",C:[{N:"str",val:"any"},{N:"str",val:"multiple"},{N:"str",val:"single"}]}]}]},{N:"ufCall",line:"41",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"263",eval:"0 16 16",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"str",val:"xsl:number/@level must have a value single|multiple|any, given value:'"},{N:"data",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}level",slot:"7"}]},{N:"str",val:"'"}]}, -{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}level"}]}]}]},{N:"elem",line:"43",name:"nodeNum",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"value"}]},{N:"att",name:"level",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=", -C:[{N:"varRef",name:"Q{}level",slot:"7"}]},{N:"str",val:"multiple"}]},{N:"str",val:"multi"},{N:"true"},{N:"data",C:[{N:"varRef",name:"Q{}level",slot:"7"}]}]}]},{N:"str",val:" "}]}]},{N:"choose",line:"44",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}select,NA nQ{}value]"}]},{N:"att",line:"45",name:"needsNode",flags:"l",C:[{N:"str",val:"true"}]}]},{N:"elem",line:"47",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role", -flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"8",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number", -flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"9",eval:"8",C:[{N:"ifCall", -name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"8"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"9"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"9"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"48",name:"Q{}xpath-default-namespace",slot:"2"}]}]},{N:"choose",line:"50", -C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}count"}]},{N:"elem",line:"51",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"count"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}count"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert", -from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"10",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"10"}, -{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"11",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"10"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"11"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"10"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"}, -{N:"varRef",name:"Q{}ln",slot:"11"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"52",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]},{N:"choose",line:"55",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}from"}]},{N:"elem",line:"56",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"from"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{}from"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"12",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1", -C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"12"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"13",eval:"8",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"12"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"13"},{N:"int",val:"-1"}]}, -{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"12"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"13"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"57",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]}]}]}]}]}]},{N:"callT",line:"63",name:"Q{}numberFormat",bSlot:"264"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"257",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string", +size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"101","var":"Q{}params",as:"*NE",slot:"2",C:[{N:"treat",line:"102",as:"NE",diag:"3|0|XTTE0570|params",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"elem",line:"105",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +C:[{N:"att",name:"vis",flags:"l",C:[{N:"fn",name:"upper-case",C:[{N:"check",card:"?",diag:"0|0||fn:upper-case",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:upper-case",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:upper-case",C:[{N:"data",diag:"0|0||fn:upper-case",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"},{N:"str",val:"private"}]}]}]}]}]}]}]}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB", +to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context",slot:"0"}]}]},{N:"elem",line:"107",name:"function",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"241",C:[{N:"check",card:"1",diag:"0|0||f:EQName",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:EQName",C:[{N:"data",diag:"0|0||f:EQName",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"}]}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}function",flags:"a"}]}]},{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"},{N:"str",val:"item()*"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}params", +slot:"2"}]},{N:"int",val:"200"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"3",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}function", +flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context", +slot:"3"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"3"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*", +C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"242"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",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:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose",line:"108",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"109",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"let",line:"112","var":"Q{}flags", +as:"1NT",slot:"4",C:[{N:"valueOf",line:"113",C:[{N:"fn",line:"114",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"choose",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"243",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}cache"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"m"}]}]},{N:"choose",line:"115",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"244",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{http://saxon.sf.net/}updating"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"u"}]}]},{N:"choose",line:"116",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"245",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://saxonica.com/ns/interactiveXSLT}updating"},{N:"true"}]},{N:"valueOf",flags:"S",C:[{N:"str",val:"u"}]}]}]}]}]}]},{N:"str",val:""}]}]},{N:"sequence",line:"119",C:[{N:"choose",C:[{N:"data",diag:"1|0||ne",C:[{N:"varRef",name:"Q{}flags",slot:"4"}]}, +{N:"att",line:"120",name:"flags",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}flags",slot:"4"}]}]}]}]},{N:"let",line:"127","var":"Q{}returnType",as:"1FM",slot:"5",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"246",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"data",diag:"0|0||t:marshalType",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}]}]},{N:"true"},{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"247"}]},{N:"let",line:"131","var":"Q{}signature",as:"1FM k[AS] v[1]",slot:"6",C:[{N:"ifCall",line:"133",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"literal",count:"2",C:[{N:"map",size:"1",C:[{N:"str",val:"o"}, +{N:"str",val:"1"}]},{N:"map",size:"1",C:[{N:"str",val:"p"},{N:"str",val:"F"}]}]},{N:"ifCall",line:"135",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"r"},{N:"varRef",name:"Q{}returnType",slot:"5"}]},{N:"ifCall",line:"136",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"a"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}_from-sequence",type:"1FA",C:[{N:"for","var":"Q{}p",as:"NE",slot:"7",C:[{N:"varRef", +role:"in",name:"Q{}params",slot:"2"},{N:"ufCall",role:"return",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"248",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}p",slot:"7"},{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]}]},{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:"141",C:[{N:"att",name:"as",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"249",C:[{N:"varRef",name:"Q{}returnType",slot:"5"}]}]},{N:"att",line:"142",name:"sig",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"250",C:[{N:"varRef",name:"Q{}signature",slot:"6"}]}]},{N:"att",line:"143",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"251",C:[{N:"varRef",name:"Q{}signature", +slot:"6"}]}]},{N:"callT",line:"145",name:"Q{}record-location",bSlot:"252"},{N:"varRef",line:"146",name:"Q{}params",slot:"2"},{N:"callT",line:"147",name:"Q{}sequence-constructor",bSlot:"253",C:[{N:"withParam",name:"Q{}include-params",flags:"c",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"treat",line:"149",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"254"},{N:"str",val:"body"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"0.0",seq:"162",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"s",line:"161",module:"repetition.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}break"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"162",C:[{N:"param",name:"Q{}attr",slot:"0", +as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"ufCall",line:"163",name:"Q{MyFunctions}check-iterate",tailCall:"false",bSlot:"255",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"ufCall",line:"163",name:"Q{MyFunctions}check-tail-position",tailCall:"false",bSlot:"256",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"elem",line:"164",name:"sequence", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"165",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"166",name:"Q{}record-location",bSlot:"257"},{N:"applyT",line:"167",mode:"Q{}select.or.sequence",bSlot:"258",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}break",flags:"a"}]},{N:"elem",line:"168",name:"break",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"empty"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"249", +rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge",flags:"s",line:"15",module:"merging.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty", +role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"17",name:"merge",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"259"}]},{N:"varRef",line:"18",name:"Q{}attr",slot:"0"},{N:"applyT",line:"19",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"233", +rank:"1",minImp:"0",slots:"14",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"s",line:"15",module:"numbering.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}number"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"16",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"17",name:"Q{}static-context",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"18",name:"Q{}xpath-default-namespace",slot:"2",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion", +as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"2"}]}]}]},{N:"param",line:"19",name:"Q{}ns",slot:"3",flags:"t",as:"?AS",C:[{N:"let",role:"select",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"4",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +as:"NE",diag:"0|0||f:encode-namespaces",C:[{N:"check",card:"1",diag:"0|0||f:encode-namespaces",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1", +C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc", +op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"260"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|ns",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|ns", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|ns",C:[{N:"data",diag:"8|0|XTTE0590|ns",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"elem",line:"21",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"str",val:"l"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"261"}]},{N:"varRef",line:"22",name:"Q{}attr",slot:"0"},{N:"elem",line:"23",name:"numSeqFmt",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl", +C:[{N:"sequence",C:[{N:"att",name:"flags",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"1"},{N:"str",val:"backward-compatibility"}]},{N:"int",val:"1"}]}]}]},{N:"choose",line:"24",C:[{N:"fn",line:"26",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]},{N:"sequence",line:"27",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA u[NA u[NA nQ{}select,NA nQ{}level],NA nQ{}count],NA nQ{}from]"}]}, +{N:"ufCall",line:"30",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"262",C:[{N:"str",val:"XTSE0975"},{N:"str",val:"xsl:number with @value must not have @select, @level, @count, or @from attributes"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"}]}]},{N:"elem",line:"32",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"value"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert", +from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}value"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"5",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped", +to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"6",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"5"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln", +slot:"6"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"5"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"6"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"33",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]},{N:"true"},{N:"let",line:"37","var":"Q{}level",as:"1",slot:"7",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}level"},{N:"str",val:"single"}]}]},{N:"sequence",line:"38", +C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}level",slot:"7"}]},{N:"literal",count:"3",C:[{N:"str",val:"any"},{N:"str",val:"multiple"},{N:"str",val:"single"}]}]}]},{N:"ufCall",line:"41",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"263",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:number/@level must have a value single|multiple|any, given value:'"}, +{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"varRef",name:"Q{}level",slot:"7"}]}]},{N:"str",val:"'"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}level"}]}]}]},{N:"elem",line:"43",name:"nodeNum",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"value"}]},{N:"att",name:"level",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"gc", +op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}level",slot:"7"}]},{N:"str",val:"multiple"}]},{N:"str",val:"multi"},{N:"true"},{N:"data",C:[{N:"varRef",name:"Q{}level",slot:"7"}]}]}]},{N:"str",val:" "}]}]},{N:"choose",line:"44",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{}select,NA nQ{}value]"}]},{N:"att",line:"45",name:"needsNode",flags:"l",C:[{N:"str",val:"true"}]}]},{N:"elem", +line:"47",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"select"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"},{N:"str",val:"."}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert", +from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"8",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"9",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"8"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"9"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln", +slot:"9"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"48",name:"Q{}xpath-default-namespace",slot:"2"}]}]},{N:"choose",line:"50",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}count"}]},{N:"elem",line:"51",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"count"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}count"}]}]}]}, +{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"10",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1", +C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"10"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"11",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"10"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"11"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node", +slot:"10"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"11"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"52",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]},{N:"choose",line:"55",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}from"}]},{N:"elem",line:"56",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"from"}]},{N:"att",name:"xpath", +flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}from"}]}]}]},{N:"att",name:"ns",flags:"l",C:[{N:"varRef",name:"Q{}ns",slot:"3"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"let","var":"Q{}node",as:"1N",slot:"12",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}number",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1", +C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"12"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"13",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"12"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef", +name:"Q{}ln",slot:"13"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"12"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"13"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"57",name:"Q{}xpath-default-namespace",slot:"2"}]}]}]}]}]}]}]}]},{N:"callT",line:"63",name:"Q{}numberFormat",bSlot:"264"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"258",rank:"1",minImp:"0",slots:"3",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string", flags:"s",line:"16",module:"regular-expressions.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"17",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA", diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"18",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"19",name:"Q{}attr",slot:"2",as:"*NA",C:[{N:"empty",role:"select"}, -{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"23",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"}]}]},{N:"ufCall",line:"25",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"265",eval:"0 0 16",C:[{N:"str", -val:"XTSE1130"},{N:"str",val:"xsl:analyze-string must contain either xsl:matching-substring or xsl:non-matching-substring"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string",flags:"a"}]}]},{N:"choose",line:"27",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"},{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"}]}]}, -{N:"ufCall",line:"28",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"266",eval:"0 0 16",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:non-matching-substring must follow xsl:matching-substring"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"}]}]}]},{N:"choose",line:"30",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}, -{N:"axis",name:"following-sibling",nodeTest:"NE"}]}]},{N:"ufCall",line:"31",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"267",eval:"0 0 16",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:fallback must be the last child of xsl:analyze-string"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]}]},{N:"elem",line:"33",name:"analyzeString",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", -line:"34",C:[{N:"varRef",name:"Q{}attr",slot:"2"},{N:"applyT",line:"35",mode:"Q{}create.xpath",bSlot:"268",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"},{N:"withParam",name:"Q{}checkType",as:"1AS",C:[{N:"str",val:"?AS"}]},{N:"withParam",name:"Q{}diagnostic",as:"1NA",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1962688455",bSlot:"269"}]}]}]},{N:"callT",line:"39",name:"Q{MyFunctions}AVT",bSlot:"270",C:[{N:"withParam", -name:"Q{}avt-string",flags:"c",as:"?NA nQ{}regex",C:[{N:"axis",line:"40",name:"attribute",nodeTest:"NA nQ{}regex"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"42",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"271"},{N:"str",val:"regex"}]}]}]}]}]},{N:"callT",line:"44",name:"Q{MyFunctions}AVT",bSlot:"272",C:[{N:"withParam", -name:"Q{}avt-string",flags:"c",as:"?NA nQ{}flags",C:[{N:"axis",line:"45",name:"attribute",nodeTest:"NA nQ{}flags"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"47",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"273"},{N:"str",val:"flags"}]}]}]}]}]},{N:"applyT",line:"49",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select", -name:"child",nodeTest:"NE"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"171",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}where-populated",flags:"s",line:"137",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}where-populated"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"138",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"139",name:"condCont",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"140",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"141",name:"Q{}sequence-constructor",bSlot:"274"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"215",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}comment", +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"2"}]}]},{N:"choose",line:"23",C:[{N:"and",op:"and",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"}]}]},{N:"ufCall",line:"25",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"265",C:[{N:"str",val:"XTSE1130"}, +{N:"str",val:"xsl:analyze-string must contain either xsl:matching-substring or xsl:non-matching-substring"},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}analyze-string",flags:"a"}]}]},{N:"choose",line:"27",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"},{N:"axis",name:"preceding-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}non-matching-substring"}]}]},{N:"ufCall",line:"28", +name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"266",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:non-matching-substring must follow xsl:matching-substring"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}matching-substring"}]}]}]},{N:"choose",line:"30",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"},{N:"axis",name:"following-sibling", +nodeTest:"NE"}]}]},{N:"ufCall",line:"31",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"267",C:[{N:"str",val:"XTSE0010"},{N:"str",val:"xsl:fallback must be the last child of xsl:analyze-string"},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]}]},{N:"elem",line:"33",name:"analyzeString",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"34",C:[{N:"varRef",name:"Q{}attr", +slot:"2"},{N:"applyT",line:"35",mode:"Q{}create.xpath",bSlot:"268",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}select"},{N:"withParam",name:"Q{}checkType",as:"1AS",C:[{N:"str",val:"?AS"}]},{N:"withParam",name:"Q{}diagnostic",as:"1NA",C:[{N:"att",module:"lib.xsl",line:"289",name:"diag",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1307630072",bSlot:"269"}]}]}]},{N:"callT",line:"39",name:"Q{MyFunctions}AVT",bSlot:"270",C:[{N:"withParam",name:"Q{}avt-string",flags:"c", +as:"?NA nQ{}regex",C:[{N:"axis",line:"40",name:"attribute",nodeTest:"NA nQ{}regex"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"42",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"271"},{N:"str",val:"regex"}]}]}]}]}]},{N:"callT",line:"44",name:"Q{MyFunctions}AVT",bSlot:"272",C:[{N:"withParam",name:"Q{}avt-string", +flags:"c",as:"?NA nQ{}flags",C:[{N:"axis",line:"45",name:"attribute",nodeTest:"NA nQ{}flags"}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"47",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"273"},{N:"str",val:"flags"}]}]}]}]}]},{N:"applyT",line:"49",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"172",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}where-populated",flags:"s",line:"137",module:"conditionals.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}where-populated"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"138", +C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"139",name:"condCont",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",line:"140",C:[{N:"varRef",name:"Q{}attr",slot:"0"},{N:"callT",line:"141",name:"Q{}sequence-constructor",bSlot:"274"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"216",rank:"1",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}comment", flags:"s",as:"1NE",line:"207",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}comment"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"208",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr", -C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"209",name:"comment",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_COMMENT",bSlot:"275"}]},{N:"varRef",line:"210",name:"Q{}attr",slot:"0"},{N:"callT",line:"211",name:"Q{}constructSimpleContent",bSlot:"276"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"389",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}*",flags:"s",line:"1736",module:"XSLT-SEF-compiler.xsl", -C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}*"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1737",type:"1NA nQ{}*",flags:"a"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"229",rank:"0",minImp:"0",slots:"12",matches:"NA", -flags:"s",as:"1NE",line:"580",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"581",card:"1",diag:'7|0|XTTE0505|match="@*" mode="sef"',C:[{N:"sequence",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr", -C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"582",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"583",name:"Q{}static-context",slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"param",line:"584",name:"Q{}namespace-aliases", -slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|namespace-aliases",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|namespace-aliases",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"585",name:"Q{}default-collation",slot:"4",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"4"}]}]}]}, -{N:"let",line:"593","var":"Q{}namespace-aliases",as:"?FM",slot:"5",eval:"7",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"2"},{N:"str",val:"namespace-aliases"}]}]}]},{N:"let",line:"599","var":"Q{}attribute-name",as:"1AQ",slot:"6",eval:"16",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"fn",name:"prefix-from-QName",C:[{N:"fn",name:"node-name", -C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"5"}]}]},{N:"let","var":"Q{}original-name",as:"1AQ",slot:"7",eval:"16",C:[{N:"check",card:"1",diag:"0|0||f:map-aliased-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"let","var":"Q{}namespace-aliases",as:"1FM",slot:"8",eval:"16",C:[{N:"check",card:"1",diag:"0|1||f:map-aliased-name",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"5"}]},{N:"let",line:"544","var":"Q{}original-uri", -as:"1AU",slot:"9",eval:"8",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"7"}]},{N:"let",line:"547","var":"Q{}new-uri",as:"1AS",slot:"10",eval:"16",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri",slot:"9"}]}]}]}, -{N:"convert",line:"548",from:"AU",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef",name:"Q{}original-uri",slot:"9"}]},{N:"true"},{N:"treat",line:"551",as:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri", -slot:"9"}]},{N:"int",val:"2"}]}]}]}]}]}]},{N:"choose",line:"556",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"9"},{N:"varRef",name:"Q{}new-uri",slot:"10"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"7"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"11",eval:"7",C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri", -slot:"9"}]}]},{N:"fn",line:"567",name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"10"},{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"11"}]},{N:"str",val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"varRef",name:"Q{}prefix",slot:"11"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName", -C:[{N:"varRef",name:"Q{}original-name",slot:"7"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"check",card:"1",diag:"3|0|XTTE0570|attribute-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"600",name:"att",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}attribute-name",slot:"6"}]}]},{N:"att",name:"nsuri",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-from-QName", -C:[{N:"varRef",name:"Q{}attribute-name",slot:"6"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"277"}]},{N:"varRef",line:"601",name:"Q{}attr",slot:"0"},{N:"callT",line:"602",name:"Q{}value-template",bSlot:"278"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"346",part:"4",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest", -role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"392",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel",flags:"s",line:"1752",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"245",rank:"3",minImp:"0",slots:"2", -matches:"NA nQ{}group-adjacent",flags:"s",line:"82",module:"grouping.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-adjacent"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"83",C:[{N:"param",name:"Q{}xpath-default-namespace", -slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"84",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]}, -{N:"elem",line:"85",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"choose",line:"87",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"279",eval:"7 0",C:[{N:"check",card:"?",diag:"0|0||f:boolean-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]},{N:"false"}]},{N:"elem",line:"88",name:"xpath", -nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"88",type:"1NA nQ{}group-adjacent", -flags:"a"}]}]}]}]},{N:"varRef",line:"89",name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"true"},{N:"elem",line:"93",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg303354428",bSlot:"280"}]},{N:"elem",line:"95",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence", -C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"95",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]}]},{N:"varRef",line:"96",name:"Q{}xpath-default-namespace", -slot:"0"}]}]}]}]}]}]}]},{N:"callT",line:"102",name:"Q{MyFunctions}AVT",bSlot:"281",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}collation",C:[{N:"check",line:"103",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"?AS",C:[{N:"treat",line:"104",as:"AS",diag:"8|0|XTTE0590|default",C:[{N:"check",card:"?", -diag:"8|0|XTTE0590|default",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-collation",slot:"1"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]}]}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"105",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"282"}, -{N:"str",val:"collation"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"391",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS",flags:"s",line:"1747",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1748",name:"defaultElementNS",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"392",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}minImp",flags:"s",line:"1752",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}minImp"},{N:"empty",role:"action"}]},{N:"templateRule", -prec:"0",prio:"1.15",seq:"151",rank:"5",minImp:"0",slots:"0",matches:"NA nQ{}mode",flags:"s",line:"175",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}mode"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"175",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS", -C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]},{N:"str",val:"#current"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"177",C:[{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"fn",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NA nQ{}mode", -flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]}]},{N:"fn",name:"reverse",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]},{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"normalize.xsl", -line:"769",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"rules.xsl",line:"177",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]}]}]}, -{N:"att",line:"178",name:"mode",C:[{N:"str",val:"#unnamed"}]},{N:"true"},{N:"att",line:"181",name:"flags",C:[{N:"str",val:"c"}]}]}]},{N:"templateRule",prec:"0",prio:"1.1",seq:"152",rank:"4",minImp:"0",slots:"0",matches:"NA nQ{}mode",flags:"s",line:"185",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}mode"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"copyOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"186",flags:"c",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"346",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"346",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text", -flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"230",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}exclude",flags:"s",line:"606",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}exclude"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0", -prio:"1.0",seq:"246",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}group-ending-with",flags:"s",line:"108",module:"grouping.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-ending-with"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +C:[{N:"supplied",slot:"0"}]}]},{N:"elem",line:"209",name:"comment",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_COMMENT",bSlot:"275"}]},{N:"varRef",line:"210",name:"Q{}attr",slot:"0"},{N:"callT",line:"211",name:"Q{}constructSimpleContent",bSlot:"276"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"393",rank:"3",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"1752",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.venn", +role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]},{N:"p.nodeTest",test:"NA nQ{http://ns.saxonica.com/xslt/export}minImp"}]},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"247",rank:"3",minImp:"0",slots:"1",matches:"NA",flags:"s", +line:"108",module:"grouping.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-starting-with"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-ending-with"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", line:"109",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"110",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"match"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"varRef",line:"111",name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"elem",line:"113",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"collation"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"346",part:"6",rank:"1",minImp:"0", -slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"386",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}as",flags:"s",line:"1710",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}as"},{N:"p.nodeTest", -test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1711",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]},{N:"fn",role:"select",name:"replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]}]}, -{N:"str",val:"\\s+"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"390",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"s",line:"1741",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1742",C:[{N:"fn",name:"not",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:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"a"}]}]}]}, -{N:"att",line:"1743",name:"ns",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"346",part:"2",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"},{N:"empty",role:"action"}]},{N:"templateRule", -prec:"0",prio:"1.0",seq:"392",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr",flags:"s",line:"1752",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"212",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}namespace",flags:"s",line:"128",module:"creating-new-nodes.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false", -C:[{N:"p.nodeTest",test:"NA nQ{}namespace"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"129",name:"nsuri",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}namespace",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"346",part:"7",rank:"1", -minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}version",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"201",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}use-attribute-sets",flags:"s",line:"305",module:"callable-components.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-attribute-sets"}, -{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"306",C:[{N:"param",name:"Q{}defined-attribute-sets",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"cvUntyped",to:"AS", -diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"data",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"let",line:"307","var":"Q{}this",as:"1",slot:"1",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"},{N:"forEach",line:"308",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"sequence",line:"309",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"varRef",name:"Q{}defined-attribute-sets",slot:"0"},{N:"dot",type:"1AS"}]}]},{N:"ufCall",line:"310",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"283",eval:"0 16 1",C:[{N:"str",val:"XTSE0710"},{N:"fn",name:"concat",C:[{N:"str",val:'Undefined attribute set "'},{N:"dot",type:"1AS"},{N:"str",val:'"'}]},{N:"varRef",name:"Q{}this",slot:"1"}]}]},{N:"elem",line:"312",name:"useAS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l", -C:[{N:"dot",type:"1AS"}]},{N:"att",name:"bSlot",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULIPLE_ATTRIBUTE",bSlot:"284"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"244",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}group-by",flags:"s",line:"68",module:"grouping.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-by"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]}, -{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]}, -{N:"param",line:"70",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"73",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str", -val:"data(("},{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-by",flags:"a"}]}]},{N:"str",val:"))"}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"73",type:"1NA nQ{}group-by",flags:"a"}]}]}]}]},{N:"varRef",line:"74",name:"Q{}xpath-default-namespace",slot:"0"}]}]}, -{N:"callT",line:"76",name:"Q{MyFunctions}AVT",bSlot:"285",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}collation",C:[{N:"check",line:"77",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"?AS",C:[{N:"treat",line:"78",as:"AS",diag:"8|0|XTTE0590|default",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default", -C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-collation",slot:"1"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]}]}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"79",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"286"},{N:"str",val:"collation"}]}]}]}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"1.0",seq:"392",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri",flags:"s",line:"1752",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"346",part:"5",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes",flags:"s",line:"70",module:"attributes.xsl", -C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"385",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}select",flags:"s",line:"1706",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}select"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"applyT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"1707",mode:"Q{}create.xpath",flags:"t",bSlot:"287",C:[{N:"dot",role:"select",type:"1NA nQ{}select",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"201",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets",flags:"s",line:"305",module:"callable-components.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"306",C:[{N:"param",name:"Q{}defined-attribute-sets",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"data",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"let",line:"307","var":"Q{}this",as:"1",slot:"1",eval:"16",C:[{N:"dot",type:"1NA",flags:"a"},{N:"forEach",line:"308",C:[{N:"fn",name:"tokenize", -C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"sequence",line:"309",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}defined-attribute-sets",slot:"0"},{N:"dot",type:"1AS"}]}]},{N:"ufCall",line:"310",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"283",eval:"0 16 1",C:[{N:"str",val:"XTSE0710"},{N:"fn",name:"concat",C:[{N:"str", -val:'Undefined attribute set "'},{N:"dot",type:"1AS"},{N:"str",val:'"'}]},{N:"varRef",name:"Q{}this",slot:"1"}]}]},{N:"elem",line:"312",name:"useAS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"dot",type:"1AS"}]},{N:"att",name:"bSlot",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULIPLE_ATTRIBUTE",bSlot:"284"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"246",rank:"3",minImp:"0", -slots:"1",matches:"NA nQ{}group-starting-with",flags:"s",line:"108",module:"grouping.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-starting-with"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"109", -C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"110",name:"pattern",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"match"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"varRef",line:"111",name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"elem",line:"113",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"collation"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"346",part:"3",rank:"1",minImp:"0", -slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"199",rank:"7",minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"298",module:"callable-components.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest", -test:"NA nQ{}name"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"298",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}name"}]}]},{N:"str",val:"xsl:initial-template"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"299",name:"name",C:[{N:"str",val:"Q{http://www.w3.org/1999/XSL/Transform}initial-template"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"253",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}use-accumulators",flags:"s",line:"54",module:"merging.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-accumulators"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"55",name:"accum",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"147",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}use-accumulators",flags:"s",line:"56",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-accumulators"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"57",C:[{N:"param",name:"Q{}accumulators",slot:"0",flags:"t",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|accumulators",C:[{N:"supplied",slot:"0"}]}]},{N:"att",line:"64",name:"useAcc",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}use-accumulators", -flags:"a"}]}]},{N:"str",val:"#all"}]},{N:"fn",name:"string-join",C:[{N:"data",diag:"0|0||fn:string-join",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}accumulators",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}accumulators",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"str",val:" "}]},{N:"true"},{N:"data",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]},{N:"str",val:" "}]}]}]}]}, -{N:"templateRule",prec:"0",prio:"-0.5",seq:"231",rank:"0",minImp:"0",slots:"2",matches:"NT",flags:"s",as:"1NE",line:"608",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NT"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"609",card:"1",diag:'7|0|XTTE0505|match="text()" mode="sef"',C:[{N:"sequence",C:[{N:"param",name:"Q{}attr", -slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"611",name:"Q{}expand-text",slot:"1",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|expand-text",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|expand-text",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|expand-text",C:[{N:"data",diag:"8|0|XTTE0590|expand-text",C:[{N:"supplied",slot:"1"}]}]}]}]}]}, -{N:"choose",line:"616",C:[{N:"varRef",name:"Q{}expand-text",slot:"1"},{N:"callT",line:"617",name:"Q{}value-template",bSlot:"288",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"varRef",line:"618",name:"Q{}attr",slot:"0"}]}]},{N:"true"},{N:"elem",line:"627",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"289"}]},{N:"varRef",line:"628",name:"Q{}attr",slot:"0"}, -{N:"elem",line:"629",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NT",flags:"a"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"280",binds:"",C:[{N:"globalVariable",name:"Q{}saxonjsVersion",as:"1AS",line:"171",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"str",val:"2.6"}]}]},{N:"co",id:"281",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_TEXT",as:"1FM k[AS] v[1AS]", -line:"33",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"NT"}]}]}]},{N:"co",id:"106",binds:"282 283 284 256 165 105 105",C:[{N:"globalVariable",name:"Q{}literalTypes",as:"1FM k[AS] v[1F]",line:"1007",module:"type.xsl",visibility:"PRIVATE",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1007",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:"dec"},{N:"gVarRef",name:"Q{}ST.SINGLE_DECIMAL",bSlot:"0"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"dbl"},{N:"gVarRef",name:"Q{}ST.SINGLE_DOUBLE",bSlot:"1"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"int"},{N:"gVarRef",name:"Q{}ST.SINGLE_INTEGER",bSlot:"2"}]}, -{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"flt"},{N:"gVarRef",name:"Q{}ST.SINGLE_FLOAT",bSlot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"str"},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"true"},{N:"gVarRef",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"str",val:"false"},{N:"gVarRef",name:"Q{}ST.SINGLE_BOOLEAN",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:"co",id:"174",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ITEM",as:"1FM k[AS] v[1AS]",line:"11",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:""}]}]}]},{N:"co",id:"285", -binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_NODE",as:"1FM k[AS] v[1AS]",line:"32",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"N"}]}]}]},{N:"co",id:"286",binds:"",C:[{N:"function",name:"Q{MyFunctions}selectAndContent",line:"22",module:"normalize4.xsl",eval:"16",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}instruction",as:"1NE"},{N:"and",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"varRef",line:"111",name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"elem",line:"113",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"collation"}]},{N:"att",name:"val",flags:"l",C:[{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"202",rank:"3",minImp:"0",slots:"2", +matches:"NA",flags:"s",line:"305",module:"callable-components.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.nodeTest",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-attribute-sets"},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-attribute-sets"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"306",C:[{N:"param",name:"Q{}defined-attribute-sets",slot:"0",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"data",diag:"8|0|XTTE0590|defined-attribute-sets",C:[{N:"supplied",slot:"0"}]}]}]}]},{N:"let",line:"307","var":"Q{}this",as:"1",slot:"1",C:[{N:"dot",type:"1NA",flags:"a"},{N:"forEach",line:"308",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:"1NA",flags:"a"}]}]}]}]},{N:"sequence",line:"309",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}defined-attribute-sets",slot:"0"},{N:"dot",type:"1AS"}]}]},{N:"ufCall",line:"310",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"277",C:[{N:"str",val:"XTSE0710"},{N:"fn", +name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:'Undefined attribute set "'},{N:"dot",type:"1AS"}]},{N:"str",val:'"'}]},{N:"varRef",name:"Q{}this",slot:"1"}]}]},{N:"elem",line:"312",name:"useAS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"dot",type:"1AS"}]},{N:"att",name:"bSlot",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULIPLE_ATTRIBUTE",bSlot:"278"}]}]}]}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"0.5",seq:"390",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}*",flags:"s",line:"1736",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}*"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"dot",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1737",type:"1NA nQ{}*",flags:"a"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"230",rank:"0",minImp:"0",slots:"12",matches:"NA",flags:"s",as:"1NE",line:"580",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"581",card:"1",diag:'7|0|XTTE0505|match="@*" mode="sef"',C:[{N:"sequence", +C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"582",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"583",name:"Q{}static-context", +slot:"2",flags:"t",C:[{N:"map",role:"select",size:"0"},{N:"supplied",role:"conversion",slot:"2"}]},{N:"param",line:"584",name:"Q{}namespace-aliases",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|namespace-aliases",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|namespace-aliases",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"585",name:"Q{}default-collation",slot:"4",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion", +as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"4"}]}]}]},{N:"let",line:"593","var":"Q{}namespace-aliases",as:"?FM",slot:"5",C:[{N:"treat",as:"FM",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|namespace-aliases",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"2"},{N:"str",val:"namespace-aliases"}]}]}]},{N:"let",line:"599","var":"Q{}attribute-name",as:"1AQ",slot:"6",C:[{N:"choose", +C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"fn",name:"prefix-from-QName",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"5"}]}]},{N:"let","var":"Q{}original-name",as:"1AQ",slot:"7",C:[{N:"check",card:"1",diag:"0|0||f:map-aliased-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"let","var":"Q{}namespace-aliases",as:"1FM",slot:"8",C:[{N:"check",card:"1",diag:"0|1||f:map-aliased-name", +C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"5"}]},{N:"let",line:"544","var":"Q{}original-uri",as:"1AU",slot:"9",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"7"}]},{N:"let",line:"547","var":"Q{}new-uri",as:"1AS",slot:"10",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef", +name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri",slot:"9"}]}]}]},{N:"convert",line:"548",from:"AU",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef",name:"Q{}original-uri",slot:"9"}]}]},{N:"true"},{N:"check",line:"551",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri", +C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri",slot:"9"}]},{N:"int",val:"2"}]}]}]}]}]}]},{N:"choose",line:"556",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"9"},{N:"varRef",name:"Q{}new-uri",slot:"10"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"7"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"11", +C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"8"},{N:"varRef",name:"Q{}original-uri",slot:"9"}]}]},{N:"fn",line:"567",name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"10"},{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"11"}]},{N:"str", +val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"atomSing",card:"?",diag:"0|0||fn:concat",C:[{N:"varRef",name:"Q{}prefix",slot:"11"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"7"}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"check",card:"1",diag:"3|0|XTTE0570|attribute-name",C:[{N:"fn",name:"node-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"600",name:"att",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d", +C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}attribute-name",slot:"6"}]}]},{N:"att",name:"nsuri",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}attribute-name",slot:"6"}]}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_ATTRIBUTE",bSlot:"279"}]},{N:"varRef",line:"601",name:"Q{}attr",slot:"0"},{N:"callT",line:"602",name:"Q{}value-template",bSlot:"280"}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"4",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"246",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}group-adjacent",flags:"s",line:"82",module:"grouping.xsl", +C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-adjacent"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"83",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty", +role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"84",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem",line:"85",name:"data", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"choose",line:"86",C:[{N:"ufCall",line:"87",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"281",C:[{N:"check",card:"?",diag:"0|0||f:boolean-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}composite"}]}]},{N:"false"}]},{N:"elem",line:"88",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"88",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]}]},{N:"varRef",line:"89", +name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"true"},{N:"elem",line:"93",name:"check",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{N:"str",val:"1"}]},{N:"att",module:"lib.xsl",line:"289",name:"diag",flags:"l",C:[{N:"gVarRef",name:"Q{http://saxon.sf.net/generated-variable}gg1081126121",bSlot:"282"}]},{N:"elem",line:"95",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"95",type:"1NA nQ{}group-adjacent",flags:"a"}]}]}]}]},{N:"varRef",line:"96",name:"Q{}xpath-default-namespace",slot:"0"}]}]}]}]}]}]}]},{N:"callT", +line:"102",name:"Q{MyFunctions}AVT",bSlot:"283",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}collation",C:[{N:"check",line:"103",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"?AS",C:[{N:"check",line:"104",card:"?",diag:"8|0|XTTE0590|default",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-collation",slot:"1"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]}]}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"105",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"284"},{N:"str",val:"collation"}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"1.0",seq:"392",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS",flags:"s",line:"1747",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS"},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1748",name:"defaultElementNS",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}defaultElementNS",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.15",seq:"152",rank:"5",minImp:"0",slots:"0",matches:"NA nQ{}mode",flags:"s",line:"175",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}mode"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"175",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}mode"}]}]},{N:"str",val:"#current"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"176",C:[{N:"fn",line:"177",name:"exists",C:[{N:"sequence", +C:[{N:"fn",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}function"}]}]},{N:"fn",name:"reverse",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]},{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"normalize.xsl",line:"777",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"rules.xsl",line:"177",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]}]}]}, +{N:"att",line:"178",name:"mode",C:[{N:"str",val:"#unnamed"}]},{N:"true"},{N:"att",line:"181",name:"flags",C:[{N:"str",val:"c"}]}]}]},{N:"templateRule",prec:"0",prio:"1.1",seq:"153",rank:"4",minImp:"0",slots:"0",matches:"NA nQ{}mode",flags:"s",line:"185",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}mode"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"copyOf",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"186",flags:"c",C:[{N:"dot",type:"1NA nQ{}mode",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"1",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text", +flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"231",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}exclude",flags:"s",line:"606",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}exclude"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0", +prio:"0.0",seq:"347",part:"6",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"387",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}as",flags:"s",line:"1710",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false", +C:[{N:"p.nodeTest",test:"NA nQ{}as"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"compAtt",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1711",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA nQ{}as",flags:"a"}]},{N:"fn",role:"select",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{}as",flags:"a"}]}]}]},{N:"str",val:"\\s+"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"391",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"s",line:"1741",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}ns"},{N:"choose",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1742",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"data",diag:"1|1||=",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"a"}]}]}]},{N:"att",line:"1743",name:"ns",C:[{N:"convert",from:"AZ",to:"AS", +C:[{N:"data",C:[{N:"dot",type:"1NA nQ{http://ns.saxonica.com/xslt/export}ns",flags:"a"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"2",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"213",rank:"3",minImp:"0",slots:"0", +matches:"NA nQ{}namespace",flags:"s",line:"128",module:"creating-new-nodes.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}namespace"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"129",name:"nsuri",C:[{N:"convert",from:"AZ", +to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}namespace",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"7",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}version",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"245",rank:"3",minImp:"0",slots:"2",matches:"NA nQ{}group-by",flags:"s", +line:"68",module:"grouping.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}group-by"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}for-each-group"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t", +as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"70",name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"elem", +line:"73",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"role",flags:"l",C:[{N:"str",val:"key"}]},{N:"att",name:"xpath",flags:"l",C:[{N:"fn",name:"concat",C:[{N:"str",val:"data(("},{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}group-by",flags:"a"}]}]},{N:"str",val:"))"}]}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"check",module:"lib.xsl",line:"19",card:"1",diag:"5|0|XTTE0780|f:line-number#1", +C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"dot",module:"grouping.xsl",line:"73",type:"1NA nQ{}group-by",flags:"a"}]}]}]}]},{N:"varRef",line:"74",name:"Q{}xpath-default-namespace",slot:"0"}]}]},{N:"callT",line:"76",name:"Q{MyFunctions}AVT",bSlot:"285",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}collation",C:[{N:"check",line:"77",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"slash",simple:"2",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}collation"}]}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"?AS",C:[{N:"check",line:"78",card:"?",diag:"8|0|XTTE0590|default",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default",C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}default-collation",slot:"1"},{N:"str",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}]}]}]}]}]}]}]}, +{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"79",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"286"},{N:"str",val:"collation"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"5",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"}, +{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"386",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}select",flags:"s",line:"1706",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}select"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"applyT",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1707",mode:"Q{}create.xpath",flags:"t",bSlot:"287",C:[{N:"dot",role:"select",type:"1NA nQ{}select",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"347",part:"3",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",flags:"s",line:"70",module:"attributes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"200",rank:"7", +minImp:"0",slots:"0",matches:"NA nQ{}name",flags:"s",line:"298",module:"callable-components.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA nQ{}name"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"298",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data", +diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}name"}]}]},{N:"str",val:"xsl:initial-template"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}template"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"299",name:"name",C:[{N:"str",val:"Q{http://www.w3.org/1999/XSL/Transform}initial-template"}]}]},{N:"templateRule",prec:"0", +prio:"1.0",seq:"254",rank:"3",minImp:"0",slots:"0",matches:"NA nQ{}use-accumulators",flags:"s",line:"54",module:"merging.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-accumulators"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}merge-source"}]},{N:"att",role:"action",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"55",name:"accum",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"148",rank:"3",minImp:"0",slots:"1",matches:"NA nQ{}use-accumulators",flags:"s",line:"56",module:"rules.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}use-accumulators"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"57",C:[{N:"param",name:"Q{}accumulators",slot:"0",flags:"t",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|accumulators",C:[{N:"supplied",slot:"0"}]}]},{N:"att",line:"64",name:"useAcc",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"cast",flags:"a",as:"1AS",C:[{N:"data",diag:"1|0||=",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]},{N:"fn",name:"string-join", +C:[{N:"data",diag:"0|0||fn:string-join",C:[{N:"conditionalSort",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}accumulators",slot:"0"}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}accumulators",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]}]},{N:"str",val:" "}]},{N:"true"},{N:"data",C:[{N:"dot",type:"1NA nQ{}use-accumulators",flags:"a"}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"232",rank:"0", +minImp:"0",slots:"2",matches:"NT",flags:"s",as:"1NE",line:"608",module:"creating-new-nodes.xsl",C:[{N:"p.nodeTest",role:"match",test:"NT"},{N:"check",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"609",card:"1",diag:'7|0|XTTE0505|match="text()" mode="sef"',C:[{N:"sequence",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat", +role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"611",name:"Q{}expand-text",slot:"1",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|expand-text",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|expand-text",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|expand-text",C:[{N:"data",diag:"8|0|XTTE0590|expand-text",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"choose",line:"615",C:[{N:"varRef",line:"616",name:"Q{}expand-text", +slot:"1"},{N:"callT",line:"617",name:"Q{}value-template",bSlot:"288",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"*NA",C:[{N:"varRef",line:"618",name:"Q{}attr",slot:"0"}]}]},{N:"true"},{N:"elem",line:"627",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"289"}]},{N:"varRef",line:"628",name:"Q{}attr",slot:"0"},{N:"elem",line:"629",name:"str",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NT",flags:"a"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"274",binds:"",C:[{N:"function",name:"Q{coBindings}bind",line:"209",module:"component-bindings.xsl",flags:"pU",as:"?ADI",slots:"2",C:[{N:"arg",name:"Q{}context",as:"1N"},{N:"arg",name:"Q{}name",as:"1AS"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"212",card:"?",diag:"5|0|XTTE0780|co:bind#2",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"arith",line:"213",op:"-",calc:"i-i",C:[{N:"first",C:[{N:"fn",name:"index-of",C:[{N:"fn",name:"accumulator-after",C:[{N:"str",val:"coBinding"}]},{N:"varRef",name:"Q{}name",slot:"1"}]}]},{N:"int",val:"1"}]}]}]}]}]},{N:"co",id:"252",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}LBRACE",as:"1ADI",line:"17",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"123"}]}]}, +{N:"co",id:"4",binds:"",C:[{N:"globalVariable",name:"Q{}xslt.standard.attributes",as:"+NE",line:"309",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"310",C:[{N:"elem",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-collation"}]}, +{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:uri-list"}]}]}]},{N:"elem",line:"311",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-mode"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:default-mode-type"}]}]}]},{N:"elem",line:"312",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"default-validation"}]},{N:"att",name:"type", +flags:"l",C:[{N:"str",val:"xsl:validation-strip-or-preserve"}]},{N:"att",name:"default",flags:"l",C:[{N:"str",val:"strip"}]}]}]},{N:"elem",line:"313",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"exclude-result-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:prefix-list-or-all"}]}]}]},{N:"elem",line:"314",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name", +flags:"l",C:[{N:"str",val:"expand-text"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:yes-or-no"}]}]}]},{N:"elem",line:"315",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"extension-element-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:prefix-list"}]}]}]},{N:"elem",line:"316",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str", +val:"use-when"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xsl:expression"}]}]}]},{N:"elem",line:"317",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"version"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:decimal"}]}]}]},{N:"elem",line:"318",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"xpath-default-namespace"}]},{N:"att", +name:"type",flags:"l",C:[{N:"str",val:"xs:anyURI"}]}]}]},{N:"elem",line:"319",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_default-collation"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"320",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_default-mode"}]},{N:"att",name:"type",flags:"l",C:[{N:"str", +val:"xs:string"}]}]}]},{N:"elem",line:"321",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_default-validation"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"322",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_exclude-result-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]}, +{N:"elem",line:"323",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_expand-text"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"324",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_extension-element-prefixes"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"325", +name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_use-when"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"326",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_version"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:decimal"}]}]}]},{N:"elem",line:"327",name:"xs:attribute",nsuri:"http://www.w3.org/2001/XMLSchema", +C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"_xpath-default-namespace"}]},{N:"att",name:"type",flags:"l",C:[{N:"str",val:"xs:string"}]}]}]},{N:"elem",line:"328",name:"xs:anyAttribute",nsuri:"http://www.w3.org/2001/XMLSchema",C:[{N:"sequence",C:[{N:"att",name:"namespace",flags:"l",C:[{N:"str",val:"##other"}]},{N:"att",name:"processContents",flags:"l",C:[{N:"str",val:"lax"}]}]}]}]}]}]},{N:"co",id:"262",binds:"1 256",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_TEXT",as:"1AS",line:"49", +module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"49",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_TEXT",bSlot:"1"}]}]}]},{N:"co",id:"275",binds:"",C:[{N:"function",name:"Q{MyTypes}toString",line:"323",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"325",name:"serialize",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"json"}]}]}]}]},{N:"co",id:"136",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg2135267024",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289", +name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0505"},{N:"str",val:"template result"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"137",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ITEM",as:"1FM k[AS] v[1AS]",line:"11",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map", +size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:""}]}]}]},{N:"co",id:"131",binds:"132 69 7 1 1",C:[{N:"template",name:"Q{}Sequence-and-type",flags:"os",line:"498",module:"xpath.xsl",slots:"5",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"499",C:[{N:"param",name:"Q{}parts",slot:"0",flags:"r",as:"*NE", +C:[{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|parts",C:[{N:"supplied",slot:"0"}]}]},{N:"choose",line:"503",C:[{N:"fn",line:"504",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]},{N:"elem",line:"505",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE",bSlot:"0"}]},{N:"slash",line:"506",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis", +name:"attribute",nodeTest:"NA"}]}]}]},{N:"true"},{N:"let",line:"513","var":"Q{}commonTypeAsMap",as:"1FM",slot:"1",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"1",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"2",C:[{N:"check",card:"1",diag:"0|0||t:marshalType", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]},{N:"let",line:"514","var":"Q{}commonType",slot:"2",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",C:[{N:"varRef",name:"Q{}commonTypeAsMap",slot:"1"}]},{N:"choose",line:"517",C:[{N:"every",line:"520","var":"Q{}p",slot:"3",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1", +C:[{N:"varRef",name:"Q{}p",slot:"3"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}str"}]}]}]},{N:"elem",line:"521",name:"literal",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"count",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}parts",slot:"0"}]}]}]},{N:"slash",line:"522",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}, +{N:"att",line:"523",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"524",name:"Q{}parts",slot:"0"}]}]},{N:"fn",line:"527",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}condSeq"}]}]},{N:"copy",line:"528",flags:"in",sit:"1",C:[{N:"sequence",role:"content",line:"529",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"530",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}commonType",slot:"2"}]},{N:"varRef",line:"531",name:"Q{}parts",slot:"0"}]}]},{N:"compareToInt",line:"534",op:"eq",val:"1",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"let",line:"535","var":"Q{}role",as:"?NA",slot:"4",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"forEach",line:"536",C:[{N:"varRef",name:"Q{}parts",slot:"0"},{N:"copy",line:"537",flags:"in",sit:"1NE",C:[{N:"sequence",role:"content",line:"538",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}role",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"copy",line:"543",flags:"in",sit:"1",C:[{N:"sequence",role:"content",line:"545",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"548",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"4",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", +type:"1FM",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"xpath.xsl",line:"548",name:"Q{}commonTypeAsMap",slot:"1"},{N:"str",val:"o"},{N:"str",val:"*"}]},{N:"str",val:"code"}]}]}]},{N:"varRef",line:"549",name:"Q{}parts",slot:"0"}]}]}]}]}]}]}]}]}]},{N:"co",id:"36",binds:"",C:[{N:"globalVariable",name:"Q{}codepoint.collation",as:"1AU",line:"25", +module:"sorting.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"atomic",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint",type:"AU"}]}]},{N:"co",id:"276",binds:"",C:[{N:"function",name:"Q{MyTypes}typeOf",line:"1204",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}item",as:"1"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1206",C:[{N:"instance", +line:"1207",of:"1N",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1208",C:[{N:"instance",line:"1209",of:"1NE",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NE"},{N:"instance",line:"1210",of:"1NA",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NA"},{N:"instance",line:"1211",of:"1NT",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NT"},{N:"instance",line:"1212",of:"1NC",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NC"},{N:"instance",line:"1213",of:"1NP", +C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NP"},{N:"instance",line:"1214",of:"1ND",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"ND"},{N:"true"},{N:"str",val:"N"}]},{N:"instance",line:"1218",of:"1A",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1219",C:[{N:"instance",line:"1220",of:"1AS",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AS"},{N:"instance",line:"1221",of:"1AB",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AB"},{N:"instance",line:"1222", +of:"1AD",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AD"},{N:"instance",line:"1223",of:"1ADI",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"ADI"},{N:"instance",line:"1224",of:"1AQ",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AQ"},{N:"instance",line:"1225",of:"1AU",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AU"},{N:"instance",line:"1226",of:"1AA",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AA"},{N:"instance",line:"1227",of:"1AM",C:[{N:"varRef", +name:"Q{}item",slot:"0"}]},{N:"str",val:"AM"},{N:"instance",line:"1228",of:"1AT",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AT"},{N:"instance",line:"1229",of:"1AR",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AR"},{N:"instance",line:"1230",of:"1AO",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AO"},{N:"instance",line:"1231",of:"1AF",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AF"},{N:"instance",line:"1232",of:"1A2",C:[{N:"varRef",name:"Q{}item",slot:"0"}]}, +{N:"str",val:"A2"},{N:"instance",line:"1233",of:"1AX",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AX"},{N:"instance",line:"1234",of:"1AZ",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AZ"},{N:"true"},{N:"str",val:"A"}]},{N:"instance",line:"1238",of:"1F",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1239",C:[{N:"instance",line:"1240",of:"1FM",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"FM"},{N:"instance",line:"1241",of:"1FM",C:[{N:"varRef",name:"Q{}item", +slot:"0"}]},{N:"str",val:"FA"},{N:"true"},{N:"str",val:"F"}]},{N:"true"},{N:"str",val:"J"}]}]}]},{N:"co",id:"277",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.ANY_ITEM_TYPE",as:"1AS",line:"160",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"item()"}]}]},{N:"co",id:"194",binds:"216",C:[{N:"mode",name:"Q{}expand-character-maps",onNo:"DC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"209",rank:"0",minImp:"0",slots:"1",matches:"NE n*:charMap",flags:"s", +as:"1NE",line:"156",module:"output.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE n*:charMap"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"156",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"157",C:[{N:"param",name:"Q{}charMaps",slot:"0",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|charMaps",C:[{N:"supplied",slot:"0"}]}]},{N:"copy",line:"158",flags:"cin",sit:"1NE n*:charMap",C:[{N:"sequence",role:"content",line:"159",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"forEach",line:"160",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:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]}]},{N:"callT",line:"161",name:"Q{}expandCharMapRef",bSlot:"0",C:[{N:"withParam",name:"Q{}charMapRef",flags:"c",as:"1AS",C:[{N:"fn",line:"162",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"withParam",name:"Q{}charMaps",flags:"c",as:"*NE",C:[{N:"varRef",line:"163",name:"Q{}charMaps",slot:"0"}]}]}]},{N:"axis",line:"166",name:"child",nodeTest:"NE n*:m"}]}]}]}]}]}]},{N:"co",id:"229",binds:"64", +C:[{N:"function",name:"Q{MyTypes}cvUntyped",line:"909",module:"type.xsl",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"915",name:"cvUntyped",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +C:[{N:"att",name:"to",flags:"l",C:[{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{}type",slot:"1"},{N:"str",val:"p"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"0"}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"916",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}, +{N:"varRef",line:"916",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"267",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1557557661",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall", +name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-attribute/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"78",binds:"150",C:[{N:"template",name:"Q{MyFunctions}AVT",flags:"os",as:"1NE",line:"14",module:"value-templates.xsl",slots:"3",C:[{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~", +line:"15",card:"1",diag:"7|0|XTTE0505|f:AVT",C:[{N:"sequence",C:[{N:"param",name:"Q{}avt-string",slot:"0",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|avt-string",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|avt-string",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"16",name:"Q{}default",slot:"1",as:"?AS",C:[{N:"empty",role:"select"},{N:"check",role:"conversion",card:"?",diag:"8|0|XTTE0590|default",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|default", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default",C:[{N:"data",diag:"8|0|XTTE0590|default",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"17",name:"Q{}role",slot:"2",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"supplied",slot:"2"}]}]}]},{N:"choose",line:"18",C:[{N:"fn",line:"19",name:"exists",C:[{N:"varRef",name:"Q{}avt-string",slot:"0"}]},{N:"forEach",line:"20",flags:"t",C:[{N:"varRef", +name:"Q{}avt-string",slot:"0"},{N:"callT",line:"21",name:"Q{}value-template",bSlot:"0",flags:"t",C:[{N:"withParam",name:"Q{}attr",flags:"c",as:"?NA",C:[{N:"varRef",line:"22",name:"Q{}role",slot:"2"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"false"}]}]}]},{N:"fn",line:"27",name:"exists",C:[{N:"varRef",name:"Q{}default",slot:"1"}]},{N:"elem",line:"28",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l", +C:[{N:"varRef",name:"Q{}default",slot:"1"}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]},{N:"copyOf",line:"29",flags:"c",C:[{N:"varRef",name:"Q{}role",slot:"2"}]}]}]},{N:"true"},{N:"elem",line:"33",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"str",val:"1AS "}]},{N:"copyOf",line:"34",flags:"c",C:[{N:"varRef",name:"Q{}role",slot:"2"}]}]}]}]}]}]}]}]},{N:"co", +id:"278",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_UNTYPED_ATOMIC",as:"1FM k[AS] v[1AS]",line:"26",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"AZ"}]}]}]},{N:"co",id:"254",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}LPAREN",as:"1ADI",line:"15",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"40"}]}]},{N:"co",id:"246",binds:"",C:[{N:"globalParam",name:"Q{}staticParameters", +as:"1FM k[AQ]",line:"174",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",C:[{N:"map",size:"0"}]}]},{N:"co",id:"279",binds:"",C:[{N:"function",name:"Q{MyFunctions}namespace-uri-for-prefix-or-default",line:"168",module:"namespaces.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}prefix",as:"1AS"},{N:"arg",name:"Q{}element",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"177",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"varRef",name:"Q{}prefix",slot:"0"}]},{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"varRef",name:"Q{}element",slot:"1"}]},{N:"str",val:""}]}]},{N:"true"},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}prefix",slot:"0"},{N:"varRef",name:"Q{}element",slot:"1"}]}]}]}]},{N:"co",id:"280",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_DECIMAL",as:"1FM k[AS] v[1AS]",line:"20", +module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"AD"}]}]}]},{N:"co",id:"281",binds:"281",C:[{N:"function",name:"Q{MyFunctions}import-index",line:"704",module:"static.xsl",flags:"pmU",as:"1ADI",slots:"2",C:[{N:"arg",name:"Q{}in",as:"1NE"},{N:"let",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"706","var":"Q{}next", +as:"?NE nQ{http://www.w3.org/1999/XSL/Transform}import",slot:"1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}in",slot:"0"},{N:"first",C:[{N:"axis",name:"following-sibling",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"}]}]},{N:"choose",line:"713",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}next",slot:"1"}]},{N:"arith",op:"+",calc:"i+i",C:[{N:"ufCall",name:"Q{MyFunctions}import-index",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:import-index",C:[{N:"varRef",name:"Q{}next", +slot:"1"}]}]},{N:"int",val:"1"}]},{N:"true"},{N:"int",val:"1"}]}]}]}]},{N:"co",id:"282",binds:"",C:[{N:"function",name:"Q{MyFunctions}symbolic-name",line:"56",module:"component-bindings.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}component",as:"1NE"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"59",card:"1",diag:"5|0|XTTE0780|f:symbolic-name#1", +C:[{N:"forEach",C:[{N:"check",line:"58",card:"1",diag:"3|0|XTTE0570|actor",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}component",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"choose",line:"60",C:[{N:"fn",line:"61",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalParam,NE nQ{http://ns.saxonica.com/xslt/export}globalVariable]"}]},{N:"fn",line:"62",name:"concat",C:[{N:"str",val:"V:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first", +C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"64",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}attributeSet"}]},{N:"fn",line:"65",name:"concat",C:[{N:"str",val:"A:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"67",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}template"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"fn",line:"68",name:"concat",C:[{N:"str",val:"T:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}, +{N:"str",val:""}]}]}]}]},{N:"fn",line:"70",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]},{N:"fn",line:"71",name:"concat",C:[{N:"str",val:"M:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"fn",line:"73",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"}]}, +{N:"fn",line:"74",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]},{N:"true"},{N:"str",val:"???"}]}]}]}]}]},{N:"co",id:"271",binds:"78 79 78 79 78 79 78 79 78 79 78 79",C:[{N:"template",name:"Q{}numberFormat",flags:"os",as:"*NE",line:"68",module:"numbering.xsl",slots:"2",C:[{N:"sequence", +role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"69",C:[{N:"param",name:"Q{}xpath-default-namespace",slot:"0",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"70", +name:"Q{}default-collation",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"1"}]}]}]},{N:"callT",line:"72",name:"Q{MyFunctions}AVT",bSlot:"0",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}format",C:[{N:"slash",line:"73",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}format"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"1"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"75",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"1"},{N:"str",val:"format"}]}]}]}]}]},{N:"callT",line:"77",name:"Q{MyFunctions}AVT",bSlot:"2",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}start-at",C:[{N:"slash",line:"78", +simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}start-at"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"1"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"80",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"3"},{N:"str",val:"startAt"}]}]}]}]}]},{N:"choose",line:"82",C:[{N:"fn",name:"exists", +C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-separator"}]}]},{N:"callT",line:"83",name:"Q{MyFunctions}AVT",bSlot:"4",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}grouping-separator",C:[{N:"slash",line:"84",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-separator"}]}]},{N:"withParam",name:"Q{}default", +flags:"c",as:"1AS",C:[{N:"str",val:""}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"86",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"5"},{N:"str",val:"gpSep"}]}]}]}]}]}]},{N:"choose",line:"89",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-size"}]}]},{N:"callT", +line:"90",name:"Q{MyFunctions}AVT",bSlot:"6",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}grouping-size",C:[{N:"slash",line:"91",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}grouping-size"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"0"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"93",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role", +C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"7"},{N:"str",val:"gpSize"}]}]}]}]}]}]},{N:"choose",line:"96",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ordinal"}]}]},{N:"callT",line:"97",name:"Q{MyFunctions}AVT",bSlot:"8",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}ordinal",C:[{N:"slash",line:"98",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot", +flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}ordinal"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"false"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat",line:"100",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"9"},{N:"str",val:"ordinal"}]}]}]}]}]}]},{N:"choose",line:"103",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}lang"}]}]},{N:"callT",line:"107",name:"Q{MyFunctions}AVT",bSlot:"10",flags:"t",C:[{N:"withParam",name:"Q{}avt-string",flags:"c",as:"?NA nQ{}lang",C:[{N:"slash",line:"108",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}lang"}]}]},{N:"withParam",name:"Q{}default",flags:"c",as:"1AS",C:[{N:"str",val:"en"}]},{N:"withParam",name:"Q{}role",flags:"c",as:"?NA",C:[{N:"treat", +line:"110",as:"NA",diag:"8|0|XTTE0590|role",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|role",C:[{N:"lookup",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"11"},{N:"str",val:"lang"}]}]}]}]}]}]}]}]}]},{N:"co",id:"239",binds:"",C:[{N:"globalVariable",name:"Q{}ST.EMPTY_SEQUENCE",as:"1FM k[AS] v[1AS]",line:"10",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"0"},{N:"str",val:"p"},{N:"str",val:""}]}]}]},{N:"co",id:"142",binds:"",C:[{N:"mode",name:"Q{}pattern-with-current", +onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"300",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://ns.saxonica.com/xslt/export}fn",flags:"s",line:"1538",module:"xpath.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}fn"},{N:"vc",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1538",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{}name"}]},{N:"str",val:"current"}]}]},{N:"elem",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1539",name:"varRef",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"Q{http://www.w3.org/2005/xpath-functions}current"}]}, +{N:"att",name:"slot",flags:"l",C:[{N:"str",val:"0"}]},{N:"axis",line:"1540",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"co",id:"283",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ZERO_OR_ONE",as:"1ADI",line:"110",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"3"}]}]},{N:"co",id:"284",binds:"",C:[{N:"function",name:"Q{MyFunctions}QNameToEQ",line:"161",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}qname",as:"1AQ"},{N:"fn",role:"body", +ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"163",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Q{"},{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"0"}]}]},{N:"str",val:"}"}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}qname",slot:"0"}]}]}]}]},{N:"co",id:"285",binds:"",C:[{N:"globalVariable", +name:"Q{}ST.SINGLE_DECIMAL",as:"1FM k[AS] v[1AS]",line:"21",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AD"}]}]}]},{N:"co",id:"150",binds:"251 72 72 72 262 262",C:[{N:"template",name:"Q{}value-template",flags:"os",as:"?NE",line:"41",module:"value-templates.xsl",slots:"13",C:[{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~", +line:"42",card:"?",diag:"7|0|XTTE0505|value-template",C:[{N:"sequence",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"ti",as:"1FM",C:[{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"43",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check", +card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"44",name:"Q{}has-uniform-static-context",slot:"2",flags:"ti",as:"1AB",C:[{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param", +line:"45",name:"Q{}default-collation",slot:"3",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|default-collation",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|default-collation",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"47",name:"Q{}backward-compatibility",slot:"4",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|backward-compatibility", +C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"data",diag:"8|0|XTTE0590|backward-compatibility",C:[{N:"supplied",slot:"4"}]}]}]}]}]},{N:"param",line:"48",name:"Q{}attr",slot:"5",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"5"}]}]},{N:"let",line:"56","var":"Q{}text.value",as:"1",slot:"6",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat", +as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NA"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NT"}]}]}]},{N:"dot",flags:"a"},{N:"true"},{N:"fn",name:"normalize-space", +C:[{N:"check",card:"?",diag:"0|0||fn:normalize-space",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"let",line:"57","var":"Q{}lineNr",as:"1ADI",slot:"7",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +"var":"Q{}node",as:"1N",slot:"8",C:[{N:"check",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ pvt=http://www.saxonica.com/ns/xslt-in-xslt/parse-value-template t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:line-number",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|1|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]},{N:"treat",module:"lib.xsl", +line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"9",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI", +C:[{N:"varRef",name:"Q{}node",slot:"8"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"9"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"8"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"9"}]}]}]}]}]}]}]}]}]},{N:"let",line:"58","var":"Q{}loc",as:"1AS",slot:"10",C:[{N:"choose",line:"59",C:[{N:"instance",line:"60",of:"1NA",C:[{N:"dot",flags:"a"}]},{N:"convert", +line:"60",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|loc",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/@"},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"instance", +line:"61",of:"1NT",C:[{N:"dot",flags:"a"}]},{N:"convert",line:"61",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|loc",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/text()"}]}]}]}]},{N:"true"},{N:"convert",line:"62", +from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|loc",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|loc",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|1|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"let",line:"66","var":"Q{}parts",as:"*NE",slot:"11",C:[{N:"choose",line:"67",C:[{N:"fn",line:"68",name:"contains",C:[{N:"check",card:"?",diag:"0|0||fn:contains",C:[{N:"convert", +from:"A",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:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"str",val:"{"}]},{N:"forEach",line:"69",C:[{N:"ufCall",name:"Q{MyFunctions}parse-value-template",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:parse-value-template",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:parse-value-template",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-value-template", +C:[{N:"data",diag:"0|0||f:parse-value-template",C:[{N:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"treat",as:"N",diag:"0|1||f:parse-value-template",C:[{N:"dot",flags:"a"}]}]},{N:"choose",line:"70",C:[{N:"compareToString",line:"71",op:"eq",val:"literal",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"elem",line:"72",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att",name:"val",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]}, +{N:"and",line:"74",op:"and",C:[{N:"compareToString",op:"eq",val:"expression",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"matches",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:matches",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:matches",C:[{N:"data",diag:"0|0||fn:matches",C:[{N:"dot",type:"1NA"}]}]}]},{N:"str",val:"\\S+"},{N:"str",val:""}]}]},{N:"elem",line:"75",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l", +C:[{N:"str",val:"string-join"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"1"}]},{N:"let",line:"76","var":"Q{}content",as:"1NE",slot:"12",C:[{N:"elem",line:"77",name:"convert",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"from",flags:"l",C:[{N:"str",val:"AZ"}]},{N:"att",name:"to",flags:"l",C:[{N:"str",val:"AS"}]},{N:"elem",line:"78",name:"data",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"elem",line:"79", +name:"mergeAdj",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"elem",line:"80",name:"xpath",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"xpath",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]},{N:"att",name:"loc",flags:"l",C:[{N:"varRef",name:"Q{}loc",slot:"10"}]},{N:"att",name:"line",flags:"l",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}lineNr",slot:"7"}]}]},{N:"att",name:"allow-empty", +flags:"l",C:[{N:"str",val:"true"}]},{N:"choose",line:"81",C:[{N:"varRef",name:"Q{}backward-compatibility",slot:"4"},{N:"att",line:"82",name:"BC",flags:"l",C:[{N:"str",val:"true"}]}]},{N:"varRef",line:"85",name:"Q{}xpath-default-namespace",slot:"1"},{N:"varRef",line:"85",name:"Q{}default-collation",slot:"3"}]}]}]}]}]}]},{N:"sequence",line:"92",C:[{N:"choose",C:[{N:"varRef",line:"93",name:"Q{}backward-compatibility",slot:"4"},{N:"elem",line:"94",name:"first",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",C:[{N:"varRef",line:"95",name:"Q{}content",slot:"12"}]},{N:"true"},{N:"varRef",line:"99",name:"Q{}content",slot:"12"}]},{N:"elem",line:"102",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:" "}]}]}]}]}]}]},{N:"true"},{N:"elem",line:"106",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"empty"}]}]}]},{N:"true"},{N:"elem",line:"112",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att", +name:"val",flags:"l",C:[{N:"fn",name:"replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"convert",from:"A",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:"varRef",name:"Q{}text.value",slot:"6"}]}]}]}]},{N:"str",val:"\\}\\}"},{N:"str",val:"}"},{N:"str",val:""}]}]}]}]},{N:"choose",line:"117",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]}, +{N:"axis",name:"self",nodeTest:"NA"}]}]},{N:"choose",line:"118",C:[{N:"fn",line:"119",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"11"}]},{N:"elem",line:"120",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"2"}]},{N:"varRef",line:"121",name:"Q{}attr",slot:"5"}]}]},{N:"compareToInt",line:"124",op:"lt",val:"2",C:[{N:"fn",name:"count", +C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"forEach",line:"125",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"copy",line:"126",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"127",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"varRef",name:"Q{}attr",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"true"},{N:"elem",line:"132",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence", +C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"concat"}]},{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_STRING",bSlot:"3"}]},{N:"varRef",line:"133",name:"Q{}attr",slot:"5"},{N:"varRef",line:"135",name:"Q{}parts",slot:"11"},{N:"elem",line:"137",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]}]}]}]}]},{N:"fn",line:"144",name:"empty",C:[{N:"varRef",name:"Q{}parts",slot:"11"}]},{N:"empty"},{N:"compareToInt", +line:"145",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}parts",slot:"11"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"elem",line:"146",name:"valueOf",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"4"}]},{N:"varRef",line:"147",name:"Q{}attr",slot:"5"},{N:"varRef",line:"148",name:"Q{}parts",slot:"11"}]}]},{N:"true"},{N:"elem",line:"152",name:"valueOf", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.SINGLE_TEXT",bSlot:"5"}]},{N:"varRef",line:"153",name:"Q{}attr",slot:"5"},{N:"elem",line:"154",name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string-join"}]},{N:"elem",line:"155",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"156",name:"Q{}parts", +slot:"11"}]},{N:"elem",line:"158",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str",val:""}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"230",binds:"1",C:[{N:"function",name:"Q{MyTypes}treat",line:"879",module:"type.xsl",flags:"pU",as:"1NE",slots:"3",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"886",name:"treat",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"as",flags:"l",C:[{N:"fn",name:"replace",C:[{N:"ufCall",line:"885",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"str",val:"^[01*+?]"},{N:"str",val:""},{N:"str",val:""}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"choose",line:"887",C:[{N:"gc",line:"888",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", +C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"1"},{N:"str",val:"o"}]}]},{N:"str",val:"*"}]},{N:"sequence",line:"889",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",name:"Q{}expression",slot:"0"}]},{N:"true"},{N:"sequence",line:"892",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"elem",line:"893",name:"check", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"card",flags:"l",C:[{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{}type",slot:"1"},{N:"str",val:"o"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"diag",flags:"l",C:[{N:"varRef",name:"Q{}diag",slot:"2"}]},{N:"slash",line:"894",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]}, +{N:"varRef",line:"894",name:"Q{}expression",slot:"0"}]}]}]}]}]}]}]}]},{N:"co",id:"286",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_INTEGER",as:"1FM k[AS] v[1AS]",line:"22",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"ADI"}]}]}]},{N:"co",id:"287",binds:"",C:[{N:"function",name:"Q{MyFunctions}error-code",line:"31",module:"lib.xsl",flags:"pU",as:"1AQ",slots:"1",C:[{N:"arg",name:"Q{}code",as:"*"},{N:"fn", +role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|1||fn:QName",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:QName",C:[{N:"data",diag:"0|1||fn:QName",C:[{N:"varRef",name:"Q{}code",slot:"0"}]}]}]}]}]}]}]}, +{N:"co",id:"288",binds:"",C:[{N:"globalVariable",name:"Q{}saxonjsVersion",as:"1AS",line:"171",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"str",val:"2.7"}]}]},{N:"co",id:"263",binds:"22",C:[{N:"template",name:"Q{}check-select",flags:"os",as:"0",line:"62",module:"lib.xsl",slots:"0",C:[{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"63",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"check",line:"64",card:"0",diag:"7|0|XTTE0505|check-select",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" must have an @select attribute"}]}, +{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"co",id:"269",binds:"1 108",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_ATTRIBUTE",as:"1AS",line:"53",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"53",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ATTRIBUTE",bSlot:"1"}]}]}]},{N:"co",id:"289",binds:"", +C:[{N:"globalVariable",name:"Q{}END_OF_ALPHABET",as:"1ADI",line:"125",module:"static.xsl",visibility:"PRIVATE",C:[{N:"int",val:"50000"}]}]},{N:"co",id:"106",binds:"102 22 120 48 22 105 164 22 105 48 105 34 22 22 22 22 22 22 22 251 29 29",C:[{N:"mode",name:"Q{}static",onNo:"SC",flags:"W",patternSlots:"1",C:[{N:"templateRule",prec:"0",prio:"5.01",seq:"329",rank:"10",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"25",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest", +test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"25",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"26",C:[{N:"param", +name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"31",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xpath-default-namespace",flags:"t",as:"1NA",C:[{N:"att",line:"29",name:"xpath-default-namespace",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"5.0",seq:"324",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"18",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"18",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"19",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"22",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", +name:"Q{}xpath-default-namespace",flags:"t",as:"?NA nQ{}xpath-default-namespace",C:[{N:"axis",line:"21",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"templateRule",prec:"0",prio:"5.0",seq:"4",rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"718",module:"static.xsl",C:[{N:"p.withCurrent",role:"match",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"718",flags:"",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"union",op:"|",C:[{N:"union",op:"|",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]}]}]}, +{N:"gc",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"718",op:">",card:"M:N",comp:"QUNC",C:[{N:"data",diag:"1|0||>",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"},{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]},{N:"dec",val:"3"}]}]},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"718",name:"not",C:[{N:"filter",flags:"b",C:[{N:"gVarRef",name:"Q{}top-level-declarations",bSlot:"0"},{N:"vc",op:"eq",comp:"CCC",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"varRef",name:"Q{http://www.w3.org/2005/xpath-functions}current",slot:"0"}]}]}]}]}]}]}]},{N:"message",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"719",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"IGNORING "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"templateRule",prec:"0",prio:"3.5",seq:"362",rank:"8",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"130",module:"attributes.xsl",C:[{N:"p.withPredicate", +role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"130",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"131",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"param",line:"132",name:"Q{}extension-element-prefixes",slot:"1",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|extension-element-prefixes",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|extension-element-prefixes",C:[{N:"data",diag:"8|0|XTTE0590|extension-element-prefixes", +C:[{N:"supplied",slot:"1"}]}]}]}]},{N:"nextMatch",line:"133",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"136",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}extension-element-prefixes",flags:"t",as:"*AS",C:[{N:"sequence",line:"135",C:[{N:"varRef",name:"Q{}extension-element-prefixes",slot:"1"},{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:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.2",seq:"20",rank:"7",minImp:"0",slots:"7",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1028",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1028",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1029",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1", +diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1030",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1032","var":"Q{}use-expression",as:"1AS",slot:"2",flags:"e",C:[{N:"choose",line:"1033",C:[{N:"fn",line:"1034",name:"exists",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}_use-when"}]},{N:"check",line:"1035",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{}_use-when"}]}]}]}]}]},{N:"true"},{N:"check",line:"1038",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert", +from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"}]}]}]}]}]},{N:"let",line:"1042","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",flags:"e",C:[{N:"let",line:"1043","var":"Q{}dot",as:"1",slot:"4",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"compElem",line:"1044",C:[{N:"str",role:"name", +val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach",role:"content",line:"1045",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"1047",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]}, +{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"4"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"let",line:"1052","var":"Q{}use",as:"1AB",slot:"5",C:[{N:"treat",line:"1055",as:"AB",diag:"3|0|XTTE0570|use",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|use",C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|use",C:[{N:"data",diag:"3|0|XTTE0570|use",C:[{N:"try",flags:"r",C:[{N:"evaluate", +dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"withParam",name:"Q{}compileSyntax",as:"1AB",C:[{N:"false"}]}, +{N:"withParam",name:"Q{}errorsAsMessages",as:"1AB",C:[{N:"false"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"1063",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Y"},{N:"check",card:"1",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:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"let",line:"1068","var":"Q{}possibleCode",as:"1AS",slot:"6",C:[{N:"fn",name:"substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-before",C:[{N:"data",diag:"0|0||fn:substring-before", +C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]},{N:"choose",line:"1075",C:[{N:"castable",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"error",C:[{N:"cast",flags:"a",as:"1AQ",C:[{N:"varRef",name:"Q{}possibleCode",slot:"6"}]},{N:"fn",name:"substring-after",C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-after", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-after",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"fn",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:"1",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:"choose",line:"1079",C:[{N:"varRef",line:"1080",name:"Q{}use",slot:"5"},{N:"sequence",line:"1081",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b", +C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]}]}]},{N:"fn",line:"1082",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"str",val:"@xsl:use-when cannot be used on XSL element "}, +{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]}]},{N:"nextMatch",line:"1084",flags:"t"}]},{N:"fn",line:"1086",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]},{N:"applyT",line:"1092",flags:"ct",bSlot:"-1",C:[{N:"copy",role:"select",line:"1088",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*", +C:[{N:"axis",role:"content",line:"1089",name:"attribute",nodeTest:"NA d[NA,NA u[NA nQ{}use-when,NA nQ{}_use-when]]"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.2",seq:"5",rank:"7",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"723",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"vc",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"723",op:"eq",onEmpty:"0",comp:"CCC", +C:[{N:"cast",flags:"ae",as:"?AS",C:[{N:"attVal",name:"Q{http://www.w3.org/XML/1998/namespace}space"}]},{N:"str",val:"preserve"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"724",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"725",flags:"t", +C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",line:"727",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}xml-space-preserve",flags:"t",as:"1AB",C:[{N:"true"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"19",rank:"6",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1023",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"1023",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1024",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"str",val:"@xsl:use-when cannot be used on XSL element "}, +{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"3.0",seq:"21",rank:"5",minImp:"0",slots:"6",matches:"NE",flags:"s",line:"1149",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1149",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1150",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion", +as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1151",name:"Q{}xpath-default-namespace",slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"let",line:"1153","var":"Q{}use-expression",as:"1AS",slot:"2",flags:"e",C:[{N:"choose", +line:"1154",C:[{N:"fn",line:"1155",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]},{N:"check",line:"1156",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"axis",role:"select",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}_use-when"}]}]}]}]}]}, +{N:"true"},{N:"check",line:"1159",card:"1",diag:"3|0|XTTE0570|use-expression",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|use-expression",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|use-expression",C:[{N:"data",diag:"3|0|XTTE0570|use-expression",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"}]}]}]}]}]},{N:"let",line:"1163","var":"Q{}nsContext",as:"1NE c~untyped",slot:"3",flags:"e",C:[{N:"let",line:"1164","var":"Q{}dot",as:"1",slot:"4", +C:[{N:"dot",type:"1NE",flags:"a"},{N:"compElem",line:"1165",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"1"}]}]}]},{N:"forEach",role:"content",line:"1166",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"1167",flags:"l",C:[{N:"fn",role:"name",name:"concat", +C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"4"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"let",line:"1171","var":"Q{}use",as:"1AB",slot:"5",C:[{N:"treat",line:"1174",as:"AB",diag:"3|0|XTTE0570|use",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|use",C:[{N:"cvUntyped",to:"AB",diag:"3|0|XTTE0570|use",C:[{N:"data",diag:"3|0|XTTE0570|use", +C:[{N:"try",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}use-expression",slot:"2"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"3"},{N:"str",role:"sa",val:"no"},{N:"map",role:"options",size:"1",C:[{N:"str",val:"allow-xslt-functions"},{N:"true"}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]},{N:"catch", +errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050",C:[{N:"fn",line:"1176",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050Z"},{N:"check",card:"1",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:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160", +C:[{N:"fn",line:"1179",name:"error",C:[{N:"cast",flags:"a",as:"1AQ",C:[{N:"fn",name:"substring-before",C:[{N:"check",card:"?",diag:"0|0||fn:substring-before",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-before",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-before",C:[{N:"data",diag:"0|0||fn:substring-before",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"fn",name:"substring-after", +C:[{N:"check",card:"?",diag:"0|0||fn:substring-after",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring-after",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring-after",C:[{N:"data",diag:"0|0||fn:substring-after",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]},{N:"choose",line:"1183",C:[{N:"varRef",name:"Q{}use",slot:"5"},{N:"nextMatch",line:"1184",flags:"t"}]}]}]}]}]}]},{N:"templateRule", +prec:"0",prio:"3.0",seq:"6",rank:"5",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"731",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"731",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"732","var":"Q{}version",as:"1AD",slot:"0",C:[{N:"callT",line:"733",name:"Q{}XSLT-version",bSlot:"2"},{N:"nextMatch",line:"735",flags:"t",C:[{N:"withParam",name:"Q{}XSLT-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"736",name:"Q{}version",slot:"0"}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"16",rank:"4",minImp:"0",slots:"8",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"984",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"984",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"985",C:[{N:"param",name:"Q{}xml-space-preserve",slot:"0",flags:"t",C:[{N:"false",role:"select"},{N:"supplied",role:"conversion",slot:"0"}]},{N:"param",line:"986",name:"Q{}import-precedence",slot:"1",flags:"t",C:[{N:"int",role:"select",val:"1"},{N:"supplied",role:"conversion",slot:"1"}]},{N:"param",line:"987",name:"Q{}moduleLabel",slot:"2",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"convert",from:"A",to:"AS", +flags:"p",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"data",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"988",name:"Q{}precLabel",slot:"3",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"check",role:"conversion",card:"1",diag:"8|0|XTTE0590|precLabel",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|precLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"data",diag:"8|0|XTTE0590|precLabel", +C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"989",name:"Q{}stylesheet-properties",slot:"4",flags:"t",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|stylesheet-properties",C:[{N:"supplied",slot:"4"}]}]},{N:"copy",line:"990",flags:"cin",sit:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",C:[{N:"sequence",role:"content",line:"992",C:[{N:"att",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +"var":"Q{}context",as:"1NE",slot:"5",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat", +C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"3"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",line:"994",name:"ex:baseUri", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]},{N:"att",line:"995",name:"ex:precLabel",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"varRef",name:"Q{}precLabel",slot:"3"}]},{N:"choose",line:"996",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}decimal-format,NE nQ{http://www.w3.org/1999/XSL/Transform}import],NE nQ{http://www.w3.org/1999/XSL/Transform}include],NE nQ{http://www.w3.org/1999/XSL/Transform}output]"}]}, +{N:"varRef",line:"997",name:"Q{}stylesheet-properties",slot:"4"}]},{N:"att",line:"999",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"6",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"7",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"6"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"7"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"7"}]}]}]}]}]}]}]}]}]}]}]},{N:"choose",line:"1000",C:[{N:"fn",name:"exists", +C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"compareToString",op:"eq",val:"http://www.w3.org/1999/XSL/Transform",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"ufCall",line:"1005",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"4",C:[{N:"str",val:"XTSE0090"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"An XSLT element cannot have attribute(s) "},{N:"fn",name:"string-join",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"axis", +name:"attribute",nodeTest:"NA"},{N:"compareToString",op:"eq",val:"http://www.w3.org/1999/XSL/Transform",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:","}]}]},{N:"str",val:" in the XSLT namespace"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"applyT",line:"1007",flags:"c",bSlot:"-1",C:[{N:"docOrder",role:"select",intra:"1",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}, +{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"applyT",line:"1010",flags:"c",bSlot:"-1",C:[{N:"filter",role:"select",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"4",C:[{N:"str",val:""},{N:"str",val:"http://saxon.sf.net/"},{N:"str",val:"http://ns.saxonica.com/xslt/export"},{N:"str",val:"http://www.w3.org/XML/1998/namespace"}]}, +{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"callT",line:"1011",name:"Q{}staticText",bSlot:"5",C:[{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1012",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"6",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"10",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"782",module:"static.xsl", +C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"p.nodeTest",test:"NE"}]},{N:"p.withUpper",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"},{N:"p.nodeTest",test:"NE"}]}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"783",C:[{N:"param",name:"Q{}XSLT-version",slot:"0",flags:"t",as:"1AD",C:[{N:"dec",role:"select",val:"3"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"data",diag:"8|0|XTTE0590|XSLT-version",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"choose",line:"784",C:[{N:"or",line:"785",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]}, +{N:"vc",op:"gt",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}XSLT-version",slot:"0"},{N:"dec",val:"3"}]}]},{N:"nextMatch",line:"786",flags:"t"},{N:"true"},{N:"ufCall",line:"790",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"7",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" must be the root element of a document, or the child of xsl:package"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"templateRule",prec:"0", +prio:"0.9",seq:"17",rank:"3",minImp:"0",slots:"0",matches:"NE",flags:"s",line:"1017",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"filter",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1017",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, +{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"14",rank:"0",minImp:"0",slots:"26",matches:"NE",flags:"s",line:"834",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"835",C:[{N:"param",name:"Q{}required-version",slot:"0",as:"?AD",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|required-version", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|required-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|required-version",C:[{N:"data",diag:"8|0|XTTE0590|required-version",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"836",name:"Q{}has-uniform-static-context",slot:"1",flags:"ti",as:"1AB",C:[{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|has-uniform-static-context", +C:[{N:"data",diag:"8|0|XTTE0590|has-uniform-static-context",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"837",name:"Q{}extension-element-namespaces",slot:"2",flags:"t",as:"*AS",C:[{N:"empty",role:"select"},{N:"convert",role:"conversion",from:"A",to:"AS",flags:"p",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"data",diag:"8|0|XTTE0590|extension-element-namespaces",C:[{N:"supplied",slot:"2"}]}]}]}]},{N:"choose", +line:"841",C:[{N:"varRef",line:"842",name:"Q{}has-uniform-static-context",slot:"1"},{N:"copy",line:"843",flags:"in",sit:"1NE",C:[{N:"let",role:"content",line:"844","var":"Q{}lineNo",slot:"3",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"4",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"5",C:[{N:"ifCall", +name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"4"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"5"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"4"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"5"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"845",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"compareToInt",op:"ne",val:"-1", +C:[{N:"varRef",name:"Q{}lineNo",slot:"3"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}lineNo",slot:"3"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"6",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:line-number", +C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln", +slot:"7",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"6"}]},{N:"choose",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"7"},{N:"int",val:"-1"}]},{N:"instance",of:"1NE",C:[{N:"varRef",name:"Q{}node",slot:"6"}]}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"6"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"7"}]}]}]}]}]}]}]}]}]}]}]}, +{N:"att",line:"846",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}lineNo",slot:"3"}]}]}]},{N:"choose",line:"848",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{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:"att",line:"849",name:"ex:baseUri",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l", +C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"choose",line:"851",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",line:"852",name:"ex:exclude",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",line:"909",C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"slash",C:[{N:"dot",line:"852",type:"1NE",flags:"a"},{N:"fn",name:"reverse", +C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"true"},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]}]}]}, +{N:"let",line:"910","var":"Q{}owner",as:"*N u[NE,ND]",slot:"8",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"choose",line:"912",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]}]}]},{N:"forEach",line:"913",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}owner",slot:"8"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NN"}]}]},{N:"true"},{N:"let",line:"923","var":"Q{http://saxon.sf.net/generated-variable}v0", +as:"1NE i[NE,N u[NE,ND]]",slot:"9",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}owner",slot:"8"}]},{N:"forEach",C:[{N:"forEach",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:"1NA"}]}]}]}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot", +type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"dot",type:"1AS"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"9"}]}]},{N:"fn",name:"string",C:[{N:"dot",type:"1AU"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"forEach",line:"854",C:[{N:"union",op:"|",C:[{N:"slash",simple:"1",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis", +name:"child",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]},{N:"att",line:"855",name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"let",line:"857","var":"Q{}shadows",as:"*NA",slot:"10",C:[{N:"filter",flags:"b", +C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"858",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"10"}]}]}]},{N:"applyT",line:"859",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"10"}]},{N:"callT",line:"860",name:"Q{}staticText", +bSlot:"8"}]}]}]}]}]},{N:"true"},{N:"copy",line:"864",flags:"cin",sit:"1NE",C:[{N:"sequence",role:"content",line:"866",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]},{N:"fn",name:"not",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}n1",as:"1NE",slot:"11",C:[{N:"dot", +ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE",flags:"a"},{N:"let","var":"Q{}n2",as:"1NE",slot:"12",C:[{N:"treat",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",as:"NE",diag:"0|1||f:has-same-namespaces",C:[{N:"check",card:"1",diag:"0|1||f:has-same-namespaces",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]},{N:"let",module:"namespaces.xsl", +line:"120","var":"Q{}n1.prefixes",as:"*AS",slot:"13",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"varRef",name:"Q{}n1",slot:"11"}]},{N:"let",line:"121","var":"Q{}n2.prefixes",as:"*AS",slot:"14",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"varRef",name:"Q{}n2",slot:"12"}]},{N:"and",line:"127",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}n1.prefixes",slot:"13"}]},{N:"fn",name:"count",C:[{N:"varRef",name:"Q{}n2.prefixes",slot:"14"}]}]},{N:"every","var":"Q{}p", +slot:"15",C:[{N:"varRef",name:"Q{}n1.prefixes",slot:"13"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}n2.prefixes",slot:"14"},{N:"varRef",name:"Q{}p",slot:"15"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"15"},{N:"varRef",name:"Q{}n1",slot:"11"}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}p",slot:"15"},{N:"varRef",name:"Q{}n2",slot:"12"}]}]}]}]}]}]}]}]}]}]}]},{N:"att", +line:"867",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"16",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",type:"1NE",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn", +name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]}, +{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"16"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"9"},{N:"fn",name:"name", +C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"let",line:"869","var":"Q{}base",as:"?AU",slot:"17",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"sequence",line:"870",C:[{N:"choose",C:[{N:"vc",op:"ne",onEmpty:"1",comp:"CCC",C:[{N:"varRef",name:"Q{}base",slot:"17"},{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:"att",line:"871",name:"ex:baseUri",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"varRef",name:"Q{}base",slot:"17"}]}]}]},{N:"choose",line:"873",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"att",line:"874",name:"ex:exclude",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",line:"909", +C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"slash",C:[{N:"dot",line:"874",type:"1NE",flags:"a"},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"true"},{N:"sequence",C:[{N:"axis",name:"attribute", +nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]}]}]},{N:"let",line:"910","var":"Q{}owner",as:"*N u[NE,ND]",slot:"18",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"choose",line:"912",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]}]}]},{N:"forEach",line:"913",C:[{N:"slash", +simple:"2",C:[{N:"varRef",name:"Q{}owner",slot:"18"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NN"}]}]},{N:"true"},{N:"let",line:"923","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"19",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}owner",slot:"18"}]},{N:"forEach",C:[{N:"forEach",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:"1NA"}]}]}]}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot",type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"dot",type:"1AS"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"19"}]}]},{N:"fn",name:"string",C:[{N:"dot",type:"1AU"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]},{N:"forEach",line:"876",C:[{N:"union",op:"|", +C:[{N:"slash",simple:"1",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"slash",simple:"2",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}xpath-default-namespace"}]}]},{N:"att",line:"877", +name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"let",line:"879","var":"Q{}lineNo",slot:"20",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"21",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE",flags:"a"},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"21"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]},{N:"let","var":"Q{}ln",slot:"22",C:[{N:"ifCall", +name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"21"}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"22"},{N:"int",val:"-1"}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"21"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}ln",slot:"22"}]}]}]}]}]}]}]}]}]},{N:"sequence",line:"880",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"compareToInt",op:"ne", +val:"-1",C:[{N:"varRef",name:"Q{}lineNo",slot:"20"}]},{N:"vc",op:"ne",onEmpty:"1",comp:"CAVC",C:[{N:"varRef",name:"Q{}lineNo",slot:"20"},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"23",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",card:"1", +diag:"0|0||f:line-number",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]},{N:"treat",module:"lib.xsl",line:"19",as:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"cvUntyped",to:"ADI",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"data",diag:"5|0|XTTE0780|f:line-number#1",C:[{N:"first",C:[{N:"sequence",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}lineNr"}]}, +{N:"let","var":"Q{}ln",slot:"24",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}line-number",type:"?ADI",C:[{N:"varRef",name:"Q{}node",slot:"23"}]},{N:"choose",C:[{N:"and",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}ln",slot:"24"},{N:"int",val:"-1"}]},{N:"instance",of:"1NE",C:[{N:"varRef",name:"Q{}node",slot:"23"}]}]},{N:"homCheck",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"fn",name:"accumulator-before",C:[{N:"str",val:"number"}]}]}]},{N:"true"},{N:"varRef", +name:"Q{}ln",slot:"24"}]}]}]}]}]}]}]}]}]}]}]},{N:"att",line:"881",name:"ex:lineNr",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}lineNo",slot:"20"}]}]}]},{N:"let",line:"883","var":"Q{}shadows",as:"*NA",slot:"25",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"884",C:[{N:"applyT",flags:"c",bSlot:"-1", +C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"25"}]}]}]},{N:"applyT",line:"885",flags:"c",bSlot:"-1",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"25"}]},{N:"callT",line:"886",name:"Q{}staticText",bSlot:"10"}]}]}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"8",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"s",line:"770",module:"static.xsl", +C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}text"},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"771",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall",line:"772",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"11",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"a"}]},{N:"str",val:" cannot contain element "}]},{N:"slash",C:[{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}text",flags:"a"}]}]},{N:"nextMatch",line:"774",flags:"t",C:[{N:"withParam",name:"Q{}xml-space-preserve",flags:"t",as:"1AB",C:[{N:"true"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"18",part:"1",rank:"2",minImp:"0", +slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"1019",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1019",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"1020",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"12",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Non-global "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",val:" "}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" cannot be static"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5", +seq:"18",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"1019",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"},{N:"axis",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"1019",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"1020",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Non-global "},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",val:" "}]},{N:"data",diag:"0|1||fn:concat",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"str",val:" cannot be static"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5", +seq:"13",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"s",line:"802",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"802",name:"not",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"normalize.xsl",line:"777",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"802",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]}, +{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"803",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",C:[{N:"str",val:"XTSE0190"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"a"}]},{N:"str",val:" must be a top-level component"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}import", +flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"11",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}import",flags:"s",line:"796",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"796",C:[{N:"axis",name:"child",nodeTest:"NE"}, +{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"797",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE", +flags:"a"}]},{N:"str",val:" cannot have any content"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.0",seq:"9",rank:"4",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"s",line:"779",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"p.nodeTest",test:"NE"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"780",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"a"}]},{N:"str",val:" must be a the root element of a document"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"12",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}include", +flags:"s",line:"799",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"799",name:"not",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"normalize.xsl", +line:"777",C:[{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"799",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]},{N:"ufCall",role:"action", +ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"800",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",C:[{N:"str",val:"XTSE0170"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"a"}]},{N:"str",val:" must be a top-level component"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"a"}]}]},{N:"templateRule", +prec:"0",prio:"0.5",seq:"11",part:"1",rank:"2",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}include",flags:"s",line:"796",module:"static.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"},{N:"sequence",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"796",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"filter",flags:"b", +C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"797",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"18",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str", +val:" cannot have any content"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"7",rank:"2",minImp:"0",slots:"7",matches:"NA",flags:"s",line:"740",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"true",C:[{N:"p.withPredicate",C:[{N:"p.nodeTest",test:"NA"},{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"740",name:"starts-with",C:[{N:"fn", +name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"741",C:[{N:"param",name:"Q{}static-vars",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1", +diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"742",name:"Q{}var-slots",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"743",name:"Q{}stylesheet-base-uri",slot:"2",flags:"t",as:"1AU",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|stylesheet-base-uri",C:[{N:"fn",name:"base-uri", +C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"744",name:"Q{}xpath-default-namespace",slot:"3",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace", +C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"3"}]}]}]},{N:"let",line:"745","var":"Q{}container",as:"1NE c~untyped",slot:"4",C:[{N:"let",line:"746","var":"Q{}dot",as:"*N u[NE,ND]",slot:"5",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"750","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"6",flags:"l",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}dot",slot:"5"}]}, +{N:"compElem",line:"747",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"3"}]}]}]},{N:"forEach",role:"content",line:"748",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"check",card:"1",diag:"0|0||fn:in-scope-prefixes",C:[{N:"varRef",name:"Q{}dot",slot:"5"}]}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"750",flags:"l",C:[{N:"fn", +role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]}]},{N:"compAtt",line:"755",C:[{N:"fn",role:"name",name:"substring",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"int",val:"2"}]},{N:"fn",role:"select",line:"757", +name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"forEach",line:"758",C:[{N:"ufCall",line:"757",name:"Q{MyFunctions}parse-value-template",tailCall:"false",bSlot:"19",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||f:parse-value-template",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:parse-value-template",C:[{N:"data",diag:"0|0||f:parse-value-template",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"dot",type:"1NA",flags:"a"}]},{N:"choose",line:"759",C:[{N:"compareToString", +line:"760",op:"eq",val:"literal",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"valueOf",line:"760",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA"}]}]}]},{N:"true"},{N:"evaluate",line:"763",dxns:"",C:[{N:"convert",role:"xpath",from:"AZ",to:"AS",flags:"p",diag:"4|0||xsl:evaluate/xpath",C:[{N:"cvUntyped",to:"AS",diag:"4|0||xsl:evaluate/xpath",C:[{N:"data",diag:"4|0||xsl:evaluate/xpath",C:[{N:"dot",type:"1NA"}]}]}]},{N:"empty",role:"cxt"},{N:"convert",role:"baseUri", +from:"AU",to:"AS",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"2"}]},{N:"varRef",role:"nsCxt",name:"Q{}container",slot:"4"},{N:"str",role:"sa",val:"no"},{N:"ifCall",role:"options",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:"allow-xslt-functions"},{N:"true"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots",slot:"1"}]},{N:"map", +size:"1",C:[{N:"str",val:"allow-empty"},{N:"true"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",role:"wp",name:"Q{}static-vars",slot:"0"}]}]}]}]}]}]},{N:"str",val:""}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"22",part:"1",rank:"2",minImp:"0",slots:"0",matches:"NA nQ{}use-when",flags:"s",line:"1188",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false", +C:[{N:"p.nodeTest",test:"NA nQ{}use-when"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"22",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when",flags:"s",line:"1188",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}use-when"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"15",part:"1",rank:"1", +minImp:"0",slots:"2",matches:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes",flags:"s",line:"892",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"895","var":"Q{}discard",slot:"1",C:[{N:"applyT",mode:"Q{}normalize",bSlot:"20",C:[{N:"dot",role:"select", +type:"1NA",flags:"a"}]},{N:"subscript",line:"897",C:[{N:"varRef",name:"Q{}discard",slot:"1"},{N:"int",val:"100000"}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"15",rank:"2",minImp:"0",slots:"2",matches:"NA nQ{}exclude-result-prefixes",flags:"s",line:"892",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NA nQ{}exclude-result-prefixes"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"let",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", +line:"894","var":"Q{}discard",slot:"0",C:[{N:"applyT",line:"895",mode:"Q{}normalize",bSlot:"21",C:[{N:"dot",role:"select",type:"1NA",flags:"a"}]},{N:"subscript",line:"897",C:[{N:"varRef",name:"Q{}discard",slot:"0"},{N:"int",val:"100000"}]}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"23",rank:"0",minImp:"0",slots:"0",matches:"NC",flags:"s",line:"1189",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NC"},{N:"empty",role:"action"}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"23",part:"1", +rank:"0",minImp:"0",slots:"0",matches:"NP",flags:"s",line:"1189",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NP"},{N:"empty",role:"action"}]}]}]},{N:"co",id:"290",binds:"",C:[{N:"function",name:"Q{MyTypes}cardinalityCode",line:"46",module:"type.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}indic",as:"?AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"66", +C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"*"}]},{N:"str",val:"Z1M"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"+"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}indic",slot:"0"}]}]},{N:"str",val:"1"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"?"}]},{N:"str",val:"Z1"},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC", +C:[{N:"varRef",name:"Q{}indic",slot:"0"},{N:"str",val:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]}]}]},{N:"co",id:"79",binds:"",C:[{N:"globalVariable",name:"Q{}roles",as:"1FM k[AS] v[1NA]",line:"577",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"587",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", +type:"1FM",C:[{N:"forEach",C:[{N:"literal",count:"31",C:[{N:"str",val:"action"},{N:"str",val:"select"},{N:"str",val:"match"},{N:"str",val:"body"},{N:"str",val:"content"},{N:"str",val:"sort"},{N:"str",val:"separator"},{N:"str",val:"caseOrder"},{N:"str",val:"dataType"},{N:"str",val:"collation"},{N:"str",val:"name"},{N:"str",val:"namespace"},{N:"str",val:"on-completion"},{N:"str",val:"baseUri"},{N:"str",val:"href"},{N:"str",val:"regex"},{N:"str",val:"flags"},{N:"str",val:"forEachItem"},{N:"str",val:"forEachStream"}, +{N:"str",val:"selectRows"},{N:"str",val:"startAt"},{N:"str",val:"format"},{N:"str",val:"count"},{N:"str",val:"gpSep"},{N:"str",val:"gpSize"},{N:"str",val:"stable"},{N:"str",val:"order"},{N:"str",val:"ordinal"},{N:"str",val:"lang"},{N:"str",val:"error"},{N:"str",val:"terminate"}]},{N:"ifCall",line:"588",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"att",line:"589",name:"role",C:[{N:"dot",type:"1AS"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"}, +{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"co",id:"291",binds:"",C:[{N:"function",name:"Q{MyFunctions}comparableMergeKeys",line:"87",module:"merging.xsl",flags:"pU",as:"1AB",slots:"5",C:[{N:"arg",name:"Q{}k1",as:"1FA v[1FM]"},{N:"arg",name:"Q{}k2",as:"1FA v[1FM]"},{N:"and",role:"body",ns:"=http://ns.saxonica.com/xslt/export array=~ doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"100",op:"and",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CAVC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"0"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k2",slot:"1"}]}]},{N:"every","var":"Q{}k",slot:"2",C:[{N:"to",C:[{N:"int",val:"1"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}size",type:"1ADI",C:[{N:"varRef",name:"Q{}k1",slot:"0"}]}]}, +{N:"let","var":"Q{}a",slot:"3",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k1",slot:"0"},{N:"varRef",name:"Q{}k",slot:"2"}]},{N:"str",val:"p"}]},{N:"let","var":"Q{}b",slot:"4",C:[{N:"lookup",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/array}get",type:"*",C:[{N:"varRef",name:"Q{}k2",slot:"1"},{N:"varRef",name:"Q{}k",slot:"2"}]},{N:"str",val:"p"}]},{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"vc",op:"eq",onEmpty:"0", +comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}a",slot:"3"}]},{N:"atomSing",card:"?",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}b",slot:"4"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring", +C:[{N:"varRef",name:"Q{}a",slot:"3"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]},{N:"fn",name:"substring",C:[{N:"check",card:"?",diag:"0|0||fn:substring",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||fn:substring",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:substring",C:[{N:"data",diag:"0|0||fn:substring",C:[{N:"varRef",name:"Q{}b",slot:"4"}]}]}]}]},{N:"int",val:"1"},{N:"int",val:"2"}]}]}]},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"sequence", +C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}a",slot:"3"}]},{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}b",slot:"4"}]}]},{N:"literal",count:"2",C:[{N:"str",val:"A"},{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]},{N:"co",id:"292",binds:"",C:[{N:"function",name:"Q{MyFunctions}lastCommon",line:"791",module:"type.xsl",flags:"pU",as:"1AS",slots:"5",C:[{N:"arg",name:"Q{}set1",as:"*AS"},{N:"arg",name:"Q{}set2",as:"*AS"},{N:"arg",name:"Q{}default",as:"1AS"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"796",card:"1",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"data",diag:"5|0|XTTE0780|f:lastCommon#3",C:[{N:"iterate",C:[{N:"varRef",role:"select",name:"Q{}set1",slot:"0"},{N:"params",role:"params",line:"797",C:[{N:"param",name:"Q{}common",slot:"3",C:[{N:"varRef",role:"select",name:"Q{}default",slot:"2"},{N:"supplied",role:"conversion",slot:"3"}]},{N:"param", +line:"798",name:"Q{}this2",slot:"4",C:[{N:"varRef",role:"select",name:"Q{}set2",slot:"1"},{N:"supplied",role:"conversion",slot:"4"}]}]},{N:"varRef",role:"on-completion",line:"799",name:"Q{}common",slot:"3"},{N:"choose",role:"action",line:"801",C:[{N:"vc",line:"802",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1AS"},{N:"atomSing",card:"?",diag:"1|1||eq",C:[{N:"first",C:[{N:"varRef",name:"Q{}this2",slot:"4"}]}]}]},{N:"nextIteration",line:"803", +C:[{N:"withParam",name:"Q{}common",as:"1",slot:"3",C:[{N:"dot",line:"804",type:"1AS"}]},{N:"withParam",name:"Q{}this2",slot:"4",C:[{N:"tail",line:"805",start:"2",C:[{N:"varRef",name:"Q{}this2",slot:"4"}]}]}]},{N:"true"},{N:"sequence",line:"809",C:[{N:"varRef",name:"Q{}common",slot:"3"},{N:"break"}]}]}]}]}]}]}]}]}]},{N:"co",id:"293",binds:"",C:[{N:"function",name:"Q{MyTypes}allowsZeroNEW",line:"131",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"1AS"},{N:"fn", +role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"133",name:"contains",C:[{N:"choose",line:"66",C:[{N:"compareToString",line:"133",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z1M"},{N:"compareToString",line:"133",op:"eq",val:"+",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",line:"133",name:"Q{}cardinality", +slot:"0"}]},{N:"str",val:"1"},{N:"compareToString",line:"133",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z1"},{N:"compareToString",line:"133",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"str",val:"Z"}]}]}]},{N:"co",id:"294",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.EXACTLY_ONE",as:"1ADI",line:"112",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co", +id:"1",binds:"0",C:[{N:"function",name:"Q{MyTypes}unmarshalType",line:"68",module:"sequenceType.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"70",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType0",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}type",slot:"0"}]}]}]}]},{N:"co",id:"295",binds:"1 118",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_ITEM", +as:"1AS",line:"46",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"46",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_ITEM",bSlot:"1"}]}]}]},{N:"co",id:"296",binds:"1 278",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_UNTYPED_ATOMIC",as:"1AS",line:"61",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"61",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_UNTYPED_ATOMIC",bSlot:"1"}]}]}]},{N:"co",id:"245",binds:"106 106 48 170 29 190 22 22",C:[{N:"mode",name:"Q{}compile",onNo:"SC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"1.5",seq:"374",rank:"1",minImp:"0",slots:"10",matches:"NE",flags:"s",line:"351",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.venn",role:"match",op:"union",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"}, +{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}]},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"352",C:[{N:"param",name:"Q{}stylesheet-base-uri",slot:"0",flags:"t",as:"?AU",C:[{N:"fn",role:"select",name:"base-uri",C:[{N:"dot", +type:"1NE",flags:"a"}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"353",name:"Q{}options",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check", +card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"354",name:"Q{}defaultHTML5",slot:"2",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"choose",line:"356",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options", +slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"357",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting static processing for"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:"baseURI:"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"359","var":"Q{}static-processed",as:"1ND",slot:"3",C:[{N:"doc",line:"360",C:[{N:"copy", +flags:"cinl",sit:"1NE",C:[{N:"let",role:"content",line:"361","var":"Q{}shadows",as:"*NA",slot:"4",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"starts-with",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:"_"}]}]},{N:"sequence",line:"362",C:[{N:"applyT",mode:"Q{}static",bSlot:"0",C:[{N:"except",role:"select",op:"except",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"docOrder",intra:"0",C:[{N:"varRef",name:"Q{}shadows",slot:"4"}]}]}]},{N:"applyT", +line:"364",mode:"Q{}static",bSlot:"1",C:[{N:"varRef",role:"select",name:"Q{}shadows",slot:"4"}]},{N:"att",line:"365",name:"ex:ns",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"5",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef", +name:"Q{}context",slot:"5"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"5"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"2"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"choose",line:"366",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]},{N:"att",line:"367",name:"ex:defaultElementNS",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"}]}]}]}]},{N:"let",line:"369","var":"Q{}temp",as:"1FM",slot:"6",C:[{N:"treat",line:"370",as:"FM",diag:"3|0|XTTE0570|temp",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|temp",C:[{N:"applyT",mode:"Q{}process-module",bSlot:"3",C:[{N:"dot",role:"select",type:"1NE",flags:"a"},{N:"withParam",name:"Q{}stylesheet-base-uri",flags:"t",as:"1AU",C:[{N:"check",line:"372",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri", +C:[{N:"first",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"0"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]}]}]}]}]},{N:"lookup",line:"375",C:[{N:"varRef",name:"Q{}temp",slot:"6"},{N:"str",val:"components"}]}]}]}]}]}]},{N:"sequence",line:"379",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"380",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Static processed:"},{N:"fn",name:"serialize", +C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"382",C:[{N:"lookup",line:"383",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"justStatic"}]},{N:"copyOf",line:"384",flags:"c",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}]},{N:"true"},{N:"sequence",line:"387",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"statistics"}]}, +{N:"message",line:"388",C:[{N:"sequence",role:"select",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Static statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",val:" declarations\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"}, +{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]},{N:"str",val:"\n attributes "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef", +name:"Q{}static-processed",slot:"3"},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"}]}]}]},{N:"str",val:" ex:* attributes "}]}]},{N:"let",line:"392","var":"Q{}largest",as:"?ADI",slot:"7",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"count",C:[{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"sequence", +line:"388",C:[{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"\n "},{N:"fn",name:"string",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}largest",slot:"7"}]}]},{N:"str",val:" largest tree "},{N:"fn",name:"serialize",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",comp:"CAVC",C:[{N:"fn",name:"count",C:[{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"varRef", +line:"389",name:"Q{}largest",slot:"7"}]}]}]},{N:"str",val:" "}]}]},{N:"let",line:"396","var":"Q{}deepest",as:"?ADI",slot:"8",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"fn",name:"count",C:[{N:"axis",name:"ancestor",nodeTest:"NE"}]}]}]},{N:"valueOf",line:"388",C:[{N:"fn",name:"concat",C:[{N:"str",val:" "},{N:"fn",name:"string", +C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}deepest",slot:"8"}]}]},{N:"str",val:"\n deepest tree "},{N:"fn",name:"serialize",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}static-processed",slot:"3"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"vc",op:"eq",comp:"CAVC",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"axis",name:"descendant",nodeTest:"NE"},{N:"fn",name:"count",C:[{N:"axis",name:"ancestor",nodeTest:"NE"}]}]}]},{N:"varRef",line:"389", +name:"Q{}deepest",slot:"8"}]}]}]}]}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"400",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"401",C:[{N:"str",role:"select",val:"Starting Normalization"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"403","var":"Q{}normalized", +slot:"9",C:[{N:"applyT",line:"404",mode:"Q{}normalize",bSlot:"4",C:[{N:"varRef",role:"select",name:"Q{}static-processed",slot:"3"},{N:"withParam",name:"Q{}allowSyntaxExtensions",flags:"t",as:"1",C:[{N:"first",line:"408",C:[{N:"sequence",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"allowSyntaxExtensions"}]},{N:"false"}]}]}]}]},{N:"choose",line:"411",C:[{N:"lookup",line:"412",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"justNormalize"}]},{N:"varRef",line:"413", +name:"Q{}normalized",slot:"9"},{N:"true"},{N:"sequence",line:"416",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"1"},{N:"str",val:"traceProgress"}]},{N:"message",line:"417",C:[{N:"str",role:"select",val:"Starting XSLT compiling"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"419",mode:"Q{}sef.top",flags:"t",bSlot:"5",C:[{N:"varRef",role:"select",name:"Q{}normalized",slot:"9"}]}]}]}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"1.0",seq:"375",rank:"0",minImp:"0",slots:"6",matches:"NE",flags:"s",line:"427",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE"},{N:"p.nodeTest",test:"ND"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"428",C:[{N:"param", +name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"429",name:"Q{}defaultHTML5",slot:"1",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|defaultHTML5", +C:[{N:"data",diag:"8|0|XTTE0590|defaultHTML5",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"let",line:"431","var":"Q{}embedded",as:"*NE",slot:"2",C:[{N:"axis",name:"descendant",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform]"},{N:"let",line:"432","var":"Q{}stylesheet-base-uri",as:"1AU",slot:"3",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|stylesheet-base-uri",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"choose", +line:"434",C:[{N:"fn",line:"435",name:"exists",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}embedded",slot:"2"}]}]},{N:"ufCall",line:"438",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"6",C:[{N:"str",val:"XTSE0150"},{N:"str",val:"There must not be more than one embedded stylesheet in a document"},{N:"dot",type:"1NE",flags:"a"}]},{N:"fn",line:"440",name:"exists",C:[{N:"varRef",name:"Q{}embedded",slot:"2"}]},{N:"let",line:"449","var":"Q{}temp",as:"1ND",slot:"4",C:[{N:"doc",line:"450", +C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",line:"442",simple:"1",C:[{N:"doc",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}embedded",slot:"2"},{N:"copy",line:"443",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",line:"444",C:[{N:"att",name:"xml:base",nsuri:"http://www.w3.org/XML/1998/namespace",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"copyOf",line:"445",flags:"sc",C:[{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"copyOf", +line:"445",flags:"sc",C:[{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]},{N:"axis",line:"450",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}stylesheet-base-uri",flags:"t",as:"1AU",C:[{N:"first",line:"452",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"3"},{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]}]}]}]},{N:"slash",line:"456",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]}]},{N:"true"},{N:"sequence", +line:"459",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"ufCall",line:"467",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"7",C:[{N:"str",val:"XTSE0150"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}package"}]},{N:"str",val:"Supplied stylesheet is a SEF package"},{N:"true"},{N:"str",val:"Simplified stylesheet root element lacks @xsl:version"}]}, +{N:"dot",type:"1NE",flags:"a"}]}]},{N:"let",line:"481","var":"Q{}processed",as:"1ND",slot:"5",C:[{N:"treat",line:"482",as:"ND",diag:"3|0|XTTE0570|processed",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|processed",C:[{N:"applyT",flags:"c",bSlot:"-1",C:[{N:"slash",role:"select",line:"470",simple:"1",C:[{N:"doc",C:[{N:"elem",line:"471",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"att",line:"472",name:"xml:base",nsuri:"http://www.w3.org/XML/1998/namespace",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"474",name:"xsl:template",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"match",flags:"l",C:[{N:"str",val:"/"}]},{N:"copy",line:"475",flags:"cinl",sit:"1NE", +C:[{N:"sequence",role:"content",line:"476",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"N u[NT,NC,NE,NP]"}]}]}]}]}]}]}]},{N:"axis",line:"482",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}stylesheet-base-uri",flags:"t",as:"1AU",C:[{N:"varRef",line:"484",name:"Q{}stylesheet-base-uri",slot:"3"}]}]}]}]},{N:"slash",line:"487",simple:"1",C:[{N:"varRef",name:"Q{}processed",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"297",binds:"", +C:[{N:"globalVariable",name:"Q{}XTTE0510",as:"1AQ",line:"342",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0510"}]}]},{N:"co",id:"143",binds:"1 179",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_STRING",as:"1AS",line:"60",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"60",name:"Q{MyTypes}unmarshalType", +tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_STRING",bSlot:"1"}]}]}]},{N:"co",id:"192",binds:"22 237 43 11 11",C:[{N:"mode",name:"Q{}serialization-property",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.25",seq:"204",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{http://ns.saxonica.com/xslt/export}*",flags:"s",line:"112",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{http://ns.saxonica.com/xslt/export}*"},{N:"empty",role:"action"}]}, +{N:"templateRule",prec:"0",prio:"-0.5",seq:"205",rank:"0",minImp:"0",slots:"1",matches:"NA",flags:"s",line:"114",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"115",C:[{N:"param",name:"Q{}group",slot:"0",flags:"i",as:"+NA",C:[{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check", +card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"choose",line:"117",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]}]}]},{N:"ufCall",line:"120",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE1560"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:output declarations contain conflicting values for property "}, +{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"str",val:":"}]},{N:"fn",name:"string-join",C:[{N:"fn",name:"distinct-values",C:[{N:"data",diag:"0|0||fn:distinct-values",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]},{N:"str",val:","}]}]},{N:"first",C:[{N:"varRef",name:"Q{}group",slot:"0"}]}]}]},{N:"choose",line:"122",C:[{N:"and",line:"123",op:"and",C:[{N:"compareToString",op:"eq",val:"version",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"fn",name:"not",C:[{N:"fn", +name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"125",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"version"}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"and",line:"127",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}serialization-properties",bSlot:"1"},{N:"fn",name:"local-name", +C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"elem",line:"129",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]},{N:"fn",line:"131",name:"namespace-uri",C:[{N:"dot", +type:"1NA",flags:"a"}]},{N:"elem",line:"133",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"2",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"att",name:"value",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]}]}]}]}]}]}, +{N:"templateRule",prec:"0",prio:"0.0",seq:"206",part:"1",rank:"2",minImp:"0",slots:"7",matches:"NA nQ{}suppress-indentation",flags:"s",line:"138",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}suppress-indentation"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"139",C:[{N:"param",name:"Q{}group",slot:"0",flags:"i",as:"+NA",C:[{N:"treat", +role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check",card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"140","var":"Q{}decl",as:"*N u[NE,ND]",slot:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"?AS",slot:"5",flags:"l",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped",to:"AS",diag:"0|3||f:EQName",C:[{N:"fn",name:"namespace-uri-for-prefix", +C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"4"}]}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"6",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"4"}]},{N:"elem",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA", +flags:"a"}]}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}group",slot:"0"},{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:"1NA"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"3",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", +slot:"6"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"5"}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"206",rank:"2",minImp:"0",slots:"7",matches:"NA nQ{}cdata-section-elements",flags:"s",line:"138",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}cdata-section-elements"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"139",C:[{N:"param",name:"Q{}group",slot:"0",flags:"i",as:"+NA",C:[{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|group",C:[{N:"check",card:"+",diag:"8|0|XTTE0590|group",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"140","var":"Q{}decl",as:"*N u[NE,ND]",slot:"1",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"142","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"?AS",slot:"2",flags:"l",C:[{N:"convert",from:"AU",to:"AS",flags:"p",diag:"0|3||f:EQName",C:[{N:"cvUntyped", +to:"AS",diag:"0|3||f:EQName",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"1"}]}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"3",flags:"l",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"1"}]},{N:"elem",name:"property",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name", +flags:"l",C:[{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"att",name:"value",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}group",slot:"0"},{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:"1NA"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"4",C:[{N:"dot", +type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"2"}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"31",binds:"",C:[{N:"function",name:"Q{MyFunctions}selectAndContent",line:"22",module:"normalize4.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}instruction",as:"1NE"},{N:"and",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", line:"24",op:"and",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}instruction",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"fn",name:"exists",C:[{N:"slash",C:[{N:"varRef",name:"Q{}instruction",slot:"0"},{N:"sequence",C:[{N:"axis",name:"child",nodeTest:"NE d[NE,NE nQ{http://www.w3.org/1999/XSL/Transform}fallback]"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string", -C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"287",binds:"161",C:[{N:"function",name:"Q{MyTypes}data",line:"901",module:"type.xsl",eval:"9",flags:"pU",as:"1NE",slots:"2",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"elem",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"904",name:"data",nsuri:"http://ns.saxonica.com/xslt/export", -flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.MULTIPLE_ATOMIC",bSlot:"0"}]},{N:"slash",line:"905",simple:"1",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}role"}]},{N:"varRef",line:"905",name:"Q{}expression",slot:"0"}]}]}]}]},{N:"co",id:"200",binds:"13 281",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_TEXT",as:"1AS",line:"49",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"49",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_TEXT",bSlot:"1"}]}]}]},{N:"co",id:"288",binds:"",C:[{N:"function",name:"Q{MyTypes}typeOf",line:"1204",module:"type.xsl",eval:"16",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}item",as:"1"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1207",C:[{N:"instance", -of:"1N",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1209",C:[{N:"instance",of:"1NE",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NE"},{N:"instance",line:"1210",of:"1NA",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NA"},{N:"instance",line:"1211",of:"1NT",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NT"},{N:"instance",line:"1212",of:"1NC",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"NC"},{N:"instance",line:"1213",of:"1NP",C:[{N:"varRef",name:"Q{}item", -slot:"0"}]},{N:"str",val:"NP"},{N:"instance",line:"1214",of:"1ND",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"ND"},{N:"true"},{N:"str",val:"N"}]},{N:"instance",line:"1218",of:"1A",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1220",C:[{N:"instance",of:"1AS",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AS"},{N:"instance",line:"1221",of:"1AB",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AB"},{N:"instance",line:"1222",of:"1AD",C:[{N:"varRef",name:"Q{}item", -slot:"0"}]},{N:"str",val:"AD"},{N:"instance",line:"1223",of:"1ADI",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"ADI"},{N:"instance",line:"1224",of:"1AQ",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AQ"},{N:"instance",line:"1225",of:"1AU",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AU"},{N:"instance",line:"1226",of:"1AA",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AA"},{N:"instance",line:"1227",of:"1AM",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str", -val:"AM"},{N:"instance",line:"1228",of:"1AT",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AT"},{N:"instance",line:"1229",of:"1AR",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AR"},{N:"instance",line:"1230",of:"1AO",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AO"},{N:"instance",line:"1231",of:"1AF",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AF"},{N:"instance",line:"1232",of:"1A2",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"A2"},{N:"instance", -line:"1233",of:"1AX",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AX"},{N:"instance",line:"1234",of:"1AZ",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"AZ"},{N:"true"},{N:"str",val:"A"}]},{N:"instance",line:"1238",of:"1F",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"choose",line:"1240",C:[{N:"instance",of:"1FM",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"FM"},{N:"instance",line:"1241",of:"1FM",C:[{N:"varRef",name:"Q{}item",slot:"0"}]},{N:"str",val:"FA"},{N:"true"}, -{N:"str",val:"F"}]},{N:"true"},{N:"str",val:"J"}]}]}]},{N:"co",id:"107",binds:"",C:[{N:"function",name:"Q{MyTypes}marshalType",line:"187",module:"sequenceType.xsl",eval:"16",flags:"pmU",as:"1FM",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"treat",role:"body",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"189",as:"FM",diag:"5|0|XTTE0780|t:marshalType#1",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}marshal-type",type:"1F",C:[{N:"varRef", -name:"Q{}type",slot:"0"}]}]}]}]},{N:"co",id:"186",binds:"13 174",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_ITEM",as:"1AS",line:"45",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"45",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ITEM",bSlot:"1"}]}]}]},{N:"co",id:"172",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg963014210", -as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str", -val:"0"},{N:"str",val:"XTTE0505"},{N:"str",val:"template result"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"203",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}COLON",as:"1ADI",line:"19",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"58"}]}]},{N:"co",id:"167",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg109987815",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTDE0030"},{N:"str",val:"xsl:number/@lang"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"289",binds:"52",C:[{N:"function",name:"Q{MyFunctions}decode-namespaces",line:"85",module:"namespaces.xsl",eval:"8",flags:"pU",as:"?FM", -slots:"3",C:[{N:"arg",name:"Q{}ns",as:"*"},{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"98",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}ns",slot:"0"}]}]}]},{N:"let","var":"Q{}prefix",slot:"1",eval:"8", -C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"2",eval:"8",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"1"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef", -name:"Q{}known-namespaces",bSlot:"0"},{N:"varRef",name:"Q{}prefix",slot:"1"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"2"}]}]}]}]}]},{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:"290",binds:"52",C:[{N:"function",name:"Q{MyFunctions}encode-namespaces",line:"44",module:"namespaces.xsl",eval:"16",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash", -C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns",chk:"0"}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|2||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"co",id:"220",binds:"109",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg504138124",as:"*NE",line:"130",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"slash",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"130",simple:"1",C:[{N:"gVarRef",name:"Q{}type.hierarchy.tree",bSlot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"co",id:"266",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg522796215",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join", -C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:remove-property/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"180",binds:"180",C:[{N:"function",name:"Q{MyFunctions}requiresNodeTest",line:"1180",module:"xpath.xsl",eval:"16",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg", +C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"298",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.OVERLAPS",as:"1AS",line:"166",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"OV"}]}]},{N:"co",id:"299",binds:"52",C:[{N:"function",name:"Q{MyFunctions}diagnostic",line:"284",module:"lib.xsl",flags:"pU",as:"1NA",slots:"4",C:[{N:"arg",name:"Q{}kind",as:"*"},{N:"arg",name:"Q{}operand",as:"*"},{N:"arg",name:"Q{}error.code",as:"*"},{N:"arg",name:"Q{}operation",as:"*"}, +{N:"att",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"diag",C:[{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"atomSing",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}kind",slot:"0"}]}]}]},{N:"fn", +name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}operand",slot:"1"}]}]},{N:"data",diag:"0|0||fn:string-join",C:[{N:"varRef",name:"Q{}error.code",slot:"2"}]},{N:"data",diag:"0|0||fn:string-join",C:[{N:"varRef",name:"Q{}operation",slot:"3"}]}]},{N:"str",val:"|"}]}]}]}]},{N:"co",id:"261",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg418646126",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:remove-attribute/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"300",binds:"",C:[{N:"function",name:"Q{MyTypes}isNumeric",line:"436",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg", +name:"Q{}alphaCode",as:"1AS"},{N:"or",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"438",op:"or",C:[{N:"or",op:"or",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str",val:"AD"}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str",val:"AO"}]}]},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}alphaCode",slot:"0"},{N:"str", +val:"AF"}]}]}]}]},{N:"co",id:"266",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg271588719",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-attribute/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"273",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1081126121",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE1100"},{N:"str",val:"group-adjacent"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"129",binds:"125 129 132 1 69 7 129 129 129",C:[{N:"template",name:"Q{}process-variables",flags:"os",line:"654",module:"xpath.xsl",slots:"14", +C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"655",C:[{N:"param",name:"Q{}no.slots",slot:"0",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|no.slots",C:[{N:"data", +diag:"8|0|XTTE0590|no.slots",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"param",line:"656",name:"Q{}local.variables",slot:"1",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|local.variables",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|local.variables",C:[{N:"supplied",slot:"1"}]}]}]},{N:"param",line:"657",name:"Q{}parts",slot:"2",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|parts",C:[{N:"supplied", +slot:"2"}]}]},{N:"param",line:"658",name:"Q{}make.baseUri.explicit",slot:"3",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"data",diag:"8|0|XTTE0590|make.baseUri.explicit",C:[{N:"supplied",slot:"3"}]}]}]}]}]},{N:"param",line:"659",name:"Q{}static-base-uri",slot:"4",flags:"t",C:[{N:"str", +role:"select",val:"dummy-base-uri"},{N:"supplied",role:"conversion",slot:"4"}]},{N:"let",line:"660","var":"Q{}h",slot:"5",C:[{N:"applyT",line:"661",mode:"Q{}process-xpath",bSlot:"0",C:[{N:"first",role:"select",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]},{N:"let",line:"665","var":"Q{}make.baseUri.explicit",as:"1AB",slot:"6",C:[{N:"or",op:"or",C:[{N:"varRef",name:"Q{}make.baseUri.explicit",slot:"3"},{N:"fn",name:"exists",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef", +name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}baseUri"}]}]}]},{N:"choose",line:"666",C:[{N:"fn",line:"667",name:"empty",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"empty"},{N:"filter",line:"669",flags:"b",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}let"}]},{N:"fn",name:"exists",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}var"}]}]}]}]},{N:"let",line:"675","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1ADI",slot:"7",flags:"l",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}no.slots",slot:"0"},{N:"int",val:"1"}]},{N:"let",line:"674","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*NE",slot:"8",flags:"l",C:[{N:"tail",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]},{N:"forEach",line:"670",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"let",line:"671","var":"Q{}rest", +as:"*NE",slot:"9",C:[{N:"treat",line:"673",as:"NE",diag:"3|0|XTTE0570|rest",C:[{N:"callT",name:"Q{}process-variables",bSlot:"1",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"varRef",line:"674",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"varRef",line:"675",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"7"}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"678",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", +type:"1FM",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",line:"672",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}var"}]}]},{N:"sequence",C:[{N:"dot"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"attVal",name:"Q{}slot"}]}]},{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]}, +{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"679",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"let",line:"682","var":"Q{}rest",as:"*NE",slot:"10",C:[{N:"choose",line:"683",C:[{N:"fn",line:"685",name:"empty",C:[{N:"varRef",name:"Q{}rest",slot:"9"}]},{N:"elem",line:"686",name:"empty",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"att",name:"sType",flags:"l",C:[{N:"gVarRef",name:"Q{}SJ.EMPTY_SEQUENCE", +bSlot:"2"}]}]},{N:"true"},{N:"varRef",line:"689",name:"Q{}rest",slot:"9"}]},{N:"let",line:"694","var":"Q{}slot",as:"?NA",slot:"11",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]},{N:"let",line:"703","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"?AZ",slot:"12",flags:"l",C:[{N:"data",diag:"1|1||eq",C:[{N:"varRef",name:"Q{}slot",slot:"11"}]},{N:"let",line:"699","var":"Q{}compound-type",slot:"13",C:[{N:"ufCall", +name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"4",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"5",C:[{N:"check",card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]}]}]}]}]},{N:"sequence",line:"701",C:[{N:"choose",line:"703",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"axis",name:"descendant-or-self",nodeTest:"NE n*:varRef"}]},{N:"vc",op:"eq",comp:"CCC",C:[{N:"attVal",name:"Q{}slot"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"12"}]}]}]},{N:"copy",line:"704",flags:"in",sit:"1", +C:[{N:"sequence",role:"content",line:"705",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"att",line:"707",name:"sType",flags:"l",C:[{N:"fn",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"1201",name:"concat",C:[{N:"str",val:"*"},{N:"fn",name:"replace",C:[{N:"varRef",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +module:"xpath.xsl",line:"707",name:"Q{}compound-type",slot:"13"},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]},{N:"slash",line:"708",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"choose",line:"709",C:[{N:"compareToInt",line:"710",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"filter",line:"711",flags:"b", +C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]},{N:"true"},{N:"elem",line:"714",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",C:[{N:"att",name:"sType",flags:"l",C:[{N:"varRef",name:"Q{}compound-type",slot:"13"}]},{N:"filter",line:"715",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]}]}]}, +{N:"compareToInt",line:"723",op:"lt",val:"2",C:[{N:"fn",name:"count",C:[{N:"fn",name:"subsequence",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"int",val:"1"},{N:"int",val:"3"}]}]}]},{N:"filter",line:"724",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]},{N:"true"},{N:"elem",line:"727",name:"sequence",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"sType", +flags:"l",C:[{N:"varRef",name:"Q{}compound-type",slot:"13"}]},{N:"filter",line:"728",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]},{N:"filter",line:"696",flags:"b",C:[{N:"varRef",name:"Q{}rest",slot:"10"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}onEmpty"}]}]}]}]}]}]}]}]}]}]}]},{N:"filter",line:"737",flags:"b",C:[{N:"varRef", +name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}params"}]}]}]},{N:"sequence",line:"738",C:[{N:"copyOf",flags:"c",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"callT",line:"740",name:"Q{}process-variables",bSlot:"6",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"741",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]}, +{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"check",line:"743",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"fn",name:"max",C:[{N:"slash",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{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}, +{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]}]}]},{N:"int",val:"1"}]}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"746",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",C:[{N:"dot", +flags:"a"},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}slot"}]}]},{N:"fn",name:"string",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"747",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"filter",line:"750",flags:"b", +C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}param"}]}]}]},{N:"sequence",line:"752",C:[{N:"copyOf",flags:"c",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"callT",line:"754",name:"Q{}process-variables",bSlot:"7",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"755",start:"2",C:[{N:"varRef",name:"Q{}parts", +slot:"2"}]}]},{N:"withParam",name:"Q{}local.variables",flags:"t",as:"1FM",C:[{N:"ifCall",line:"758",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}local.variables",slot:"1"},{N:"atomSing",diag:"0|1||map:put",C:[{N:"slash",line:"753",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]},{N:"sequence",C:[{N:"varRef",name:"Q{}h",slot:"5"},{N:"cast",flags:"ae",as:"?ADI", +C:[{N:"atomSing",card:"?",diag:"2|0||cast as",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{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}slot"}]}]}]}]}]},{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:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]}]}]}]}]}]}]}]},{N:"withParam",name:"Q{}no.slots",flags:"t",as:"1ADI",C:[{N:"check",line:"759",card:"1",diag:"8|0|XTTE0590|no.slots",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"check",card:"?",diag:"1|0||+",C:[{N:"slash", +C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"cast",flags:"ae",as:"?ADI",C:[{N:"attVal",name:"Q{}slot"}]}]}]},{N:"int",val:"1"}]}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"760",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]},{N:"true"},{N:"sequence",line:"764",C:[{N:"choose",C:[{N:"varRef",line:"765",name:"Q{}make.baseUri.explicit",slot:"6"},{N:"forEach",line:"766",C:[{N:"check",card:"?",diag:"4|0|XTTE3180|xsl:copy/select", +C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"copy",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",line:"767",C:[{N:"copyOf",flags:"c",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{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]}]},{N:"att",line:"768",name:"baseUri", +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{}static-base-uri",slot:"4"}]}]}]},{N:"str",val:" "}]}]},{N:"copyOf",line:"769",flags:"c",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{}h",slot:"5"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}h",slot:"5"}]}, +{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]}]}]}]},{N:"true"},{N:"varRef",line:"773",name:"Q{}h",slot:"5"}]},{N:"callT",line:"776",name:"Q{}process-variables",bSlot:"8",flags:"t",C:[{N:"withParam",name:"Q{}parts",flags:"c",as:"*NE",C:[{N:"tail",line:"777",start:"2",C:[{N:"varRef",name:"Q{}parts",slot:"2"}]}]},{N:"withParam",name:"Q{}make.baseUri.explicit",flags:"t",as:"1AB",C:[{N:"varRef",line:"778",name:"Q{}make.baseUri.explicit",slot:"6"}]}]}]}]}]}]}]}]}]},{N:"co",id:"26",binds:"301",C:[{N:"globalVariable", +name:"Q{http://saxon.sf.net/generated-variable}gg1033972644",as:"*NE",line:"130",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"slash",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"130",simple:"1",C:[{N:"gVarRef",name:"Q{}type.hierarchy.tree",bSlot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"co",id:"173",binds:"",C:[{N:"function",name:"Q{MyFunctions}isInstance",line:"607",module:"type.xsl",flags:"pU",as:"1AB",slots:"2", +C:[{N:"arg",name:"Q{}a",as:"1"},{N:"arg",name:"Q{}type",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"611",C:[{N:"compareToString",line:"612",op:"eq",val:"AB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"613",of:"1AB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"616",op:"eq",val:"AS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", +line:"617",of:"1AS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"619",op:"eq",val:"ASN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"620",of:"1ASN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"622",op:"eq",val:"ASNT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"623",of:"1ASNT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"625",op:"eq",val:"ASNTL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", +line:"626",of:"1ASNTL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"628",op:"eq",val:"ASNTM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"629",of:"1ASNTK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"631",op:"eq",val:"ASNTN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"632",of:"1ASNTN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"634",op:"eq",val:"ASNTNC",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", +line:"635",of:"1ASNTNC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"637",op:"eq",val:"ASNTNCR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"638",of:"1ASNTNCR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"640",op:"eq",val:"ASNTNCE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"641",of:"1ASNTNCE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"643",op:"eq",val:"ASNTNCI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]}, +{N:"instance",line:"644",of:"1ASNTNCI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"647",op:"eq",val:"AQ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"648",of:"1AQ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"650",op:"eq",val:"AU",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"651",of:"1AU",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"653",op:"eq",val:"AA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance", +line:"654",of:"1AA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"656",op:"eq",val:"AM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"657",of:"1AM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"659",op:"eq",val:"AMP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"660",of:"1AMP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"662",op:"eq",val:"AT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"663", +of:"1AT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"665",op:"eq",val:"AR",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"666",of:"1AR",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"668",op:"eq",val:"ARD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"669",of:"1ARD",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"671",op:"eq",val:"ARY",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"672",of:"1ARY", +C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"674",op:"eq",val:"AG",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"675",of:"1AG",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"677",op:"eq",val:"AH",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"678",of:"1AH",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"680",op:"eq",val:"AI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"681",of:"1AI",C:[{N:"varRef", +name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"683",op:"eq",val:"AJ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"684",of:"1AJ",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"686",op:"eq",val:"AK",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"687",of:"1AK",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"690",op:"eq",val:"AD",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"691",of:"1AD",C:[{N:"varRef",name:"Q{}a", +slot:"0"}]},{N:"compareToString",line:"693",op:"eq",val:"ADI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"694",of:"1ADI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"696",op:"eq",val:"ADIN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"697",of:"1ADIN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"699",op:"eq",val:"ADINN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"700",of:"1ADINN",C:[{N:"varRef",name:"Q{}a", +slot:"0"}]},{N:"compareToString",line:"702",op:"eq",val:"ADIP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"703",of:"1ADIP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"705",op:"eq",val:"ADIPP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"706",of:"1ADIPP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"708",op:"eq",val:"ADIPL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"709",of:"1ADIPL",C:[{N:"varRef",name:"Q{}a", +slot:"0"}]},{N:"compareToString",line:"711",op:"eq",val:"ADIPLI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"712",of:"1ADIPLI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"714",op:"eq",val:"ADIPLIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"715",of:"1ADIPLIS",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"717",op:"eq",val:"ADIPLISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"718",of:"1ADIPLISB",C:[{N:"varRef", +name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"720",op:"eq",val:"ADIL",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"721",of:"1ADIL",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"723",op:"eq",val:"ADILI",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"724",of:"1ADILI",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"726",op:"eq",val:"ADILIS",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"727",of:"1ADILIS",C:[{N:"varRef", +name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"729",op:"eq",val:"ADILISB",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"730",of:"1ADILISB",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"733",op:"eq",val:"AO",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"734",of:"1AO",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"736",op:"eq",val:"AF",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"737",of:"1AF",C:[{N:"varRef", +name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"739",op:"eq",val:"A2",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"740",of:"1A2",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"742",op:"eq",val:"AX",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"743",of:"1AX",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"745",op:"eq",val:"AZ",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"746",of:"1AZ",C:[{N:"varRef",name:"Q{}a", +slot:"0"}]},{N:"compareToString",line:"749",op:"eq",val:"N",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"750",of:"1N",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"752",op:"eq",val:"NE",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"753",of:"1NE",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"755",op:"eq",val:"NA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"756",of:"1NA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]}, +{N:"compareToString",line:"758",op:"eq",val:"NT",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"759",of:"1NT",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"761",op:"eq",val:"NC",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"762",of:"1NC",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"764",op:"eq",val:"NP",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"765",of:"1NP",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString", +line:"767",op:"eq",val:"ND",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"768",of:"1ND",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"770",op:"eq",val:"NN",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"771",of:"1NN",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"774",op:"eq",val:"F",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"775",of:"1F",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"777", +op:"eq",val:"FM",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"778",of:"1FM",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"compareToString",line:"780",op:"eq",val:"FA",C:[{N:"varRef",name:"Q{}type",slot:"1"}]},{N:"instance",line:"781",of:"1FA",C:[{N:"varRef",name:"Q{}a",slot:"0"}]},{N:"true"},{N:"true"}]}]}]},{N:"co",id:"65",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_ATOMIC",as:"1FM k[AS] v[1AS]",line:"15",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2", +C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]},{N:"co",id:"302",binds:"",C:[{N:"function",name:"Q{MyFunctions}path",line:"403",module:"lib.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}node",as:"1N"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"405",C:[{N:"fn",line:"406",name:"exists",C:[{N:"slash", +simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}loc"}]}]},{N:"convert",line:"406",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"attVal",name:"Q{}loc"}]}]}]}]}]}]},{N:"instance",line:"407",of:"1NA",C:[{N:"varRef",name:"Q{}node",slot:"0"}]}, +{N:"convert",line:"407",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"str",val:"/@"},{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"0"}]}]}]}]}]},{N:"true"},{N:"convert",line:"408", +from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"0"}]}]}]}]}]}]}]},{N:"co",id:"303",binds:"",C:[{N:"function",name:"Q{MyTypes}withCardinality",line:"317",module:"type.xsl",flags:"pU",as:"1FM",slots:"2",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"arg",name:"Q{}indicator",as:"1AS"},{N:"ifCall",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"o"},{N:"varRef",name:"Q{}indicator",slot:"1"}]},{N:"str",val:"code"}]}]}]},{N:"co",id:"304",binds:"48",C:[{N:"function",name:"Q{MyFunctions}recover-namespaces",line:"63",module:"namespaces.xsl",flags:"pU",as:"?FM",slots:"4",C:[{N:"arg",name:"Q{}context",as:"*"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"65","var":"Q{}ns",as:"?NA",slot:"1",C:[{N:"lastOf",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{}context",slot:"0"}]}]}]},{N:"docOrder",intra:"0",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}, +{N:"choose",line:"72",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}ns",slot:"1"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"namespaces"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",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{}ns", +slot:"1"}]}]}]}]},{N:"let","var":"Q{}prefix",slot:"2",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"3",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"2"},{N:"choose",C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"},{N:"varRef",name:"Q{}prefix",slot:"2"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"3"}]}]}]}]}]},{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:"195",binds:"38 164 126 48 124 15 164 48 126 212 15 164",C:[{N:"mode",name:"Q{}sef.global",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"3.6",seq:"365", +rank:"9",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"141",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"141",name:"attribute",nodeTest:"NA nQ{}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"142",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"145",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"144",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode", +C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.35",seq:"360",rank:"8",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"100",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"100",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"101",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"104",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"ufCall",line:"103",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.3",seq:"356",rank:"7",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"92",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"92",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"93",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"96",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"95",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"352",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"78",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"78",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"79",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"82",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}defaultCollation",C:[{N:"axis",line:"81",name:"attribute",nodeTest:"NA nQ{}defaultCollation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.1",seq:"349",rank:"6",minImp:"0",slots:"1",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"71",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, +{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"71",name:"attribute",nodeTest:"NA nQ{}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"72",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"}, +{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"75",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"?NA nQ{}default-collation",C:[{N:"axis",line:"74",name:"attribute",nodeTest:"NA nQ{}default-collation"}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.05",seq:"345",rank:"5",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"57",module:"attributes.xsl", +C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"57",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"58",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"62",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-collation",flags:"t",as:"1NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation",C:[{N:"check",line:"61",card:"1",diag:"8|0|XTTE0590|default-collation",C:[{N:"axis", +name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-collation"}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.04",seq:"341",rank:"4",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"49",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"49",name:"attribute", +nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"50",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"53",flags:"t",C:[{N:"withParam",name:"Q{}attr", +as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}default-mode",flags:"t",as:"1AS",C:[{N:"check",line:"52",card:"1",diag:"8|0|XTTE0590|default-mode",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"8|0|XTTE0590|default-mode",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|default-mode",C:[{N:"data",diag:"8|0|XTTE0590|default-mode",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}default-mode"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.03", +seq:"337",rank:"3",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"41",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"41",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}inherit-namespaces"}]},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"42",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"45",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam",name:"Q{}inherit-namespaces",flags:"t",as:"1AB",C:[{N:"gc",line:"44",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=", +C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}inherit-namespaces"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"3.02",seq:"333",rank:"2",minImp:"0",slots:"1",matches:"NE",flags:"s",line:"34",module:"attributes.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"34",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"35",C:[{N:"param",name:"Q{}attr",slot:"0",as:"*NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|attr",C:[{N:"supplied",slot:"0"}]}]},{N:"nextMatch",line:"38",flags:"t",C:[{N:"withParam",name:"Q{}attr",as:"*NA",C:[{N:"varRef",name:"Q{}attr",slot:"0"}]},{N:"withParam", +name:"Q{}expand-text",flags:"t",as:"1AB",C:[{N:"gc",line:"37",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"yes"}]},{N:"data",diag:"1|0||=",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}expand-text"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"2.0",seq:"382",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"1607",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate", +role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1607",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"nextMatch",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"1608",flags:"t",C:[{N:"withParam",name:"Q{}backward-compatibility",flags:"t",as:"?AB",C:[{N:"vc",line:"1610",op:"lt",comp:"CAVC",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"data",diag:"2|0||cast as",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"dec",val:"2"}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"384",rank:"0",minImp:"0",slots:"5",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"s",line:"1616",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate", +role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"},{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1616",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1617",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"1619","var":"Q{}has-uniform-static-context", +as:"1AB",slot:"3",C:[{N:"ufCall",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"1",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"elem",line:"1620",name:"co",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}has-uniform-static-context", +slot:"3"}]}]},{N:"elem",line:"1622",name:"globalParam",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",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:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"gVarRef", +name:"Q{}SJ.ANY_SEQUENCE",bSlot:"2"}]}]}]}]},{N:"str",val:" "}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",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:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"choose", +line:"1623",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1624",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"choose",line:"1626",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}]},{N:"str",val:"true"}]},{N:"att", +line:"1627",name:"flags",flags:"l",C:[{N:"str",val:"r"}]}]},{N:"choose",line:"1629",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"data",diag:"1|0||eq",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}implicit-mandatory"}]},{N:"str",val:"true"}]},{N:"att",line:"1630",name:"flags",flags:"l",C:[{N:"str",val:"i"}]}]},{N:"att",line:"1632",name:"as",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"}]}]}]}, +{N:"axis",line:"1633",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"att",line:"1634",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"4",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1", +C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"4"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"3"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"applyT",line:"1635",mode:"Q{}param.type",bSlot:"4",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"}]},{N:"applyT",line:"1637",mode:"Q{}select.or.sequence",bSlot:"5",C:[{N:"dot", +role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}param",flags:"a"},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"varRef",line:"1639",name:"Q{}has-uniform-static-context",slot:"3"}]}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"385",rank:"0",minImp:"0",slots:"2",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"s",line:"1682",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}, +{N:"filter",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1682",flags:"b",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}, +{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1683",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"elem",line:"1688",name:"co", +nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"vis",flags:"l",C:[{N:"str",val:"PUBLIC"}]},{N:"att",name:"ex:uniform",nsuri:"http://ns.saxonica.com/xslt/export",flags:"l",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"ufCall",line:"1685",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false",bSlot:"6",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]},{N:"elem",line:"1691",name:"globalVariable",nsuri:"http://ns.saxonica.com/xslt/export", +flags:"dl",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:"att",name:"ns",flags:"l",C:[{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~","var":"Q{}context",as:"1NE",slot:"1",C:[{N:"dot",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"choose",module:"namespaces.xsl",line:"47",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48",card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1", +C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"1"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", +type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"7"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str",val:" "}]}]}]}]},{N:"att",name:"module",flags:"l",C:[{N:"lastOf",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:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]},{N:"str",val:"/"},{N:"str",val:""}]}]}]},{N:"att",name:"slots",flags:"l",C:[{N:"str",val:"200"}]},{N:"att",name:"sType",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"data",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}asJ"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}, +{N:"gVarRef",name:"Q{}SJ.ANY_SEQUENCE",bSlot:"8"},{N:"true"},{N:"gVarRef",name:"Q{}SJ.OPTIONAL_DOCUMENT",bSlot:"9"}]}]}]}]}]},{N:"str",val:" "}]}]},{N:"choose",line:"1692",C:[{N:"fn",name:"not",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"relocatable"}]}]},{N:"att",line:"1693",name:"baseUri",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}baseUri"}]}]}]}]},{N:"axis",line:"1695",name:"attribute", +nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}*"},{N:"axis",line:"1695",name:"attribute",nodeTest:"NA nQ{}as"},{N:"applyT",line:"1697",mode:"Q{}select.or.sequence",bSlot:"10",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"},{N:"withParam",name:"Q{}type",as:"?NA nQ{}as",C:[{N:"axis",line:"1698",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"1700",name:"Q{MyFunctions}has-uniform-static-context", +tailCall:"false",bSlot:"11",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}variable",flags:"a"}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"305",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SUBSUMED_BY",as:"1AS",line:"164",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"LT"}]}]},{N:"co",id:"255",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}COLON",as:"1ADI",line:"19",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"58"}]}]},{N:"co",id:"58", +binds:"",C:[{N:"function",name:"Q{MyTypes}cardinalityRelationship",line:"69",module:"type.xsl",flags:"pU",as:"*",slots:"4",C:[{N:"arg",name:"Q{}required",as:"1AS"},{N:"arg",name:"Q{}supplied",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"72",C:[{N:"vc",line:"73",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"varRef",name:"Q{}supplied", +slot:"1"}]},{N:"str",val:"EQ"},{N:"compareToString",line:"76",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"GT"},{N:"true"},{N:"let",line:"80","var":"Q{}R",slot:"2",C:[{N:"choose",line:"66",C:[{N:"compareToString",line:"80",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z1M"},{N:"compareToString",line:"80",op:"eq",val:"+",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",line:"80",name:"Q{}required", +slot:"0"}]},{N:"str",val:"1"},{N:"compareToString",line:"80",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z1"},{N:"compareToString",line:"80",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}required",slot:"0"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"let",line:"81","var":"Q{}S",slot:"3",C:[{N:"choose",line:"66",C:[{N:"compareToString",line:"81",op:"eq",val:"*",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"Z1M"},{N:"compareToString",line:"81",op:"eq", +val:"+",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"1M"},{N:"fn",name:"not",C:[{N:"varRef",line:"81",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"1"},{N:"compareToString",line:"81",op:"eq",val:"?",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"Z1"},{N:"compareToString",line:"81",op:"eq",val:"0",C:[{N:"varRef",name:"Q{}supplied",slot:"1"}]},{N:"str",val:"Z"},{N:"true"},{N:"str",val:""}]},{N:"choose",line:"91",C:[{N:"fn",name:"contains",C:[{N:"varRef",name:"Q{}R",slot:"2"}, +{N:"varRef",name:"Q{}S",slot:"3"}]},{N:"str",val:"GT"},{N:"fn",name:"contains",C:[{N:"varRef",name:"Q{}S",slot:"3"},{N:"varRef",name:"Q{}R",slot:"2"}]},{N:"str",val:"LT"},{N:"true"},{N:"str",val:"OV"}]}]}]}]}]}]},{N:"co",id:"134",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg638404853",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE1020"},{N:"str",val:"sort"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"138",binds:"138",C:[{N:"function",name:"Q{MyFunctions}requiresNodeTest",line:"1180",module:"xpath.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg", name:"Q{}node",as:"1NE"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1191",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}axis,NE nQ{http://ns.saxonica.com/xslt/export}root]"}]}]},{N:"true"}, -{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}slash"}]}]},{N:"ufCall",name:"Q{MyFunctions}requiresNodeTest",tailCall:"self",bSlot:"0",eval:"16",C:[{N:"check",card:"1",diag:"0|0||f:requiresNodeTest",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"false"}]}]}]}]},{N:"co",id:"291",binds:"13 263",C:[{N:"globalVariable", -name:"Q{}SJ.SINGLE_URI",as:"1AS",line:"55",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"55",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_URI",bSlot:"1"}]}]}]},{N:"co",id:"292",binds:"",C:[{N:"function",name:"Q{MyFunctions}combinedRelationship",line:"296",module:"type.xsl",eval:"16",flags:"pU",as:"1AS",slots:"2",C:[{N:"arg", -name:"Q{}rel1",as:"1AS"},{N:"arg",name:"Q{}rel2",as:"1AS"},{N:"choose",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"314",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"varRef",name:"Q{}rel2",slot:"1"}]},{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"varRef",name:"Q{}rel2", -slot:"1"}]},{N:"str",val:"DJ"}]},{N:"str",val:"DJ"},{N:"compareToString",op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel1",slot:"0"}]},{N:"varRef",name:"Q{}rel2",slot:"1"},{N:"compareToString",op:"eq",val:"EQ",C:[{N:"varRef",name:"Q{}rel2",slot:"1"}]},{N:"varRef",name:"Q{}rel1",slot:"0"},{N:"true"},{N:"str",val:"OV"}]}]}]},{N:"co",id:"181",binds:"13 264",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_MAP",as:"1AS",line:"62",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"62",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_MAP",bSlot:"1"}]}]}]},{N:"co",id:"278",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg303354428",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289", -name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE1100"},{N:"str",val:"group-adjacent"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"57",binds:"3",C:[{N:"template",name:"Q{}strip-space",flags:"os",as:"*NE",line:"1465",module:"XSLT-SEF-compiler.xsl",slots:"10",C:[{N:"sequence",role:"body", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1467",C:[{N:"param",name:"Q{}precedence-map",slot:"0",flags:"tr",as:"1FM k[AS] v[1ADI]",C:[{N:"treat",role:"conversion",as:"FM k[AS] v[1ADI]",diag:"8|0|XTTE0590|precedence-map",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precedence-map",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"1468",name:"Q{}xpath-default-namespace", -slot:"1",flags:"t",as:"?NA",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NA",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|xpath-default-namespace",C:[{N:"supplied",slot:"1"}]}]}]},{N:"choose",line:"1469",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]}]}, -{N:"let",line:"1470","var":"Q{}first",as:"?NE",slot:"2",eval:"7",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]}]},{N:"elem",line:"1532",name:"strip",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"forEach",line:"1533",C:[{N:"forEachGroup",line:"1472",algorithm:"by",C:[{N:"treat", -role:"select",as:"NE",diag:"3|0|XTTE0570|unique",C:[{N:"forEachGroup",algorithm:"by",C:[{N:"sort",role:"select",C:[{N:"forEach",role:"select",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space,NE nQ{http://www.w3.org/1999/XSL/Transform}preserve-space]"}]},{N:"let",line:"1475","var":"Q{}isStrip",as:"1AB",slot:"3",eval:"8",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self", -nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}strip-space"}]},{N:"let",line:"1479","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AS",slot:"4",eval:"13",C:[{N:"choose",C:[{N:"varRef",name:"Q{}isStrip",slot:"3"},{N:"str",val:"s"},{N:"true"},{N:"str",val:"p"}]},{N:"let",line:"1481","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"5",eval:"13",C:[{N:"convert",from:"AB",to:"AS",C:[{N:"varRef",name:"Q{}isStrip",slot:"3"}]},{N:"let",line:"1477","var":"Q{}precedence",as:"1ADI", -slot:"6",eval:"16",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|precedence",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}precedence-map",slot:"0"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}precLabel"}]}]}]},{N:"let",line:"1488","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AS",slot:"7",eval:"13",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}precedence",slot:"6"}]}, -{N:"forEach",line:"1478",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}elements",chk:"0"}]}]},{N:"compElem",line:"1479",C:[{N:"varRef",role:"name",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"4"},{N:"sequence",role:"content",line:"1480",C:[{N:"att",name:"elements",flags:"l",C:[{N:"dot",type:"1AS"}]},{N:"att",line:"1481",name:"strip",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"5"}]},{N:"att",line:"1487",name:"test",flags:"l", -C:[{N:"fn",name:"concat",C:[{N:"str",val:"NE"},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1AS"},{N:"str",val:"*"}]},{N:"str",val:""},{N:"true"},{N:"fn",name:"concat",C:[{N:"str",val:" n"},{N:"dot",type:"1AS"}]}]}]}]},{N:"att",line:"1488",name:"prec",flags:"l",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"7"}]},{N:"att",line:"1497",name:"priority",flags:"l",C:[{N:"convert",from:"AD",to:"AS", -C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"dot",type:"1AS"},{N:"str",val:"*"}]},{N:"dec",val:"-0.5"},{N:"fn",name:"contains",C:[{N:"dot",type:"1AS"},{N:"str",val:"*"}]},{N:"dec",val:"-0.25"},{N:"true"},{N:"int",val:"0"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"sortKey",line:"1505",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prec",chk:"0"}]},{N:"str",role:"order",val:"descending"},{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:"sortKey",line:"1506",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}priority",chk:"0"}]},{N:"str",role:"order",val:"descending"},{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:"attVal",role:"key",line:"1510",name:"Q{}elements",chk:"0"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"},{N:"let",role:"content",line:"1512","var":"Q{}highest-precedence",as:"?AO",slot:"8",eval:"8",C:[{N:"fn",name:"max",C:[{N:"slash",C:[{N:"currentGroup"},{N:"fn",name:"number",C:[{N:"attVal",name:"Q{}prec",chk:"0"}]}]}]},{N:"let",line:"1514","var":"Q{}active",slot:"9",eval:"8",C:[{N:"filter",flags:"b",C:[{N:"currentGroup"},{N:"gc",op:"=",card:"1:1", -comp:"QUNC",C:[{N:"attVal",name:"Q{}prec",chk:"0"},{N:"varRef",name:"Q{}highest-precedence",slot:"8"}]}]},{N:"sequence",line:"1515",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}active",slot:"9"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}s"}]}]}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}active",slot:"9"},{N:"fn",name:"exists",C:[{N:"axis",name:"self", -nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}p"}]}]}]}]},{N:"ufCall",line:"1518",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",eval:"0 16 16",C:[{N:"str",val:"XTSE0270"},{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting strip and preserve space declarations for "},{N:"attVal",name:"Q{}elements",chk:"0"},{N:"str",val:" at highest import precedence"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}first",slot:"2"}]}]}]},{N:"first",line:"1520",C:[{N:"varRef", -name:"Q{}active",slot:"9"}]}]}]}]}]}]},{N:"attVal",role:"key",line:"1525",name:"Q{}prec",chk:"0"},{N:"sortKey",role:"sort",line:"1526",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}prec",chk:"0"}]},{N:"str",role:"order",val:"descending"},{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:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"sort",role:"content",line:"1527",C:[{N:"currentGroup",role:"select"},{N:"sortKey",line:"1528",comp:"DESC|DblSC",C:[{N:"fn",role:"select",name:"number",C:[{N:"attVal",name:"Q{}priority",chk:"0"}]},{N:"str",role:"order",val:"descending"},{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:"copy",line:"1535",flags:"cinl",sit:"1NE",C:[{N:"sequence", -role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}test"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}prec"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}code"}]}]}]}]}]}]}]}]}]},{N:"co",id:"265",binds:"52",C:[{N:"function",name:"Q{MyFunctions}record-namespaces",line:"15",module:"namespaces.xsl",eval:"16",flags:"pU",as:"?AS",slots:"8",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}excluded",as:"*AS"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"19",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}excluded",slot:"1"},{N:"str",val:"#all"}]},{N:"str",val:""},{N:"true"},{N:"let",line:"23","var":"Q{}exNS",as:"?NA",slot:"2",eval:"7",C:[{N:"check",line:"165",card:"?",diag:"5|0|XTTE0780|f:innermostExNs#1",C:[{N:"forEach",C:[{N:"forEach",C:[{N:"varRef",line:"23",name:"Q{}context",slot:"0"},{N:"first",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute", -nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"choose",line:"25",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}excluded",slot:"1"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}exNS",slot:"2"}]}]},{N:"fn",line:"26",name:"string",C:[{N:"varRef",name:"Q{}exNS",slot:"2"}]},{N:"true"},{N:"let",line:"29","var":"Q{}all",slot:"3",eval:"8",C:[{N:"ifCall",line:"98",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge", -type:"1FM",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"string",C:[{N:"varRef",line:"29",name:"Q{}exNS",slot:"2"}]}]},{N:"let","var":"Q{}prefix",slot:"4",eval:"8",C:[{N:"fn",name:"substring-before",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"let","var":"Q{}uri",slot:"5",eval:"8",C:[{N:"fn",name:"substring-after",C:[{N:"dot",type:"1AS"},{N:"str",val:"="}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"varRef",name:"Q{}prefix",slot:"4"},{N:"choose", -C:[{N:"compareToString",op:"eq",val:"~",C:[{N:"varRef",name:"Q{}uri",slot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"},{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"true"},{N:"varRef",name:"Q{}uri",slot:"5"}]}]}]}]}]},{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:"32","var":"Q{http://saxon.sf.net/generated-variable}v0", -as:"1FM",slot:"6",eval:"13",C:[{N:"check",card:"1",diag:"0|0||map:get",C:[{N:"varRef",name:"Q{}all",slot:"3"}]},{N:"cvUntyped",line:"31",to:"AS",diag:"5|0|XTTE0780|f:record-namespaces#2",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"check",card:"1",diag:"0|0||map:keys",C:[{N:"varRef",name:"Q{}all",slot:"3"}]}]},{N:"gc",op:"!=",card:"1:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"dot",type:"1A"},{N:"str",val:"xml"}]}]},{N:"let",line:"32","var":"Q{}uri",slot:"7",eval:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"6"},{N:"dot",type:"1A"}]},{N:"choose",line:"33",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"varRef",name:"Q{}uri",slot:"7"}]},{N:"varRef",name:"Q{}excluded", -slot:"1"}]}]},{N:"fn",line:"34",name:"concat",C:[{N:"dot",type:"1A"},{N:"str",val:"="},{N:"data",diag:"0|2||fn:concat",C:[{N:"varRef",name:"Q{}uri",slot:"7"}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"258",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_NCNAME",as:"1FM k[AS] v[1AS]",line:"29",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"ASNTNC"}]}]}]},{N:"co",id:"165",binds:"",C:[{N:"globalVariable", -name:"Q{}ST.SINGLE_STRING",as:"1FM k[AS] v[1AS]",line:"24",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AS"}]}]}]},{N:"co",id:"283",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_DOUBLE",as:"1FM k[AS] v[1AS]",line:"17",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AO"}]}]}]},{N:"co",id:"293",binds:"",C:[{N:"globalVariable", -name:"Q{}ST.SINGLE_ATOMIC",as:"1FM k[AS] v[1AS]",line:"14",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"A"}]}]}]},{N:"co",id:"267",binds:"193",C:[{N:"mode",name:"Q{}normalize-serialization-property",onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"206",rank:"0",minImp:"0",slots:"0",matches:"NA",flags:"s",as:"1AS",line:"145",module:"output.xsl",C:[{N:"p.nodeTest",role:"match", -test:"NA"},{N:"fn",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"146",name:"string",C:[{N:"dot",type:"1NA",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"207",part:"1",rank:"1",minImp:"0",slots:"3",matches:"NA nQ{}suppress-indentation",flags:"s",as:"1AS",line:"149",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}suppress-indentation"},{N:"let", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"150","var":"Q{}decl",as:"*N u[NE,ND]",slot:"0",eval:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"151","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"?AS",slot:"1",eval:"13",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"check",card:"1", -diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"0"}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"2",eval:"13",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"0"}]},{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false", -bSlot:"0",eval:"16 1 0 1",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"1"}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.5",seq:"207",part:"2",rank:"2",minImp:"0",slots:"3",matches:"NA nQ{}method",flags:"s",as:"1AS",line:"149",module:"output.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NA nQ{}method"},{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"149",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA nQ{}method"}]}]},{N:"str",val:":"}]}]},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"150","var":"Q{}decl",as:"*N u[NE,ND]",slot:"0",eval:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"151","var":"Q{http://saxon.sf.net/generated-variable}v1", -as:"?AS",slot:"1",eval:"13",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"0"}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"2",eval:"13",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"0"}]},{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped", -to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"0",eval:"16 1 0 1",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"1"}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"207",rank:"1",minImp:"0",slots:"3",matches:"NA nQ{}cdata-section-elements", -flags:"s",as:"1AS",line:"149",module:"output.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{}cdata-section-elements"},{N:"let",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"150","var":"Q{}decl",as:"*N u[NE,ND]",slot:"0",eval:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"let",line:"151","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"?AS",slot:"1", -eval:"13",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}decl",slot:"0"}]}]}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"2",eval:"13",C:[{N:"check",card:"1",diag:"0|1||f:EQName",C:[{N:"varRef",name:"Q{}decl",slot:"0"}]},{N:"fn",name:"string-join",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS", -C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"ufCall",name:"Q{MyFunctions}EQName",tailCall:"false",bSlot:"0",eval:"16 1 0 1",C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"},{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"1"}]}]},{N:"str",val:" "}]}]}]}]}]}]}]},{N:"co",id:"202",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}QUOT",as:"1ADI",line:"21",module:"XSLT-value-template.xsl", -visibility:"PRIVATE",C:[{N:"int",val:"34"}]}]},{N:"co",id:"294",binds:"",C:[{N:"function",name:"Q{MyTypes}toString",line:"323",module:"type.xsl",eval:"8",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}type",as:"1FM"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"325",name:"serialize",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str", -val:"json"}]}]}]}]},{N:"co",id:"295",binds:"13 196",C:[{N:"globalVariable",name:"Q{}SJ.MULTIPLE_ITEM",as:"1AS",line:"46",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"46",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_ITEM",bSlot:"1"}]}]}]},{N:"co",id:"49",binds:"212",C:[{N:"mode",name:"Q{}expand-character-maps",onNo:"DC", -flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"0.5",seq:"208",rank:"0",minImp:"0",slots:"1",matches:"NE n*:charMap",flags:"s",as:"1NE",line:"156",module:"output.xsl",C:[{N:"p.withPredicate",role:"match",C:[{N:"p.nodeTest",test:"NE n*:charMap"},{N:"axis",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"156",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]},{N:"sequence", -role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"157",C:[{N:"param",name:"Q{}charMaps",slot:"0",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|charMaps",C:[{N:"supplied",slot:"0"}]}]},{N:"copy",line:"159",flags:"cin",sit:"1NE n*:charMap",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}, -{N:"forEach",line:"160",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-character-maps"}]}]}]},{N:"callT",line:"161",name:"Q{}expandCharMapRef",bSlot:"0",C:[{N:"withParam",name:"Q{}charMapRef",flags:"c",as:"1AS",C:[{N:"fn",line:"162",name:"normalize-space",C:[{N:"dot",type:"1AS"}]}]},{N:"withParam",name:"Q{}charMaps",flags:"c",as:"*NE",C:[{N:"varRef",line:"163",name:"Q{}charMaps",slot:"0"}]}]}]},{N:"axis", -line:"166",name:"child",nodeTest:"NE n*:m"}]}]}]}]}]}]},{N:"co",id:"182",binds:"",C:[{N:"globalVariable",name:"Q{}ST.MULTIPLE_MAP",as:"1FM k[AS] v[1AS]",line:"41",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"*"},{N:"str",val:"p"},{N:"str",val:"FM"}]}]}]},{N:"co",id:"296",binds:"",C:[{N:"globalVariable",name:"Q{}TypeHierarchy.SUBSUMES",as:"1AS",line:"163",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"str",val:"GT"}]}]},{N:"co",id:"271", -binds:"3",C:[{N:"template",name:"Q{}check-select",flags:"os",as:"0",line:"62",module:"lib.xsl",slots:"0",C:[{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"63",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"check", -line:"64",card:"0",diag:"7|0|XTTE0505|check-select",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",eval:"0 16 16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" must have an @select attribute"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]},{N:"co",id:"297",binds:"",C:[{N:"function",name:"Q{MyFunctions}map-aliased-name", -line:"540",module:"creating-new-nodes.xsl",eval:"16",flags:"pU",as:"*",slots:"5",C:[{N:"arg",name:"Q{}original-name",as:"1AQ"},{N:"arg",name:"Q{}namespace-aliases",as:"1FM"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"544","var":"Q{}original-uri",as:"1AU",slot:"2",eval:"8",C:[{N:"fn",name:"namespace-uri-from-QName",C:[{N:"varRef",name:"Q{}original-name", -slot:"0"}]},{N:"let",line:"545","var":"Q{}new-uri",as:"1AS",slot:"3",eval:"16",C:[{N:"choose",line:"547",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]}]}]},{N:"convert",line:"548",from:"AU",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"varRef",name:"Q{}original-uri", -slot:"2"}]},{N:"true"},{N:"treat",line:"551",as:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|new-uri",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|new-uri",C:[{N:"data",diag:"3|0|XTTE0570|new-uri",C:[{N:"subscript",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]},{N:"int",val:"2"}]}]}]}]}]}]},{N:"choose",line:"556",C:[{N:"vc",op:"eq",onEmpty:"0", -comp:"CCC",C:[{N:"varRef",name:"Q{}original-uri",slot:"2"},{N:"varRef",name:"Q{}new-uri",slot:"3"}]},{N:"varRef",line:"557",name:"Q{}original-name",slot:"0"},{N:"true"},{N:"let",line:"560","var":"Q{}prefix",as:"?",slot:"4",eval:"7",C:[{N:"first",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}namespace-aliases",slot:"1"},{N:"varRef",name:"Q{}original-uri",slot:"2"}]}]},{N:"fn",line:"567",name:"QName",C:[{N:"varRef",name:"Q{}new-uri",slot:"3"}, -{N:"fn",name:"concat",C:[{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"str",val:"#default"}]},{N:"empty"},{N:"true"},{N:"fn",name:"concat",C:[{N:"data",diag:"0|0||fn:concat",C:[{N:"varRef",name:"Q{}prefix",slot:"4"}]},{N:"str",val:":"}]}]},{N:"fn",name:"local-name-from-QName",C:[{N:"varRef",name:"Q{}original-name",slot:"0"}]}]}]}]}]}]}]}]}]},{N:"co", -id:"239",binds:"",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1568450200",as:"1AS",line:"336",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"336",name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"sequence",C:[{N:"str",val:"DO NOT EDIT: compiled with initial template compileXSLTschema "}, -{N:"fn",name:"current-dateTime"}]}]},{N:"str",val:" "}]}]}]},{N:"co",id:"170",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1485169201",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE1020"},{N:"str",val:"sort"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"270",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1495761010",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:remove-attribute/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"298",binds:"",C:[{N:"function",name:"Q{MyFunctions}symbolic-name",line:"56",module:"component-bindings.xsl",eval:"16",flags:"pU", -as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}component",as:"1NE"},{N:"check",role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"59",card:"1",diag:"5|0|XTTE0780|f:symbolic-name#1",C:[{N:"forEach",C:[{N:"check",line:"58",card:"1",diag:"3|0|XTTE0570|actor",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}component",slot:"0"},{N:"axis",name:"child",nodeTest:"NE"}]}]}, -{N:"choose",line:"61",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://ns.saxonica.com/xslt/export}globalParam,NE nQ{http://ns.saxonica.com/xslt/export}globalVariable]"}]},{N:"fn",line:"62",name:"concat",C:[{N:"str",val:"V:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"64",name:"exists",C:[{N:"axis", -name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}attributeSet"}]},{N:"fn",line:"65",name:"concat",C:[{N:"str",val:"A:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"67",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}template"},{N:"fn",name:"exists", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"}]}]}]},{N:"fn",line:"68",name:"concat",C:[{N:"str",val:"T:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:""}]}]}]}]},{N:"fn",line:"70",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}mode"}]},{N:"fn",line:"71",name:"concat",C:[{N:"str",val:"M:"},{N:"data",diag:"0|1||fn:concat", -C:[{N:"first",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}original-name"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}name"},{N:"str",val:"#unnamed"}]}]}]}]},{N:"fn",line:"73",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}function"}]},{N:"fn",line:"74",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:"#"},{N:"fn",name:"string",C:[{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}arg"}]}]}]}, -{N:"true"},{N:"str",val:"???"}]}]}]}]}]},{N:"co",id:"177",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1701756941",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTDE0980"},{N:"str",val:"xsl:number/@value"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"168",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1879190852",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE0570"},{N:"str",val:"check"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"227",binds:"188",C:[{N:"globalVariable",name:"Q{}declaration-names",as:"*AS",line:"260",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"slash", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"260",C:[{N:"gVarRef",name:"Q{}top-level-declarations",bSlot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"co",id:"184",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1855463032",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"xsl:accumulator-rule/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"273",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1871846962",as:"1AS",line:"289", -module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str", -val:"XPTY0004"},{N:"str",val:"ixsl:set-style/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"187",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1651379334",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string", -C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:""},{N:"str",val:"xsl:evaluate"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"37",binds:"41 230",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1705558790",as:"+AU",line:"21",module:"sorting.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"21",C:[{N:"gVarRef",name:"Q{}codepoint.collation",bSlot:"0"},{N:"gVarRef",name:"Q{}html-ascii-case-insensitive.collation",bSlot:"1"}]}]}]},{N:"co",id:"204",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}LBRACE",as:"1ADI",line:"17",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"123"}]}]},{N:"co",id:"274",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1523911426",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn", -ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-attribute/@select"}]}]}, -{N:"str",val:"|"}]}]}]},{N:"co",id:"299",binds:"124",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1479450980",as:"+",line:"254",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"254",C:[{N:"str",val:"XSLT compiler version:"},{N:"gVarRef",name:"Q{}compiler.version", -bSlot:"0"}]}]}]},{N:"co",id:"268",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1317378265",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE3180"},{N:"str",val:"xsl:copy/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"247",binds:"41 230",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1947666055",as:"+AU",line:"21",module:"sorting.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"21",C:[{N:"gVarRef",name:"Q{}codepoint.collation",bSlot:"0"},{N:"gVarRef",name:"Q{}html-ascii-case-insensitive.collation",bSlot:"1"}]}]}]},{N:"co",id:"276",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1962688455",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"xsl:analyze-string/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"272",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1571834834",as:"1AS",line:"289",module:"lib.xsl", -visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"}, -{N:"str",val:"ixsl:set-style/@select"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"300",binds:"",C:[{N:"globalVariable",name:"Q{}ST.OPTIONAL_DOCUMENT",as:"1FM k[AS] v[1AS]",line:"31",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"?"},{N:"str",val:"p"},{N:"str",val:"ND"}]}]}]},{N:"co",id:"301",binds:"",C:[{N:"globalVariable",name:"Q{}platform",as:"1AS",line:"188",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"str",val:"JS"}]}]}, -{N:"co",id:"97",binds:"",C:[{N:"globalVariable",name:"Q{}roles",as:"1FM k[AS] v[1NA]",line:"577",module:"XSLT-SEF-compiler.xsl",visibility:"PRIVATE",C:[{N:"ifCall",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"587",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"forEach",C:[{N:"literal",count:"31",C:[{N:"str",val:"action"},{N:"str", -val:"select"},{N:"str",val:"match"},{N:"str",val:"body"},{N:"str",val:"content"},{N:"str",val:"sort"},{N:"str",val:"separator"},{N:"str",val:"caseOrder"},{N:"str",val:"dataType"},{N:"str",val:"collation"},{N:"str",val:"name"},{N:"str",val:"namespace"},{N:"str",val:"on-completion"},{N:"str",val:"baseUri"},{N:"str",val:"href"},{N:"str",val:"regex"},{N:"str",val:"flags"},{N:"str",val:"forEachItem"},{N:"str",val:"forEachStream"},{N:"str",val:"selectRows"},{N:"str",val:"startAt"},{N:"str",val:"format"}, -{N:"str",val:"count"},{N:"str",val:"gpSep"},{N:"str",val:"gpSize"},{N:"str",val:"stable"},{N:"str",val:"order"},{N:"str",val:"ordinal"},{N:"str",val:"lang"},{N:"str",val:"error"},{N:"str",val:"terminate"}]},{N:"ifCall",line:"588",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"dot",type:"1AS"},{N:"att",line:"589",name:"role",C:[{N:"dot",type:"1AS"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str", -val:"XTDE3365"}]}]}]}]},{N:"co",id:"275",binds:"113",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1459788259",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-attribute/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"205",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}RBRACE",as:"1ADI",line:"18",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"125"}]}]},{N:"co",id:"302",binds:"169 14 299 72 25 148 135 14 43 6",C:[{N:"mode",name:"Q{}compile-complete", -onNo:"TC",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"372",rank:"0",minImp:"0",slots:"13",matches:"ND",flags:"s",line:"243",module:"XSLT-SEF-compiler.xsl",C:[{N:"p.nodeTest",role:"match",test:"ND"},{N:"sequence",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"244",C:[{N:"param",name:"Q{}options",slot:"0",as:"1FM", -C:[{N:"gVarRef",role:"select",name:"Q{}options",bSlot:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"245","var":"Q{}nsOption",as:"?AS",slot:"1",eval:"7",C:[{N:"treat",as:"AS",diag:"3|0|XTTE0570|nsOption",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|nsOption",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|nsOption",C:[{N:"data",diag:"3|0|XTTE0570|nsOption",C:[{N:"lookup",C:[{N:"varRef", -name:"Q{}options",slot:"0"},{N:"str",val:"ns"}]}]}]}]}]},{N:"let",line:"246","var":"Q{}defaultHTML5",as:"1AB",slot:"2",eval:"16",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}nsOption",slot:"1"}]},{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}nsOption",slot:"1"},{N:"str",val:"##html5"}]}]},{N:"let",line:"249","var":"Q{}start.time",slot:"3",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"1"},{N:"sequence",line:"252",C:[{N:"choose", -C:[{N:"and",op:"and",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"timing"}]},{N:"fn",name:"exists",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}start.time",slot:"3"},{N:"int",val:"2"}]}]}]},{N:"sequence",line:"254",C:[{N:"message",C:[{N:"gVarRef",role:"select",name:"Q{http://saxon.sf.net/generated-variable}gg1479450980",bSlot:"2"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"message",line:"255",C:[{N:"sequence", -role:"select",C:[{N:"str",val:"Started @"},{N:"varRef",name:"Q{}start.time",slot:"3"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"let",line:"263","var":"Q{}tempFromComp",as:"1ND",slot:"4",eval:"16",C:[{N:"doc",line:"264",C:[{N:"applyT",mode:"Q{}compile",bSlot:"3",C:[{N:"axis",role:"select",name:"child",nodeTest:"NE"},{N:"withParam",name:"Q{}options",flags:"t",as:"1FM",C:[{N:"varRef",line:"265",name:"Q{}options",slot:"0"}]}, -{N:"withParam",name:"Q{}params",flags:"t",as:"1FM k[AQ]",C:[{N:"gVarRef",line:"267",name:"Q{}staticParameters",bSlot:"4"}]},{N:"withParam",name:"Q{}defaultHTML5",flags:"t",as:"1AB",C:[{N:"varRef",line:"268",name:"Q{}defaultHTML5",slot:"2"}]}]}]},{N:"sequence",line:"273",C:[{N:"choose",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"justStatic"}]},{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"justNormalize"}]}]},{N:"lookup", -C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"noXPath"}]}]},{N:"varRef",line:"274",name:"Q{}tempFromComp",slot:"4"},{N:"true"},{N:"sequence",line:"277",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"statistics"}]},{N:"message",line:"278",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"XPath statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef", -name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}]}]},{N:"str",val:" components\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}, -{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute", -nodeTest:"NA"}]}]}]},{N:"str",val:" attributes\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"}]}]}]},{N:"str",val:" XPath expressions\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant", -nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"}]}]}]},{N:"str",val:" patterns "}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"284",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"289",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Starting XPath compiling:"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp", -slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}xpath"}]}]},{N:"str",val:"expressions"},{N:"fn",name:"count",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}tempFromComp",slot:"4"},{N:"axis",name:"descendant",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}pattern"}]}]},{N:"str",val:"patterns"}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"291","var":"Q{}temp",as:"1ND", -slot:"5",eval:"16",C:[{N:"doc",line:"292",C:[{N:"applyT",mode:"Q{}process-xpath",bSlot:"5",C:[{N:"varRef",role:"select",name:"Q{}tempFromComp",slot:"4"},{N:"withParam",name:"Q{}options",flags:"t",as:"1FM",C:[{N:"varRef",line:"293",name:"Q{}options",slot:"0"}]},{N:"withParam",name:"Q{}defaultHTML5",flags:"t",as:"1AB",C:[{N:"varRef",line:"295",name:"Q{}defaultHTML5",slot:"2"}]}]}]},{N:"sequence",line:"298",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"statistics"}]}, -{N:"message",line:"299",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Final statistics: "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]}]}]},{N:"str",val:" components\n "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash", -simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant",nodeTest:"NE"}]}]}]},{N:"str",val:" elements "},{N:"convert",from:"ADI",to:"AS",C:[{N:"fn",name:"count",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"2",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}temp",slot:"5"},{N:"axis", -name:"child",nodeTest:"NE"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}co"}]},{N:"axis",name:"descendant-or-self",nodeTest:"NE"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]}]}]},{N:"str",val:" attributes\n "}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"choose",line:"304",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"noBindings"}]},{N:"varRef", -line:"305",name:"Q{}temp",slot:"5"},{N:"true"},{N:"sequence",line:"308",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"message",line:"309",C:[{N:"str",role:"select",val:"Starting Component binding"},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"applyT",line:"311",mode:"Q{}process-bindings",bSlot:"6",C:[{N:"varRef",role:"select",name:"Q{}temp",slot:"5"},{N:"withParam", -name:"Q{}options",flags:"t",as:"1FM",C:[{N:"varRef",line:"313",name:"Q{}options",slot:"0"}]}]}]}]}]}]}]}]},{N:"let",line:"320","var":"Q{}duration",as:"1AR",slot:"6",eval:"16",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|duration",C:[{N:"arith",op:"-",calc:"t-t",C:[{N:"ufCall",line:"319",name:"Q{MyFunctions}timestamp",tailCall:"false",bSlot:"7"},{N:"check",card:"?",diag:"1|1||-",C:[{N:"varRef",name:"Q{}start.time",slot:"3"}]}]}]},{N:"sequence",line:"321",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options", -slot:"0"},{N:"str",val:"timing"}]},{N:"message",line:"330",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Stylesheet compilation time:"},{N:"let","var":"Q{}h",slot:"7",eval:"8",C:[{N:"fn",name:"hours-from-duration",C:[{N:"varRef",name:"Q{}duration",slot:"6"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"8",eval:"13",C:[{N:"compareToInt",op:"ne",val:"0",C:[{N:"varRef",name:"Q{}h",slot:"7"}]},{N:"let","var":"Q{}m",slot:"9",eval:"8",C:[{N:"fn",name:"minutes-from-duration", -C:[{N:"varRef",name:"Q{}duration",slot:"6"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AB",slot:"10",eval:"13",C:[{N:"compareToInt",op:"ne",val:"0",C:[{N:"varRef",name:"Q{}m",slot:"9"}]},{N:"fn",name:"string-join",C:[{N:"sequence",C:[{N:"filter",flags:"ib",C:[{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}h",slot:"7"},{N:"str",val:"h"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"8"}]},{N:"filter",flags:"ib",C:[{N:"fn",name:"concat",C:[{N:"varRef", -name:"Q{}m",slot:"9"},{N:"str",val:"m"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"10"}]},{N:"fn",name:"concat",C:[{N:"fn",name:"seconds-from-duration",C:[{N:"varRef",name:"Q{}duration",slot:"6"}]},{N:"str",val:"s"}]}]},{N:"str",val:" "}]}]}]}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"let",line:"333","var":"Q{}errorCount",slot:"11",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}message-count", -tailCall:"false",bSlot:"8",eval:"1",C:[{N:"gVarRef",name:"Q{}XTSE0010",bSlot:"9"}]},{N:"choose",line:"334",C:[{N:"compareToInt",op:"gt",val:"0",C:[{N:"varRef",name:"Q{}errorCount",slot:"11"}]},{N:"let",line:"335","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"12",eval:"13",C:[{N:"compareToInt",op:"ne",val:"1",C:[{N:"varRef",name:"Q{}errorCount",slot:"11"}]},{N:"message",C:[{N:"valueOf",role:"select",C:[{N:"fn",name:"concat",C:[{N:"convert",from:"ADI",to:"AS",C:[{N:"varRef",name:"Q{}errorCount", -slot:"11"}]},{N:"str",val:" error"},{N:"fn",name:"string",C:[{N:"filter",flags:"ib",C:[{N:"str",val:"s"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"12"}]}]},{N:"str",val:" during compilation"}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"226",binds:"3",C:[{N:"function",name:"Q{MyFunctions}missingAttribute",line:"810",module:"normalize.xsl",eval:"4",flags:"pU", -as:"*",slots:"2",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"arg",name:"Q{}attribute",as:"1AS"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"813",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",eval:"0 16 16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"fn",name:"name", -C:[{N:"dot",type:"1NE"}]},{N:"str",val:" requires an @"},{N:"varRef",name:"Q{}attribute",slot:"1"},{N:"str",val:" attribute"}]},{N:"dot",type:"1NE"}]}]}]}]},{N:"co",id:"303",vis:"PRIVATE",binds:"",C:[{N:"function",name:"Q{MyFunctions}pvt-emit-expression",line:"29",module:"XSLT-value-template.xsl",eval:"9",flags:"pU",as:"1NA",slots:"1",C:[{N:"arg",name:"Q{}in",as:"1AS"},{N:"att",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation f=MyFunctions xs=~ xsl=~ xml=~",line:"32",name:"expression", -C:[{N:"varRef",name:"Q{}in",slot:"0"}]}]}]},{N:"co",id:"277",binds:"13 304",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_COMMENT",as:"1AS",line:"51",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"51",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_COMMENT",bSlot:"1"}]}]}]},{N:"co",id:"269",binds:"13 305",C:[{N:"globalVariable", -name:"Q{}SJ.SINGLE_ELEMENT",as:"1AS",line:"50",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ELEMENT",bSlot:"1"}]}]}]},{N:"co",id:"284",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_INTEGER",as:"1FM k[AS] v[1AS]",line:"23",module:"sequenceType.xsl",visibility:"PRIVATE", -C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"ADI"}]}]}]},{N:"co",id:"306",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ZERO_OR_MORE",as:"1ADI",line:"109",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"7"}]}]},{N:"co",id:"160",binds:"160",C:[{N:"function",name:"Q{MyTypes}itemTypeRelationship",line:"234",module:"type.xsl",eval:"16",flags:"pU",as:"1AS",slots:"10",C:[{N:"arg",name:"Q{}required",as:"1FM"},{N:"arg",name:"Q{}supplied", -as:"1FM"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"245",C:[{N:"let","var":"Q{}primaryRel",slot:"2",eval:"16",C:[{N:"let","var":"Q{}R",as:"1AS",slot:"3",eval:"16",C:[{N:"treat",as:"AS",diag:"0|0||t:alphaRelationship",C:[{N:"check",card:"1",diag:"0|0||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef", -name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]}]}]}]},{N:"let","var":"Q{}S",as:"1AS",slot:"4",eval:"16",C:[{N:"treat",as:"AS",diag:"0|1||t:alphaRelationship",C:[{N:"check",card:"1",diag:"0|1||t:alphaRelationship",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||t:alphaRelationship",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"p"}]}]}]}]}]},{N:"choose",line:"185",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"varRef",name:"Q{}R",slot:"3"},{N:"varRef",name:"Q{}S",slot:"4"}]}, -{N:"str",val:"EQ"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}R",slot:"3"},{N:"varRef",name:"Q{}S",slot:"4"}]},{N:"str",val:"LT"},{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}S",slot:"4"},{N:"varRef",name:"Q{}R",slot:"3"}]},{N:"str",val:"GT"},{N:"true"},{N:"str",val:"DJ"}]}]}]},{N:"choose",line:"248",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"vc",op:"ne",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}primaryRel",slot:"2"}, -{N:"str",val:"EQ"}]},{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]}]},{N:"vc",op:"eq",onEmpty:"0",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?",diag:"1|0||eq",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required", -slot:"0"},{N:"str",val:"p"}]}]},{N:"str",val:""}]}]},{N:"varRef",line:"249",name:"Q{}primaryRel",slot:"2"},{N:"true"},{N:"let",line:"252","var":"Q{}R",slot:"5",eval:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"n"}]},{N:"let",line:"253","var":"Q{}S",slot:"6",eval:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"n"}]},{N:"let",line:"266","var":"Q{}nameRel",as:"1AS",slot:"7",eval:"16",C:[{N:"choose",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists", -C:[{N:"varRef",name:"Q{}R",slot:"5"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}S",slot:"6"}]}]},{N:"str",val:"LT"},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}S",slot:"6"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}R",slot:"5"}]}]},{N:"str",val:"GT"},{N:"fn",name:"deep-equal",C:[{N:"varRef",name:"Q{}R",slot:"5"},{N:"varRef",name:"Q{}S",slot:"6"}]},{N:"str",val:"EQ"},{N:"true"},{N:"str",val:"DJ"}]},{N:"choose",line:"268",C:[{N:"compareToString",op:"ne",val:"EQ",C:[{N:"varRef", -name:"Q{}nameRel",slot:"7"}]},{N:"varRef",line:"269",name:"Q{}nameRel",slot:"7"},{N:"true"},{N:"let",line:"272","var":"Q{}R",slot:"8",eval:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}required",slot:"0"},{N:"str",val:"e"}]},{N:"let",line:"273","var":"Q{}S",slot:"9",eval:"4",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}supplied",slot:"1"},{N:"str",val:"e"}]},{N:"choose",line:"285",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}R",slot:"8"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}S", -slot:"9"}]}]},{N:"str",val:"LT"},{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}S",slot:"9"}]},{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}R",slot:"8"}]}]},{N:"str",val:"GT"},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}R",slot:"8"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}S",slot:"9"}]}]},{N:"str",val:"EQ"},{N:"true"},{N:"ufCall",name:"Q{MyTypes}itemTypeRelationship",tailCall:"self",bSlot:"0",eval:"16 16",C:[{N:"treat",as:"FM",diag:"0|0||t:itemTypeRelationship", -C:[{N:"check",card:"1",diag:"0|0||t:itemTypeRelationship",C:[{N:"varRef",name:"Q{}R",slot:"8"}]}]},{N:"treat",as:"FM",diag:"0|1||t:itemTypeRelationship",C:[{N:"check",card:"1",diag:"0|1||t:itemTypeRelationship",C:[{N:"varRef",name:"Q{}S",slot:"9"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"304",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_COMMENT",as:"1FM k[AS] v[1AS]",line:"37",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str", -val:"p"},{N:"str",val:"NC"}]}]}]},{N:"co",id:"305",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_ELEMENT",as:"1FM k[AS] v[1AS]",line:"34",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"NE"}]}]}]},{N:"co",id:"307",binds:"",C:[{N:"mode",name:"Q{}form.schema",onNo:"DS",flags:"W",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"-0.5",seq:"27",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",as:"*FM", -line:"368",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"369",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:"\\..$"},{N:"str",val:""},{N:"str",val:""}]},{N:"str",val:"AAA"}]}]}, -{N:"templateRule",prec:"0",prio:"0.0",seq:"28",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{}sequence-constructor",flags:"s",as:"*FM",line:"371",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{}sequence-constructor"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"372",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM", -C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{}sequence-constructor",flags:"a"}]},{N:"str",val:"AAA"}]}]},{N:"templateRule",prec:"0",prio:"-0.5",seq:"26",rank:"0",minImp:"0",slots:"0",matches:"NA",flags:"s",line:"359",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"360",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry", -type:"1FM",C:[{N:"fn",name:"replace",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:"\\..+$"},{N:"str",val:""},{N:"str",val:""}]},{N:"ifCall",line:"362",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:"isAVT"},{N:"fn",name:"matches",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA",flags:"a"}]},{N:"str",val:"\\.R?A$"},{N:"str",val:""}]}]},{N:"ifCall", -line:"363",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"values"},{N:"fn",name:"tokenize",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA",flags:"a"}]}]}]},{N:"str",val:"\\s*\\|\\s*"},{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:"templateRule",prec:"0",prio:"0.0", -seq:"25",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{MyFunctions}selectAndContent",flags:"s",line:"355",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{MyFunctions}selectAndContent"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"356",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"local-name", -C:[{N:"dot",type:"1NA nQ{MyFunctions}selectAndContent",flags:"a"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{MyFunctions}selectAndContent",flags:"a"}]}]}]},{N:"templateRule",prec:"0",prio:"0.0",seq:"24",rank:"1",minImp:"0",slots:"0",matches:"NA nQ{MyFunctions}parents",flags:"s",line:"346",module:"XSLT-syntax.xsl",C:[{N:"p.nodeTest",role:"match",test:"NA nQ{MyFunctions}parents"},{N:"ifCall",role:"action",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"353",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"parents"},{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NA nQ{MyFunctions}parents",flags:"a"}]}]}]},{N:"str",val:"\\s*\\|\\s*"},{N:"str",val:""}]},{N:"choose",C:[{N:"compareToString",op:"eq",val:"top-level",C:[{N:"dot",type:"1AS"}]},{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str", -val:"transform"},{N:"str",val:"package"}]},{N:"true"},{N:"dot",type:"1AS"}]}]}]}]}]}]},{N:"co",id:"308",binds:"",C:[{N:"function",name:"Q{MyTypes}type-error",line:"1174",module:"type.xsl",eval:"8",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1179",name:"error",C:[{N:"qName", -pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTTE0590"},{N:"fn",name:"concat",C:[{N:"str",val:"Wrong type "},{N:"fn",line:"325",name:"serialize",C:[{N:"varRef",line:"1179",name:"Q{}suppliedType",slot:"0"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"json"}]}]},{N:"str",val:" for ??? - expecting "},{N:"fn",line:"325",name:"serialize",C:[{N:"varRef",line:"1179",name:"Q{}requiredType",slot:"1"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"json"}]}]}]}]}]}]},{N:"co",id:"279", -binds:"13 150",C:[{N:"globalVariable",name:"Q{}SJ.MULIPLE_ATTRIBUTE",as:"1AS",line:"57",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"57",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_ATTRIBUTE",bSlot:"1"}]}]}]},{N:"co",id:"309",binds:"",C:[{N:"function",name:"Q{MyFunctions}plainAtt",line:"816",module:"normalize.xsl", -eval:"4",flags:"pU",as:"*NA",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"818",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"co",id:"162",binds:"3 175 175", -C:[{N:"function",name:"Q{MyTypes}type-error",line:"1182",module:"type.xsl",eval:"4",flags:"pU",as:"*",slots:"5",C:[{N:"arg",name:"Q{}suppliedType",as:"1FM"},{N:"arg",name:"Q{}requiredType",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"arg",name:"Q{}expression",as:"1NE"},{N:"tailCallLoop",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1187",C:[{N:"let","var":"Q{}parts",as:"*AS",slot:"4", -eval:"4",C:[{N:"fn",name:"tokenize",C:[{N:"varRef",name:"Q{}diag",slot:"2"},{N:"str",val:"\\|"},{N:"str",val:""}]},{N:"ufCall",line:"1192",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0",eval:"16 16 1",C:[{N:"check",card:"1",diag:"0|0||f:syntax-error-at",C:[{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"4"},{N:"int",val:"3"}]}]},{N:"fn",name:"concat",C:[{N:"str",val:"Required type of "},{N:"subscript",C:[{N:"varRef",name:"Q{}parts",slot:"4"},{N:"int",val:"4"}]},{N:"str",val:" is "}, -{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"1",eval:"1",C:[{N:"varRef",name:"Q{}requiredType",slot:"1"}]},{N:"str",val:"; actual type is "},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"2",eval:"1",C:[{N:"varRef",name:"Q{}suppliedType",slot:"0"}]}]},{N:"varRef",name:"Q{}expression",slot:"3"}]}]}]}]}]},{N:"co",id:"142",binds:"13 300",C:[{N:"globalVariable",name:"Q{}SJ.OPTIONAL_DOCUMENT",as:"1AS",line:"47",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall", -ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",eval:"1",C:[{N:"gVarRef",name:"Q{}ST.OPTIONAL_DOCUMENT",bSlot:"1"}]}]}]},{N:"co",id:"310",binds:"",C:[{N:"function",name:"Q{MyFunctions}get-excluded-namespaces",line:"900",module:"static.xsl",eval:"4",flags:"pU",as:"*AS",slots:"3",C:[{N:"arg",name:"Q{}origin",as:"1NE"},{N:"forEach",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"909",C:[{N:"docOrder",intra:"1",C:[{N:"slash",C:[{N:"slash",C:[{N:"varRef",name:"Q{}origin",slot:"0"},{N:"fn",name:"reverse",C:[{N:"axis",name:"ancestor-or-self",nodeTest:"NE"}]}]},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"}]},{N:"true"},{N:"sequence",C:[{N:"axis", -name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}extension-element-prefixes"}]}]}]}]},{N:"let",line:"910","var":"Q{}owner",as:"*N u[NE,ND]",slot:"1",eval:"4",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"choose",line:"912",C:[{N:"compareToString",op:"eq",val:"#all",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA"}]}]}]},{N:"forEach", -line:"913",C:[{N:"slash",simple:"2",C:[{N:"varRef",name:"Q{}owner",slot:"1"},{N:"axis",name:"namespace",nodeTest:"NN"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NN"}]}]},{N:"true"},{N:"let",line:"923","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1NE i[NE,N u[NE,ND]]",slot:"2",eval:"13",C:[{N:"check",card:"1",diag:"0|1||fn:namespace-uri-for-prefix",C:[{N:"varRef",name:"Q{}owner",slot:"1"}]},{N:"forEach",C:[{N:"forEach",C:[{N:"fn",name:"tokenize",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:tokenize", -C:[{N:"dot",type:"1NA"}]}]}]},{N:"fn",name:"namespace-uri-for-prefix",C:[{N:"choose",C:[{N:"compareToString",op:"eq",val:"#default",C:[{N:"dot",type:"1AS"}]},{N:"str",val:""},{N:"true"},{N:"dot",type:"1AS"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"2"}]}]},{N:"fn",name:"string",C:[{N:"dot",type:"1AU"}]}]}]}]}]}]}]}]},{N:"co",id:"311",binds:"",C:[{N:"function",name:"Q{MyTypes}withOccurrenceIndicator",line:"1198",module:"type.xsl",eval:"8",flags:"pU",as:"1AS",slots:"2", -C:[{N:"arg",name:"Q{}type",as:"1AS"},{N:"arg",name:"Q{}indicator",as:"1AS"},{N:"fn",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1201",name:"concat",C:[{N:"varRef",name:"Q{}indicator",slot:"1"},{N:"fn",name:"replace",C:[{N:"varRef",name:"Q{}type",slot:"0"},{N:"str",val:"^[01*?+]"},{N:"str",val:""},{N:"str",val:""}]}]}]}]},{N:"co",id:"312",binds:"",C:[{N:"function",name:"Q{MyFunctions}distinct-values-retaining-order", -line:"459",module:"lib.xsl",eval:"4",flags:"pU",as:"*A",slots:"1",C:[{N:"arg",name:"Q{}in",as:"*A"},{N:"forEachGroup",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"461",algorithm:"by",C:[{N:"varRef",role:"select",name:"Q{}in",slot:"0"},{N:"dot",role:"key",type:"1A"},{N:"str",role:"collation",val:"http://www.w3.org/2005/xpath-functions/collation/codepoint"}, -{N:"dot",role:"content",line:"462",type:"1A"}]}]}]},{N:"co",id:"313",binds:"",C:[{N:"globalVariable",name:"Q{}bind-with-accumulators",as:"1AB",line:"22",module:"component-bindings.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"true"}]}]},{N:"co",id:"314",binds:"",C:[{N:"function",name:"Q{coBindings}find-reference",line:"196",module:"component-bindings.xsl",eval:"4",flags:"pU",as:"*AS",slots:"2",C:[{N:"arg",name:"Q{}bindings",as:"*AS"},{N:"arg",name:"Q{}name",as:"1AS"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"205",C:[{N:"fn",name:"exists",C:[{N:"fn",name:"index-of",C:[{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]}]},{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"true"},{N:"sequence",C:[{N:"varRef",name:"Q{}bindings",slot:"0"},{N:"varRef",name:"Q{}name",slot:"1"}]}]}]}]},{N:"co",id:"315",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.EMPTY",as:"1ADI",line:"111",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"1"}]}]},{N:"co",id:"74",binds:"78 3 158 3 3 55 32 73 51 45 45 45 3 3 3 3 132 146 3 3 175 3 3 46 46 3 131 131 131 131 131 131 131 131 131 131 131 131 131 131 131 78 3 151 55 206 74 78", -C:[{N:"mode",name:"Q{}process-module",onNo:"FF",flags:"F",patternSlots:"0",C:[{N:"templateRule",prec:"0",prio:"1.45",seq:"1",rank:"1",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"s",line:"113",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"p.nodeTest",test:"ND"}]},{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~", -line:"114",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",eval:"16 16",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]},{N:"str",val:" must not appear at the outermost level of a stylesheet module"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.4",seq:"0",rank:"0",minImp:"0",slots:"0",matches:"NE",flags:"s",as:"1FM",line:"89",module:"static.xsl", -C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE"},{N:"p.nodeTest",test:"ND"}]},{N:"check",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"91",card:"1",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"sequence",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]},{N:"treat", -line:"93",as:"FM",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",eval:"0 16 16",C:[{N:"str",val:"XTSE0150"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}package"}]},{N:"str",val:"Supplied stylesheet is a SEF package"},{N:"true"},{N:"str",val:"Simplified stylesheet root element lacks @xsl:version"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"treat", -line:"108",as:"FM",diag:'7|0|XTTE0505|match="/*" mode="process-module"',C:[{N:"applyT",flags:"ct",bSlot:"-1",C:[{N:"slash",role:"select",line:"96",simple:"1",C:[{N:"doc",C:[{N:"elem",line:"97",name:"xsl:stylesheet",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"version",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{http://www.w3.org/1999/XSL/Transform}version"}]}]}]},{N:"att",line:"98",name:"xml:base", -nsuri:"http://www.w3.org/XML/1998/namespace",flags:"l",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]}]},{N:"elem",line:"100",name:"xsl:template",nsuri:"http://www.w3.org/1999/XSL/Transform",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"match",flags:"l",C:[{N:"str",val:"/"}]},{N:"copy",line:"102",flags:"cinl",sit:"1NE",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]}]}]}]}]}]}, -{N:"axis",line:"108",name:"child",nodeTest:"NE"}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"3",rank:"2",minImp:"0",slots:"73",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform",flags:"s",line:"129",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"},{N:"p.nodeTest",test:"ND"}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"130",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"137",name:"Q{}moduleLabel",slot:"1",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"cvUntyped", -to:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"data",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"145",name:"Q{}precLabel",slot:"2",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"data",diag:"8|0|XTTE0590|precLabel",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"146", -name:"Q{}static-vars",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"147",name:"Q{}static-isParam",slot:"4",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-isParam",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-isParam",C:[{N:"supplied", -slot:"4"}]}]}]},{N:"param",line:"148",name:"Q{}var-slots",slot:"5",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param",line:"149",name:"Q{}next-slot",slot:"6",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot", -C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"supplied",slot:"6"}]}]}]}]}]},{N:"param",line:"150",name:"Q{}imported",slot:"7",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|imported",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|imported",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|imported",C:[{N:"data",diag:"8|0|XTTE0590|imported",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"param",line:"151",name:"Q{}top-level", -slot:"8",flags:"t",as:"1AB",C:[{N:"true",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|top-level",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|top-level",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|top-level",C:[{N:"data",diag:"8|0|XTTE0590|top-level",C:[{N:"supplied",slot:"8"}]}]}]}]}]},{N:"param",line:"152",name:"Q{}params",slot:"9",flags:"t",as:"1FM k[AQ]",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM k[AQ]",diag:"8|0|XTTE0590|params",C:[{N:"check", -card:"1",diag:"8|0|XTTE0590|params",C:[{N:"supplied",slot:"9"}]}]}]},{N:"param",line:"153",name:"Q{}stylesheet-stack",slot:"10",flags:"t",as:"*AU",C:[{N:"fn",role:"select",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"supplied",slot:"10"}]}]}]}]},{N:"param",line:"154",name:"Q{}stylesheet-base-uri",slot:"11", -flags:"t",as:"1AU",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|stylesheet-base-uri",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"11"}]}]}]}]}]},{N:"param",line:"155",name:"Q{}parent-version", -slot:"12",flags:"t",as:"?AD",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|parent-version",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|parent-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|parent-version",C:[{N:"data",diag:"8|0|XTTE0590|parent-version",C:[{N:"supplied",slot:"12"}]}]}]}]}]},{N:"let",line:"159","var":"Q{}version",as:"1AD",slot:"20",eval:"9",C:[{N:"callT",line:"160",name:"Q{}XSLT-version",bSlot:"2"},{N:"let",line:"162","var":"Q{}xpath-default-namespace", -as:"?NA",slot:"21",eval:"8",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"},{N:"let",line:"163","var":"Q{}stylesheet-properties",as:"*NA",slot:"22",eval:"4",C:[{N:"sequence",line:"164",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"},{N:"choose",line:"165",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"att",line:"166",name:"expand-text",C:[{N:"str",val:"no"}]}]}, -{N:"choose",line:"168",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}parent-version",slot:"12"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"20"},{N:"varRef",name:"Q{}parent-version",slot:"12"}]}]},{N:"axis",line:"169",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",line:"175",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn", -name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"ufCall",line:"187",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"3",eval:"0 16 16",C:[{N:"str",val:"XTSE0120"},{N:"cvUntyped",line:"178",to:"AS",diag:"3|0|XTTE0570|message",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"valueOf",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]}, -{N:"valueOf",line:"179",C:[{N:"str",val:" cannot have non-whitespace text node children. "}]},{N:"choose",line:"181",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NT"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]}]},{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"' just after "},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}node",as:"1N",slot:"23",eval:"16",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:path",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NT"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]}]}]},{N:"choose",module:"lib.xsl",line:"406",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}loc"}]}]},{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"attVal",name:"Q{}loc",chk:"0"}]}]}]}]}]},{N:"true"},{N:"cvUntyped",line:"408",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"23"}]}]}]}]}]}]}]},{N:"fn",line:"182",name:"exists",C:[{N:"axis",name:"following-sibling", -nodeTest:"NE"}]},{N:"valueOf",line:"182",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"' just before "},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"24",eval:"16",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -card:"1",diag:"0|0||f:path",C:[{N:"first",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"}]}]},{N:"choose",module:"lib.xsl",line:"406",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"24"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}loc"}]}]},{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"24"},{N:"attVal",name:"Q{}loc", -chk:"0"}]}]}]}]}]},{N:"true"},{N:"cvUntyped",line:"408",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"24"}]}]}]}]}]}]}]},{N:"true"},{N:"valueOf",line:"183",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"'"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at", -C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"forEach",line:"190",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"ufCall",line:"191",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"4",eval:"0 16 16",C:[{N:"str",val:"XTSE0130"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"name",C:[{N:"dot",type:"1N u[NE,ND]"}]}]},{N:"str", -val:" cannot have a no-namespace child element:"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"dot",type:"1NE"}]}]},{N:"choose",line:"194",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"}]}]},{N:"ufCall",line:"195",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"5",eval:"0 0",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"A stylesheet module may not contain more than one xsl:global-context-item element"}]}]}, -{N:"let",line:"203","var":"Q{}not-discarded",as:"1AB",slot:"25",eval:"16",C:[{N:"choose",line:"205",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"}]},{N:"callT",line:"206",name:"Q{}check-use-when",bSlot:"6"},{N:"true"},{N:"true"}]},{N:"let",line:"214","var":"Q{}result",as:"1FM",slot:"26",eval:"16",C:[{N:"treat",line:"220",as:"FM",diag:"3|0|XTTE0570|result",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|result",C:[{N:"iterate",C:[{N:"choose",role:"select",C:[{N:"varRef", -name:"Q{}not-discarded",slot:"25"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"params",role:"params",line:"221",C:[{N:"param",name:"Q{}components",slot:"13",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|components",C:[{N:"supplied",slot:"13"}]}]},{N:"param",line:"222",name:"Q{}inner-static-vars",slot:"14",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}static-vars",slot:"3"},{N:"treat",role:"conversion",as:"FM", -diag:"8|0|XTTE0590|inner-static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|inner-static-vars",C:[{N:"supplied",slot:"14"}]}]}]},{N:"param",line:"223",name:"Q{}static-isParam",slot:"15",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}static-isParam",slot:"4"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-isParam",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-isParam",C:[{N:"supplied",slot:"15"}]}]}]},{N:"param",line:"225",name:"Q{}vars-in-import",slot:"16",as:"1FM",C:[{N:"map", -role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|vars-in-import",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|vars-in-import",C:[{N:"supplied",slot:"16"}]}]}]},{N:"param",line:"226",name:"Q{}isParam-in-import",slot:"17",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|isParam-in-import",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|isParam-in-import",C:[{N:"supplied",slot:"17"}]}]}]},{N:"param",line:"227",name:"Q{}var-slots", -slot:"18",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}var-slots",slot:"5"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"18"}]}]}]},{N:"param",line:"228",name:"Q{}next-slot",slot:"19",as:"1ADI",C:[{N:"varRef",role:"select",name:"Q{}next-slot",slot:"6"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI", -diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"supplied",slot:"19"}]}]}]}]}]}]},{N:"ifCall",role:"on-completion",line:"256",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:"components"},{N:"varRef",name:"Q{}components",slot:"13"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"static-vars"}, -{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"static-isParam"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots",slot:"18"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"next-slot"},{N:"varRef",name:"Q{}next-slot", -slot:"19"}]}]},{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",role:"action",line:"263","var":"Q{}possible.component",as:"?NE",slot:"27",eval:"7",C:[{N:"treat",line:"264",as:"NE",diag:"3|0|XTTE0570|possible.component",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|possible.component",C:[{N:"applyT",mode:"Q{}static",bSlot:"7",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"withParam",name:"Q{}static-vars",flags:"t",as:"1FM",C:[{N:"varRef",line:"265",name:"Q{}inner-static-vars",slot:"14"}]},{N:"withParam",name:"Q{}var-slots",flags:"t",as:"1FM",C:[{N:"varRef",line:"266",name:"Q{}var-slots",slot:"18"}]},{N:"withParam",name:"Q{}next-slot",flags:"t",as:"1ADI",C:[{N:"varRef",line:"267",name:"Q{}next-slot",slot:"19"}]},{N:"withParam",name:"Q{}static-isParam",flags:"t",as:"1FM",C:[{N:"varRef",line:"268",name:"Q{}static-isParam",slot:"15"}]},{N:"withParam",name:"Q{}xpath-default-namespace", -flags:"t",as:"?NA",C:[{N:"varRef",line:"269",name:"Q{}xpath-default-namespace",slot:"21"}]},{N:"withParam",name:"Q{}XSLT-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"270",name:"Q{}version",slot:"20"}]},{N:"withParam",name:"Q{}stylesheet-properties",flags:"t",as:"*NA",C:[{N:"varRef",line:"271",name:"Q{}stylesheet-properties",slot:"22"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"272",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false", -bSlot:"8",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]}]}]},{N:"let",line:"277","var":"Q{}isStaticVariable",as:"1AB",slot:"28",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"9",eval:"7 0",C:[{N:"slash",simple:"1",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}static"}]},{N:"false"}]},{N:"let",line:"278","var":"Q{}isStaticParam",as:"1AB",slot:"29",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"10",eval:"7 0",C:[{N:"slash",simple:"1",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"false"}]},{N:"choose", -line:"281",C:[{N:"or",line:"279",op:"or",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isStaticVariable",slot:"28"}]},{N:"let",line:"287","var":"Q{}name",as:"?AQ",slot:"30",eval:"7",C:[{N:"choose",C:[{N:"fn",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"str",val:":"}]},{N:"fn",name:"resolve-QName",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"true"}, -{N:"fn",name:"QName",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}name",chk:"0"}]}]}]}]},{N:"let",line:"288","var":"Q{}value",slot:"31",eval:"8",C:[{N:"forEach",line:"291",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"let",line:"292","var":"Q{}isRequired",slot:"32",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"11",eval:"8 0",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}, -{N:"false"}]},{N:"let",line:"293","var":"Q{}isSupplied",as:"1AB",slot:"33",eval:"8",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}params",slot:"9"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"296",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]},{N:"choose",line:"311",C:[{N:"fn",name:"exists",C:[{N:"sequence",line:"298",C:[{N:"axis",name:"child", -nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"12",eval:"16 16 16",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"str",val:"XTSE0620"},{N:"true"},{N:"str",val:"XTSE0010"}]},{N:"fn",name:"concat",C:[{N:"str",val:"Static "},{N:"fn", -name:"local-name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" must not have a sequence constructor"}]},{N:"dot",type:"1NE"}]}]},{N:"and",line:"313",op:"and",C:[{N:"varRef",name:"Q{}isRequired",slot:"32"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"ufCall",line:"316",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",eval:"0 16 16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"str", -val:"Required static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" must not have a default value"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"318",op:"and",C:[{N:"varRef",name:"Q{}isStaticVariable",slot:"28"},{N:"gc",op:"!=",card:"N:1",comp:"CCC",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"},{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}visibility"}]}]}]},{N:"str", -val:"private"}]}]},{N:"ufCall",line:"322",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",eval:"0 16 16",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"str",val:"Static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" must have private visibility"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"325",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam", -slot:"29"},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isSupplied",slot:"33"}]}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]},{N:"str",val:"(\\*|\\?)\\s*?"},{N:"str",val:""}]}]}]},{N:"ufCall",line:"329",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",eval:"0 16 16", -C:[{N:"str",val:"XTDE0700"},{N:"fn",name:"concat",C:[{N:"str",val:"No value for implicitly mandatory static parameter "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" has been supplied"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"331",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isSupplied",slot:"33"}]},{N:"let",line:"332","var":"Q{}supplied",slot:"34",eval:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}params", -slot:"9"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"335",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"instance",of:"1AZ",C:[{N:"varRef",name:"Q{}supplied",slot:"34"}]}]},{N:"let",line:"337","var":"Q{}targetType",slot:"35",eval:"4",C:[{N:"lookup",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"337",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"static.xsl",line:"337",type:"1NE"},{N:"str",val:""}]}]},{N:"str",val:"p"}]},{N:"let",line:"338","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"36",eval:"13",C:[{N:"treat",as:"AS",diag:"0|1||f:cast",C:[{N:"check",card:"1",diag:"0|1||f:cast",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||f:cast",C:[{N:"varRef",name:"Q{}targetType",slot:"35"}]}]}]}]},{N:"forEach",C:[{N:"varRef",name:"Q{}supplied",slot:"34"},{N:"ufCall",name:"Q{MyFunctions}cast",tailCall:"false",bSlot:"16", -eval:"16 1",C:[{N:"atomSing",diag:"0|0||f:cast",C:[{N:"dot"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"36"}]}]}]}]},{N:"fn",line:"340",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"342","var":"Q{}targetType",slot:"37",eval:"4",C:[{N:"lookup",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"342",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"static.xsl",line:"342",type:"1NE"},{N:"str",val:""}]}]},{N:"str",val:"p"}]},{N:"let",line:"344","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AS",slot:"38",eval:"13",C:[{N:"treat",as:"AS",diag:"0|1||f:isInstance",C:[{N:"check",card:"1",diag:"0|1||f:isInstance",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||f:isInstance",C:[{N:"varRef",name:"Q{}targetType",slot:"37"}]}]}]}]},{N:"choose",C:[{N:"every","var":"Q{}item",slot:"39",C:[{N:"varRef",name:"Q{}supplied",slot:"34"},{N:"ufCall", -name:"Q{MyFunctions}isInstance",tailCall:"false",bSlot:"17",eval:"1 1",C:[{N:"varRef",name:"Q{}item",slot:"39"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"38"}]}]},{N:"varRef",line:"345",name:"Q{}supplied",slot:"34"},{N:"true"},{N:"ufCall",line:"350",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"18",eval:"0 16 16",C:[{N:"str",val:"XTDE0050"},{N:"fn",name:"concat",C:[{N:"str",val:"Supplied value of static parameter "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str", -val:" does not match the required type"}]},{N:"dot",type:"1NE"}]}]}]}]},{N:"true"},{N:"varRef",line:"355",name:"Q{}supplied",slot:"34"}]}]},{N:"and",line:"360",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isRequired",slot:"32"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isSupplied",slot:"33"}]}]},{N:"ufCall",line:"363",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",eval:"0 16 16",C:[{N:"str",val:"XTDE0050"},{N:"fn",name:"concat", -C:[{N:"str",val:"No value for required static parameter "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" has been supplied"}]},{N:"dot",type:"1NE"}]},{N:"fn",line:"365",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"let",line:"369","var":"Q{}xpath",as:"1AS",slot:"40",eval:"16",C:[{N:"choose",line:"371",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"372","var":"Q{}type",slot:"41",eval:"16",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"372",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"static.xsl",line:"372",type:"1NE"},{N:"str",val:""}]}]},{N:"choose",line:"375",C:[{N:"and",op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"o"}]}]},{N:"str",val:"1"}]}]},{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]}]},{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select",chk:"0"}]}]},{N:"str",val:")"}]}]}]},{N:"and",line:"377",op:"and", -C:[{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"o"}]}]},{N:"str", -val:"?"}]}]},{N:"cvUntyped",line:"377",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",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{}select",chk:"0"}]}]},{N:"str",val:") cast as "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]}]}]}]}]},{N:"fn",line:"378",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with", -C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"cvUntyped",line:"378",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",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{}select",chk:"0"}]}]},{N:"str",val:") ! "},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"20",eval:"16", -C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"static.xsl",line:"378",name:"Q{}type",slot:"41"},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"str",val:"(.)"}]}]}]},{N:"true"},{N:"cvUntyped",line:"379",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",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{}select",chk:"0"}]}]},{N:"str",val:") treat as "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as", -chk:"0"}]}]}]}]}]}]}]},{N:"true"},{N:"cvUntyped",line:"382",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select",chk:"0"}]}]}]}]}]},{N:"let",line:"385","var":"Q{}nsContext",as:"1NE c~untyped",slot:"42",eval:"9",C:[{N:"let",line:"386","var":"Q{}dot",as:"1",slot:"43",eval:"16",C:[{N:"dot",type:"1NE"},{N:"compElem",line:"387",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"21"}]}]}]},{N:"forEach",role:"content",line:"388",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"390",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix", -C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"43"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"try",line:"398",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}xpath",slot:"40"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"42"},{N:"str",role:"sa",val:"no"},{N:"ifCall",role:"options",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:"allow-xslt-functions"},{N:"true"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots",slot:"18"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",role:"wp",name:"Q{}inner-static-vars",slot:"14"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050", -C:[{N:"fn",line:"400",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050X"},{N:"treat",as:"AS",diag:"0|1||fn:error",C:[{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",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:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"ufCall",line:"405",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"21",eval:"0 16 16",C:[{N:"str",val:"XTDE3160"},{N:"fn",line:"404",name:"replace",C:[{N:"treat",as:"AS",diag:"0|0||fn:replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:"Static error in XPath expression supplied to xsl:evaluate:"},{N:"str",val:"Error in static expression:"},{N:"str",val:""}]}, -{N:"dot",type:"1NE"}]}]}]}]}]},{N:"fn",line:"416",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"empty"},{N:"true"},{N:"str",val:""}]}]}]}]},{N:"let",line:"426","var":"Q{}m",as:"1FM",slot:"44",eval:"16",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"varRef",name:"Q{}vars-in-import",slot:"16"},{N:"true"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"sequence",line:"427",C:[{N:"choose",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains", -type:"1AB",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"429",C:[{N:"and",op:"and",C:[{N:"instance",of:"1F",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"instance",of:"1FA",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"fn",name:"not",C:[{N:"instance",of:"1FM",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"message",line:"430",C:[{N:"valueOf",role:"select", -C:[{N:"fn",name:"concat",C:[{N:"str",val:"Warning: unable to check consistency of multiply-defined variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AQ",to:"AS",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"str",val:" with function(*) type\n "}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"fn",line:"433",name:"not",C:[{N:"fn",name:"deep-equal",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"ufCall",line:"436",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"22",eval:"0 16 16",C:[{N:"str",val:"XTSE3450"},{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting values for static variable "},{N:"varRef",name:"Q{}name",slot:"30"},{N:"str",val:"\n"},{N:"ufCall",line:"437",name:"Q{MyFunctions}serialize",tailCall:"false", -bSlot:"23",eval:"1",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"str",val:"\nand:\n"},{N:"ufCall",line:"439",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"24",eval:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]},{N:"str",val:"*#xA;"}]},{N:"check",line:"439",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component", -slot:"27"}]}]}]}]},{N:"choose",line:"448",C:[{N:"let","var":"Q{}m",slot:"45",eval:"16",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"varRef",name:"Q{}isParam-in-import",slot:"17"},{N:"true"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"and",op:"and",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"or",op:"or", -C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m", -slot:"45"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]}]},{N:"ufCall",line:"451",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"25",eval:"0 16 16",C:[{N:"str",val:"XTSE3450"},{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting declarations for static param/variable "},{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component", -slot:"27"}]}]}]},{N:"let",line:"462","var":"Q{}this-slot",as:"1A",slot:"46",eval:"16",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}next-slot",slot:"19"},{N:"choose",C:[{N:"instance",of:"1F",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"fn",name:"function-arity",C:[{N:"treat",as:"F",diag:"0|0||fn:function-arity",C:[{N:"check",card:"1",diag:"0|0||fn:function-arity",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"true"},{N:"int",val:"0"}]}]},{N:"let",line:"466","var":"Q{}grounded-value", -as:"1AB",slot:"47",eval:"16",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1A",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"nextIteration",line:"567",C:[{N:"withParam",name:"Q{}inner-static-vars",as:"1FM",slot:"14",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}inner-static-vars",slot:"14"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef", -name:"Q{}value",slot:"31"}]}]},{N:"withParam",name:"Q{}static-isParam",as:"1FM",slot:"15",C:[{N:"ifCall",line:"568",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}static-isParam",slot:"15"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}isStaticParam",slot:"29"}]}]},{N:"withParam",name:"Q{}vars-in-import",as:"1FM",slot:"16",C:[{N:"choose",line:"574",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}vars-in-import",slot:"16"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"true"},{N:"varRef",name:"Q{}vars-in-import",slot:"16"}]}]},{N:"withParam",name:"Q{}isParam-in-import",as:"1FM",slot:"17",C:[{N:"choose",line:"580",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", -type:"1FM",C:[{N:"varRef",name:"Q{}isParam-in-import",slot:"17"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"true"},{N:"varRef",name:"Q{}isParam-in-import",slot:"17"}]}]},{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"587",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"choose",C:[{N:"varRef",name:"Q{}grounded-value",slot:"47"},{N:"choose",line:"469",C:[{N:"varRef",name:"Q{}grounded-value", -slot:"47"},{N:"let",line:"540","var":"Q{http://saxon.sf.net/generated-variable}v20",as:"1AB",slot:"48",eval:"13",C:[{N:"instance",of:"1AZ",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"537","var":"Q{http://saxon.sf.net/generated-variable}v19",as:"1AB",slot:"49",eval:"13",C:[{N:"instance",of:"1AN",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"534","var":"Q{http://saxon.sf.net/generated-variable}v18",as:"1AB",slot:"50",eval:"13",C:[{N:"instance",of:"1AQ",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"531","var":"Q{http://saxon.sf.net/generated-variable}v17",as:"1AB",slot:"51",eval:"13",C:[{N:"instance",of:"1AX",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"528","var":"Q{http://saxon.sf.net/generated-variable}v16",as:"1AB",slot:"52",eval:"13",C:[{N:"instance",of:"1A2",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"525","var":"Q{http://saxon.sf.net/generated-variable}v15",as:"1AB",slot:"53",eval:"13",C:[{N:"instance",of:"1AK",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"522","var":"Q{http://saxon.sf.net/generated-variable}v14",as:"1AB",slot:"54",eval:"13",C:[{N:"instance",of:"1AI",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"519","var":"Q{http://saxon.sf.net/generated-variable}v13",as:"1AB",slot:"55",eval:"13",C:[{N:"instance",of:"1AJ",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"516","var":"Q{http://saxon.sf.net/generated-variable}v12",as:"1AB",slot:"56",eval:"13",C:[{N:"instance",of:"1AG",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"513","var":"Q{http://saxon.sf.net/generated-variable}v11",as:"1AB",slot:"57",eval:"13",C:[{N:"instance",of:"1AH",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"510","var":"Q{http://saxon.sf.net/generated-variable}v10",as:"1AB",slot:"58",eval:"13",C:[{N:"instance",of:"1AT",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"507","var":"Q{http://saxon.sf.net/generated-variable}v9",as:"1AB",slot:"59",eval:"13",C:[{N:"instance",of:"1ARD",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"504","var":"Q{http://saxon.sf.net/generated-variable}v8",as:"1AB",slot:"60",eval:"13",C:[{N:"instance",of:"1ARY",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"501","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"1AB",slot:"61",eval:"13",C:[{N:"instance",of:"1AA",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"498","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"62",eval:"13",C:[{N:"instance",of:"1AMP",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"495","var":"Q{http://saxon.sf.net/generated-variable}v5",as:"1AB",slot:"63",eval:"13",C:[{N:"instance",of:"1AM",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"492","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1AB",slot:"64",eval:"13",C:[{N:"or",op:"or",C:[{N:"instance",of:"1AS",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1AU",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"let",line:"488","var":"Q{http://saxon.sf.net/generated-variable}v3", -as:"1AB",slot:"65",eval:"13",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"instance",of:"1AD",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1AO",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"instance",of:"1AF",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"let",line:"477","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"66",eval:"13",C:[{N:"instance",of:"1AB",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"check",line:"470",card:"?",diag:"3|0|XTTE0570|variable.component", -C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"copy",line:"472",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"474",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"att",line:"475",name:"select",flags:"l",C:[{N:"str",val:"()"}]},{N:"varRef",line:"477",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"66"},{N:"att",line:"484",name:"select",flags:"l",C:[{N:"choose",C:[{N:"varRef", -name:"Q{}value",slot:"31"},{N:"str",val:"true()"},{N:"true"},{N:"str",val:"false()"}]}]},{N:"varRef",line:"488",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"65"},{N:"att",line:"489",name:"select",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:"31"}]}]}]},{N:"str",val:" "}]}]},{N:"varRef",line:"492",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"64"},{N:"att",line:"493",name:"select",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"treat",as:"AS",diag:"0|0||fn:replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]},{N:"varRef",line:"495",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"63"}, -{N:"att",line:"496",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"26",eval:"0",C:[{N:"str",val:"dateTime"}]}]}]}]}]},{N:"varRef",line:"498",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"62"},{N:"att", -line:"499",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"27",eval:"0",C:[{N:"str",val:"dateTimeStamp"}]}]}]}]}]},{N:"varRef",line:"501",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"61"},{N:"att",line:"502", -name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"28",eval:"0",C:[{N:"str",val:"date"}]}]}]}]}]},{N:"varRef",line:"504",name:"Q{http://saxon.sf.net/generated-variable}v8",slot:"60"},{N:"att",line:"505",name:"select", -flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"29",eval:"0",C:[{N:"str",val:"yearMonthDuration"}]}]}]}]}]},{N:"varRef",line:"507",name:"Q{http://saxon.sf.net/generated-variable}v9",slot:"59"},{N:"att",line:"508",name:"select", -flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"30",eval:"0",C:[{N:"str",val:"dayTimeDuration"}]}]}]}]}]},{N:"varRef",line:"510",name:"Q{http://saxon.sf.net/generated-variable}v10",slot:"58"},{N:"att",line:"511",name:"select", -flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"31",eval:"0",C:[{N:"str",val:"time"}]}]}]}]}]},{N:"varRef",line:"513",name:"Q{http://saxon.sf.net/generated-variable}v11",slot:"57"},{N:"att",line:"514",name:"select",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"32",eval:"0",C:[{N:"str",val:"gYearMonth"}]}]}]}]}]},{N:"varRef",line:"516",name:"Q{http://saxon.sf.net/generated-variable}v12",slot:"56"},{N:"att",line:"517",name:"select",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"33",eval:"0",C:[{N:"str",val:"gYear"}]}]}]}]}]},{N:"varRef",line:"519",name:"Q{http://saxon.sf.net/generated-variable}v13",slot:"55"},{N:"att",line:"520",name:"select",flags:"l",C:[{N:"convert",from:"AZ", -to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"34",eval:"0",C:[{N:"str",val:"gMonthDay"}]}]}]}]}]},{N:"varRef",line:"522",name:"Q{http://saxon.sf.net/generated-variable}v14",slot:"54"},{N:"att",line:"523",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS", -C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"35",eval:"0",C:[{N:"str",val:"gMonth"}]}]}]}]}]},{N:"varRef",line:"525",name:"Q{http://saxon.sf.net/generated-variable}v15",slot:"53"},{N:"att",line:"526",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast", -flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"36",eval:"0",C:[{N:"str",val:"gDay"}]}]}]}]}]},{N:"varRef",line:"528",name:"Q{http://saxon.sf.net/generated-variable}v16",slot:"52"},{N:"att",line:"529",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a", -as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"37",eval:"0",C:[{N:"str",val:"base64Binary"}]}]}]}]}]},{N:"varRef",line:"531",name:"Q{http://saxon.sf.net/generated-variable}v17",slot:"51"},{N:"att",line:"532",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ", -C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"38",eval:"0",C:[{N:"str",val:"hexBinary"}]}]}]}]}]},{N:"varRef",line:"534",name:"Q{http://saxon.sf.net/generated-variable}v18",slot:"50"},{N:"att",line:"535",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn", -name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"39",eval:"0",C:[{N:"str",val:"QName"}]}]}]}]}]},{N:"varRef",line:"537",name:"Q{http://saxon.sf.net/generated-variable}v19",slot:"49"},{N:"att",line:"538",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat", -C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"40",eval:"0",C:[{N:"str",val:"NOTATION"}]}]}]}]}]},{N:"varRef",line:"540",name:"Q{http://saxon.sf.net/generated-variable}v20",slot:"48"},{N:"choose",line:"544",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef", -name:"Q{}value",slot:"31"}]}]},{N:"castable",flags:"a",as:"1AO",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"castable",flags:"a",as:"1AF",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"att",line:"545",name:"select",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:"31"}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"att",line:"549", -name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"treat",as:"AS",diag:"0|0||fn:replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]}]},{N:"true"},{N:"sequence",line:"554",C:[{N:"message",C:[{N:"valueOf", -role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Unexpected atomic type; treating as string: "},{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:"31"}]}]}]},{N:"str",val:" "}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"att",line:"555",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat", -C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"treat",as:"AS",diag:"0|0||fn:replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]},{N:"withParam",name:"Q{}var-slots",as:"1FM",slot:"18", -C:[{N:"ifCall",line:"588",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}var-slots",slot:"18"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}this-slot",slot:"46"}]}]},{N:"withParam",name:"Q{}next-slot",as:"1ADI",slot:"19",C:[{N:"arith",line:"589",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}this-slot",slot:"46"},{N:"int",val:"1"}]}]}]}]}]}]}]}]}]},{N:"fn",line:"592",name:"exists",C:[{N:"slash",simple:"1", -C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}import,NE nQ{http://www.w3.org/1999/XSL/Transform}include]"}]}]},{N:"let",line:"594","var":"Q{}imported",as:"1AB",slot:"67",eval:"8",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"}]}]},{N:"let",line:"595","var":"Q{}doc",as:"1ND",slot:"68", -eval:"16",C:[{N:"check",line:"596",card:"1",diag:"3|0|XTTE0570|doc",C:[{N:"sequence",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]},{N:"treat",line:"598",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"41",eval:"16 16",C:[{N:"fn",name:"concat",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn", -name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" must have an @href attribute"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"choose",line:"600",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]},{N:"treat",line:"602",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"42", -eval:"0 16 16",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" must be empty"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"let",line:"607","var":"Q{}bad-attributes",as:"*NA",slot:"69",eval:"4",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"except",op:"except",C:[{N:"filter", -flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]},{N:"docOrder",intra:"1",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}default-validation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]},{N:"sequence",line:"608",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}bad-attributes",slot:"69"}]},{N:"treat",line:"609",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}wrongAttribute", -tailCall:"false",bSlot:"43",eval:"4",C:[{N:"check",card:"+",diag:"0|0||f:wrongAttribute",C:[{N:"first",C:[{N:"varRef",name:"Q{}bad-attributes",slot:"69"}]}]}]}]}]},{N:"let",line:"611","var":"Q{}uri",as:"?AU",slot:"70",eval:"8",C:[{N:"fn",name:"resolve-uri",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"attVal",name:"Q{}href",chk:"0"}]}]},{N:"convert",from:"AU",to:"AS",C:[{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}, -{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"11"}]}]}]}]},{N:"sequence",line:"612",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}stylesheet-stack",slot:"10"},{N:"varRef",name:"Q{}uri",slot:"70"}]},{N:"treat",line:"619",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"44",eval:"16 16",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"67"},{N:"str",val:"XTSE0210"},{N:"true"},{N:"str",val:"XTSE0180"}]},{N:"fn", -name:"concat",C:[{N:"str",val:"Document "},{N:"varRef",name:"Q{}uri",slot:"70"},{N:"str",val:" is recursively including or importing itself"}]}]}]}]},{N:"choose",line:"621",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"treat",line:"622",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Import/Include static processing for"},{N:"varRef",name:"Q{}uri",slot:"70"}]},{N:"str",role:"terminate",val:"no"},{N:"str", -role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"callT",line:"625",name:"Q{}collect-doc",bSlot:"45",C:[{N:"withParam",name:"Q{}uri",flags:"c",as:"?AU",C:[{N:"varRef",line:"626",name:"Q{}uri",slot:"70"}]}]}]}]}]}]}]}]},{N:"sequence",line:"630",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"sequence",line:"631",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"$doc:"},{N:"fn",name:"serialize",C:[{N:"slash", -simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"68"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"message",line:"632",C:[{N:"sequence",role:"select",C:[{N:"str",val:"base-uri($doc):"},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"68"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"str",role:"terminate", -val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"let",line:"635","var":"Q{}collected",as:"1FM",slot:"71",eval:"16",C:[{N:"let",line:"639","var":"Q{}suffix",as:"1AS",slot:"72",eval:"8",C:[{N:"fn",name:"codepoints-to-string",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"int",val:"50000"},{N:"cvUntyped",line:"637",to:"ADI",diag:"3|0|XTTE0570|index",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"numSeqFmt",C:[{N:"nodeNum",role:"value",level:"single",C:[{N:"dot",role:"select", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"p.venn",role:"count",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"}]}]},{N:"str",role:"startAt",val:"0"}]}]}]}]}]},{N:"treat",line:"640",as:"FM",diag:"3|0|XTTE0570|collected",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|collected",C:[{N:"applyT",mode:"Q{}process-module",bSlot:"46",C:[{N:"slash",role:"select",simple:"1",C:[{N:"varRef", -name:"Q{}doc",slot:"68"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}imported",as:"1AB",C:[{N:"varRef",line:"643",name:"Q{}imported",slot:"67"}]},{N:"withParam",name:"Q{}top-level",flags:"t",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}static-vars",flags:"t",as:"1FM",C:[{N:"varRef",line:"644",name:"Q{}inner-static-vars",slot:"14"}]},{N:"withParam",name:"Q{}var-slots",flags:"t",as:"1FM",C:[{N:"varRef",line:"645",name:"Q{}var-slots",slot:"18"}]},{N:"withParam",name:"Q{}next-slot", -flags:"t",as:"1ADI",C:[{N:"varRef",line:"646",name:"Q{}next-slot",slot:"19"}]},{N:"withParam",name:"Q{}static-isParam",flags:"t",as:"1FM",C:[{N:"varRef",line:"647",name:"Q{}static-isParam",slot:"15"}]},{N:"withParam",name:"Q{}stylesheet-stack",flags:"t",as:"*AU",C:[{N:"sequence",line:"648",C:[{N:"varRef",name:"Q{}stylesheet-stack",slot:"10"},{N:"fn",name:"base-uri",C:[{N:"varRef",name:"Q{}doc",slot:"68"}]}]}]},{N:"withParam",name:"Q{}parent-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"649",name:"Q{}version", -slot:"20"}]},{N:"withParam",name:"Q{}precLabel",flags:"t",as:"1AS",C:[{N:"choose",line:"655",C:[{N:"varRef",name:"Q{}imported",slot:"67"},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}moduleLabel",slot:"1"},{N:"varRef",name:"Q{}suffix",slot:"72"}]},{N:"true"},{N:"varRef",name:"Q{}precLabel",slot:"2"}]}]},{N:"withParam",name:"Q{}moduleLabel",flags:"t",as:"1AS",C:[{N:"fn",line:"656",name:"concat",C:[{N:"varRef",name:"Q{}moduleLabel",slot:"1"},{N:"varRef",name:"Q{}suffix",slot:"72"}]}]}]}]}]}]},{N:"sequence", -line:"659",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"message",line:"660",C:[{N:"sequence",role:"select",C:[{N:"str",val:"$collected:"},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"adaptive"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"nextIteration",line:"664",C:[{N:"withParam", -name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"treat",as:"NE",diag:"8|0|XTTE0590|components",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"str",val:"components"}]}]}]}]},{N:"withParam",name:"Q{}inner-static-vars",as:"1FM",slot:"14",C:[{N:"ifCall",line:"670",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"67"},{N:"varRef",name:"Q{}inner-static-vars", -slot:"14"}]},{N:"treat",as:"FM",diag:"0|0||map:merge",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"str",val:"static-vars"}]}]}]},{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:"withParam",name:"Q{}static-isParam",as:"1FM",slot:"15",C:[{N:"ifCall",line:"676",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported", -slot:"67"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"treat",as:"FM",diag:"0|0||map:merge",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"str",val:"static-isParam"}]}]}]},{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:"withParam",name:"Q{}var-slots",as:"1FM",slot:"18",C:[{N:"treat",line:"677",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots", -C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"str",val:"var-slots"}]}]}]}]},{N:"withParam",name:"Q{}next-slot",as:"1ADI",slot:"19",C:[{N:"treat",line:"678",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"str",val:"next-slot"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"nextIteration", -line:"685",C:[{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"691",name:"Q{}result",slot:"26"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.4",seq:"2",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform",flags:"s",line:"117",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}transform"}, -{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"118",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"47",eval:"16 16",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" can only be a child of a document-node, not a '"},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}, -{N:"str",val:"' element"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"3",rank:"2",minImp:"0",slots:"73",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet",flags:"s",line:"129",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"},{N:"p.nodeTest",test:"ND"}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"130",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"137",name:"Q{}moduleLabel",slot:"1",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"cvUntyped", -to:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"data",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"145",name:"Q{}precLabel",slot:"2",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"data",diag:"8|0|XTTE0590|precLabel",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"146", -name:"Q{}static-vars",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"147",name:"Q{}static-isParam",slot:"4",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-isParam",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-isParam",C:[{N:"supplied", -slot:"4"}]}]}]},{N:"param",line:"148",name:"Q{}var-slots",slot:"5",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param",line:"149",name:"Q{}next-slot",slot:"6",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot", -C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"supplied",slot:"6"}]}]}]}]}]},{N:"param",line:"150",name:"Q{}imported",slot:"7",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|imported",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|imported",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|imported",C:[{N:"data",diag:"8|0|XTTE0590|imported",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"param",line:"151",name:"Q{}top-level", -slot:"8",flags:"t",as:"1AB",C:[{N:"true",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|top-level",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|top-level",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|top-level",C:[{N:"data",diag:"8|0|XTTE0590|top-level",C:[{N:"supplied",slot:"8"}]}]}]}]}]},{N:"param",line:"152",name:"Q{}params",slot:"9",flags:"t",as:"1FM k[AQ]",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM k[AQ]",diag:"8|0|XTTE0590|params",C:[{N:"check", -card:"1",diag:"8|0|XTTE0590|params",C:[{N:"supplied",slot:"9"}]}]}]},{N:"param",line:"153",name:"Q{}stylesheet-stack",slot:"10",flags:"t",as:"*AU",C:[{N:"fn",role:"select",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"supplied",slot:"10"}]}]}]}]},{N:"param",line:"154",name:"Q{}stylesheet-base-uri",slot:"11", -flags:"t",as:"1AU",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|stylesheet-base-uri",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"11"}]}]}]}]}]},{N:"param",line:"155",name:"Q{}parent-version", -slot:"12",flags:"t",as:"?AD",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|parent-version",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|parent-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|parent-version",C:[{N:"data",diag:"8|0|XTTE0590|parent-version",C:[{N:"supplied",slot:"12"}]}]}]}]}]},{N:"let",line:"159","var":"Q{}version",as:"1AD",slot:"20",eval:"9",C:[{N:"callT",line:"160",name:"Q{}XSLT-version",bSlot:"2"},{N:"let",line:"162","var":"Q{}xpath-default-namespace", -as:"?NA",slot:"21",eval:"8",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"},{N:"let",line:"163","var":"Q{}stylesheet-properties",as:"*NA",slot:"22",eval:"4",C:[{N:"sequence",line:"164",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"},{N:"choose",line:"165",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"att",line:"166",name:"expand-text",C:[{N:"str",val:"no"}]}]}, -{N:"choose",line:"168",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}parent-version",slot:"12"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"20"},{N:"varRef",name:"Q{}parent-version",slot:"12"}]}]},{N:"axis",line:"169",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",line:"175",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn", -name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"ufCall",line:"187",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"3",eval:"0 16 16",C:[{N:"str",val:"XTSE0120"},{N:"cvUntyped",line:"178",to:"AS",diag:"3|0|XTTE0570|message",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"valueOf",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]}, -{N:"valueOf",line:"179",C:[{N:"str",val:" cannot have non-whitespace text node children. "}]},{N:"choose",line:"181",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NT"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]}]},{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"' just after "},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}node",as:"1N",slot:"23",eval:"16",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:path",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NT"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]}]}]},{N:"choose",module:"lib.xsl",line:"406",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}loc"}]}]},{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"attVal",name:"Q{}loc",chk:"0"}]}]}]}]}]},{N:"true"},{N:"cvUntyped",line:"408",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"23"}]}]}]}]}]}]}]},{N:"fn",line:"182",name:"exists",C:[{N:"axis",name:"following-sibling", -nodeTest:"NE"}]},{N:"valueOf",line:"182",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"' just before "},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"24",eval:"16",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -card:"1",diag:"0|0||f:path",C:[{N:"first",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"}]}]},{N:"choose",module:"lib.xsl",line:"406",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"24"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}loc"}]}]},{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"24"},{N:"attVal",name:"Q{}loc", -chk:"0"}]}]}]}]}]},{N:"true"},{N:"cvUntyped",line:"408",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"24"}]}]}]}]}]}]}]},{N:"true"},{N:"valueOf",line:"183",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"'"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at", -C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"forEach",line:"190",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"ufCall",line:"191",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"4",eval:"0 16 16",C:[{N:"str",val:"XTSE0130"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"name",C:[{N:"dot",type:"1N u[NE,ND]"}]}]},{N:"str", -val:" cannot have a no-namespace child element:"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"dot",type:"1NE"}]}]},{N:"choose",line:"194",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"}]}]},{N:"ufCall",line:"195",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"5",eval:"0 0",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"A stylesheet module may not contain more than one xsl:global-context-item element"}]}]}, -{N:"let",line:"203","var":"Q{}not-discarded",as:"1AB",slot:"25",eval:"16",C:[{N:"choose",line:"205",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"}]},{N:"callT",line:"206",name:"Q{}check-use-when",bSlot:"6"},{N:"true"},{N:"true"}]},{N:"let",line:"214","var":"Q{}result",as:"1FM",slot:"26",eval:"16",C:[{N:"treat",line:"220",as:"FM",diag:"3|0|XTTE0570|result",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|result",C:[{N:"iterate",C:[{N:"choose",role:"select",C:[{N:"varRef", -name:"Q{}not-discarded",slot:"25"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"params",role:"params",line:"221",C:[{N:"param",name:"Q{}components",slot:"13",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|components",C:[{N:"supplied",slot:"13"}]}]},{N:"param",line:"222",name:"Q{}inner-static-vars",slot:"14",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}static-vars",slot:"3"},{N:"treat",role:"conversion",as:"FM", -diag:"8|0|XTTE0590|inner-static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|inner-static-vars",C:[{N:"supplied",slot:"14"}]}]}]},{N:"param",line:"223",name:"Q{}static-isParam",slot:"15",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}static-isParam",slot:"4"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-isParam",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-isParam",C:[{N:"supplied",slot:"15"}]}]}]},{N:"param",line:"225",name:"Q{}vars-in-import",slot:"16",as:"1FM",C:[{N:"map", -role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|vars-in-import",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|vars-in-import",C:[{N:"supplied",slot:"16"}]}]}]},{N:"param",line:"226",name:"Q{}isParam-in-import",slot:"17",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|isParam-in-import",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|isParam-in-import",C:[{N:"supplied",slot:"17"}]}]}]},{N:"param",line:"227",name:"Q{}var-slots", -slot:"18",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}var-slots",slot:"5"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"18"}]}]}]},{N:"param",line:"228",name:"Q{}next-slot",slot:"19",as:"1ADI",C:[{N:"varRef",role:"select",name:"Q{}next-slot",slot:"6"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI", -diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"supplied",slot:"19"}]}]}]}]}]}]},{N:"ifCall",role:"on-completion",line:"256",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:"components"},{N:"varRef",name:"Q{}components",slot:"13"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"static-vars"}, -{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"static-isParam"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots",slot:"18"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"next-slot"},{N:"varRef",name:"Q{}next-slot", -slot:"19"}]}]},{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",role:"action",line:"263","var":"Q{}possible.component",as:"?NE",slot:"27",eval:"7",C:[{N:"treat",line:"264",as:"NE",diag:"3|0|XTTE0570|possible.component",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|possible.component",C:[{N:"applyT",mode:"Q{}static",bSlot:"7",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"withParam",name:"Q{}static-vars",flags:"t",as:"1FM",C:[{N:"varRef",line:"265",name:"Q{}inner-static-vars",slot:"14"}]},{N:"withParam",name:"Q{}var-slots",flags:"t",as:"1FM",C:[{N:"varRef",line:"266",name:"Q{}var-slots",slot:"18"}]},{N:"withParam",name:"Q{}next-slot",flags:"t",as:"1ADI",C:[{N:"varRef",line:"267",name:"Q{}next-slot",slot:"19"}]},{N:"withParam",name:"Q{}static-isParam",flags:"t",as:"1FM",C:[{N:"varRef",line:"268",name:"Q{}static-isParam",slot:"15"}]},{N:"withParam",name:"Q{}xpath-default-namespace", -flags:"t",as:"?NA",C:[{N:"varRef",line:"269",name:"Q{}xpath-default-namespace",slot:"21"}]},{N:"withParam",name:"Q{}XSLT-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"270",name:"Q{}version",slot:"20"}]},{N:"withParam",name:"Q{}stylesheet-properties",flags:"t",as:"*NA",C:[{N:"varRef",line:"271",name:"Q{}stylesheet-properties",slot:"22"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"272",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false", -bSlot:"8",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]}]}]},{N:"let",line:"277","var":"Q{}isStaticVariable",as:"1AB",slot:"28",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"9",eval:"7 0",C:[{N:"slash",simple:"1",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}static"}]},{N:"false"}]},{N:"let",line:"278","var":"Q{}isStaticParam",as:"1AB",slot:"29",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"10",eval:"7 0",C:[{N:"slash",simple:"1",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"false"}]},{N:"choose", -line:"281",C:[{N:"or",line:"279",op:"or",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isStaticVariable",slot:"28"}]},{N:"let",line:"287","var":"Q{}name",as:"?AQ",slot:"30",eval:"7",C:[{N:"choose",C:[{N:"fn",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"str",val:":"}]},{N:"fn",name:"resolve-QName",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"true"}, -{N:"fn",name:"QName",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}name",chk:"0"}]}]}]}]},{N:"let",line:"288","var":"Q{}value",slot:"31",eval:"8",C:[{N:"forEach",line:"291",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"let",line:"292","var":"Q{}isRequired",slot:"32",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"11",eval:"8 0",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}, -{N:"false"}]},{N:"let",line:"293","var":"Q{}isSupplied",as:"1AB",slot:"33",eval:"8",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}params",slot:"9"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"296",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]},{N:"choose",line:"311",C:[{N:"fn",name:"exists",C:[{N:"sequence",line:"298",C:[{N:"axis",name:"child", -nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"12",eval:"16 16 16",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"str",val:"XTSE0620"},{N:"true"},{N:"str",val:"XTSE0010"}]},{N:"fn",name:"concat",C:[{N:"str",val:"Static "},{N:"fn", -name:"local-name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" must not have a sequence constructor"}]},{N:"dot",type:"1NE"}]}]},{N:"and",line:"313",op:"and",C:[{N:"varRef",name:"Q{}isRequired",slot:"32"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"ufCall",line:"316",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",eval:"0 16 16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"str", -val:"Required static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" must not have a default value"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"318",op:"and",C:[{N:"varRef",name:"Q{}isStaticVariable",slot:"28"},{N:"gc",op:"!=",card:"N:1",comp:"CCC",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"},{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}visibility"}]}]}]},{N:"str", -val:"private"}]}]},{N:"ufCall",line:"322",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",eval:"0 16 16",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"str",val:"Static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" must have private visibility"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"325",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam", -slot:"29"},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isSupplied",slot:"33"}]}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]},{N:"str",val:"(\\*|\\?)\\s*?"},{N:"str",val:""}]}]}]},{N:"ufCall",line:"329",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",eval:"0 16 16", -C:[{N:"str",val:"XTDE0700"},{N:"fn",name:"concat",C:[{N:"str",val:"No value for implicitly mandatory static parameter "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" has been supplied"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"331",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isSupplied",slot:"33"}]},{N:"let",line:"332","var":"Q{}supplied",slot:"34",eval:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}params", -slot:"9"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"335",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"instance",of:"1AZ",C:[{N:"varRef",name:"Q{}supplied",slot:"34"}]}]},{N:"let",line:"337","var":"Q{}targetType",slot:"35",eval:"4",C:[{N:"lookup",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"337",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"static.xsl",line:"337",type:"1NE"},{N:"str",val:""}]}]},{N:"str",val:"p"}]},{N:"let",line:"338","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"36",eval:"13",C:[{N:"treat",as:"AS",diag:"0|1||f:cast",C:[{N:"check",card:"1",diag:"0|1||f:cast",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||f:cast",C:[{N:"varRef",name:"Q{}targetType",slot:"35"}]}]}]}]},{N:"forEach",C:[{N:"varRef",name:"Q{}supplied",slot:"34"},{N:"ufCall",name:"Q{MyFunctions}cast",tailCall:"false",bSlot:"16", -eval:"16 1",C:[{N:"atomSing",diag:"0|0||f:cast",C:[{N:"dot"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"36"}]}]}]}]},{N:"fn",line:"340",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"342","var":"Q{}targetType",slot:"37",eval:"4",C:[{N:"lookup",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"342",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"static.xsl",line:"342",type:"1NE"},{N:"str",val:""}]}]},{N:"str",val:"p"}]},{N:"let",line:"344","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AS",slot:"38",eval:"13",C:[{N:"treat",as:"AS",diag:"0|1||f:isInstance",C:[{N:"check",card:"1",diag:"0|1||f:isInstance",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||f:isInstance",C:[{N:"varRef",name:"Q{}targetType",slot:"37"}]}]}]}]},{N:"choose",C:[{N:"every","var":"Q{}item",slot:"39",C:[{N:"varRef",name:"Q{}supplied",slot:"34"},{N:"ufCall", -name:"Q{MyFunctions}isInstance",tailCall:"false",bSlot:"17",eval:"1 1",C:[{N:"varRef",name:"Q{}item",slot:"39"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"38"}]}]},{N:"varRef",line:"345",name:"Q{}supplied",slot:"34"},{N:"true"},{N:"ufCall",line:"350",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"18",eval:"0 16 16",C:[{N:"str",val:"XTDE0050"},{N:"fn",name:"concat",C:[{N:"str",val:"Supplied value of static parameter "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str", -val:" does not match the required type"}]},{N:"dot",type:"1NE"}]}]}]}]},{N:"true"},{N:"varRef",line:"355",name:"Q{}supplied",slot:"34"}]}]},{N:"and",line:"360",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isRequired",slot:"32"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isSupplied",slot:"33"}]}]},{N:"ufCall",line:"363",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",eval:"0 16 16",C:[{N:"str",val:"XTDE0050"},{N:"fn",name:"concat", -C:[{N:"str",val:"No value for required static parameter "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" has been supplied"}]},{N:"dot",type:"1NE"}]},{N:"fn",line:"365",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"let",line:"369","var":"Q{}xpath",as:"1AS",slot:"40",eval:"16",C:[{N:"choose",line:"371",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"372","var":"Q{}type",slot:"41",eval:"16",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"372",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"static.xsl",line:"372",type:"1NE"},{N:"str",val:""}]}]},{N:"choose",line:"375",C:[{N:"and",op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"o"}]}]},{N:"str",val:"1"}]}]},{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]}]},{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select",chk:"0"}]}]},{N:"str",val:")"}]}]}]},{N:"and",line:"377",op:"and", -C:[{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"o"}]}]},{N:"str", -val:"?"}]}]},{N:"cvUntyped",line:"377",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",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{}select",chk:"0"}]}]},{N:"str",val:") cast as "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]}]}]}]}]},{N:"fn",line:"378",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with", -C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"cvUntyped",line:"378",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",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{}select",chk:"0"}]}]},{N:"str",val:") ! "},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"20",eval:"16", -C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"static.xsl",line:"378",name:"Q{}type",slot:"41"},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"str",val:"(.)"}]}]}]},{N:"true"},{N:"cvUntyped",line:"379",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",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{}select",chk:"0"}]}]},{N:"str",val:") treat as "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as", -chk:"0"}]}]}]}]}]}]}]},{N:"true"},{N:"cvUntyped",line:"382",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select",chk:"0"}]}]}]}]}]},{N:"let",line:"385","var":"Q{}nsContext",as:"1NE c~untyped",slot:"42",eval:"9",C:[{N:"let",line:"386","var":"Q{}dot",as:"1",slot:"43",eval:"16",C:[{N:"dot",type:"1NE"},{N:"compElem",line:"387",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"21"}]}]}]},{N:"forEach",role:"content",line:"388",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"390",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix", -C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"43"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"try",line:"398",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}xpath",slot:"40"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"42"},{N:"str",role:"sa",val:"no"},{N:"ifCall",role:"options",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:"allow-xslt-functions"},{N:"true"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots",slot:"18"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",role:"wp",name:"Q{}inner-static-vars",slot:"14"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050", -C:[{N:"fn",line:"400",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050X"},{N:"treat",as:"AS",diag:"0|1||fn:error",C:[{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",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:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"ufCall",line:"405",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"21",eval:"0 16 16",C:[{N:"str",val:"XTDE3160"},{N:"fn",line:"404",name:"replace",C:[{N:"treat",as:"AS",diag:"0|0||fn:replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:"Static error in XPath expression supplied to xsl:evaluate:"},{N:"str",val:"Error in static expression:"},{N:"str",val:""}]}, -{N:"dot",type:"1NE"}]}]}]}]}]},{N:"fn",line:"416",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"empty"},{N:"true"},{N:"str",val:""}]}]}]}]},{N:"let",line:"426","var":"Q{}m",as:"1FM",slot:"44",eval:"16",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"varRef",name:"Q{}vars-in-import",slot:"16"},{N:"true"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"sequence",line:"427",C:[{N:"choose",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains", -type:"1AB",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"429",C:[{N:"and",op:"and",C:[{N:"instance",of:"1F",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"instance",of:"1FA",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"fn",name:"not",C:[{N:"instance",of:"1FM",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"message",line:"430",C:[{N:"valueOf",role:"select", -C:[{N:"fn",name:"concat",C:[{N:"str",val:"Warning: unable to check consistency of multiply-defined variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AQ",to:"AS",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"str",val:" with function(*) type\n "}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"fn",line:"433",name:"not",C:[{N:"fn",name:"deep-equal",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"ufCall",line:"436",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"22",eval:"0 16 16",C:[{N:"str",val:"XTSE3450"},{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting values for static variable "},{N:"varRef",name:"Q{}name",slot:"30"},{N:"str",val:"\n"},{N:"ufCall",line:"437",name:"Q{MyFunctions}serialize",tailCall:"false", -bSlot:"23",eval:"1",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"str",val:"\nand:\n"},{N:"ufCall",line:"439",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"24",eval:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]},{N:"str",val:"*#xA;"}]},{N:"check",line:"439",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component", -slot:"27"}]}]}]}]},{N:"choose",line:"448",C:[{N:"let","var":"Q{}m",slot:"45",eval:"16",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"varRef",name:"Q{}isParam-in-import",slot:"17"},{N:"true"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"and",op:"and",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"or",op:"or", -C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m", -slot:"45"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]}]},{N:"ufCall",line:"451",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"25",eval:"0 16 16",C:[{N:"str",val:"XTSE3450"},{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting declarations for static param/variable "},{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component", -slot:"27"}]}]}]},{N:"let",line:"462","var":"Q{}this-slot",as:"1A",slot:"46",eval:"16",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}next-slot",slot:"19"},{N:"choose",C:[{N:"instance",of:"1F",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"fn",name:"function-arity",C:[{N:"treat",as:"F",diag:"0|0||fn:function-arity",C:[{N:"check",card:"1",diag:"0|0||fn:function-arity",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"true"},{N:"int",val:"0"}]}]},{N:"let",line:"466","var":"Q{}grounded-value", -as:"1AB",slot:"47",eval:"16",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1A",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"nextIteration",line:"567",C:[{N:"withParam",name:"Q{}inner-static-vars",as:"1FM",slot:"14",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}inner-static-vars",slot:"14"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef", -name:"Q{}value",slot:"31"}]}]},{N:"withParam",name:"Q{}static-isParam",as:"1FM",slot:"15",C:[{N:"ifCall",line:"568",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}static-isParam",slot:"15"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}isStaticParam",slot:"29"}]}]},{N:"withParam",name:"Q{}vars-in-import",as:"1FM",slot:"16",C:[{N:"choose",line:"574",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}vars-in-import",slot:"16"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"true"},{N:"varRef",name:"Q{}vars-in-import",slot:"16"}]}]},{N:"withParam",name:"Q{}isParam-in-import",as:"1FM",slot:"17",C:[{N:"choose",line:"580",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", -type:"1FM",C:[{N:"varRef",name:"Q{}isParam-in-import",slot:"17"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"true"},{N:"varRef",name:"Q{}isParam-in-import",slot:"17"}]}]},{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"587",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"choose",C:[{N:"varRef",name:"Q{}grounded-value",slot:"47"},{N:"choose",line:"469",C:[{N:"varRef",name:"Q{}grounded-value", -slot:"47"},{N:"let",line:"540","var":"Q{http://saxon.sf.net/generated-variable}v20",as:"1AB",slot:"48",eval:"13",C:[{N:"instance",of:"1AZ",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"537","var":"Q{http://saxon.sf.net/generated-variable}v19",as:"1AB",slot:"49",eval:"13",C:[{N:"instance",of:"1AN",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"534","var":"Q{http://saxon.sf.net/generated-variable}v18",as:"1AB",slot:"50",eval:"13",C:[{N:"instance",of:"1AQ",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"531","var":"Q{http://saxon.sf.net/generated-variable}v17",as:"1AB",slot:"51",eval:"13",C:[{N:"instance",of:"1AX",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"528","var":"Q{http://saxon.sf.net/generated-variable}v16",as:"1AB",slot:"52",eval:"13",C:[{N:"instance",of:"1A2",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"525","var":"Q{http://saxon.sf.net/generated-variable}v15",as:"1AB",slot:"53",eval:"13",C:[{N:"instance",of:"1AK",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"522","var":"Q{http://saxon.sf.net/generated-variable}v14",as:"1AB",slot:"54",eval:"13",C:[{N:"instance",of:"1AI",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"519","var":"Q{http://saxon.sf.net/generated-variable}v13",as:"1AB",slot:"55",eval:"13",C:[{N:"instance",of:"1AJ",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"516","var":"Q{http://saxon.sf.net/generated-variable}v12",as:"1AB",slot:"56",eval:"13",C:[{N:"instance",of:"1AG",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"513","var":"Q{http://saxon.sf.net/generated-variable}v11",as:"1AB",slot:"57",eval:"13",C:[{N:"instance",of:"1AH",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"510","var":"Q{http://saxon.sf.net/generated-variable}v10",as:"1AB",slot:"58",eval:"13",C:[{N:"instance",of:"1AT",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"507","var":"Q{http://saxon.sf.net/generated-variable}v9",as:"1AB",slot:"59",eval:"13",C:[{N:"instance",of:"1ARD",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"504","var":"Q{http://saxon.sf.net/generated-variable}v8",as:"1AB",slot:"60",eval:"13",C:[{N:"instance",of:"1ARY",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"501","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"1AB",slot:"61",eval:"13",C:[{N:"instance",of:"1AA",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"498","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"62",eval:"13",C:[{N:"instance",of:"1AMP",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"495","var":"Q{http://saxon.sf.net/generated-variable}v5",as:"1AB",slot:"63",eval:"13",C:[{N:"instance",of:"1AM",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"492","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1AB",slot:"64",eval:"13",C:[{N:"or",op:"or",C:[{N:"instance",of:"1AS",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1AU",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"let",line:"488","var":"Q{http://saxon.sf.net/generated-variable}v3", -as:"1AB",slot:"65",eval:"13",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"instance",of:"1AD",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1AO",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"instance",of:"1AF",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"let",line:"477","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"66",eval:"13",C:[{N:"instance",of:"1AB",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"check",line:"470",card:"?",diag:"3|0|XTTE0570|variable.component", -C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"copy",line:"472",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"474",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"att",line:"475",name:"select",flags:"l",C:[{N:"str",val:"()"}]},{N:"varRef",line:"477",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"66"},{N:"att",line:"484",name:"select",flags:"l",C:[{N:"choose",C:[{N:"varRef", -name:"Q{}value",slot:"31"},{N:"str",val:"true()"},{N:"true"},{N:"str",val:"false()"}]}]},{N:"varRef",line:"488",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"65"},{N:"att",line:"489",name:"select",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:"31"}]}]}]},{N:"str",val:" "}]}]},{N:"varRef",line:"492",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"64"},{N:"att",line:"493",name:"select",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"treat",as:"AS",diag:"0|0||fn:replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]},{N:"varRef",line:"495",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"63"}, -{N:"att",line:"496",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"26",eval:"0",C:[{N:"str",val:"dateTime"}]}]}]}]}]},{N:"varRef",line:"498",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"62"},{N:"att", -line:"499",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"27",eval:"0",C:[{N:"str",val:"dateTimeStamp"}]}]}]}]}]},{N:"varRef",line:"501",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"61"},{N:"att",line:"502", -name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"28",eval:"0",C:[{N:"str",val:"date"}]}]}]}]}]},{N:"varRef",line:"504",name:"Q{http://saxon.sf.net/generated-variable}v8",slot:"60"},{N:"att",line:"505",name:"select", -flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"29",eval:"0",C:[{N:"str",val:"yearMonthDuration"}]}]}]}]}]},{N:"varRef",line:"507",name:"Q{http://saxon.sf.net/generated-variable}v9",slot:"59"},{N:"att",line:"508",name:"select", -flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"30",eval:"0",C:[{N:"str",val:"dayTimeDuration"}]}]}]}]}]},{N:"varRef",line:"510",name:"Q{http://saxon.sf.net/generated-variable}v10",slot:"58"},{N:"att",line:"511",name:"select", -flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"31",eval:"0",C:[{N:"str",val:"time"}]}]}]}]}]},{N:"varRef",line:"513",name:"Q{http://saxon.sf.net/generated-variable}v11",slot:"57"},{N:"att",line:"514",name:"select",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"32",eval:"0",C:[{N:"str",val:"gYearMonth"}]}]}]}]}]},{N:"varRef",line:"516",name:"Q{http://saxon.sf.net/generated-variable}v12",slot:"56"},{N:"att",line:"517",name:"select",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"33",eval:"0",C:[{N:"str",val:"gYear"}]}]}]}]}]},{N:"varRef",line:"519",name:"Q{http://saxon.sf.net/generated-variable}v13",slot:"55"},{N:"att",line:"520",name:"select",flags:"l",C:[{N:"convert",from:"AZ", -to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"34",eval:"0",C:[{N:"str",val:"gMonthDay"}]}]}]}]}]},{N:"varRef",line:"522",name:"Q{http://saxon.sf.net/generated-variable}v14",slot:"54"},{N:"att",line:"523",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS", -C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"35",eval:"0",C:[{N:"str",val:"gMonth"}]}]}]}]}]},{N:"varRef",line:"525",name:"Q{http://saxon.sf.net/generated-variable}v15",slot:"53"},{N:"att",line:"526",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast", -flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"36",eval:"0",C:[{N:"str",val:"gDay"}]}]}]}]}]},{N:"varRef",line:"528",name:"Q{http://saxon.sf.net/generated-variable}v16",slot:"52"},{N:"att",line:"529",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a", -as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"37",eval:"0",C:[{N:"str",val:"base64Binary"}]}]}]}]}]},{N:"varRef",line:"531",name:"Q{http://saxon.sf.net/generated-variable}v17",slot:"51"},{N:"att",line:"532",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ", -C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"38",eval:"0",C:[{N:"str",val:"hexBinary"}]}]}]}]}]},{N:"varRef",line:"534",name:"Q{http://saxon.sf.net/generated-variable}v18",slot:"50"},{N:"att",line:"535",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn", -name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"39",eval:"0",C:[{N:"str",val:"QName"}]}]}]}]}]},{N:"varRef",line:"537",name:"Q{http://saxon.sf.net/generated-variable}v19",slot:"49"},{N:"att",line:"538",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat", -C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"40",eval:"0",C:[{N:"str",val:"NOTATION"}]}]}]}]}]},{N:"varRef",line:"540",name:"Q{http://saxon.sf.net/generated-variable}v20",slot:"48"},{N:"choose",line:"544",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef", -name:"Q{}value",slot:"31"}]}]},{N:"castable",flags:"a",as:"1AO",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"castable",flags:"a",as:"1AF",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"att",line:"545",name:"select",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:"31"}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"att",line:"549", -name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"treat",as:"AS",diag:"0|0||fn:replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]}]},{N:"true"},{N:"sequence",line:"554",C:[{N:"message",C:[{N:"valueOf", -role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Unexpected atomic type; treating as string: "},{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:"31"}]}]}]},{N:"str",val:" "}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"att",line:"555",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat", -C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"treat",as:"AS",diag:"0|0||fn:replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]},{N:"withParam",name:"Q{}var-slots",as:"1FM",slot:"18", -C:[{N:"ifCall",line:"588",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}var-slots",slot:"18"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}this-slot",slot:"46"}]}]},{N:"withParam",name:"Q{}next-slot",as:"1ADI",slot:"19",C:[{N:"arith",line:"589",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}this-slot",slot:"46"},{N:"int",val:"1"}]}]}]}]}]}]}]}]}]},{N:"fn",line:"592",name:"exists",C:[{N:"slash",simple:"1", -C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}import,NE nQ{http://www.w3.org/1999/XSL/Transform}include]"}]}]},{N:"let",line:"594","var":"Q{}imported",as:"1AB",slot:"67",eval:"8",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"}]}]},{N:"let",line:"595","var":"Q{}doc",as:"1ND",slot:"68", -eval:"16",C:[{N:"check",line:"596",card:"1",diag:"3|0|XTTE0570|doc",C:[{N:"sequence",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]},{N:"treat",line:"598",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"41",eval:"16 16",C:[{N:"fn",name:"concat",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn", -name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" must have an @href attribute"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"choose",line:"600",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]},{N:"treat",line:"602",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"42", -eval:"0 16 16",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" must be empty"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"let",line:"607","var":"Q{}bad-attributes",as:"*NA",slot:"69",eval:"4",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"except",op:"except",C:[{N:"filter", -flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]},{N:"docOrder",intra:"1",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}default-validation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]},{N:"sequence",line:"608",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}bad-attributes",slot:"69"}]},{N:"treat",line:"609",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}wrongAttribute", -tailCall:"false",bSlot:"43",eval:"4",C:[{N:"check",card:"+",diag:"0|0||f:wrongAttribute",C:[{N:"first",C:[{N:"varRef",name:"Q{}bad-attributes",slot:"69"}]}]}]}]}]},{N:"let",line:"611","var":"Q{}uri",as:"?AU",slot:"70",eval:"8",C:[{N:"fn",name:"resolve-uri",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"attVal",name:"Q{}href",chk:"0"}]}]},{N:"convert",from:"AU",to:"AS",C:[{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}, -{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"11"}]}]}]}]},{N:"sequence",line:"612",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}stylesheet-stack",slot:"10"},{N:"varRef",name:"Q{}uri",slot:"70"}]},{N:"treat",line:"619",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"44",eval:"16 16",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"67"},{N:"str",val:"XTSE0210"},{N:"true"},{N:"str",val:"XTSE0180"}]},{N:"fn", -name:"concat",C:[{N:"str",val:"Document "},{N:"varRef",name:"Q{}uri",slot:"70"},{N:"str",val:" is recursively including or importing itself"}]}]}]}]},{N:"choose",line:"621",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"treat",line:"622",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Import/Include static processing for"},{N:"varRef",name:"Q{}uri",slot:"70"}]},{N:"str",role:"terminate",val:"no"},{N:"str", -role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"callT",line:"625",name:"Q{}collect-doc",bSlot:"45",C:[{N:"withParam",name:"Q{}uri",flags:"c",as:"?AU",C:[{N:"varRef",line:"626",name:"Q{}uri",slot:"70"}]}]}]}]}]}]}]}]},{N:"sequence",line:"630",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"sequence",line:"631",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"$doc:"},{N:"fn",name:"serialize",C:[{N:"slash", -simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"68"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"message",line:"632",C:[{N:"sequence",role:"select",C:[{N:"str",val:"base-uri($doc):"},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"68"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"str",role:"terminate", -val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"let",line:"635","var":"Q{}collected",as:"1FM",slot:"71",eval:"16",C:[{N:"let",line:"639","var":"Q{}suffix",as:"1AS",slot:"72",eval:"8",C:[{N:"fn",name:"codepoints-to-string",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"int",val:"50000"},{N:"cvUntyped",line:"637",to:"ADI",diag:"3|0|XTTE0570|index",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"numSeqFmt",C:[{N:"nodeNum",role:"value",level:"single",C:[{N:"dot",role:"select", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"p.venn",role:"count",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"}]}]},{N:"str",role:"startAt",val:"0"}]}]}]}]}]},{N:"treat",line:"640",as:"FM",diag:"3|0|XTTE0570|collected",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|collected",C:[{N:"applyT",mode:"Q{}process-module",bSlot:"46",C:[{N:"slash",role:"select",simple:"1",C:[{N:"varRef", -name:"Q{}doc",slot:"68"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}imported",as:"1AB",C:[{N:"varRef",line:"643",name:"Q{}imported",slot:"67"}]},{N:"withParam",name:"Q{}top-level",flags:"t",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}static-vars",flags:"t",as:"1FM",C:[{N:"varRef",line:"644",name:"Q{}inner-static-vars",slot:"14"}]},{N:"withParam",name:"Q{}var-slots",flags:"t",as:"1FM",C:[{N:"varRef",line:"645",name:"Q{}var-slots",slot:"18"}]},{N:"withParam",name:"Q{}next-slot", -flags:"t",as:"1ADI",C:[{N:"varRef",line:"646",name:"Q{}next-slot",slot:"19"}]},{N:"withParam",name:"Q{}static-isParam",flags:"t",as:"1FM",C:[{N:"varRef",line:"647",name:"Q{}static-isParam",slot:"15"}]},{N:"withParam",name:"Q{}stylesheet-stack",flags:"t",as:"*AU",C:[{N:"sequence",line:"648",C:[{N:"varRef",name:"Q{}stylesheet-stack",slot:"10"},{N:"fn",name:"base-uri",C:[{N:"varRef",name:"Q{}doc",slot:"68"}]}]}]},{N:"withParam",name:"Q{}parent-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"649",name:"Q{}version", -slot:"20"}]},{N:"withParam",name:"Q{}precLabel",flags:"t",as:"1AS",C:[{N:"choose",line:"655",C:[{N:"varRef",name:"Q{}imported",slot:"67"},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}moduleLabel",slot:"1"},{N:"varRef",name:"Q{}suffix",slot:"72"}]},{N:"true"},{N:"varRef",name:"Q{}precLabel",slot:"2"}]}]},{N:"withParam",name:"Q{}moduleLabel",flags:"t",as:"1AS",C:[{N:"fn",line:"656",name:"concat",C:[{N:"varRef",name:"Q{}moduleLabel",slot:"1"},{N:"varRef",name:"Q{}suffix",slot:"72"}]}]}]}]}]}]},{N:"sequence", -line:"659",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"message",line:"660",C:[{N:"sequence",role:"select",C:[{N:"str",val:"$collected:"},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"adaptive"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"nextIteration",line:"664",C:[{N:"withParam", -name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"treat",as:"NE",diag:"8|0|XTTE0590|components",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"str",val:"components"}]}]}]}]},{N:"withParam",name:"Q{}inner-static-vars",as:"1FM",slot:"14",C:[{N:"ifCall",line:"670",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"67"},{N:"varRef",name:"Q{}inner-static-vars", -slot:"14"}]},{N:"treat",as:"FM",diag:"0|0||map:merge",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"str",val:"static-vars"}]}]}]},{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:"withParam",name:"Q{}static-isParam",as:"1FM",slot:"15",C:[{N:"ifCall",line:"676",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported", -slot:"67"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"treat",as:"FM",diag:"0|0||map:merge",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"str",val:"static-isParam"}]}]}]},{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:"withParam",name:"Q{}var-slots",as:"1FM",slot:"18",C:[{N:"treat",line:"677",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots", -C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"str",val:"var-slots"}]}]}]}]},{N:"withParam",name:"Q{}next-slot",as:"1ADI",slot:"19",C:[{N:"treat",line:"678",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"str",val:"next-slot"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"nextIteration", -line:"685",C:[{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"691",name:"Q{}result",slot:"26"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.4",seq:"2",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet",flags:"s",line:"117",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet"}, -{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"118",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"47",eval:"16 16",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" can only be a child of a document-node, not a '"},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}, -{N:"str",val:"' element"}]},{N:"dot",type:"1NE",flags:"a"}]}]},{N:"templateRule",prec:"0",prio:"1.5",seq:"3",rank:"2",minImp:"0",slots:"73",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"s",line:"129",module:"static.xsl",C:[{N:"p.withUpper",role:"match",axis:"parent",upFirst:"false",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"},{N:"p.nodeTest",test:"ND"}]},{N:"sequence",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -line:"130",C:[{N:"param",name:"Q{}options",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|options",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|options",C:[{N:"supplied",slot:"0"}]}]}]},{N:"param",line:"137",name:"Q{}moduleLabel",slot:"1",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"cvUntyped", -to:"AS",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"data",diag:"8|0|XTTE0590|moduleLabel",C:[{N:"supplied",slot:"1"}]}]}]}]}]},{N:"param",line:"145",name:"Q{}precLabel",slot:"2",flags:"t",as:"1AS",C:[{N:"str",role:"select",val:"A"},{N:"treat",role:"conversion",as:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|precLabel",C:[{N:"cvUntyped",to:"AS",diag:"8|0|XTTE0590|precLabel",C:[{N:"data",diag:"8|0|XTTE0590|precLabel",C:[{N:"supplied",slot:"2"}]}]}]}]}]},{N:"param",line:"146", -name:"Q{}static-vars",slot:"3",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-vars",C:[{N:"supplied",slot:"3"}]}]}]},{N:"param",line:"147",name:"Q{}static-isParam",slot:"4",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-isParam",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-isParam",C:[{N:"supplied", -slot:"4"}]}]}]},{N:"param",line:"148",name:"Q{}var-slots",slot:"5",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"5"}]}]}]},{N:"param",line:"149",name:"Q{}next-slot",slot:"6",flags:"t",as:"1ADI",C:[{N:"int",role:"select",val:"0"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot", -C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"supplied",slot:"6"}]}]}]}]}]},{N:"param",line:"150",name:"Q{}imported",slot:"7",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|imported",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|imported",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|imported",C:[{N:"data",diag:"8|0|XTTE0590|imported",C:[{N:"supplied",slot:"7"}]}]}]}]}]},{N:"param",line:"151",name:"Q{}top-level", -slot:"8",flags:"t",as:"1AB",C:[{N:"true",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|top-level",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|top-level",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|top-level",C:[{N:"data",diag:"8|0|XTTE0590|top-level",C:[{N:"supplied",slot:"8"}]}]}]}]}]},{N:"param",line:"152",name:"Q{}params",slot:"9",flags:"t",as:"1FM k[AQ]",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM k[AQ]",diag:"8|0|XTTE0590|params",C:[{N:"check", -card:"1",diag:"8|0|XTTE0590|params",C:[{N:"supplied",slot:"9"}]}]}]},{N:"param",line:"153",name:"Q{}stylesheet-stack",slot:"10",flags:"t",as:"*AU",C:[{N:"fn",role:"select",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-stack",C:[{N:"supplied",slot:"10"}]}]}]}]},{N:"param",line:"154",name:"Q{}stylesheet-base-uri",slot:"11", -flags:"t",as:"1AU",C:[{N:"check",role:"select",card:"1",diag:"8|0|XTTE0600|stylesheet-base-uri",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE",flags:"a"}]}]},{N:"treat",role:"conversion",as:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"cvUntyped",to:"AU",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"data",diag:"8|0|XTTE0590|stylesheet-base-uri",C:[{N:"supplied",slot:"11"}]}]}]}]}]},{N:"param",line:"155",name:"Q{}parent-version", -slot:"12",flags:"t",as:"?AD",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"AD",diag:"8|0|XTTE0590|parent-version",C:[{N:"check",card:"?",diag:"8|0|XTTE0590|parent-version",C:[{N:"cvUntyped",to:"AD",diag:"8|0|XTTE0590|parent-version",C:[{N:"data",diag:"8|0|XTTE0590|parent-version",C:[{N:"supplied",slot:"12"}]}]}]}]}]},{N:"let",line:"159","var":"Q{}version",as:"1AD",slot:"20",eval:"9",C:[{N:"callT",line:"160",name:"Q{}XSLT-version",bSlot:"2"},{N:"let",line:"162","var":"Q{}xpath-default-namespace", -as:"?NA",slot:"21",eval:"8",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"},{N:"let",line:"163","var":"Q{}stylesheet-properties",as:"*NA",slot:"22",eval:"4",C:[{N:"sequence",line:"164",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"},{N:"choose",line:"165",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"}]},{N:"att",line:"166",name:"expand-text",C:[{N:"str",val:"no"}]}]}, -{N:"choose",line:"168",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}parent-version",slot:"12"}]},{N:"vc",op:"ne",onEmpty:"0",comp:"CAVC",C:[{N:"varRef",name:"Q{}version",slot:"20"},{N:"varRef",name:"Q{}parent-version",slot:"12"}]}]},{N:"axis",line:"169",name:"attribute",nodeTest:"NA nQ{}version"}]}]},{N:"sequence",line:"175",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn", -name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"ufCall",line:"187",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"3",eval:"0 16 16",C:[{N:"str",val:"XTSE0120"},{N:"cvUntyped",line:"178",to:"AS",diag:"3|0|XTTE0570|message",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string-join",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"mergeAdj",C:[{N:"sequence",C:[{N:"valueOf",C:[{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]}, -{N:"valueOf",line:"179",C:[{N:"str",val:" cannot have non-whitespace text node children. "}]},{N:"choose",line:"181",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NT"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]}]},{N:"valueOf",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"' just after "},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", -"var":"Q{}node",as:"1N",slot:"23",eval:"16",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",card:"1",diag:"0|0||f:path",C:[{N:"first",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NT"},{N:"axis",name:"preceding-sibling",nodeTest:"NE"}]}]}]},{N:"choose",module:"lib.xsl",line:"406",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}loc"}]}]},{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"23"},{N:"attVal",name:"Q{}loc",chk:"0"}]}]}]}]}]},{N:"true"},{N:"cvUntyped",line:"408",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"23"}]}]}]}]}]}]}]},{N:"fn",line:"182",name:"exists",C:[{N:"axis",name:"following-sibling", -nodeTest:"NE"}]},{N:"valueOf",line:"182",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"' just before "},{N:"let",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~","var":"Q{}node",as:"1N",slot:"24",eval:"16",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -card:"1",diag:"0|0||f:path",C:[{N:"first",C:[{N:"axis",name:"following-sibling",nodeTest:"NE"}]}]},{N:"choose",module:"lib.xsl",line:"406",C:[{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"24"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}loc"}]}]},{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"24"},{N:"attVal",name:"Q{}loc", -chk:"0"}]}]}]}]}]},{N:"true"},{N:"cvUntyped",line:"408",to:"AS",diag:"5|0|XTTE0780|f:path#1",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"name",C:[{N:"varRef",name:"Q{}node",slot:"24"}]}]}]}]}]}]}]},{N:"true"},{N:"valueOf",line:"183",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Found '"},{N:"fn",name:"normalize-space",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"dot",type:"1NT"}]}]}]},{N:"str",val:"'"}]}]}]}]}]}]}]},{N:"str",val:""}]}]}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at", -C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"forEach",line:"190",C:[{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"ufCall",line:"191",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"4",eval:"0 16 16",C:[{N:"str",val:"XTSE0130"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"},{N:"fn",name:"name",C:[{N:"dot",type:"1N u[NE,ND]"}]}]},{N:"str", -val:" cannot have a no-namespace child element:"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"dot",type:"1NE"}]}]},{N:"choose",line:"194",C:[{N:"fn",name:"exists",C:[{N:"tail",start:"2",C:[{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}global-context-item"}]}]},{N:"ufCall",line:"195",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"5",eval:"0 0",C:[{N:"str",val:"XTSE3087"},{N:"str",val:"A stylesheet module may not contain more than one xsl:global-context-item element"}]}]}, -{N:"let",line:"203","var":"Q{}not-discarded",as:"1AB",slot:"25",eval:"16",C:[{N:"choose",line:"205",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"}]},{N:"callT",line:"206",name:"Q{}check-use-when",bSlot:"6"},{N:"true"},{N:"true"}]},{N:"let",line:"214","var":"Q{}result",as:"1FM",slot:"26",eval:"16",C:[{N:"treat",line:"220",as:"FM",diag:"3|0|XTTE0570|result",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|result",C:[{N:"iterate",C:[{N:"choose",role:"select",C:[{N:"varRef", -name:"Q{}not-discarded",slot:"25"},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"params",role:"params",line:"221",C:[{N:"param",name:"Q{}components",slot:"13",as:"*NE",C:[{N:"empty",role:"select"},{N:"treat",role:"conversion",as:"NE",diag:"8|0|XTTE0590|components",C:[{N:"supplied",slot:"13"}]}]},{N:"param",line:"222",name:"Q{}inner-static-vars",slot:"14",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}static-vars",slot:"3"},{N:"treat",role:"conversion",as:"FM", -diag:"8|0|XTTE0590|inner-static-vars",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|inner-static-vars",C:[{N:"supplied",slot:"14"}]}]}]},{N:"param",line:"223",name:"Q{}static-isParam",slot:"15",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}static-isParam",slot:"4"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-isParam",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-isParam",C:[{N:"supplied",slot:"15"}]}]}]},{N:"param",line:"225",name:"Q{}vars-in-import",slot:"16",as:"1FM",C:[{N:"map", -role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|vars-in-import",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|vars-in-import",C:[{N:"supplied",slot:"16"}]}]}]},{N:"param",line:"226",name:"Q{}isParam-in-import",slot:"17",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|isParam-in-import",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|isParam-in-import",C:[{N:"supplied",slot:"17"}]}]}]},{N:"param",line:"227",name:"Q{}var-slots", -slot:"18",as:"1FM",C:[{N:"varRef",role:"select",name:"Q{}var-slots",slot:"5"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots",C:[{N:"supplied",slot:"18"}]}]}]},{N:"param",line:"228",name:"Q{}next-slot",slot:"19",as:"1ADI",C:[{N:"varRef",role:"select",name:"Q{}next-slot",slot:"6"},{N:"treat",role:"conversion",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI", -diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"supplied",slot:"19"}]}]}]}]}]}]},{N:"ifCall",role:"on-completion",line:"256",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:"components"},{N:"varRef",name:"Q{}components",slot:"13"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"static-vars"}, -{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"static-isParam"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots",slot:"18"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"next-slot"},{N:"varRef",name:"Q{}next-slot", -slot:"19"}]}]},{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",role:"action",line:"263","var":"Q{}possible.component",as:"?NE",slot:"27",eval:"7",C:[{N:"treat",line:"264",as:"NE",diag:"3|0|XTTE0570|possible.component",C:[{N:"check",card:"?",diag:"3|0|XTTE0570|possible.component",C:[{N:"applyT",mode:"Q{}static",bSlot:"7",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}, -{N:"withParam",name:"Q{}static-vars",flags:"t",as:"1FM",C:[{N:"varRef",line:"265",name:"Q{}inner-static-vars",slot:"14"}]},{N:"withParam",name:"Q{}var-slots",flags:"t",as:"1FM",C:[{N:"varRef",line:"266",name:"Q{}var-slots",slot:"18"}]},{N:"withParam",name:"Q{}next-slot",flags:"t",as:"1ADI",C:[{N:"varRef",line:"267",name:"Q{}next-slot",slot:"19"}]},{N:"withParam",name:"Q{}static-isParam",flags:"t",as:"1FM",C:[{N:"varRef",line:"268",name:"Q{}static-isParam",slot:"15"}]},{N:"withParam",name:"Q{}xpath-default-namespace", -flags:"t",as:"?NA",C:[{N:"varRef",line:"269",name:"Q{}xpath-default-namespace",slot:"21"}]},{N:"withParam",name:"Q{}XSLT-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"270",name:"Q{}version",slot:"20"}]},{N:"withParam",name:"Q{}stylesheet-properties",flags:"t",as:"*NA",C:[{N:"varRef",line:"271",name:"Q{}stylesheet-properties",slot:"22"}]},{N:"withParam",name:"Q{}has-uniform-static-context",flags:"t",as:"1AB",C:[{N:"ufCall",line:"272",name:"Q{MyFunctions}has-uniform-static-context",tailCall:"false", -bSlot:"8",eval:"16",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]}]}]},{N:"let",line:"277","var":"Q{}isStaticVariable",as:"1AB",slot:"28",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"9",eval:"7 0",C:[{N:"slash",simple:"1",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}variable"}]}]},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}static"}]},{N:"false"}]},{N:"let",line:"278","var":"Q{}isStaticParam",as:"1AB",slot:"29",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"10",eval:"7 0",C:[{N:"slash",simple:"1",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}static"}]},{N:"false"}]},{N:"choose", -line:"281",C:[{N:"or",line:"279",op:"or",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isStaticVariable",slot:"28"}]},{N:"let",line:"287","var":"Q{}name",as:"?AQ",slot:"30",eval:"7",C:[{N:"choose",C:[{N:"fn",name:"contains",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"str",val:":"}]},{N:"fn",name:"resolve-QName",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}name",chk:"0"}]},{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"true"}, -{N:"fn",name:"QName",C:[{N:"str",val:""},{N:"check",card:"1",diag:"0|1||fn:QName",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}name",chk:"0"}]}]}]}]},{N:"let",line:"288","var":"Q{}value",slot:"31",eval:"8",C:[{N:"forEach",line:"291",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"let",line:"292","var":"Q{}isRequired",slot:"32",eval:"16",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"false",bSlot:"11",eval:"8 0",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}required"}, -{N:"false"}]},{N:"let",line:"293","var":"Q{}isSupplied",as:"1AB",slot:"33",eval:"8",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}params",slot:"9"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"296",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]},{N:"choose",line:"311",C:[{N:"fn",name:"exists",C:[{N:"sequence",line:"298",C:[{N:"axis",name:"child", -nodeTest:"NE"},{N:"filter",flags:"b",C:[{N:"axis",name:"child",nodeTest:"NT"},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"12",eval:"16 16 16",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"str",val:"XTSE0620"},{N:"true"},{N:"str",val:"XTSE0010"}]},{N:"fn",name:"concat",C:[{N:"str",val:"Static "},{N:"fn", -name:"local-name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" must not have a sequence constructor"}]},{N:"dot",type:"1NE"}]}]},{N:"and",line:"313",op:"and",C:[{N:"varRef",name:"Q{}isRequired",slot:"32"},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"ufCall",line:"316",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",eval:"0 16 16",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"str", -val:"Required static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" must not have a default value"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"318",op:"and",C:[{N:"varRef",name:"Q{}isStaticVariable",slot:"28"},{N:"gc",op:"!=",card:"N:1",comp:"CCC",C:[{N:"forEach",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}visibility"},{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}visibility"}]}]}]},{N:"str", -val:"private"}]}]},{N:"ufCall",line:"322",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",eval:"0 16 16",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"str",val:"Static "},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:" "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" must have private visibility"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"325",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam", -slot:"29"},{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isSupplied",slot:"33"}]}]},{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"matches",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]},{N:"str",val:"(\\*|\\?)\\s*?"},{N:"str",val:""}]}]}]},{N:"ufCall",line:"329",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"15",eval:"0 16 16", -C:[{N:"str",val:"XTDE0700"},{N:"fn",name:"concat",C:[{N:"str",val:"No value for implicitly mandatory static parameter "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" has been supplied"}]},{N:"dot",type:"1NE"}]},{N:"and",line:"331",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isSupplied",slot:"33"}]},{N:"let",line:"332","var":"Q{}supplied",slot:"34",eval:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}params", -slot:"9"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"335",C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"instance",of:"1AZ",C:[{N:"varRef",name:"Q{}supplied",slot:"34"}]}]},{N:"let",line:"337","var":"Q{}targetType",slot:"35",eval:"4",C:[{N:"lookup",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"337",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"static.xsl",line:"337",type:"1NE"},{N:"str",val:""}]}]},{N:"str",val:"p"}]},{N:"let",line:"338","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"36",eval:"13",C:[{N:"treat",as:"AS",diag:"0|1||f:cast",C:[{N:"check",card:"1",diag:"0|1||f:cast",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||f:cast",C:[{N:"varRef",name:"Q{}targetType",slot:"35"}]}]}]}]},{N:"forEach",C:[{N:"varRef",name:"Q{}supplied",slot:"34"},{N:"ufCall",name:"Q{MyFunctions}cast",tailCall:"false",bSlot:"16", -eval:"16 1",C:[{N:"atomSing",diag:"0|0||f:cast",C:[{N:"dot"}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"36"}]}]}]}]},{N:"fn",line:"340",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"342","var":"Q{}targetType",slot:"37",eval:"4",C:[{N:"lookup",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"342",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"static.xsl",line:"342",type:"1NE"},{N:"str",val:""}]}]},{N:"str",val:"p"}]},{N:"let",line:"344","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"1AS",slot:"38",eval:"13",C:[{N:"treat",as:"AS",diag:"0|1||f:isInstance",C:[{N:"check",card:"1",diag:"0|1||f:isInstance",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|1||f:isInstance",C:[{N:"varRef",name:"Q{}targetType",slot:"37"}]}]}]}]},{N:"choose",C:[{N:"every","var":"Q{}item",slot:"39",C:[{N:"varRef",name:"Q{}supplied",slot:"34"},{N:"ufCall", -name:"Q{MyFunctions}isInstance",tailCall:"false",bSlot:"17",eval:"1 1",C:[{N:"varRef",name:"Q{}item",slot:"39"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"38"}]}]},{N:"varRef",line:"345",name:"Q{}supplied",slot:"34"},{N:"true"},{N:"ufCall",line:"350",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"18",eval:"0 16 16",C:[{N:"str",val:"XTDE0050"},{N:"fn",name:"concat",C:[{N:"str",val:"Supplied value of static parameter "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str", -val:" does not match the required type"}]},{N:"dot",type:"1NE"}]}]}]}]},{N:"true"},{N:"varRef",line:"355",name:"Q{}supplied",slot:"34"}]}]},{N:"and",line:"360",op:"and",C:[{N:"and",op:"and",C:[{N:"varRef",name:"Q{}isStaticParam",slot:"29"},{N:"varRef",name:"Q{}isRequired",slot:"32"}]},{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isSupplied",slot:"33"}]}]},{N:"ufCall",line:"363",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"19",eval:"0 16 16",C:[{N:"str",val:"XTDE0050"},{N:"fn",name:"concat", -C:[{N:"str",val:"No value for required static parameter "},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:" has been supplied"}]},{N:"dot",type:"1NE"}]},{N:"fn",line:"365",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]},{N:"let",line:"369","var":"Q{}xpath",as:"1AS",slot:"40",eval:"16",C:[{N:"choose",line:"371",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"let",line:"372","var":"Q{}type",slot:"41",eval:"16",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions js=~ map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"xpath.xsl",line:"1533",as:"FM",diag:"5|0|XTTE0780|f:parse-sequence-type#3",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}parse-sequence-type",type:"1F",C:[{N:"check",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",module:"static.xsl",line:"372",card:"1",diag:"0|0||f:parse-sequence-type",C:[{N:"cvUntyped",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]}]},{N:"dot",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"static.xsl",line:"372",type:"1NE"},{N:"str",val:""}]}]},{N:"choose",line:"375",C:[{N:"and",op:"and",C:[{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint", -C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"o"}]}]},{N:"str",val:"1"}]}]},{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]}]},{N:"str",val:"("},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select",chk:"0"}]}]},{N:"str",val:")"}]}]}]},{N:"and",line:"377",op:"and", -C:[{N:"fn",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"o"}]}]},{N:"str", -val:"?"}]}]},{N:"cvUntyped",line:"377",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",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{}select",chk:"0"}]}]},{N:"str",val:") cast as "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as",chk:"0"}]}]}]}]}]},{N:"fn",line:"378",name:"starts-with",C:[{N:"treat",as:"AS",diag:"0|0||fn:starts-with",C:[{N:"check",card:"?",diag:"0|0||fn:starts-with", -C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:starts-with",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}type",slot:"41"},{N:"str",val:"p"}]}]}]}]}]},{N:"str",val:"A"}]},{N:"cvUntyped",line:"378",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",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{}select",chk:"0"}]}]},{N:"str",val:") ! "},{N:"ufCall",name:"Q{MyTypes}displayType",tailCall:"false",bSlot:"20",eval:"16", -C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",module:"type.xsl",line:"320",name:"Q{http://www.w3.org/2005/xpath-functions/map}remove",type:"1FM",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", -module:"static.xsl",line:"378",name:"Q{}type",slot:"41"},{N:"str",val:"o"},{N:"str",val:"1"}]},{N:"str",val:"code"}]}]},{N:"str",val:"(.)"}]}]}]},{N:"true"},{N:"cvUntyped",line:"379",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",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{}select",chk:"0"}]}]},{N:"str",val:") treat as "},{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}as", -chk:"0"}]}]}]}]}]}]}]},{N:"true"},{N:"cvUntyped",line:"382",to:"AS",diag:"3|0|XTTE0570|xpath",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"string",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"attVal",name:"Q{}select",chk:"0"}]}]}]}]}]},{N:"let",line:"385","var":"Q{}nsContext",as:"1NE c~untyped",slot:"42",eval:"9",C:[{N:"let",line:"386","var":"Q{}dot",as:"1",slot:"43",eval:"16",C:[{N:"dot",type:"1NE"},{N:"compElem",line:"387",C:[{N:"str",role:"name",val:"dummy"},{N:"fn",role:"namespace",name:"string", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"data",C:[{N:"varRef",name:"Q{}xpath-default-namespace",slot:"21"}]}]}]},{N:"forEach",role:"content",line:"388",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"in-scope-prefixes",C:[{N:"dot",type:"1NE"}]},{N:"fn",name:"boolean",C:[{N:"dot",type:"1AS"}]}]},{N:"compAtt",line:"390",flags:"l",C:[{N:"fn",role:"name",name:"concat",C:[{N:"dot",type:"1AS"},{N:"str",val:":d"}]},{N:"fn",role:"namespace",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"namespace-uri-for-prefix", -C:[{N:"dot",type:"1AS"},{N:"varRef",name:"Q{}dot",slot:"43"}]}]}]},{N:"str",role:"select",val:""}]}]}]}]},{N:"try",line:"398",flags:"r",C:[{N:"evaluate",dxns:"",C:[{N:"varRef",role:"xpath",name:"Q{}xpath",slot:"40"},{N:"empty",role:"cxt"},{N:"fn",role:"baseUri",name:"string",C:[{N:"convert",from:"AU",to:"AS",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"varRef",role:"nsCxt",name:"Q{}nsContext",slot:"42"},{N:"str",role:"sa",val:"no"},{N:"ifCall",role:"options",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:"allow-xslt-functions"},{N:"true"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"var-slots"},{N:"varRef",name:"Q{}var-slots",slot:"18"}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XQDY0137"}]}]},{N:"varRef",role:"wp",name:"Q{}inner-static-vars",slot:"14"}]},{N:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XPDY0050", -C:[{N:"fn",line:"400",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTDE0050X"},{N:"treat",as:"AS",diag:"0|1||fn:error",C:[{N:"check",card:"1",diag:"0|1||fn:error",C:[{N:"cvUntyped",to:"AS",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:"catch",errors:"Q{http://www.w3.org/2005/xqt-errors}XTDE3160",C:[{N:"ufCall",line:"405",name:"Q{MyFunctions}syntax-error-at", -tailCall:"false",bSlot:"21",eval:"0 16 16",C:[{N:"str",val:"XTDE3160"},{N:"fn",line:"404",name:"replace",C:[{N:"treat",as:"AS",diag:"0|0||fn:replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"ifCall",name:"Q{http://saxon.sf.net/}dynamic-error-info",type:"*",C:[{N:"str",val:"description"}]}]}]}]}]},{N:"str",val:"Static error in XPath expression supplied to xsl:evaluate:"},{N:"str",val:"Error in static expression:"},{N:"str",val:""}]}, -{N:"dot",type:"1NE"}]}]}]}]}]},{N:"fn",line:"416",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}as"}]},{N:"empty"},{N:"true"},{N:"str",val:""}]}]}]}]},{N:"let",line:"426","var":"Q{}m",as:"1FM",slot:"44",eval:"16",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"varRef",name:"Q{}vars-in-import",slot:"16"},{N:"true"},{N:"varRef",name:"Q{}inner-static-vars",slot:"14"}]},{N:"sequence",line:"427",C:[{N:"choose",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains", -type:"1AB",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"choose",line:"429",C:[{N:"and",op:"and",C:[{N:"instance",of:"1F",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"instance",of:"1FA",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"fn",name:"not",C:[{N:"instance",of:"1FM",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"message",line:"430",C:[{N:"valueOf",role:"select", -C:[{N:"fn",name:"concat",C:[{N:"str",val:"Warning: unable to check consistency of multiply-defined variable "},{N:"fn",name:"string",C:[{N:"convert",from:"AQ",to:"AS",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"str",val:" with function(*) type\n "}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"fn",line:"433",name:"not",C:[{N:"fn",name:"deep-equal",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get", -type:"*",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"ufCall",line:"436",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"22",eval:"0 16 16",C:[{N:"str",val:"XTSE3450"},{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting values for static variable "},{N:"varRef",name:"Q{}name",slot:"30"},{N:"str",val:"\n"},{N:"ufCall",line:"437",name:"Q{MyFunctions}serialize",tailCall:"false", -bSlot:"23",eval:"1",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"str",val:"\nand:\n"},{N:"ufCall",line:"439",name:"Q{MyFunctions}serialize",tailCall:"false",bSlot:"24",eval:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"44"},{N:"check",card:"1",diag:"0|1||map:get",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]},{N:"str",val:"*#xA;"}]},{N:"check",line:"439",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component", -slot:"27"}]}]}]}]},{N:"choose",line:"448",C:[{N:"let","var":"Q{}m",slot:"45",eval:"16",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"varRef",name:"Q{}isParam-in-import",slot:"17"},{N:"true"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"and",op:"and",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"varRef",name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"0|1||map:contains",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]},{N:"or",op:"or", -C:[{N:"and",op:"and",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]},{N:"fn",name:"not",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m",slot:"45"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}m", -slot:"45"},{N:"check",card:"1",diag:"20|0||key value supplied when calling a map as a function",C:[{N:"varRef",name:"Q{}name",slot:"30"}]}]}]}]}]},{N:"ufCall",line:"451",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"25",eval:"0 16 16",C:[{N:"str",val:"XTSE3450"},{N:"fn",name:"concat",C:[{N:"str",val:"Conflicting declarations for static param/variable "},{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component", -slot:"27"}]}]}]},{N:"let",line:"462","var":"Q{}this-slot",as:"1A",slot:"46",eval:"16",C:[{N:"arith",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}next-slot",slot:"19"},{N:"choose",C:[{N:"instance",of:"1F",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"fn",name:"function-arity",C:[{N:"treat",as:"F",diag:"0|0||fn:function-arity",C:[{N:"check",card:"1",diag:"0|0||fn:function-arity",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"true"},{N:"int",val:"0"}]}]},{N:"let",line:"466","var":"Q{}grounded-value", -as:"1AB",slot:"47",eval:"16",C:[{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1A",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"nextIteration",line:"567",C:[{N:"withParam",name:"Q{}inner-static-vars",as:"1FM",slot:"14",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}inner-static-vars",slot:"14"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef", -name:"Q{}value",slot:"31"}]}]},{N:"withParam",name:"Q{}static-isParam",as:"1FM",slot:"15",C:[{N:"ifCall",line:"568",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}static-isParam",slot:"15"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}isStaticParam",slot:"29"}]}]},{N:"withParam",name:"Q{}vars-in-import",as:"1FM",slot:"16",C:[{N:"choose",line:"574",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"ifCall", -name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}vars-in-import",slot:"16"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"true"},{N:"varRef",name:"Q{}vars-in-import",slot:"16"}]}]},{N:"withParam",name:"Q{}isParam-in-import",as:"1FM",slot:"17",C:[{N:"choose",line:"580",C:[{N:"varRef",name:"Q{}imported",slot:"7"},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}put", -type:"1FM",C:[{N:"varRef",name:"Q{}isParam-in-import",slot:"17"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"true"},{N:"varRef",name:"Q{}isParam-in-import",slot:"17"}]}]},{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",line:"587",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"choose",C:[{N:"varRef",name:"Q{}grounded-value",slot:"47"},{N:"choose",line:"469",C:[{N:"varRef",name:"Q{}grounded-value", -slot:"47"},{N:"let",line:"540","var":"Q{http://saxon.sf.net/generated-variable}v20",as:"1AB",slot:"48",eval:"13",C:[{N:"instance",of:"1AZ",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"537","var":"Q{http://saxon.sf.net/generated-variable}v19",as:"1AB",slot:"49",eval:"13",C:[{N:"instance",of:"1AN",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"534","var":"Q{http://saxon.sf.net/generated-variable}v18",as:"1AB",slot:"50",eval:"13",C:[{N:"instance",of:"1AQ",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"531","var":"Q{http://saxon.sf.net/generated-variable}v17",as:"1AB",slot:"51",eval:"13",C:[{N:"instance",of:"1AX",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"528","var":"Q{http://saxon.sf.net/generated-variable}v16",as:"1AB",slot:"52",eval:"13",C:[{N:"instance",of:"1A2",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"525","var":"Q{http://saxon.sf.net/generated-variable}v15",as:"1AB",slot:"53",eval:"13",C:[{N:"instance",of:"1AK",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"522","var":"Q{http://saxon.sf.net/generated-variable}v14",as:"1AB",slot:"54",eval:"13",C:[{N:"instance",of:"1AI",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"519","var":"Q{http://saxon.sf.net/generated-variable}v13",as:"1AB",slot:"55",eval:"13",C:[{N:"instance",of:"1AJ",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"516","var":"Q{http://saxon.sf.net/generated-variable}v12",as:"1AB",slot:"56",eval:"13",C:[{N:"instance",of:"1AG",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"513","var":"Q{http://saxon.sf.net/generated-variable}v11",as:"1AB",slot:"57",eval:"13",C:[{N:"instance",of:"1AH",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"510","var":"Q{http://saxon.sf.net/generated-variable}v10",as:"1AB",slot:"58",eval:"13",C:[{N:"instance",of:"1AT",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"507","var":"Q{http://saxon.sf.net/generated-variable}v9",as:"1AB",slot:"59",eval:"13",C:[{N:"instance",of:"1ARD",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"504","var":"Q{http://saxon.sf.net/generated-variable}v8",as:"1AB",slot:"60",eval:"13",C:[{N:"instance",of:"1ARY",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"501","var":"Q{http://saxon.sf.net/generated-variable}v7",as:"1AB",slot:"61",eval:"13",C:[{N:"instance",of:"1AA",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"498","var":"Q{http://saxon.sf.net/generated-variable}v6",as:"1AB",slot:"62",eval:"13",C:[{N:"instance",of:"1AMP",C:[{N:"varRef",name:"Q{}value", -slot:"31"}]},{N:"let",line:"495","var":"Q{http://saxon.sf.net/generated-variable}v5",as:"1AB",slot:"63",eval:"13",C:[{N:"instance",of:"1AM",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"let",line:"492","var":"Q{http://saxon.sf.net/generated-variable}v4",as:"1AB",slot:"64",eval:"13",C:[{N:"or",op:"or",C:[{N:"instance",of:"1AS",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1AU",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"let",line:"488","var":"Q{http://saxon.sf.net/generated-variable}v3", -as:"1AB",slot:"65",eval:"13",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"instance",of:"1AD",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"instance",of:"1AO",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"instance",of:"1AF",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"let",line:"477","var":"Q{http://saxon.sf.net/generated-variable}v2",as:"1AB",slot:"66",eval:"13",C:[{N:"instance",of:"1AB",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"check",line:"470",card:"?",diag:"3|0|XTTE0570|variable.component", -C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"copy",line:"472",flags:"cin",sit:"1",C:[{N:"sequence",role:"content",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"choose",line:"474",C:[{N:"fn",name:"empty",C:[{N:"varRef",name:"Q{}value",slot:"31"}]},{N:"att",line:"475",name:"select",flags:"l",C:[{N:"str",val:"()"}]},{N:"varRef",line:"477",name:"Q{http://saxon.sf.net/generated-variable}v2",slot:"66"},{N:"att",line:"484",name:"select",flags:"l",C:[{N:"choose",C:[{N:"varRef", -name:"Q{}value",slot:"31"},{N:"str",val:"true()"},{N:"true"},{N:"str",val:"false()"}]}]},{N:"varRef",line:"488",name:"Q{http://saxon.sf.net/generated-variable}v3",slot:"65"},{N:"att",line:"489",name:"select",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:"31"}]}]}]},{N:"str",val:" "}]}]},{N:"varRef",line:"492",name:"Q{http://saxon.sf.net/generated-variable}v4",slot:"64"},{N:"att",line:"493",name:"select",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"treat",as:"AS",diag:"0|0||fn:replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]},{N:"varRef",line:"495",name:"Q{http://saxon.sf.net/generated-variable}v5",slot:"63"}, -{N:"att",line:"496",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"26",eval:"0",C:[{N:"str",val:"dateTime"}]}]}]}]}]},{N:"varRef",line:"498",name:"Q{http://saxon.sf.net/generated-variable}v6",slot:"62"},{N:"att", -line:"499",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"27",eval:"0",C:[{N:"str",val:"dateTimeStamp"}]}]}]}]}]},{N:"varRef",line:"501",name:"Q{http://saxon.sf.net/generated-variable}v7",slot:"61"},{N:"att",line:"502", -name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"28",eval:"0",C:[{N:"str",val:"date"}]}]}]}]}]},{N:"varRef",line:"504",name:"Q{http://saxon.sf.net/generated-variable}v8",slot:"60"},{N:"att",line:"505",name:"select", -flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"29",eval:"0",C:[{N:"str",val:"yearMonthDuration"}]}]}]}]}]},{N:"varRef",line:"507",name:"Q{http://saxon.sf.net/generated-variable}v9",slot:"59"},{N:"att",line:"508",name:"select", -flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"30",eval:"0",C:[{N:"str",val:"dayTimeDuration"}]}]}]}]}]},{N:"varRef",line:"510",name:"Q{http://saxon.sf.net/generated-variable}v10",slot:"58"},{N:"att",line:"511",name:"select", -flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"31",eval:"0",C:[{N:"str",val:"time"}]}]}]}]}]},{N:"varRef",line:"513",name:"Q{http://saxon.sf.net/generated-variable}v11",slot:"57"},{N:"att",line:"514",name:"select",flags:"l", -C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"32",eval:"0",C:[{N:"str",val:"gYearMonth"}]}]}]}]}]},{N:"varRef",line:"516",name:"Q{http://saxon.sf.net/generated-variable}v12",slot:"56"},{N:"att",line:"517",name:"select",flags:"l",C:[{N:"convert", -from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"33",eval:"0",C:[{N:"str",val:"gYear"}]}]}]}]}]},{N:"varRef",line:"519",name:"Q{http://saxon.sf.net/generated-variable}v13",slot:"55"},{N:"att",line:"520",name:"select",flags:"l",C:[{N:"convert",from:"AZ", -to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"34",eval:"0",C:[{N:"str",val:"gMonthDay"}]}]}]}]}]},{N:"varRef",line:"522",name:"Q{http://saxon.sf.net/generated-variable}v14",slot:"54"},{N:"att",line:"523",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS", -C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"35",eval:"0",C:[{N:"str",val:"gMonth"}]}]}]}]}]},{N:"varRef",line:"525",name:"Q{http://saxon.sf.net/generated-variable}v15",slot:"53"},{N:"att",line:"526",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast", -flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"36",eval:"0",C:[{N:"str",val:"gDay"}]}]}]}]}]},{N:"varRef",line:"528",name:"Q{http://saxon.sf.net/generated-variable}v16",slot:"52"},{N:"att",line:"529",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a", -as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"37",eval:"0",C:[{N:"str",val:"base64Binary"}]}]}]}]}]},{N:"varRef",line:"531",name:"Q{http://saxon.sf.net/generated-variable}v17",slot:"51"},{N:"att",line:"532",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ", -C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"38",eval:"0",C:[{N:"str",val:"hexBinary"}]}]}]}]}]},{N:"varRef",line:"534",name:"Q{http://saxon.sf.net/generated-variable}v18",slot:"50"},{N:"att",line:"535",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn", -name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"39",eval:"0",C:[{N:"str",val:"QName"}]}]}]}]}]},{N:"varRef",line:"537",name:"Q{http://saxon.sf.net/generated-variable}v19",slot:"49"},{N:"att",line:"538",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat", -C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"check",card:"?",diag:"0|0||fn:string",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]},{N:"str",val:"' cast as "},{N:"ufCall",name:"Q{MyFunctions}xseq",tailCall:"false",bSlot:"40",eval:"0",C:[{N:"str",val:"NOTATION"}]}]}]}]}]},{N:"varRef",line:"540",name:"Q{http://saxon.sf.net/generated-variable}v20",slot:"48"},{N:"choose",line:"544",C:[{N:"or",op:"or",C:[{N:"or",op:"or",C:[{N:"castable",flags:"a",as:"1AD",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef", -name:"Q{}value",slot:"31"}]}]},{N:"castable",flags:"a",as:"1AO",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"castable",flags:"a",as:"1AF",C:[{N:"data",diag:"2|0||castable as",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]},{N:"att",line:"545",name:"select",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:"31"}]}]}]},{N:"str",val:" "}]}]},{N:"true"},{N:"att",line:"549", -name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"treat",as:"AS",diag:"0|0||fn:replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]}]},{N:"true"},{N:"sequence",line:"554",C:[{N:"message",C:[{N:"valueOf", -role:"select",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Unexpected atomic type; treating as string: "},{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:"31"}]}]}]},{N:"str",val:" "}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"att",line:"555",name:"select",flags:"l",C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"fn",name:"concat", -C:[{N:"str",val:"'"},{N:"fn",name:"replace",C:[{N:"treat",as:"AS",diag:"0|0||fn:replace",C:[{N:"check",card:"?",diag:"0|0||fn:replace",C:[{N:"cvUntyped",to:"AS",C:[{N:"data",diag:"0|0||fn:replace",C:[{N:"varRef",name:"Q{}value",slot:"31"}]}]}]}]},{N:"str",val:"'"},{N:"str",val:"''"},{N:"str",val:""}]},{N:"str",val:"'"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]},{N:"withParam",name:"Q{}var-slots",as:"1FM",slot:"18", -C:[{N:"ifCall",line:"588",name:"Q{http://www.w3.org/2005/xpath-functions/map}put",type:"1FM",C:[{N:"varRef",name:"Q{}var-slots",slot:"18"},{N:"check",card:"1",diag:"0|1||map:put",C:[{N:"varRef",name:"Q{}name",slot:"30"}]},{N:"varRef",name:"Q{}this-slot",slot:"46"}]}]},{N:"withParam",name:"Q{}next-slot",as:"1ADI",slot:"19",C:[{N:"arith",line:"589",op:"+",calc:"i+i",C:[{N:"varRef",name:"Q{}this-slot",slot:"46"},{N:"int",val:"1"}]}]}]}]}]}]}]}]}]},{N:"fn",line:"592",name:"exists",C:[{N:"slash",simple:"1", -C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}import,NE nQ{http://www.w3.org/1999/XSL/Transform}include]"}]}]},{N:"let",line:"594","var":"Q{}imported",as:"1AB",slot:"67",eval:"8",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"}]}]},{N:"let",line:"595","var":"Q{}doc",as:"1ND",slot:"68", -eval:"16",C:[{N:"check",line:"596",card:"1",diag:"3|0|XTTE0570|doc",C:[{N:"sequence",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"}]}]},{N:"treat",line:"598",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"41",eval:"16 16",C:[{N:"fn",name:"concat",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn", -name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" must have an @href attribute"}]},{N:"check",card:"1",diag:"0|1||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"choose",line:"600",C:[{N:"fn",name:"exists",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"axis",name:"child",nodeTest:"N u[NE,NP,NC,NT]"}]}]},{N:"treat",line:"602",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"42", -eval:"0 16 16",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" must be empty"}]},{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]},{N:"let",line:"607","var":"Q{}bad-attributes",as:"*NA",slot:"69",eval:"4",C:[{N:"forEach",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"except",op:"except",C:[{N:"filter", -flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]},{N:"docOrder",intra:"1",C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}href"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}expand-text"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-collation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}xpath-default-namespace"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}default-mode"},{N:"axis",name:"attribute", -nodeTest:"NA nQ{}default-validation"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}exclude-result-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}extension-element-prefixes"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}use-when"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]}]}]}]},{N:"sequence",line:"608",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef",name:"Q{}bad-attributes",slot:"69"}]},{N:"treat",line:"609",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}wrongAttribute", -tailCall:"false",bSlot:"43",eval:"4",C:[{N:"check",card:"+",diag:"0|0||f:wrongAttribute",C:[{N:"first",C:[{N:"varRef",name:"Q{}bad-attributes",slot:"69"}]}]}]}]}]},{N:"let",line:"611","var":"Q{}uri",as:"?AU",slot:"70",eval:"8",C:[{N:"fn",name:"resolve-uri",C:[{N:"cvUntyped",to:"AS",C:[{N:"slash",C:[{N:"varRef",name:"Q{}possible.component",slot:"27"},{N:"attVal",name:"Q{}href",chk:"0"}]}]},{N:"convert",from:"AU",to:"AS",C:[{N:"first",C:[{N:"sequence",C:[{N:"fn",name:"base-uri",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}, -{N:"varRef",name:"Q{}stylesheet-base-uri",slot:"11"}]}]}]}]},{N:"sequence",line:"612",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}stylesheet-stack",slot:"10"},{N:"varRef",name:"Q{}uri",slot:"70"}]},{N:"treat",line:"619",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error",tailCall:"false",bSlot:"44",eval:"16 16",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"67"},{N:"str",val:"XTSE0210"},{N:"true"},{N:"str",val:"XTSE0180"}]},{N:"fn", -name:"concat",C:[{N:"str",val:"Document "},{N:"varRef",name:"Q{}uri",slot:"70"},{N:"str",val:" is recursively including or importing itself"}]}]}]}]},{N:"choose",line:"621",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"traceProgress"}]},{N:"treat",line:"622",as:"ND",diag:"3|0|XTTE0570|doc",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"Import/Include static processing for"},{N:"varRef",name:"Q{}uri",slot:"70"}]},{N:"str",role:"terminate",val:"no"},{N:"str", -role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"callT",line:"625",name:"Q{}collect-doc",bSlot:"45",C:[{N:"withParam",name:"Q{}uri",flags:"c",as:"?AU",C:[{N:"varRef",line:"626",name:"Q{}uri",slot:"70"}]}]}]}]}]}]}]}]},{N:"sequence",line:"630",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"sequence",line:"631",C:[{N:"message",C:[{N:"sequence",role:"select",C:[{N:"str",val:"$doc:"},{N:"fn",name:"serialize",C:[{N:"slash", -simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"68"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]},{N:"message",line:"632",C:[{N:"sequence",role:"select",C:[{N:"str",val:"base-uri($doc):"},{N:"fn",name:"base-uri",C:[{N:"check",card:"?",diag:"0|0||fn:base-uri",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}doc",slot:"68"},{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"str",role:"terminate", -val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]}]},{N:"let",line:"635","var":"Q{}collected",as:"1FM",slot:"71",eval:"16",C:[{N:"let",line:"639","var":"Q{}suffix",as:"1AS",slot:"72",eval:"8",C:[{N:"fn",name:"codepoints-to-string",C:[{N:"arith",op:"-",calc:"i-i",C:[{N:"int",val:"50000"},{N:"cvUntyped",line:"637",to:"ADI",diag:"3|0|XTTE0570|index",C:[{N:"cast",flags:"a",as:"1AZ",C:[{N:"numSeqFmt",C:[{N:"nodeNum",role:"value",level:"single",C:[{N:"dot",role:"select", -type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"},{N:"p.venn",role:"count",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}import"},{N:"p.nodeTest",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}include"}]}]},{N:"str",role:"startAt",val:"0"}]}]}]}]}]},{N:"treat",line:"640",as:"FM",diag:"3|0|XTTE0570|collected",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|collected",C:[{N:"applyT",mode:"Q{}process-module",bSlot:"46",C:[{N:"slash",role:"select",simple:"1",C:[{N:"varRef", -name:"Q{}doc",slot:"68"},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"withParam",name:"Q{}imported",as:"1AB",C:[{N:"varRef",line:"643",name:"Q{}imported",slot:"67"}]},{N:"withParam",name:"Q{}top-level",flags:"t",as:"1AB",C:[{N:"false"}]},{N:"withParam",name:"Q{}static-vars",flags:"t",as:"1FM",C:[{N:"varRef",line:"644",name:"Q{}inner-static-vars",slot:"14"}]},{N:"withParam",name:"Q{}var-slots",flags:"t",as:"1FM",C:[{N:"varRef",line:"645",name:"Q{}var-slots",slot:"18"}]},{N:"withParam",name:"Q{}next-slot", -flags:"t",as:"1ADI",C:[{N:"varRef",line:"646",name:"Q{}next-slot",slot:"19"}]},{N:"withParam",name:"Q{}static-isParam",flags:"t",as:"1FM",C:[{N:"varRef",line:"647",name:"Q{}static-isParam",slot:"15"}]},{N:"withParam",name:"Q{}stylesheet-stack",flags:"t",as:"*AU",C:[{N:"sequence",line:"648",C:[{N:"varRef",name:"Q{}stylesheet-stack",slot:"10"},{N:"fn",name:"base-uri",C:[{N:"varRef",name:"Q{}doc",slot:"68"}]}]}]},{N:"withParam",name:"Q{}parent-version",flags:"t",as:"1AD",C:[{N:"varRef",line:"649",name:"Q{}version", -slot:"20"}]},{N:"withParam",name:"Q{}precLabel",flags:"t",as:"1AS",C:[{N:"choose",line:"655",C:[{N:"varRef",name:"Q{}imported",slot:"67"},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}moduleLabel",slot:"1"},{N:"varRef",name:"Q{}suffix",slot:"72"}]},{N:"true"},{N:"varRef",name:"Q{}precLabel",slot:"2"}]}]},{N:"withParam",name:"Q{}moduleLabel",flags:"t",as:"1AS",C:[{N:"fn",line:"656",name:"concat",C:[{N:"varRef",name:"Q{}moduleLabel",slot:"1"},{N:"varRef",name:"Q{}suffix",slot:"72"}]}]}]}]}]}]},{N:"sequence", -line:"659",C:[{N:"choose",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}options",slot:"0"},{N:"str",val:"debugStatic"}]},{N:"message",line:"660",C:[{N:"sequence",role:"select",C:[{N:"str",val:"$collected:"},{N:"fn",name:"serialize",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"map",size:"1",C:[{N:"str",val:"method"},{N:"str",val:"adaptive"}]}]}]},{N:"str",role:"terminate",val:"no"},{N:"str",role:"error",val:"Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}]}]},{N:"nextIteration",line:"664",C:[{N:"withParam", -name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"treat",as:"NE",diag:"8|0|XTTE0590|components",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"str",val:"components"}]}]}]}]},{N:"withParam",name:"Q{}inner-static-vars",as:"1FM",slot:"14",C:[{N:"ifCall",line:"670",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported",slot:"67"},{N:"varRef",name:"Q{}inner-static-vars", -slot:"14"}]},{N:"treat",as:"FM",diag:"0|0||map:merge",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"str",val:"static-vars"}]}]}]},{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:"withParam",name:"Q{}static-isParam",as:"1FM",slot:"15",C:[{N:"ifCall",line:"676",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"choose",C:[{N:"varRef",name:"Q{}imported", -slot:"67"},{N:"varRef",name:"Q{}static-isParam",slot:"15"}]},{N:"treat",as:"FM",diag:"0|0||map:merge",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"str",val:"static-isParam"}]}]}]},{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:"withParam",name:"Q{}var-slots",as:"1FM",slot:"18",C:[{N:"treat",line:"677",as:"FM",diag:"8|0|XTTE0590|var-slots",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|var-slots", -C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"str",val:"var-slots"}]}]}]}]},{N:"withParam",name:"Q{}next-slot",as:"1ADI",slot:"19",C:[{N:"treat",line:"678",as:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|next-slot",C:[{N:"cvUntyped",to:"ADI",diag:"8|0|XTTE0590|next-slot",C:[{N:"data",diag:"8|0|XTTE0590|next-slot",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}collected",slot:"71"},{N:"str",val:"next-slot"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"true"},{N:"nextIteration", -line:"685",C:[{N:"withParam",name:"Q{}components",as:"*NE",slot:"13",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}components",slot:"13"},{N:"varRef",name:"Q{}possible.component",slot:"27"}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"691",name:"Q{}result",slot:"26"}]}]}]}]}]}]}]}]},{N:"templateRule",prec:"0",prio:"1.4",seq:"2",rank:"0",minImp:"0",slots:"0",matches:"NE nQ{http://www.w3.org/1999/XSL/Transform}package",flags:"s",line:"117",module:"static.xsl",C:[{N:"p.nodeTest",role:"match",test:"NE nQ{http://www.w3.org/1999/XSL/Transform}package"}, -{N:"ufCall",role:"action",ns:"doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions t=MyTypes xs=~ xsl=~ xml=~",line:"118",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"47",eval:"16 16",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE",flags:"a"}]},{N:"str",val:" can only be a child of a document-node, not a '"},{N:"fn",name:"name",C:[{N:"check",card:"?",diag:"0|0||fn:name",C:[{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}, -{N:"str",val:"' element"}]},{N:"dot",type:"1NE",flags:"a"}]}]}]}]},{N:"co",id:"105",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_BOOLEAN",as:"1FM k[AS] v[1AS]",line:"28",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AB"}]}]}]},{N:"co",id:"282",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_DECIMAL",as:"1FM k[AS] v[1AS]",line:"21",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2", -C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AD"}]}]}]},{N:"overridden"},{N:"accumulator",name:"Q{}number",line:"0",as:"*",streamable:"0",slots:"0",binds:"",C:[{N:"int",role:"init",val:"0"},{N:"pre",slots:"0",C:[{N:"accRule",slots:"1",rank:"0",C:[{N:"p.nodeTest",test:"NE"},{N:"arith",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"14",op:"+", -calc:"a+a",C:[{N:"cvUntyped",to:"AO",C:[{N:"atomSing",card:"?",diag:"1|0||+",C:[{N:"supplied",slot:"0"}]}]},{N:"int",val:"1"}]}]}]},{N:"post",slots:"0"}]},{N:"accumulator",name:"Q{}coBinding",line:"0",as:"*AS",streamable:"0",slots:"0",binds:"314 314 314 314 314 314",C:[{N:"empty",role:"init"},{N:"pre",slots:"0",C:[{N:"accRule",slots:"8",rank:"0",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"}]}, -{N:"empty"}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"187",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"3",C:[{N:"supplied",slot:"0"},{N:"fn",name:"concat",C:[{N:"str",val:"M:"},{N:"data",diag:"0|1||fn:concat",C:[{N:"first",C:[{N:"sequence", -C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#unnamed"}]}]}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"185",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"2",C:[{N:"supplied",slot:"0"},{N:"fn",name:"concat", -C:[{N:"str",val:"V:"},{N:"attVal",name:"Q{}name",chk:"0"}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}callT"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"183",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"0",C:[{N:"supplied",slot:"0"},{N:"fn",name:"concat",C:[{N:"str",val:"T:"}, -{N:"attVal",name:"Q{}name",chk:"0"}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"189",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"4",C:[{N:"supplied",slot:"0"},{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name", -chk:"0"},{N:"str",val:"#"},{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"191",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"5",C:[{N:"supplied",slot:"0"},{N:"fn",name:"concat", -C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name",chk:"0"},{N:"str",val:"#"},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}arity"}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"184",name:"Q{coBindings}find-reference",tailCall:"false", -bSlot:"1",C:[{N:"supplied",slot:"0"},{N:"fn",name:"concat",C:[{N:"str",val:"A:"},{N:"attVal",name:"Q{}name",chk:"0"}]}]}]}]},{N:"post",slots:"0",C:[{N:"accRule",slots:"8",rank:"0",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"}]},{N:"supplied",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", -line:"181",slot:"0"}]}]}]},{N:"output",C:[{N:"property",name:"method",value:"xml"},{N:"property",name:"indent",value:"no"},{N:"property",name:"Q{http://saxon.sf.net/}stylesheet-version",value:"30"}]},{N:"decimalFormat"}],"\u03a3":"e9bb699"}}; +{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"axis",name:"self",nodeTest:"NE nQ{http://ns.saxonica.com/xslt/export}slash"}]}]},{N:"ufCall",name:"Q{MyFunctions}requiresNodeTest",tailCall:"self",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:requiresNodeTest",C:[{N:"slash",C:[{N:"varRef",name:"Q{}node",slot:"0"},{N:"first",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"true"},{N:"false"}]}]}]}]},{N:"co",id:"272",binds:"1 97",C:[{N:"globalVariable",name:"Q{}SJ.MULIPLE_ATTRIBUTE", +as:"1AS",line:"57",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"57",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.MULTIPLE_ATTRIBUTE",bSlot:"1"}]}]}]},{N:"co",id:"139",binds:"1 88",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_MAP",as:"1AS",line:"62",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"62",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_MAP",bSlot:"1"}]}]}]},{N:"co",id:"306",binds:"",C:[{N:"function",name:"Q{MyFunctions}is-last",line:"257",module:"lib.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}context",as:"*"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"259", +name:"empty",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"axis",name:"following-sibling",nodeTest:"NE"}]},{N:"fn",name:"empty",C:[{N:"axis",name:"self",nodeTest:"NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}fallback,NE nQ{http://www.w3.org/1999/XSL/Transform}catch]"}]}]}]}]}]},{N:"co",id:"117",binds:"301",C:[{N:"globalVariable",name:"Q{}types",as:"1FM k[AS] v[1FM]",line:"415",module:"type.xsl",slots:"6", +visibility:"PRIVATE",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"417",name:"Q{http://www.w3.org/2005/xpath-functions/map}merge",type:"1FM",C:[{N:"sequence",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"gVarRef",name:"Q{}type.hierarchy.tree",bSlot:"0"},{N:"axis",name:"descendant",nodeTest:"NE"}]},{N:"let",line:"418","var":"Q{}isAtomic",as:"1AB",slot:"2",C:[{N:"fn",name:"starts-with", +C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"str",val:"xs:"}]},{N:"let",line:"419","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AB",slot:"3",flags:"l",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}isAtomic",slot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"filter",flags:"ib",C:[{N:"str",val:"()"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0", +slot:"3"}]}]},{N:"ifCall",line:"425",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:"supertypes"},{N:"slash",C:[{N:"fn",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"dot",type:"1NE"},{N:"axis",name:"ancestor",nodeTest:"NE"}]}]},{N:"let","var":"Q{}n",slot:"4",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1", +as:"1AB",slot:"5",flags:"l",C:[{N:"fn",name:"not",C:[{N:"fn",name:"starts-with",C:[{N:"varRef",name:"Q{}n",slot:"4"},{N:"str",val:"xs:"}]}]},{N:"fn",name:"concat",C:[{N:"varRef",name:"Q{}n",slot:"4"},{N:"filter",flags:"ib",C:[{N:"str",val:"()"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"5"}]}]}]}]}]}]},{N:"ifCall",line:"426",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"isPlain"},{N:"varRef",name:"Q{}isAtomic",slot:"2"}]}]},{N:"map", +size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"empty-sequence()"},{N:"map",size:"1",C:[{N:"str",val:"isPlain"},{N:"false"}]}]}]},{N:"map",size:"2",C:[{N:"str",val:"duplicates"},{N:"str",val:"reject"},{N:"str",val:"duplicates-error-code"},{N:"str",val:"XTDE3365"}]}]}]}]},{N:"co",id:"307",binds:"307",C:[{N:"function",name:"Q{MyFunctions}closure2",line:"631",module:"XSLT-SEF-compiler.xsl", +flags:"pU",as:"*",slots:"6",C:[{N:"arg",name:"Q{}current",as:"1AS"},{N:"arg",name:"Q{}dependencies",as:"1FM"},{N:"arg",name:"Q{}found",as:"*AS"},{N:"let",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"639","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"1AS",slot:"3",flags:"l",C:[{N:"fn",name:"string-join",C:[{N:"varRef",name:"Q{}found", +slot:"2"},{N:"str",val:", "}]},{N:"let",line:"635","var":"Q{}next",slot:"4",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"varRef",name:"Q{}current",slot:"0"}]},{N:"sequence",line:"636",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"varRef",name:"Q{}next",slot:"4"},{N:"gc",op:"=",card:"M:N",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"data",diag:"1|0||=",C:[{N:"dot"}]},{N:"varRef", +name:"Q{}found",slot:"2"}]}]},{N:"fn",line:"639",name:"error",C:[{N:"qName",pre:"",uri:"http://www.w3.org/2005/xqt-errors",loc:"XTSE1600"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Circular definition of character map "},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot"}]}]},{N:"str",val:" via character maps "}]},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"3"}]}]}]},{N:"choose",line:"647",C:[{N:"fn",name:"exists",C:[{N:"varRef", +name:"Q{}next",slot:"4"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v1",as:"*AS",slot:"5",flags:"l",C:[{N:"sequence",C:[{N:"varRef",name:"Q{}found",slot:"2"},{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|2||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|2||f:closure2",C:[{N:"data",diag:"0|2||f:closure2",C:[{N:"varRef",name:"Q{}next",slot:"4"}]}]}]}]},{N:"forEach",C:[{N:"varRef",name:"Q{}next",slot:"4"},{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"false",bSlot:"0",C:[{N:"check", +card:"1",diag:"0|0||f:closure2",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:closure2",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:closure2",C:[{N:"data",diag:"0|0||f:closure2",C:[{N:"dot"}]}]}]}]},{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v1",slot:"5"}]}]}]},{N:"true"},{N:"varRef",name:"Q{}found",slot:"2"}]}]}]}]}]}]},{N:"co",id:"193",binds:"307",C:[{N:"function",name:"Q{MyFunctions}closure2",line:"625",module:"XSLT-SEF-compiler.xsl", +flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}current",as:"1AS"},{N:"arg",name:"Q{}dependencies",as:"1FM"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"628",C:[{N:"ufCall",name:"Q{MyFunctions}closure2",tailCall:"foreign",bSlot:"0",C:[{N:"varRef",name:"Q{}current",slot:"0"},{N:"varRef",name:"Q{}dependencies",slot:"1"},{N:"empty"}]}]}]}]}, +{N:"co",id:"308",binds:"102",C:[{N:"globalVariable",name:"Q{}declaration-names",as:"*AS",line:"289",module:"XSLT-syntax.xsl",visibility:"PRIVATE",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"289",C:[{N:"gVarRef",name:"Q{}top-level-declarations",bSlot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"co",id:"309",binds:"48",C:[{N:"function",name:"Q{MyFunctions}encode-namespaces", +line:"44",module:"namespaces.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"46",C:[{N:"fn",line:"47",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"attribute",nodeTest:"NA nQ{http://ns.saxonica.com/xslt/export}ns"}]}]},{N:"check",line:"48", +card:"1",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"cvUntyped",to:"AS",diag:"5|0|XTTE0780|f:encode-namespaces#1",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"attVal",name:"Q{http://ns.saxonica.com/xslt/export}ns"}]}]}]}]},{N:"true"},{N:"fn",line:"58",name:"string-join",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"axis",name:"namespace",nodeTest:"NN"}]}, +{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]},{N:"str",val:"="}]},{N:"choose",C:[{N:"vc",op:"eq",onEmpty:"0",comp:"CCC",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}known-namespaces",bSlot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NN"}]}]},{N:"data",diag:"1|1||eq",C:[{N:"dot",type:"1NN"}]}]},{N:"str",val:"~"},{N:"true"},{N:"data",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NN"}]}]}]}]},{N:"str", +val:" "}]}]}]}]},{N:"co",id:"172",binds:"38",C:[{N:"function",name:"Q{MyFunctions}boolean-string",line:"50",module:"lib.xsl",flags:"pU",as:"1AB",slots:"2",C:[{N:"arg",name:"Q{}input",as:"?NA"},{N:"arg",name:"Q{}default",as:"1AB"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"59",C:[{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"varRef", +name:"Q{}input",slot:"0"}]},{N:"ufCall",name:"Q{MyFunctions}boolean-string",tailCall:"foreign",bSlot:"0",C:[{N:"check",card:"1",diag:"0|0||f:boolean-string",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]},{N:"true"},{N:"varRef",name:"Q{}default",slot:"1"}]}]}]}]},{N:"co",id:"258",binds:"22",C:[{N:"function",name:"Q{MyFunctions}check-iterate",line:"138",module:"repetition.xsl",flags:"pU",as:"*",slots:"1",C:[{N:"arg",name:"Q{}instruction",as:"*"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"140",C:[{N:"choose",C:[{N:"fn",name:"empty",C:[{N:"slash",simple:"2",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/",C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]},{N:"axis",name:"ancestor",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}iterate"}]}]},{N:"ufCall",line:"141",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0",C:[{N:"str",val:"XTSE0010"},{N:"fn",name:"concat",C:[{N:"check",card:"?",diag:"0|0||fn:concat",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"1|0|XPTY0019|/", +C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1N"}]}]}]},{N:"str",val:" can only be the descendant of xsl:iterate"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"check",card:"1",diag:"0|2||f:syntax-error-at",C:[{N:"varRef",name:"Q{}instruction",slot:"0"}]}]}]}]}]}]}]},{N:"co",id:"38",binds:"22",C:[{N:"function",name:"Q{MyFunctions}boolean-string",line:"36",module:"lib.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}input",as:"1NA"},{N:"choose", +role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"47",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"1"},{N:"str",val:"yes"},{N:"str",val:"true"}]},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data", +diag:"0|0||fn:normalize-space",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]},{N:"true"},{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"no"},{N:"str",val:"false"}]},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"data",diag:"0|0||fn:normalize-space",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]},{N:"false"},{N:"true"}, +{N:"treat",as:"AB",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"check",card:"1",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"cvUntyped",to:"AB",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"data",diag:"5|0|XTTE0780|f:boolean-string#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"'"},{N:"fn",name:"string",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]},{N:"str",val:"' is not a valid boolean keyword"}]}, +{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]}]}]}]},{N:"co",id:"21",binds:"22 22",C:[{N:"template",name:"Q{}process-decimal-format",flags:"os",as:"*NA",line:"73",module:"decimal-format.xsl",slots:"0",C:[{N:"forEach",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"76",C:[{N:"filter",flags:"b",C:[{N:"except",op:"except",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA u[NA nQ{http://ns.saxonica.com/xslt/export}*,NA nQ{}name]"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"matches",C:[{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"str",val:":"},{N:"str",val:""}]}]}]},{N:"compAtt",line:"89",C:[{N:"fn",role:"name",name:"name",C:[{N:"dot",type:"1NA"}]},{N:"fn",role:"select", +name:"string-join",C:[{N:"convert",from:"A",to:"AS",C:[{N:"choose",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"infinity"},{N:"str",val:"NaN"}]},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NA"}]}]},{N:"data",C:[{N:"dot",type:"1NA"}]},{N:"compareToInt",op:"ne",val:"1",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:"dot",type:"1NA"}]}]}]}]}]},{N:"data",C:[{N:"mergeAdj",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"0",C:[{N:"str",val:"XTSE0020"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"Value must be a single character - value supplied is '"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"dot",type:"1NA"}]}]},{N:"str",val:"'"}]},{N:"dot",type:"1NA"}]}]}]},{N:"and",op:"and",C:[{N:"compareToString",op:"eq",val:"zero-digit",C:[{N:"fn",name:"local-name", +C:[{N:"dot",type:"1NA"}]}]},{N:"fn",name:"not",C:[{N:"fn",name:"contains",C:[{N:"str",val:"0\u0660\u06f0\u0966\u09e6\u0a66\u0ae6\u0b66\u0be6\u0c66\u0ce6\u0d66\u0e50\u0ed0\u0f20\u1040\u17e0\u1810\u1946\u19d0\uff10\ud801\udca0\ud835\udfce\ud835\udfd8\ud835\udfe2\ud835\udfec\ud835\udff6"},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|1||fn:contains",C:[{N:"cvUntyped",to:"AS",diag:"0|1||fn:contains",C:[{N:"data",diag:"0|1||fn:contains",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"data",C:[{N:"mergeAdj", +C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE1295"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"xsl:decimal-format/@zero-digit must be a digit character with value zero - value supplied is codepoint '"},{N:"check",card:"?",diag:"0|1||fn:concat",C:[{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints", +C:[{N:"data",diag:"0|0||fn:string-to-codepoints",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"str",val:"'"}]},{N:"dot",type:"1NA"}]}]}]},{N:"true"},{N:"fn",name:"string-to-codepoints",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:string-to-codepoints",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:string-to-codepoints",C:[{N:"data",diag:"0|0||fn:string-to-codepoints",C:[{N:"dot",type:"1NA"}]}]}]}]}]}]},{N:"str",val:" "}]}]}]}]}]},{N:"co",id:"238",binds:"228 156 157 1 69 7 156 157",C:[{N:"function", +name:"Q{MyFunctions}typeCheckLiteral",line:"1034",module:"type.xsl",flags:"pU",as:"*",slots:"8",C:[{N:"arg",name:"Q{}expression",as:"1NE"},{N:"arg",name:"Q{}required",as:"1FM"},{N:"arg",name:"Q{}diag",as:"1AS"},{N:"forEach",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1039",C:[{N:"varRef",name:"Q{}expression",slot:"0"},{N:"copy",line:"1040",flags:"cin",sit:"1NE",C:[{N:"let",role:"content", +line:"1041","var":"Q{}parts",as:"*NE",slot:"3",C:[{N:"treat",line:"1042",as:"NE",diag:"3|0|XTTE0570|parts",C:[{N:"forEach",C:[{N:"axis",name:"child",nodeTest:"NE"},{N:"ufCall",line:"1043",name:"Q{MyFunctions}typeCheck",tailCall:"false",bSlot:"0",C:[{N:"dot",type:"1NE"},{N:"let","var":"Q{}inst",as:"1NE",slot:"4",C:[{N:"dot",type:"1NE"},{N:"let",line:"1011","var":"Q{}name",as:"1AS",slot:"5",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"4"}]},{N:"choose",line:"1014",C:[{N:"compareToString", +op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"ifCall",line:"1015",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:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst",slot:"4"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"}, +{N:"str",val:"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:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"ifCall",line:"1022",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:"p"},{N:"fn",name:"normalize-space", +C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space",C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"4"},{N:"attVal",name:"Q{}type"}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"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:"gc",line:"1024",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str", +val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"5"}]},{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"1"},{N:"true"},{N:"check",line:"1028",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"2"},{N:"varRef",name:"Q{}name",slot:"5"}]}]}]}]}]},{N:"varRef",name:"Q{}required",slot:"1"},{N:"varRef",name:"Q{}diag",slot:"2"}]}]}]},{N:"sequence",line:"1047", +C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"att",line:"1053",name:"sType",flags:"l",C:[{N:"ufCall",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"3",C:[{N:"ufCall",name:"Q{MyTypes}commonType",tailCall:"false",bSlot:"4",C:[{N:"check",card:"+",diag:"0|0||t:commonType",C:[{N:"slash",C:[{N:"varRef",name:"Q{}parts",slot:"3"},{N:"choose",C:[{N:"fn",name:"exists",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}sType"}]},{N:"ufCall",name:"Q{MyTypes}marshalType",tailCall:"false",bSlot:"5",C:[{N:"check", +card:"1",diag:"0|0||t:marshalType",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||t:marshalType",C:[{N:"cvUntyped",to:"AS",diag:"0|0||t:marshalType",C:[{N:"attVal",name:"Q{}sType"}]}]}]}]},{N:"true"},{N:"let","var":"Q{}inst",as:"1NE",slot:"6",C:[{N:"dot",type:"1NE"},{N:"let",line:"1011","var":"Q{}name",as:"1AS",slot:"7",C:[{N:"fn",name:"local-name",C:[{N:"varRef",name:"Q{}inst",slot:"6"}]},{N:"choose",line:"1014",C:[{N:"compareToString",op:"eq",val:"atomic",C:[{N:"varRef",name:"Q{}name",slot:"7"}]}, +{N:"ifCall",line:"1015",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:"p"},{N:"slash",C:[{N:"slash",simple:"1",C:[{N:"varRef",name:"Q{}inst",slot:"6"},{N:"axis",name:"attribute",nodeTest:"NA nQ{}type"}]},{N:"fn",name:"string",C:[{N:"dot",type:"1NA nQ{}type"}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"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:"compareToString",line:"1017",op:"eq",val:"treat",C:[{N:"varRef",name:"Q{}name",slot:"7"}]},{N:"ifCall",line:"1022",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:"p"},{N:"fn",name:"normalize-space",C:[{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"0|0||fn:normalize-space", +C:[{N:"cvUntyped",to:"AS",diag:"0|0||fn:normalize-space",C:[{N:"slash",C:[{N:"varRef",name:"Q{}inst",slot:"6"},{N:"attVal",name:"Q{}type"}]}]}]}]}]},{N:"map",size:"1",C:[{N:"str",val:"o"},{N:"str",val:"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:"gc",line:"1024",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"2",C:[{N:"str",val:"true"},{N:"str",val:"false"}]},{N:"varRef",name:"Q{}name",slot:"7"}]}, +{N:"gVarRef",line:"1025",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"6"},{N:"true"},{N:"check",line:"1028",card:"1",diag:"5|0|XTTE0780|f:literalType#1",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}literalTypes",bSlot:"7"},{N:"varRef",name:"Q{}name",slot:"7"}]}]}]}]}]}]}]}]}]}]}]},{N:"varRef",line:"1054",name:"Q{}parts",slot:"3"}]}]}]}]}]}]},{N:"co",id:"310",binds:"1 112",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_URI",as:"1AS",line:"55",module:"sequenceType.xsl", +visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"55",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_URI",bSlot:"1"}]}]}]},{N:"co",id:"126",binds:"1 85",C:[{N:"globalVariable",name:"Q{}SJ.ANY_SEQUENCE",as:"1AS",line:"43",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"43",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.ANY_SEQUENCE",bSlot:"1"}]}]}]},{N:"co",id:"140",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg938941445",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join", +C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XTTE3375"},{N:"str",val:"xsl:map"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"311",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_ONE",as:"1ADI",line:"106",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"2"}]}]},{N:"co", +id:"312",binds:"233",C:[{N:"function",name:"Q{MyTypes}allowsMany",line:"123",module:"type.xsl",flags:"pU",as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}cardinality",as:"*"},{N:"check",role:"body",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"125",card:"1",diag:"5|0|XTTE0780|t:allowsMany#1",C:[{N:"vc",op:"ge",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"atomSing",card:"?", +diag:"1|0||ge",C:[{N:"varRef",name:"Q{}cardinality",slot:"0"}]},{N:"gVarRef",name:"Q{}StaticProperty.ALLOWS_MANY",bSlot:"0"}]}]}]}]},{N:"co",id:"313",binds:"",C:[{N:"globalVariable",name:"Q{}ST.SINGLE_DOUBLE",as:"1FM k[AS] v[1AS]",line:"17",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"map",size:"2",C:[{N:"str",val:"o"},{N:"str",val:"1"},{N:"str",val:"p"},{N:"str",val:"AO"}]}]}]},{N:"co",id:"39",binds:"",C:[{N:"function",name:"Q{MyFunctions}isTopLevel",line:"775",module:"normalize.xsl",flags:"pU", +as:"1AB",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"slash",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"777",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]}]}]}, +{N:"co",id:"264",binds:"52",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg19873741",as:"1AS",line:"289",module:"lib.xsl",visibility:"PRIVATE",C:[{N:"fn",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"289",name:"string-join",C:[{N:"sequence",C:[{N:"fn",name:"string",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*", +C:[{N:"gVarRef",name:"Q{}roleKind",bSlot:"0"},{N:"str",val:"TYPE_OP"}]}]},{N:"literal",count:"3",C:[{N:"str",val:"0"},{N:"str",val:"XPTY0004"},{N:"str",val:"ixsl:set-style/@object"}]}]},{N:"str",val:"|"}]}]}]},{N:"co",id:"259",binds:"15 79 150",C:[{N:"template",name:"Q{}constructSimpleContent",flags:"os",as:"1NE",line:"299",module:"creating-new-nodes.xsl",slots:"3",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"300",C:[{N:"param",name:"Q{}static-context",slot:"0",flags:"t",as:"1FM",C:[{N:"map",role:"select",size:"0"},{N:"treat",role:"conversion",as:"FM",diag:"8|0|XTTE0590|static-context",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|static-context",C:[{N:"supplied",slot:"0"}]}]}]},{N:"let",line:"322","var":"Q{}parts",as:"1",slot:"1",C:[{N:"check",line:"323",card:"1",diag:"3|0|XTTE0570|parts",C:[{N:"applyT",mode:"Q{}select.or.sequence",bSlot:"0",C:[{N:"dot",role:"select",flags:"a"}]}]},{N:"elem",line:"326", +name:"fn",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"sequence",C:[{N:"att",name:"name",flags:"l",C:[{N:"str",val:"string-join"}]},{N:"lookup",line:"327",C:[{N:"gVarRef",name:"Q{}roles",bSlot:"1"},{N:"str",val:"select"}]},{N:"let",line:"328","var":"Q{}content",as:"1NE",slot:"2",C:[{N:"elem",line:"329",name:"constructSimpleContent",nsuri:"http://ns.saxonica.com/xslt/export",flags:"d",C:[{N:"varRef",line:"330",name:"Q{}parts",slot:"1"}]},{N:"sequence",line:"333",C:[{N:"choose",C:[{N:"and", +line:"334",op:"and",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}static-context",slot:"0"},{N:"str",val:"backward-compatibility"}]},{N:"fn",name:"empty",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]}]}]},{N:"elem",line:"335",name:"first",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"varRef",line:"336",name:"Q{}content",slot:"2"}]},{N:"true"},{N:"varRef",line:"340",name:"Q{}content",slot:"2"}]}, +{N:"choose",line:"343",C:[{N:"fn",line:"344",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}comment,NE nQ{http://www.w3.org/1999/XSL/Transform}processing-instruction],NE nQ{http://www.w3.org/1999/XSL/Transform}namespace]"}]}]},{N:"elem",line:"345",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"str", +val:" "}]}]},{N:"fn",line:"347",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{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:"data",diag:"0|0||fn:contains",C:[{N:"dot",type:"1NA nQ{}separator"}]}]}]},{N:"str",val:"{"}]}]}]},{N:"forEach",line:"348",C:[{N:"slash", +simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]},{N:"callT",line:"349",name:"Q{}value-template",bSlot:"2"}]},{N:"fn",line:"352",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}separator"}]}]},{N:"elem",line:"353",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l", +C:[{N:"convert",from:"AZ",to:"AS",C:[{N:"slash",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"attVal",name:"Q{}separator"}]}]}]}]},{N:"true"},{N:"elem",line:"356",name:"str",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"att",name:"val",flags:"l",C:[{N:"choose",C:[{N:"fn",line:"325",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]},{N:"str",val:" "}, +{N:"true"},{N:"str",val:""}]}]}]}]}]}]}]}]}]}]}]}]},{N:"co",id:"233",binds:"",C:[{N:"globalVariable",name:"Q{}StaticProperty.ALLOWS_MANY",as:"1ADI",line:"107",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"4"}]}]},{N:"co",id:"196",binds:"",C:[{N:"function",name:"Q{MyFunctions}timestamp",line:"22",module:"lib.xsl",flags:"pU",as:"1AMP",slots:"0",C:[{N:"ifCall",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"23",name:"Q{http://saxon.sf.net/}timestamp",type:"1AMP"}]}]},{N:"co",id:"41",binds:"38",C:[{N:"function",name:"Q{MyFunctions}normalize-boolean",line:"34",module:"normalize.xsl",flags:"pU",as:"1AS",slots:"1",C:[{N:"arg",name:"Q{}input",as:"1"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"36",name:"string",C:[{N:"ufCall",name:"Q{MyFunctions}boolean-string", +tailCall:"false",bSlot:"0",C:[{N:"treat",as:"NA",diag:"0|0||f:boolean-string",C:[{N:"varRef",name:"Q{}input",slot:"0"}]}]}]}]}]},{N:"co",id:"265",binds:"95 22",C:[{N:"function",name:"Q{MyFunctions}check-tail-position",line:"273",module:"lib.xsl",flags:"pU",as:"0",slots:"1",C:[{N:"arg",name:"Q{}context",as:"1NE"},{N:"choose",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"281",C:[{N:"ufCall",name:"Q{MyFunctions}is-tail-position",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}context",slot:"0"}]},{N:"empty"},{N:"true"},{N:"check",card:"0",diag:"5|0|XTTE0780|f:check-tail-position#1",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"1",C:[{N:"str",val:"XTSE3120"},{N:"fn",name:"concat",C:[{N:"slash",C:[{N:"varRef",name:"Q{}context",slot:"0"},{N:"fn",name:"name",C:[{N:"dot",type:"1NE"}]}]},{N:"str",val:" must be in a tail position"}]}, +{N:"varRef",name:"Q{}context",slot:"0"}]}]}]}]}]},{N:"co",id:"42",binds:"36 37",C:[{N:"globalVariable",name:"Q{http://saxon.sf.net/generated-variable}gg1396801698",as:"+AU",line:"21",module:"sorting.xsl",visibility:"PRIVATE",C:[{N:"sequence",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"21",C:[{N:"gVarRef",name:"Q{}codepoint.collation",bSlot:"0"},{N:"gVarRef",name:"Q{}html-ascii-case-insensitive.collation", +bSlot:"1"}]}]}]},{N:"co",id:"270",binds:"18",C:[{N:"template",name:"Q{}parameters",flags:"os",line:"1551",module:"XSLT-SEF-compiler.xsl",slots:"0",C:[{N:"applyT",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1552",mode:"Q{}sef",flags:"t",bSlot:"0",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]}, +{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}param"}]}]}]}]},{N:"co",id:"314",binds:"",C:[{N:"globalVariable",name:"Q{}global-variables-as-pairs",as:"*",line:"179",module:"XSLT-SEF-compiler.xsl",visibility:"PUBLIC",flags:"s",C:[{N:"false"}]}]},{N:"co",id:"253",vis:"PRIVATE",binds:"",C:[{N:"globalVariable",name:"Q{}RBRACE",as:"1ADI",line:"18",module:"XSLT-value-template.xsl",visibility:"PRIVATE",C:[{N:"int",val:"125"}]}]},{N:"co",id:"315",binds:"",C:[{N:"globalVariable", +name:"Q{MyTypes}ZERO",as:"1ADI",line:"101",module:"type.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"int",val:"1"}]}]},{N:"co",id:"301",binds:"",C:[{N:"globalVariable",name:"Q{}type.hierarchy.tree",as:"1ND",line:"331",module:"type.xsl",visibility:"PRIVATE",C:[{N:"doc",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"332",C:[{N:"elem",name:"item",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p", +flags:"l",C:[{N:"str",val:""}]},{N:"elem",line:"333",name:"error",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:""}]}]},{N:"elem",line:"334",name:"function",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"F"}]},{N:"elem",line:"335",name:"map",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"FM"}]}]},{N:"elem",line:"336",name:"array",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"FA"}]}]}]}]},{N:"elem",line:"338", +name:"node",nsuri:"",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"N"}]},{N:"elem",line:"339",name:"document-node",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ND"}]}]},{N:"elem",line:"340",name:"element",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NE"}]}]},{N:"elem",line:"341",name:"attribute",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NA"}]}]},{N:"elem",line:"342",name:"text",nsuri:"",flags:"l",C:[{N:"att", +name:"p",flags:"l",C:[{N:"str",val:"NT"}]}]},{N:"elem",line:"343",name:"comment",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NC"}]}]},{N:"elem",line:"344",name:"processing-instruction",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NP"}]}]},{N:"elem",line:"345",name:"namespace-node",nsuri:"",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"NN"}]}]}]}]},{N:"elem",line:"347",name:"xs:anyAtomicType",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l", +C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"A"}]},{N:"elem",line:"348",name:"xs:boolean",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AB"}]}]},{N:"elem",line:"349",name:"xs:string",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AS"}]},{N:"elem",line:"350",name:"xs:normalizedString",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att", +name:"p",flags:"l",C:[{N:"str",val:"ASN"}]},{N:"elem",line:"351",name:"xs:token",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNT"}]},{N:"elem",line:"352",name:"xs:NMTOKEN",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTK"}]}]},{N:"elem",line:"353",name:"xs:Name",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str", +val:"ASNTN"}]},{N:"elem",line:"354",name:"xs:NCName",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNC"}]},{N:"elem",line:"355",name:"xs:ID",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNCI"}]}]},{N:"elem",line:"356",name:"xs:IDREF",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNCR"}]}]},{N:"elem",line:"357",name:"xs:ENTITY", +nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTNCE"}]}]}]}]}]}]},{N:"elem",line:"360",name:"xs:language",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ASNTL"}]}]}]}]}]}]}]}]},{N:"elem",line:"364",name:"xs:QName",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AQ"}]}]},{N:"elem",line:"365",name:"xs:anyURI",nsuri:"http://www.w3.org/2001/XMLSchema", +flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AU"}]}]},{N:"elem",line:"366",name:"xs:date",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AA"}]}]},{N:"elem",line:"367",name:"xs:dateTime",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AM"}]},{N:"elem",line:"368",name:"xs:dateTimeStamp",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l", +C:[{N:"str",val:"AMP"}]}]}]}]},{N:"elem",line:"370",name:"xs:time",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AT"}]}]},{N:"elem",line:"371",name:"xs:duration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AR"}]},{N:"elem",line:"372",name:"xs:dayTimeDuration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ARD"}]}]},{N:"elem", +line:"373",name:"xs:yearMonthDuration",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ARY"}]}]}]}]},{N:"elem",line:"375",name:"xs:gYear",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AG"}]}]},{N:"elem",line:"376",name:"xs:gYearMonth",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AH"}]}]},{N:"elem",line:"377",name:"xs:gMonth",nsuri:"http://www.w3.org/2001/XMLSchema", +flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AI"}]}]},{N:"elem",line:"378",name:"xs:gMonthDay",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AJ"}]}]},{N:"elem",line:"379",name:"xs:gDay",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AK"}]}]},{N:"elem",line:"380",name:"xs:numeric",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str", +val:"AD|AO|AF"}]},{N:"elem",line:"381",name:"xs:decimal",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AD"}]},{N:"elem",line:"382",name:"xs:integer",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADI"}]},{N:"elem",line:"383",name:"xs:nonPositiveInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str", +val:"ADIN"}]},{N:"elem",line:"384",name:"xs:negativeInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADINN"}]}]}]}]},{N:"elem",line:"386",name:"xs:nonNegativeInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIP"}]},{N:"elem",line:"387",name:"xs:positiveInteger",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPP"}]}]}, +{N:"elem",line:"388",name:"xs:unsignedLong",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPL"}]},{N:"elem",line:"389",name:"xs:unsignedInt",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLI"}]},{N:"elem",line:"390",name:"xs:unsignedShort",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLIS"}]}, +{N:"elem",line:"391",name:"xs:unsignedByte",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIPLISB"}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"396",name:"xs:long",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADIL"}]},{N:"elem",line:"397",name:"xs:int",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADILI"}]},{N:"elem", +line:"398",name:"xs:short",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"sequence",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADILIS"}]},{N:"elem",line:"399",name:"xs:byte",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"ADILISB"}]}]}]}]}]}]}]}]}]}]}]}]},{N:"elem",line:"405",name:"xs:double",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AO"}]}]},{N:"elem",line:"406",name:"xs:float", +nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AF"}]}]}]}]},{N:"elem",line:"408",name:"xs:base64Binary",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"A2"}]}]},{N:"elem",line:"409",name:"xs:hexBinary",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AX"}]}]},{N:"elem",line:"410",name:"xs:NOTATION",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l", +C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AN"}]}]},{N:"elem",line:"411",name:"xs:untypedAtomic",nsuri:"http://www.w3.org/2001/XMLSchema",flags:"l",C:[{N:"att",name:"p",flags:"l",C:[{N:"str",val:"AZ"}]}]}]}]}]}]}]}]}]},{N:"co",id:"316",binds:"16",C:[{N:"template",name:"Q{}nest-sorts",flags:"os",line:"15",module:"repetition.xsl",slots:"1",C:[{N:"iterate",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"17",C:[{N:"fn",role:"select",name:"reverse",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]},{N:"params",role:"params",line:"19",C:[{N:"param",name:"Q{}inner",slot:"0",C:[{N:"doc",role:"select",C:[{N:"applyT",mode:"Q{}create.xpath",bSlot:"0",C:[{N:"slash",role:"select",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute", +nodeTest:"NA nQ{}select"}]}]}]},{N:"supplied",role:"conversion",line:"18",slot:"0"}]}]},{N:"varRef",role:"on-completion",line:"21",name:"Q{}inner",slot:"0"},{N:"nextIteration",role:"action",line:"22",C:[{N:"withParam",name:"Q{}inner",as:"1ND",slot:"0",C:[{N:"doc",line:"24",C:[{N:"elem",name:"sort",nsuri:"http://ns.saxonica.com/xslt/export",flags:"dl",C:[{N:"sequence",line:"25",C:[{N:"varRef",name:"Q{}inner",slot:"0"},{N:"applyT",line:"26",flags:"c",bSlot:"-1",C:[{N:"dot",role:"select",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}sort"}]}]}]}]}]}]}]}]}]}, +{N:"co",id:"268",binds:"",C:[{N:"globalVariable",name:"Q{}on-no-match",as:"1FM k[AS] v[1AS]",line:"27",module:"rules.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"map",size:"6",C:[{N:"str",val:"deep-skip"},{N:"str",val:"DS"},{N:"str",val:"shallow-copy"},{N:"str",val:"SC"},{N:"str",val:"text-only-copy"},{N:"str",val:"TC"},{N:"str",val:"deep-copy"},{N:"str",val:"DC"},{N:"str",val:"shallow-skip"},{N:"str",val:"SS"},{N:"str",val:"fail"},{N:"str",val:"FF"}]}]}]},{N:"co",id:"317",binds:"",C:[{N:"globalVariable", +name:"Q{}bind-with-accumulators",as:"1AB",line:"22",module:"component-bindings.xsl",visibility:"PRIVATE",flags:"s",C:[{N:"true"}]}]},{N:"co",id:"260",binds:"1 184",C:[{N:"globalVariable",name:"Q{}SJ.SINGLE_ELEMENT",as:"1AS",line:"50",module:"sequenceType.xsl",visibility:"PRIVATE",C:[{N:"ufCall",ns:"err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ saxon=~ t=MyTypes xs=~ xsl=~ xml=~",line:"50",name:"Q{MyTypes}unmarshalType",tailCall:"false",bSlot:"0",C:[{N:"gVarRef",name:"Q{}ST.SINGLE_ELEMENT", +bSlot:"1"}]}]}]},{N:"co",id:"157",binds:"285 313 109 5 73 156 156",C:[{N:"globalVariable",name:"Q{}literalTypes",as:"1FM k[AS] v[1FM]",line:"1007",module:"type.xsl",visibility:"PRIVATE",C:[{N:"ifCall",ns:"doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"1007",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:"dec"},{N:"gVarRef",name:"Q{}ST.SINGLE_DECIMAL",bSlot:"0"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"dbl"},{N:"gVarRef",name:"Q{}ST.SINGLE_DOUBLE",bSlot:"1"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"int"},{N:"gVarRef",name:"Q{}ST.SINGLE_INTEGER",bSlot:"2"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"flt"}, +{N:"gVarRef",name:"Q{}ST.SINGLE_FLOAT",bSlot:"3"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"str"},{N:"gVarRef",name:"Q{}ST.SINGLE_STRING",bSlot:"4"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"true"},{N:"gVarRef",name:"Q{}ST.SINGLE_BOOLEAN",bSlot:"5"}]},{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}entry",type:"1FM",C:[{N:"str",val:"false"},{N:"gVarRef",name:"Q{}ST.SINGLE_BOOLEAN", +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:"co",id:"22",binds:"123",C:[{N:"function",name:"Q{MyFunctions}syntax-error-at",line:"384",module:"lib.xsl",flags:"pU",as:"*",slots:"3",C:[{N:"arg",name:"Q{}code",as:"1AS"},{N:"arg",name:"Q{}message",as:"1AS"},{N:"arg",name:"Q{}node",as:"1N"},{N:"fn",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~", +line:"388",name:"error",C:[{N:"fn",line:"33",name:"QName",C:[{N:"str",val:"http://www.w3.org/2005/xqt-errors"},{N:"varRef",line:"388",name:"Q{}code",slot:"0"}]},{N:"varRef",name:"Q{}message",slot:"1"},{N:"ufCall",name:"Q{MyFunctions}line-loc",tailCall:"false",bSlot:"0",C:[{N:"varRef",name:"Q{}node",slot:"2"}]}]}]}]},{N:"co",id:"33",binds:"40 3 75 203 224 209 22 204 308 204 204 204 204 22 22 203 34 34",C:[{N:"template",name:"Q{}check-syntax-primary",flags:"os",as:"*NE",line:"137",module:"XSLT-syntax.xsl", +slots:"8",C:[{N:"sequence",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"138",C:[{N:"param",name:"Q{}forward-compatibility-mode",slot:"0",flags:"t",as:"1AB",C:[{N:"false",role:"select"},{N:"treat",role:"conversion",as:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"check",card:"1",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"cvUntyped",to:"AB",diag:"8|0|XTTE0590|forward-compatibility-mode", +C:[{N:"data",diag:"8|0|XTTE0590|forward-compatibility-mode",C:[{N:"supplied",slot:"0"}]}]}]}]}]},{N:"let",line:"141","var":"Q{}context",as:"1",slot:"1",C:[{N:"dot",flags:"a"},{N:"let",line:"142","var":"Q{}schema",as:"?FM",slot:"2",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}get",type:"*",C:[{N:"gVarRef",name:"Q{}xslt.schema",bSlot:"0"},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"dot",flags:"a"}]}]}]},{N:"choose",line:"144",C:[{N:"fn",line:"145", +name:"exists",C:[{N:"varRef",name:"Q{}schema",slot:"2"}]},{N:"let",line:"147","var":"Q{}provided",as:"*AS",slot:"3",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA"}]},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]},{N:"let",line:"148","var":"Q{}missing-attributes",as:"*AS",slot:"4",C:[{N:"filter",flags:"b",C:[{N:"convert",line:"146",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|required.attributes", +C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|required.attributes",C:[{N:"data",diag:"3|0|XTTE0570|required.attributes",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"required.attributes"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}provided",slot:"3"},{N:"dot",type:"1AS"}]}]}]},{N:"let",line:"150","var":"Q{}pa.names",as:"*AS",slot:"5",C:[{N:"sequence",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"3|0|XTTE0570|pa.names",C:[{N:"cvUntyped", +to:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}keys",type:"*A",C:[{N:"treat",line:"149",as:"FM",diag:"3|0|XTTE0570|permitted.attributes",C:[{N:"check",card:"1",diag:"3|0|XTTE0570|permitted.attributes",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"permitted.attributes"}]}]}]}]}]}]},{N:"convert",from:"AZ",to:"AS",flags:"p",diag:"3|0|XTTE0570|pa.names",C:[{N:"cvUntyped",to:"AS",diag:"3|0|XTTE0570|pa.names",C:[{N:"data", +diag:"3|0|XTTE0570|pa.names",C:[{N:"gVarRef",name:"Q{}standard.attributes",bSlot:"1"}]}]}]}]},{N:"sequence",line:"153",C:[{N:"choose",C:[{N:"fn",name:"not",C:[{N:"varRef",name:"Q{}forward-compatibility-mode",slot:"0"}]},{N:"treat",line:"154",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"homCheck",C:[{N:"slash",C:[{N:"filter",flags:"b",C:[{N:"forEach",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +module:"normalize.xsl",line:"832",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"XSLT-syntax.xsl",line:"151",as:"NE",diag:"0|0||f:plainAtt",C:[{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"filter",flags:"b",C:[{N:"axis",name:"attribute",nodeTest:"NA"},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"fn",name:"not",C:[{N:"gc", +op:"=",card:"N:1",comp:"CCC",C:[{N:"varRef",name:"Q{}pa.names",slot:"5"},{N:"fn",name:"name",C:[{N:"dot",type:"1NA"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongAttribute",tailCall:"false",bSlot:"2",C:[{N:"dot",type:"1NA"}]}]}]}]}]},{N:"let",line:"197","var":"Q{}permitted.children",as:"*A",slot:"6",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:"check",card:"1",diag:"0|0||map:keys",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema", +slot:"2"},{N:"str",val:"permitted.children"}]}]}]}]},{N:"sequence",line:"198",C:[{N:"choose",C:[{N:"choose",line:"190",C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"check",card:"1",diag:"0|0||map:contains",C:[{N:"varRef",name:"Q{}schema",slot:"2"}]},{N:"str",val:"parents"}]},{N:"let","var":"Q{http://saxon.sf.net/generated-variable}v0",as:"*A",slot:"7",flags:"l",C:[{N:"data",diag:"1|1||=",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str", +val:"parents"}]}]},{N:"fn",name:"exists",C:[{N:"filter",flags:"b",C:[{N:"fn",name:"local-name",C:[{N:"check",card:"?",diag:"0|0||fn:local-name",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"N u[NE,ND]"}]}]}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{http://saxon.sf.net/generated-variable}v0",slot:"7"},{N:"dot",type:"1AS"}]}]}]}]}]}, +{N:"true"},{N:"and",op:"and",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"literal",count:"3",C:[{N:"str",val:"stylesheet"},{N:"str",val:"transform"},{N:"str",val:"package"}]},{N:"fn",name:"local-name",C:[{N:"treat",as:"N",diag:"0|0||fn:local-name",C:[{N:"dot",flags:"a"}]}]}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|9|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"parent",nodeTest:"NE"}]}]}]}]},{N:"choose",line:"206",C:[{N:"varRef",name:"Q{}forward-compatibility-mode", +slot:"0"},{N:"gVarRef",name:"Q{}XSL-ignore",bSlot:"3"},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}wrongParent",tailCall:"false",bSlot:"4",C:[{N:"treat",as:"NE",diag:"0|0||f:wrongParent",C:[{N:"varRef",name:"Q{}context",slot:"1"}]}]}]}]},{N:"varRef",line:"208",name:"Q{}missing-attributes",slot:"4"},{N:"treat",line:"209",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}missingAttribute",tailCall:"false", +bSlot:"5",C:[{N:"treat",as:"NE",diag:"0|0||f:missingAttribute",C:[{N:"varRef",name:"Q{}context",slot:"1"}]},{N:"check",card:"1",diag:"0|1||f:missingAttribute",C:[{N:"first",C:[{N:"varRef",name:"Q{}missing-attributes",slot:"4"}]}]}]}]},{N:"gc",line:"211",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"str",val:"sequence-constructor"}]},{N:"empty"},{N:"fn",line:"212",name:"empty",C:[{N:"varRef",name:"Q{}permitted.children", +slot:"6"}]},{N:"choose",line:"219",C:[{N:"fn",name:"has-children",C:[{N:"treat",as:"N",diag:"0|0||fn:has-children",C:[{N:"dot",flags:"a"}]}]},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"6",C:[{N:"str",val:"XTSE0260"},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" must be empty"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at", +C:[{N:"dot",flags:"a"}]}]}]}]},{N:"gc",line:"221",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"str",val:"declarations"}]},{N:"sequence",line:"222",C:[{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean", +C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"7",C:[{N:"dot",type:"1NT"}]}]}]},{N:"choose",line:"228",C:[{N:"varRef",name:"Q{}forward-compatibility-mode",slot:"0"},{N:"empty"},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis", +name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]},{N:"and",op:"and",C:[{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"CCC",C:[{N:"gVarRef",name:"Q{}declaration-names",bSlot:"8"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]},{N:"or",op:"or",C:[{N:"fn",name:"empty",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}version"}]},{N:"vc",op:"le",onEmpty:"1",comp:"CAVC",C:[{N:"cast",flags:"ae",as:"?AD",C:[{N:"attVal",name:"Q{}version"}]}, +{N:"dec",val:"3"}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"9",C:[{N:"dot",type:"1NE nQ{http://www.w3.org/1999/XSL/Transform}*"}]}]}]}]},{N:"treat",line:"229",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"not",C:[{N:"fn",name:"namespace-uri",C:[{N:"dot",type:"1NE"}]}]}]},{N:"ufCall", +name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"10",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"gc",line:"231",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children",slot:"6"},{N:"str",val:"PCDATA"}]},{N:"treat",line:"232",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"ufCall", +name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"11",C:[{N:"dot",type:"1NE"}]}]}]},{N:"true"},{N:"treat",line:"236",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"forEach",C:[{N:"sequence",C:[{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"fn",name:"not",C:[{N:"gc",op:"=",card:"N:1",comp:"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint",C:[{N:"varRef",name:"Q{}permitted.children", +slot:"6"},{N:"fn",name:"local-name",C:[{N:"dot",type:"1NE"}]}]}]}]},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]},{N:"ufCall",name:"Q{MyFunctions}wrongChild",tailCall:"false",bSlot:"12",C:[{N:"dot",type:"1N"}]}]}]}]},{N:"choose",line:"240",C:[{N:"and",op:"and",C:[{N:"and",op:"and", +C:[{N:"ifCall",name:"Q{http://www.w3.org/2005/xpath-functions/map}contains",type:"1AB",C:[{N:"check",card:"1",diag:"0|0||map:contains",C:[{N:"varRef",name:"Q{}schema",slot:"2"}]},{N:"str",val:"selectAndContent"}]},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|2|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"attribute",nodeTest:"NA nQ{}select"}]}]}]},{N:"fn",name:"exists",C:[{N:"sequence",C:[{N:"except",op:"except",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|", +C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE"}]},{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]},{N:"filter",flags:"b",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NT"}]},{N:"fn",name:"boolean",C:[{N:"fn",name:"normalize-space",C:[{N:"fn",name:"string",C:[{N:"dot",type:"1NT"}]}]}]}]}]}]}]}, +{N:"treat",line:"242",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"13",C:[{N:"check",card:"1",diag:"0|0||f:syntax-error-at",C:[{N:"convert",from:"A",to:"AS",flags:"p",diag:"0|0||f:syntax-error-at",C:[{N:"cvUntyped",to:"AS",diag:"0|0||f:syntax-error-at",C:[{N:"data",diag:"0|0||f:syntax-error-at",C:[{N:"first",C:[{N:"sequence",C:[{N:"lookup",C:[{N:"varRef",name:"Q{}schema",slot:"2"},{N:"str",val:"selectAndContent"}]},{N:"str", +val:"XTSE0840"}]}]}]}]}]}]},{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" cannot have both @select and content"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]}]}]}]}]},{N:"fn",line:"246",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|12|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"self",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}import-schema"}]}]}, +{N:"treat",line:"247",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"14",C:[{N:"str",val:"XTSE1650"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"The "},{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]}]},{N:"str",val:" declaration cannot be handled by this XSLT compiler"}]},{N:"treat",as:"N",diag:"0|2||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]},{N:"varRef",line:"249", +name:"Q{}forward-compatibility-mode",slot:"0"},{N:"choose",line:"259",C:[{N:"slash",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"normalize.xsl",line:"777",C:[{N:"treat",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",module:"XSLT-syntax.xsl",line:"259",as:"NE", +diag:"0|0||f:isTopLevel",C:[{N:"dot",flags:"a"}]},{N:"fn",name:"exists",C:[{N:"axis",name:"parent",nodeTest:"NE u[NE u[NE nQ{http://www.w3.org/1999/XSL/Transform}stylesheet,NE nQ{http://www.w3.org/1999/XSL/Transform}transform],NE nQ{http://www.w3.org/1999/XSL/Transform}package]"}]}]},{N:"gVarRef",name:"Q{}XSL-ignore",bSlot:"15"},{N:"fn",name:"exists",C:[{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]}]}, +{N:"slash",simple:"1",C:[{N:"treat",as:"N",diag:"14|3|XPTY0020|",C:[{N:"dot",flags:"a"}]},{N:"axis",name:"child",nodeTest:"NE nQ{http://www.w3.org/1999/XSL/Transform}fallback"}]},{N:"true"},{N:"treat",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"16",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" is not a known XSLT element and has no xsl:fallback child"}]}, +{N:"treat",as:"N",diag:"0|1||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]},{N:"true"},{N:"treat",line:"262",as:"NE",diag:"7|0|XTTE0505|check-syntax-primary",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"false",bSlot:"17",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"name",C:[{N:"treat",as:"N",diag:"0|0||fn:name",C:[{N:"dot",flags:"a"}]}]},{N:"str",val:" is not a known XSLT element"}]},{N:"treat",as:"N",diag:"0|1||f:syntax-error-at",C:[{N:"dot",flags:"a"}]}]}]}]}]}]}]}]}]},{N:"co", +id:"34",binds:"22",C:[{N:"function",name:"Q{MyFunctions}syntax-error-at",line:"371",module:"lib.xsl",flags:"pU",as:"*",slots:"2",C:[{N:"arg",name:"Q{}message",as:"1AS"},{N:"arg",name:"Q{}node",as:"1N"},{N:"tailCallLoop",role:"body",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"374",C:[{N:"ufCall",name:"Q{MyFunctions}syntax-error-at",tailCall:"foreign",bSlot:"0", +C:[{N:"str",val:"XTSE0010"},{N:"varRef",name:"Q{}message",slot:"0"},{N:"varRef",name:"Q{}node",slot:"1"}]}]}]}]},{N:"overridden"},{N:"accumulator",name:"Q{}coBinding",line:"0",as:"*AS",streamable:"0",slots:"0",binds:"176 176 176 176 176 176",C:[{N:"empty",role:"init"},{N:"pre",slots:"0",C:[{N:"accRule",slots:"8",rank:"0",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"}]},{N:"empty"}]}, +{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}applyT"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"187",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"3",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"str",val:"M:"},{N:"atomSing",card:"?",diag:"0|1||fn:concat",C:[{N:"first", +C:[{N:"sequence",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}mode"},{N:"str",val:"#unnamed"}]}]}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}gVarRef"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"185",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"2",C:[{N:"supplied",slot:"0", +sType:"*AS"},{N:"fn",name:"concat",C:[{N:"str",val:"V:"},{N:"attVal",name:"Q{}name"}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}callT"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"183",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"0",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn", +name:"concat",C:[{N:"str",val:"T:"},{N:"attVal",name:"Q{}name"}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufCall"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"189",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"4",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"fn", +name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]},{N:"fn",name:"count",C:[{N:"axis",name:"child",nodeTest:"NE"}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}ufRef"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~",line:"191",name:"Q{coBindings}find-reference", +tailCall:"false",bSlot:"5",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"fn",name:"concat",C:[{N:"str",val:"F:"},{N:"attVal",name:"Q{}name"}]},{N:"str",val:"#"}]},{N:"fn",name:"string",C:[{N:"axis",name:"attribute",nodeTest:"NA nQ{}arity"}]}]}]}]},{N:"accRule",slots:"8",rank:"0",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}useAS"},{N:"ufCall",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"184",name:"Q{coBindings}find-reference",tailCall:"false",bSlot:"1",C:[{N:"supplied",slot:"0",sType:"*AS"},{N:"fn",name:"concat",C:[{N:"str",val:"A:"},{N:"attVal",name:"Q{}name"}]}]}]}]},{N:"post",slots:"0",C:[{N:"accRule",slots:"8",rank:"0",C:[{N:"p.venn",op:"union",C:[{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}co"},{N:"p.nodeTest",test:"NE nQ{http://ns.saxonica.com/xslt/export}accumulator"}]},{N:"supplied",ns:"=http://ns.saxonica.com/xslt/export co=coBindings doc=http://www.saxonica.com/ns/documentation ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ xs=~ xsl=~ xml=~", +line:"181",slot:"0",sType:"*AS"}]}]}]},{N:"accumulator",name:"Q{}number",line:"0",as:"*",streamable:"0",slots:"0",binds:"",C:[{N:"int",role:"init",val:"0"},{N:"pre",slots:"0",C:[{N:"accRule",slots:"1",rank:"0",C:[{N:"p.nodeTest",test:"NE"},{N:"arith",ns:"=http://ns.saxonica.com/xslt/export doc=http://www.saxonica.com/ns/documentation err=~ ex=http://ns.saxonica.com/xslt/export f=MyFunctions map=~ t=MyTypes xs=~ xsl=~ xml=~",line:"14",op:"+",calc:"a+a",C:[{N:"cvUntyped",to:"AO",C:[{N:"atomSing",card:"?", +diag:"1|0||+",C:[{N:"supplied",slot:"0",sType:"*"}]}]},{N:"int",val:"1"}]}]}]},{N:"post",slots:"0"}]},{N:"output",C:[{N:"property",name:"method",value:"xml"},{N:"property",name:"indent",value:"no"},{N:"property",name:"Q{http://saxon.sf.net/}stylesheet-version",value:"30"}]},{N:"decimalFormat"}],"\u03a3":"4869c939"}}; // Input 2 -var pa=function(){var a;return{getPlatform:function(){return a},setPlatform:function(c){a=c},hi:function(c,q,E,H,p){return a.addMultipleDocs(c,q,E,H,p)},createDocument:function(){return a.createDocument()},oh:function(){return a.getDefaultDeliverMessage()},jd:function(){return a.inBrowser()},Zb:function(c){return a.isHTMLElement(c)},$k:function(c,q){return a.makeBuffer(c,q)},lj:function(c,q,E,H){return a.makeHttpRequest(c,q,E,H)},parseXmlFromString:function(c,q,E){return a.parseXmlFromString(c,q, -E)},readFile:function(c,q){return a.readFile(c,q)},rf:function(c){return a.resource(c)},nl:function(c){return a.resourcePromise(c)},Fb:function(c,q){return a.resolveUri(c,q)},Ma:function(c){return a.saxonPrint(c)},newURL:function(c,q){return a.newURL(c,q)},fileURL:function(c){return a.fileURL(c)},baseURL:function(){return a.baseURL()},tl:function(){return{version:"3.0",vendor:"Saxonica","vendor-url":"http://www.saxonica.com/","product-name":"SaxonJS","product-version":"2.6","is-schema-aware":"no", +var qa=function(){var a;return{getPlatform:function(){return a},setPlatform:function(c){a=c},hi:function(c,n,F,I,m){return a.addMultipleDocs(c,n,F,I,m)},createDocument:function(){return a.createDocument()},ph:function(){return a.getDefaultDeliverMessage()},Kb:function(){return a.inBrowser()},$b:function(c){return a.isHTMLElement(c)},$k:function(c,n){return a.makeBuffer(c,n)},lj:function(c,n,F,I){return a.makeHttpRequest(c,n,F,I)},parseXmlFromString:function(c,n,F){return a.parseXmlFromString(c,n, +F)},readFile:function(c,n){return a.readFile(c,n)},sf:function(c){return a.resource(c)},nl:function(c){return a.resourcePromise(c)},Fb:function(c,n){return a.resolveUri(c,n)},Ma:function(c){return a.saxonPrint(c)},newURL:function(c,n){return a.newURL(c,n)},fileURL:function(c){return a.fileURL(c)},baseURL:function(){return a.baseURL()},tl:function(){return{version:"3.0",vendor:"Saxonica","vendor-url":"http://www.saxonica.com/","product-name":"SaxonJS","product-version":"2.7","is-schema-aware":"no", "supports-serialization":"yes","supports-backwards-compatibility":"yes","supports-namespace-axis":"yes","supports-streaming":"no","supports-dynamic-evaluation":"yes","supports-higher-order-functions":"yes","xpath-version":"3.1","xsd-version":"1.1"}},Di:function(){return a.extraProperties},Uh:function(c){return a.toUTF8(c)},Ok:function(c){return a.fromUTF8(c)},Si:function(){return a.globalObject}}}(); // Input 3 -function ra(a,c){function q(E,H){for(;E;){if(E[H])return E[H];E=E.parentNode}return null}a.xsltLineNr=q(c,"line");a.xsltModule=q(c,"module")} -class F extends Error{constructor(a="SaxonJS run-time error",c="FORG0001",q=null){super();this.name="XError";this.message=a;this.code=c;q&&ra(this,q)}toString(){return this.name+":"+this.message+"; code:"+this.code}getStackTrace(){return null.getStackTrace()}getMessage(){let a="Error "+this.code;null!=this.xsltLineNr&&(a+=" at "+this.xsltModule+"#"+this.xsltLineNr);return a+="\n "+this.message}Id(){return this.code}}oa=F.prototype;oa.code=null;oa.errorObject=null;oa.xsltLineNr=null; -oa.xsltModule=null;oa.Le=!1; +function ra(a,c){function n(F,I){for(;F;){if(F[I])return F[I];F=F.parentNode}return null}a.xsltLineNr=n(c,"line");a.xsltModule=n(c,"module")} +class G extends Error{constructor(a="SaxonJS run-time error",c="FORG0001",n=null){super();this.name="XError";this.message=a;this.code=c;n&&ra(this,n)}toString(){return this.name+":"+this.message+"; code:"+this.code}getStackTrace(){return null.getStackTrace()}getMessage(){let a="Error "+this.code;null!=this.xsltLineNr&&(a+=" at "+this.xsltModule+"#"+this.xsltLineNr);return a+="\n "+this.message}Id(){return this.code}}na=G.prototype;na.code=null;na.errorObject=null;na.xsltLineNr=null; +na.xsltModule=null;na.Le=!1; // Input 4 -const sa=function(){function a(e){H("Internal error: "+e+"\n"+Error().stack);throw new F("Internal error: "+e,"SXJS0004");}function c(e){if(null===e)return"#null";if("undefined"===typeof e)return"#undefined";let k;if(e.showValue)return e.showValue();if(e.N)return"expression "+e.N;if(p&&p.X(e)){if(p.re(e))return"attribute @"+e.name+"='"+e.value+"'";if(p.Kd(e))return"ns:"+e.prefix+"="+e.uri;k={1:"element <"+e.tagName+">",2:"attribute @"+e.name,3:"text:"+(e.nodeValue?e.nodeValue.substring(0,8):"''"), +const sa=function(){function a(e){I("Internal error: "+e+"\n"+Error().stack);throw new G("Internal error: "+e,"SXJS0004");}function c(e){if(null===e)return"#null";if("undefined"===typeof e)return"#undefined";let k;if(e.showValue)return e.showValue();if(e.N)return"expression "+e.N;if(m&&m.X(e)){if(m.re(e))return"attribute @"+e.name+"='"+e.value+"'";if(m.Kd(e))return"ns:"+e.prefix+"="+e.uri;k={1:"element <"+e.tagName+">",2:"attribute @"+e.name,3:"text:"+(e.nodeValue?e.nodeValue.substring(0,8):"''"), 7:"pi: "+e.target+"("+e.tagName+")",8:"comment ("+e.nodeValue+")",9:"document "+(e._saxonDocumentNumber?"#"+e._saxonDocumentNumber:"(No nr / #0)"),11:"docFrag"}[e.nodeType];if("9"===e.nodeType||"11"===e.nodeType){var v;for(v=0;v"+c(e.childNodes[v])}return k}if(e.code)return"atomic:"+e.code+"('"+e.toString()+"')";if("object"===typeof e&&"length"in e){if(1===e.length)return c(e[0]);k="(";for(v=0;vv;v++)0!==v&&(k+=","),k+=c(e[v]);4<=e.length&&(k+=",...("+e.length+ -")");return k+")"}return"function"===typeof e?e.toString():"("+typeof e+") "+e}function q(e){return"{'N':'"+e.N+"','C':["+(e.C||[]).map(k=>q(k)).join(",")+"]}"}function E(e,k){for(;e;){if(e[k])return e[k];e=e.parentNode}return null}function H(e,k=1,v){let t=g;v&&(t=v);k<=t&&pa.getPlatform().saxonPrint(e)}let p,g=1;Error.stackTraceLimit=100;return{assert:function(e,k="assertion failed"){e||a(k)},la:a,location:function(e){return E(e,"module")+"#"+E(e,"line")},zj:function(e){p=e},Ma:H,showValue:c,Nh:function(e){return e.showValue? -e.showValue():p&&p.X(e)?c(e):e.code?"atomic:"+e.code+"('"+e.toString()+"')":e.Li?e.toString():"("+typeof e+") "+e},Ij:function(e){if(!e)return"null expr";let k=e.N||"?";for(let v in e)e.hasOwnProperty(v)&&!["C","N","parentNode","ELAB","PUSH"].includes(v)&&(k+=" "+v+"="+e[v]);e.C&&(k+=" ("+e.C.map(v=>v.N).join(",")+")");return k+=" at "+this.location(e)},rl:q,getLogLevel:function(){return g},setLogLevel:function(e){"number"==typeof e&&(g=e)}}}(); +")");return k+")"}return"function"===typeof e?e.toString():"("+typeof e+") "+e}function n(e){return"{'N':'"+e.N+"','C':["+(e.C||[]).map(k=>n(k)).join(",")+"]}"}function F(e,k){for(;e;){if(e[k])return e[k];e=e.parentNode}return null}function I(e,k=1,v){let t=g;v&&(t=v);k<=t&&qa.getPlatform().saxonPrint(e)}let m,g=1;Error.stackTraceLimit=100;return{assert:function(e,k="assertion failed"){e||a(k)},la:a,location:function(e){return F(e,"module")+"#"+F(e,"line")},zj:function(e){m=e},Ma:I,showValue:c,Nh:function(e){return e.showValue? +e.showValue():m&&m.X(e)?c(e):e.code?"atomic:"+e.code+"('"+e.toString()+"')":e.Li?e.toString():"("+typeof e+") "+e},Ij:function(e){if(!e)return"null expr";let k=e.N||"?";for(let v in e)e.hasOwnProperty(v)&&!["C","N","parentNode","ELAB","PUSH"].includes(v)&&(k+=" "+v+"="+e[v]);e.C&&(k+=" ("+e.C.map(v=>v.N).join(",")+")");return k+=" at "+this.location(e)},rl:n,getLogLevel:function(){return g},setLogLevel:function(e){"number"==typeof e&&(g=e)}}}(); // Input 5 -var wa=function(){function a(){function g(e){if(!(this instanceof g))return void 0===e?a():new g(e);if(e instanceof g)this.ma=e.ma,this.e=e.e,this.c=e.c.slice();else{var k,v,t;0===e&&0>1/e?e="-0":p.test(e=""+e)||E(NaN);this.ma="-"==e.charAt(0)?(e=e.slice(1),-1):1;-1<(k=e.indexOf("."))&&(e=e.replace(".",""));0<(v=e.search(/e/i))?(0>k&&(k=v),k+=+e.slice(v+1),e=e.substring(0,v)):0>k&&(k=e.length);for(v=0;"0"==e.charAt(v);v++);if(v==(t=e.length))this.c=[this.e=0];else{for(;"0"==e.charAt(--t););this.e= -k-v-1;this.c=[];for(k=0;v<=t;this.c[k++]=+e.charAt(v++));}}this.constructor=g}g.prototype=H;g.Zd=20;g.Ne=1;g.$d=-7;g.Je=21;return g}function c(g,e,k){var v=g.constructor,t=e-(g=new v(g)).e,C=g.c;C.length>++e&&q(g,t,v.Ne);C[0]?k?t=e:(C=g.c,t=g.e+t+1):++t;for(;C.lengthg.ma&&C[0]?"-":"")+(1t?"e":"e+")+t:g.toString()}function q(g,e,k,v=!1){var t=g.c,C=g.e+e+1;1===k?v=5<=t[C]:2===k?v=5C||void 0!==t[C+1]||t[C-1]&1):3===k?v=v||void 0!==t[C]||0>C:(v=!1,0!==k&&E("!Big.RM!"));if(1>C||!t[0])v?(g.e=-e,g.c=[1]):g.c=[g.e=0];else{t.length=C--;if(v)for(;9<++t[C];)t[C]=0,C--||(++g.e,t.unshift(1));for(C=t.length;!t[--C];t.pop());}return g}function E(g){g=Error(g);g.name="BigError";throw g;}var H={},p=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;H.abs=function(){var g=new this.constructor(this);g.ma=1;return g};H.cmp=function(g){var e=this.c,k=(g=new this.constructor(g)).c,v=this.ma,t=g.ma, -C=this.e,m=g.e;if(!e[0]||!k[0])return e[0]?v:k[0]?-t:0;if(v!=t)return v;g=0>v;if(C!=m)return C>m^g?1:-1;v=-1;for(t=(C=e.length)<(m=k.length)?C:m;++vk[v]^g?1:-1;return C==m?0:C>m^g?1:-1};H.Vb=function(g,e,k){var v=this.constructor,t=this.c,C=(g=new v(g)).c,m=this.ma===g.ma?1:-1;e="undefined"!==typeof e?e:v.Zd;k="undefined"!==typeof k?k:v.Ne;(e!==~~e||0>e||1E6W?0:W;for(A.unshift(0);l++f;f++){if(v!=(l=d.length))var ma=v>l?1:-1;else{var qa=-1;for(ma=0;++qad[qa]?1:-1;break}}if(0>ma){for(g=l==v?C:A;l;){if(d[--l]W&&q(r,e,k,void 0!==d[0]);return r};H.xi=function(){var g=wa(0);return!this.cmp(g)};H.j=function(g){return 0this.cmp(g)};H.I=function(g){return 1>this.cmp(g)};H.sub=H.we=function(g){var e=this.constructor;var k=this.ma,v=(g=new e(g)).ma;if(k!=v)return g.ma=-v,this.Be(g);var t=this.c.slice();var C=this.e;var m=g.c,f=g.e;if(!t[0]||!m[0])return m[0]?(g.ma=-v,g):new e(t[0]?this:0);if(k=C-f){(e=0> -k)?(k=-k,C=t):(f=C,C=m);C.reverse();for(v=k;v--;C.push(0));C.reverse()}else for(C=((e=t.lengthk;){if(t[--C]t.length-m.length&&(e=m,m=t,t=e);k=m.length;for(v=0;k;)v=(t[--k]=t[k]+m[k]+v)/10|0,t[k]%=10;v&&(t.unshift(v), -++C);for(k=t.length;0===t[--k];t.pop());g.c=t;g.e=C;return g};H.pow=function(g){var e=this,k=new e.constructor(1),v=k,t=0>g;(g!==~~g||-1E6>g||1E6>=1;if(!g)break;e=e.zc(e)}return t?k.Vb(v):v};H.round=function(g,e){var k=this,v=k.constructor;null==g?g=0:(g!==~~g||0>g||1E6k&&E(NaN);k=Math.sqrt(this.toString());0===k||k===1/0?(k=e.join(""),k.length+v&1||(k+="0"),e=new g(Math.sqrt(k).toString()),e.e=((v+1)/2|0)-(0>v||v&1)):e=new g(k.toString());k=e.e+(g.Zd+=4);do v=e,e=t.zc(v.Be(this.Vb(v)));while(v.c.slice(0,k).join("")!==e.c.slice(0,k).join(""));q(e,g.Zd-=4,g.Ne);return e};H.K=H.zc=function(g){var e=this.constructor;var k=this.c,v=(g=new e(g)).c,t=k.length,C=v.length,m=this.e,f=g.e;g.ma=this.ma==g.ma?1:-1;if(!k[0]||!v[0])return new e(0*g.ma);g.e=m+f;tm;)C=e[f]+v[m]*k[f-m-1]+C,e[f--]=C%10,C=C/10|0;e[f]=(e[f]+C)%10}C&&++g.e;e[0]||e.shift();for(m=e.length;!e[--m];e.pop());g.c=e;return g};H.toString=H.valueOf=H.toJSON=function(){var g=this.constructor,e=this.e,k=this.c.join(""),v=k.length;if(e<=g.$d||e>=g.Je)k=k.charAt(0)+(1e?"e":"e+")+e;else if(0>e){for(;++e;k="0"+k);k="0."+k}else if(0v)for(e-=v;e--;k+="0");else ethis.ma&&this.c[0]?"-"+k:k};H.g=function(g){null==g?g=this.c.length-1:(g!==~~g||0>g||1E6=g&&(t=c(this,this.e+g),0>this.ma&&this.c[0]&&0>t.indexOf("-")&&(t="-"+t));e.$d=k;e.Je=v;t||E("!toFix!");return t};H.toPrecision=function(g){if(null==g)return this.toString();(g!== -~~g||1>g||1E61/e?e="-0":m.test(e=""+e)||F(NaN);this.ma="-"==e.charAt(0)?(e=e.slice(1),-1):1;-1<(k=e.indexOf("."))&&(e=e.replace(".",""));0<(v=e.search(/e/i))?(0>k&&(k=v),k+=+e.slice(v+1),e=e.substring(0,v)):0>k&&(k=e.length);for(v=0;"0"==e.charAt(v);v++);if(v==(t=e.length))this.c=[this.e=0];else{for(;"0"==e.charAt(--t););this.e= +k-v-1;this.c=[];for(k=0;v<=t;this.c[k++]=+e.charAt(v++));}}this.constructor=g}g.prototype=I;g.$d=20;g.Ne=1;g.ae=-7;g.Je=21;return g}function c(g,e,k){var v=g.constructor,t=e-(g=new v(g)).e,D=g.c;D.length>++e&&n(g,t,v.Ne);D[0]?k?t=e:(D=g.c,t=g.e+t+1):++t;for(;D.lengthg.ma&&D[0]?"-":"")+(1t?"e":"e+")+t:g.toString()}function n(g,e,k,v=!1){var t=g.c,D=g.e+e+1;1===k?v=5<=t[D]:2===k?v=5D||void 0!==t[D+1]||t[D-1]&1):3===k?v=v||void 0!==t[D]||0>D:(v=!1,0!==k&&F("!Big.RM!"));if(1>D||!t[0])v?(g.e=-e,g.c=[1]):g.c=[g.e=0];else{t.length=D--;if(v)for(;9<++t[D];)t[D]=0,D--||(++g.e,t.unshift(1));for(D=t.length;!t[--D];t.pop());}return g}function F(g){g=Error(g);g.name="BigError";throw g;}var I={},m=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;I.abs=function(){var g=new this.constructor(this);g.ma=1;return g};I.cmp=function(g){var e=this.c,k=(g=new this.constructor(g)).c,v=this.ma,t=g.ma, +D=this.e,l=g.e;if(!e[0]||!k[0])return e[0]?v:k[0]?-t:0;if(v!=t)return v;g=0>v;if(D!=l)return D>l^g?1:-1;v=-1;for(t=(D=e.length)<(l=k.length)?D:l;++vk[v]^g?1:-1;return D==l?0:D>l^g?1:-1};I.Wb=function(g,e,k){var v=this.constructor,t=this.c,D=(g=new v(g)).c,l=this.ma===g.ma?1:-1;e="undefined"!==typeof e?e:v.$d;k="undefined"!==typeof k?k:v.Ne;(e!==~~e||0>e||1E6P?0:P;for(B.unshift(0);d++f;f++){if(v!=(d=b.length))var la=v>d?1:-1;else{var oa=-1;for(la=0;++oab[oa]?1:-1;break}}if(0>la){for(g=d==v?D:B;d;){if(b[--d]P&&n(q,e,k,void 0!==b[0]);return q};I.xi=function(){var g=wa(0);return!this.cmp(g)};I.j=function(g){return 0this.cmp(g)};I.I=function(g){return 1>this.cmp(g)};I.sub=I.we=function(g){var e=this.constructor;var k=this.ma,v=(g=new e(g)).ma;if(k!=v)return g.ma=-v,this.Ae(g);var t=this.c.slice();var D=this.e;var l=g.c,f=g.e;if(!t[0]||!l[0])return l[0]?(g.ma=-v,g):new e(t[0]?this:0);if(k=D-f){(e=0> +k)?(k=-k,D=t):(f=D,D=l);D.reverse();for(v=k;v--;D.push(0));D.reverse()}else for(D=((e=t.lengthk;){if(t[--D]t.length-l.length&&(e=l,l=t,t=e);k=l.length;for(v=0;k;)v=(t[--k]=t[k]+l[k]+v)/10|0,t[k]%=10;v&&(t.unshift(v), +++D);for(k=t.length;0===t[--k];t.pop());g.c=t;g.e=D;return g};I.pow=function(g){var e=this,k=new e.constructor(1),v=k,t=0>g;(g!==~~g||-1E6>g||1E6>=1;if(!g)break;e=e.Ac(e)}return t?k.Wb(v):v};I.round=function(g,e){var k=this,v=k.constructor;null==g?g=0:(g!==~~g||0>g||1E6k&&F(NaN);k=Math.sqrt(this.toString());0===k||k===1/0?(k=e.join(""),k.length+v&1||(k+="0"),e=new g(Math.sqrt(k).toString()),e.e=((v+1)/2|0)-(0>v||v&1)):e=new g(k.toString());k=e.e+(g.$d+=4);do v=e,e=t.Ac(v.Ae(this.Wb(v)));while(v.c.slice(0,k).join("")!==e.c.slice(0,k).join(""));n(e,g.$d-=4,g.Ne);return e};I.K=I.Ac=function(g){var e=this.constructor;var k=this.c,v=(g=new e(g)).c,t=k.length,D=v.length,l=this.e,f=g.e;g.ma=this.ma==g.ma?1:-1;if(!k[0]||!v[0])return new e(0*g.ma);g.e=l+f;tl;)D=e[f]+v[l]*k[f-l-1]+D,e[f--]=D%10,D=D/10|0;e[f]=(e[f]+D)%10}D&&++g.e;e[0]||e.shift();for(l=e.length;!e[--l];e.pop());g.c=e;return g};I.toString=I.valueOf=I.toJSON=function(){var g=this.constructor,e=this.e,k=this.c.join(""),v=k.length;if(e<=g.ae||e>=g.Je)k=k.charAt(0)+(1e?"e":"e+")+e;else if(0>e){for(;++e;k="0"+k);k="0."+k}else if(0v)for(e-=v;e--;k+="0");else ethis.ma&&this.c[0]?"-"+k:k};I.g=function(g){null==g?g=this.c.length-1:(g!==~~g||0>g||1E6=g&&(t=c(this,this.e+g),0>this.ma&&this.c[0]&&0>t.indexOf("-")&&(t="-"+t));e.ae=k;e.Je=v;t||F("!toFix!");return t};I.toPrecision=function(g){if(null==g)return this.toString();(g!== +~~g||1>g||1E6a&&![9,10,13].includes(a)||55295a||65533a||1114111a?-1:0===a?0:1}return aa&&![9,10,13].includes(a)||55295a||65533a||1114111a?-1:0===a?0:1}return a65535c.codePointAt(0))}function Ea(a){return String.fromCodePoint(...a.map(ya))}class Ga{}; // Input 7 -var Ha=function(){function a(){null===q&&(q=pa.rf("regexCategories"));return q}function c(g,e,k=null,v=null){function t(z,D){function y(V){for(V=V.toString(16);4>V.length;)V="0"+V;return"\\u"+(E&&4=U&&V.push([U,ha])}x=x[x.length-1][1];(E||65535>x)&&V.push([x+1,E?1114111:65535])}x="";for(K=0;KV[K][1])x+=y(V[K][0]),V[K][1]> -V[K][0]&&(x+="-"+y(V[K][1]));V=x;la||(V="["+V+"]");return V}function R(V){return V.sort(function(la,x){return la[0]-x[0]})}function M(V,la,x,K){var U=[];Array.isArray(V)||m("Ranges must be array");V.forEach(function(ha){U.push([parseInt(ha[0],16),parseInt(ha[1],16)])});x&&K&&R(U);return I(U,la,x)}var ca=z.charAt(D+1);0>"nrt\\|.-^?*+{}()[]pPsSiIcCdDwW$".indexOf(ca)&&(0!==n||!/[0-9]/.test(ca))&&m("\\"+ca+" is not allowed in XPath regular expressions");switch(ca){case "p":case "P":var ea=z.indexOf("}", -D);z=z.substring(D+3,ea);C("x")&&(z=z.replace(/[ \n\r\t]+/g,""));var ja=a();(D=ja[z])||m("Unknown category "+z);if(1===z.length){var Y=[];D.split("|").forEach(function(x){Y=Y.concat(ja[x])})}else Y=D;A+=M(Y,0=r&&/[0-9]/.test(z.charAt(D+2))&&(A+="(?:)"),D++):(A+="\\"+ca,D++)}return{vj:A,i:D}}function C(z){return 0<=e.indexOf(z)}function m(z){throw new F("Invalid XPath regular expression: "+z,"FORX0002");}let f=0;e=e?e.toString():"";if(!E&&k&&Aa(k))throw new F("Cannot handle non-BMP characters with regular expressions in this browser", -"SXJS0002");k=(C("i")?"i":"")+(C("m")?"m":"")+(C("g")?"g":"")+(E?"u":"");if(C("j"))return new RegExp(g,e.replace("j",""));if(C("q"))return new RegExp(g.replace(/[\[\]\/\{\}\(\)\*\+\?\.\\^$|]/g,"\\$&"),k);let A="";const O=[[58,58],[65,90],[95,95],[97,122],[192,214],[216,246],[248,767],[880,893],[895,8191],[8204,8205],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],b=[[45,46],[48,58],[65,90],[95,95],[97,122],[183,183],[192,214],[216,246],[248,893],[895,8191],[8204, -8205],[8255,8256],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],d=[],l=[];let r=1,n=0,B=!1;var W=!1;for(var ma=0;maW||!/^[0-9]+(,[0-9]*)?$/.test(g.substring(ma+1,W)))&&m("Invalid quantifier {"+g.substring(ma+1,W+1)),W=!1);A+=z;break;case " ":case "\n":case "\r":case "\t":if(!C("x")||0V.length;)V="0"+V;return"\\u"+(F&&4=W&&V.push([W,fa])}z=z[z.length-1][1];(F||65535>z)&&V.push([z+1,F?1114111:65535])}z="";for(M=0;MV[M][1])z+=A(V[M][0]),V[M][1]> +V[M][0]&&(z+="-"+A(V[M][1]));V=z;ka||(V="["+V+"]");return V}function S(V){return V.sort(function(ka,z){return ka[0]-z[0]})}function N(V,ka,z,M){var W=[];Array.isArray(V)||l("Ranges must be array");V.forEach(function(fa){W.push([parseInt(fa[0],16),parseInt(fa[1],16)])});z&&M&&S(W);return H(W,ka,z)}var aa=x.charAt(E+1);0>"nrt\\|.-^?*+{}()[]pPsSiIcCdDwW$".indexOf(aa)&&(0!==p||!/[0-9]/.test(aa))&&l("\\"+aa+" is not allowed in XPath regular expressions");switch(aa){case "p":case "P":var ma=x.indexOf("}", +E);x=x.substring(E+3,ma);D("x")&&(x=x.replace(/[ \n\r\t]+/g,""));var ia=a();(E=ia[x])||l("Unknown category "+x);if(1===x.length){var Y=[];E.split("|").forEach(function(z){Y=Y.concat(ia[z])})}else Y=E;B+=N(Y,0=q&&/[0-9]/.test(x.charAt(E+2))&&(B+="(?:)"),E++):(B+="\\"+aa,E++)}return{vj:B,i:E}}function D(x){return 0<=e.indexOf(x)}function l(x){throw new G("Invalid XPath regular expression: "+x,"FORX0002");}let f=0;e=e?e.toString():"";if(!F&&k&&Aa(k))throw new G("Cannot handle non-BMP characters with regular expressions in this browser", +"SXJS0002");k=(D("i")?"i":"")+(D("m")?"m":"")+(D("g")?"g":"")+(F?"u":"");if(D("j"))return new RegExp(g,e.replace("j",""));if(D("q"))return new RegExp(g.replace(/[\[\]\/\{\}\(\)\*\+\?\.\\^$|]/g,"\\$&"),k);let B="";const L=[[58,58],[65,90],[95,95],[97,122],[192,214],[216,246],[248,767],[880,893],[895,8191],[8204,8205],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],y=[[45,46],[48,58],[65,90],[95,95],[97,122],[183,183],[192,214],[216,246],[248,893],[895,8191],[8204, +8205],[8255,8256],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],b=[],d=[];let q=1,p=0,u=!1;var P=!1;for(var la=0;laP||!/^[0-9]+(,[0-9]*)?$/.test(g.substring(la+1,P)))&&l("Invalid quantifier {"+g.substring(la+1,P+1)),P=!1);B+=x;break;case " ":case "\n":case "\r":case "\t":if(!D("x")||0=this.value.length)return this.value;let a=this.j;const c=this.value.length;if(0===a&&0c+q.toString(16).padStart(2,"0"),"").toUpperCase()} -class Ya extends Ja{constructor(a,c="AX"){super(c);if(!(a instanceof Uint8Array))throw new F("Uint8Array expected");this.value=a}g(){return/^A[X2]$/}toString(){if("AX"===this.code)var a=Va(this.value);else{{a=this.value;var c=0;let g=0,e=[];if(0===a.length)a="";else{do{var q=a[c++];var E=a[c++];var H=a[c++];var p=q<<16|E<<8|H;q=p>>18&63;E=p>>12&63;H=p>>6&63;p&=63;e[g++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(q)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(E)+ -"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(H)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(p)}while(cq===c[E])}return Sa(this.code, +class Ra extends Ja{constructor(a,c="AS"){super(c);this.value=a||"";"string"!==typeof a&&sa.la("bad input to string constructor "+sa.showValue(a));this.j=0}g(){return/^A(S|Z$|U$)/}toString(){return this.value}compareTo(a){return a instanceof Ra?za(this.value,a.value):Sa(this.code,a.code)}equals(a){return 0===this.compareTo(a)}hashCode(){if(6>=this.value.length)return this.value;let a=this.j;const c=this.value.length;if(0===a&&0c+n.toString(16).padStart(2,"0"),"").toUpperCase()} +class Ya extends Ja{constructor(a,c="AX"){super(c);if(!(a instanceof Uint8Array))throw new G("Uint8Array expected");this.value=a}g(){return/^A[X2]$/}toString(){if("AX"===this.code)var a=Va(this.value);else{{a=this.value;var c=0;let g=0,e=[];if(0===a.length)a="";else{do{var n=a[c++];var F=a[c++];var I=a[c++];var m=n<<16|F<<8|I;n=m>>18&63;F=m>>12&63;I=m>>6&63;m&=63;e[g++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(n)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(F)+ +"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(I)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(m)}while(cn===c[F])}return Sa(this.code, a.code)}hashCode(){return(new Ra(Va(this.value.slice(0,8)))).hashCode()}matchKey(){return("AX"===this.code?"h":"i")+this.toString()}} -class Oa extends Ma{constructor(a,c="AO"){super(c);this.value=a;"number"!==typeof a&&sa.la("type of value supplied to XdmDouble is not number: "+typeof a)}g(){return/^A[OF]$/}toString(){if(0===this.value)return 0>1/this.value?"-0":"0";if(this.value===Number.POSITIVE_INFINITY)return"INF";if(this.value===Number.NEGATIVE_INFINITY)return"-INF";var a=this.value,c=Math.abs(a);if(1E6<=c||1E-6>c){c=a.toExponential();const q=c.indexOf("e");a=c.substring(0,q);c=c.substring(q+1);"AF"===this.code&&(a=parseFloat(a), -a=(0>a?a-5E-8:a+5E-8).toString(),a=a.substring(0,a.indexOf(".")+8),a=a.replace(/\.?0+$/,""));a.includes(".")||(a+=".0");return a+"E"+c.replace("+","")}return"AF"===this.code&&0!==a%1?(c=(0>a?a-5E-8:a+5E-8).toString(),c=c.substring(0,c.indexOf(".")+6),c.replace(/0+$/,"")):a.toString()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a.isNumeric()?(a=a.toNumber(),"AF"===this.code&&Math.fround&&(a=Math.fround(a)),this.valuethis.value?"-INF":"INF"}matchKey(){return"n"+this.hashCode()}toNumber(){return this.value}toDouble(){return this}abs(){return new Oa(Math.abs(this.value),this.code)}nf(){return new Oa(-this.value,this.code)}Rf(){return new Oa(Math.ceil(this.value),this.code)}floor(){return new Oa(Math.floor(this.value), -this.code)}round(a){0===a?a=Math.round(this.value):(a=Math.pow(10,-a),a*=Math.round(this.value/a));return new Oa(a,this.code)}sf(a){return isFinite(this.value)?(a=(new $a(wa(this.value))).sf(a),0===a.toNumber()&&0>this.value&&(a=La.XS.double.fromString("-0")),La.codes[this.code].R(a)):this}} -class Za extends Ma{constructor(a){super("ADI");"number"!==typeof a&&sa.la("type of value supplied to XdmInteger is not number: "+typeof a);this.value=a}g(){return/^ADI/}toString(){return this.value.toString()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a.isNumeric()?this.value-a.toNumber():Sa(this.code,a.code)}hashCode(){return Ta(this.value)}qg(a){return a instanceof Oa||a instanceof Za?this.value===a.value:a instanceof $a?La.XS.mb.R(this).equals(a):!1}matchKey(){return"n"+this.hashCode()}toDouble(){return new Oa(this.value)}toNumber(){return this.value}toBig(){return new wa(this.value)}abs(){return new Za(Math.abs(this.value))}nf(){return new Za(-this.value)}Rf(){return this}floor(){return this}round(a){return 0> -a?(a=Math.pow(10,-a),new Za(Math.round(this.value/a)*a)):this}sf(a){return 0>a?(a=Math.pow(10,-a),new Za(parseInt(wa(this.value).Vb(a,100,2).round(0,2).zc(a),10))):this}} -class $a extends Ma{constructor(a,c="AD"){super(c);this.value=new wa(a)}g(){return/^AD/}toString(){return this.value.toFixed()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a instanceof $a?this.value.cmp(a.value):/^AD/.test(a.code)?this.value.cmp(a.toBig()):a.isNumeric()?this.value.cmp(new wa(a.toDouble())):Sa(this.code,a.code)}hashCode(){const a=this.value;return a.mf(wa(1)).xi()&&a.abs().ij()?this.toNumber().toString(36):this.toString().substring(0,8)}qg(a){return a instanceof Oa|| -a instanceof Za?0===this.compareTo(La.XS.mb.R(a)):a instanceof $a?0===this.compareTo(a):!1}matchKey(){return"n"+this.hashCode()}toBig(){return this.value}toDouble(){return new Oa(parseFloat(this.value.toFixed()))}toNumber(){return parseFloat(this.value.toFixed())}abs(){return new $a(this.value.abs(),this.code)}nf(){var a=wa(this.value);a.ma=-a.ma;return new $a(a,"AD"===this.code?"AD":"ADI")}Rf(){return new $a(this.value.round(0,0>this.value.ma?0:3),this.code)}floor(){return new $a(this.value.round(0, -0>this.value.ma?3:0),this.code)}round(a){function c(p,g){p=new wa(p);p.e+=g;return p}let q=this.value,E=0;0>a&&(E=a,a=0,q=c(q,E));const H=0a?(a=wa(10).pow(-a),a=this.value.Vb(a,100,2).round(0,2).zc(a)):a=this.value.round(a,2);return new $a(a,"AD"===this.code?"AD":"ADI")}} +class Oa extends Ma{constructor(a,c="AO"){super(c);this.value=a;"number"!==typeof a&&sa.la("type of value supplied to XdmDouble is not number: "+typeof a)}g(){return/^A[OF]$/}toString(){if(0===this.value)return 0>1/this.value?"-0":"0";if(this.value===Number.POSITIVE_INFINITY)return"INF";if(this.value===Number.NEGATIVE_INFINITY)return"-INF";var a=this.value,c=Math.abs(a);if(1E6<=c||1E-6>c){c=a.toExponential();const n=c.indexOf("e");a=c.substring(0,n);c=c.substring(n+1);"AF"===this.code&&(a=parseFloat(a), +a=(0>a?a-5E-8:a+5E-8).toString(),a=a.substring(0,a.indexOf(".")+8),a=a.replace(/\.?0+$/,""));a.includes(".")||(a+=".0");return a+"E"+c.replace("+","")}return"AF"===this.code&&0!==a%1?(c=(0>a?a-5E-8:a+5E-8).toString(),c=c.substring(0,c.indexOf(".")+6),c.replace(/0+$/,"")):a.toString()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a.isNumeric()?(a=a.toNumber(),"AF"===this.code&&Math.fround&&(a=Math.fround(a)),this.valuethis.value?"-INF":"INF"}matchKey(){return"n"+this.hashCode()}toNumber(){return this.value}toDouble(){return this}abs(){return new Oa(Math.abs(this.value),this.code)}pf(){return new Oa(-this.value,this.code)}Rf(){return new Oa(Math.ceil(this.value),this.code)}floor(){return new Oa(Math.floor(this.value), +this.code)}round(a){0===a?a=Math.round(this.value):(a=Math.pow(10,-a),a*=Math.round(this.value/a));return new Oa(a,this.code)}tf(a){return isFinite(this.value)?(a=(new $a(wa(this.value))).tf(a),0===a.toNumber()&&0>this.value&&(a=La.XS.double.fromString("-0")),La.codes[this.code].R(a)):this}} +class Za extends Ma{constructor(a){super("ADI");"number"!==typeof a&&sa.la("type of value supplied to XdmInteger is not number: "+typeof a);this.value=a}g(){return/^ADI/}toString(){return this.value.toString()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a.isNumeric()?this.value-a.toNumber():Sa(this.code,a.code)}hashCode(){return Ta(this.value)}rg(a){return a instanceof Oa||a instanceof Za?this.value===a.value:a instanceof $a?La.XS.mb.R(this).equals(a):!1}matchKey(){return"n"+this.hashCode()}toDouble(){return new Oa(this.value)}toNumber(){return this.value}toBig(){return new wa(this.value)}abs(){return new Za(Math.abs(this.value))}pf(){return new Za(-this.value)}Rf(){return this}floor(){return this}round(a){return 0> +a?(a=Math.pow(10,-a),new Za(Math.round(this.value/a)*a)):this}tf(a){return 0>a?(a=Math.pow(10,-a),new Za(parseInt(wa(this.value).Wb(a,100,2).round(0,2).Ac(a),10))):this}} +class $a extends Ma{constructor(a,c="AD"){super(c);this.value=new wa(a)}g(){return/^AD/}toString(){return this.value.toFixed()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a instanceof $a?this.value.cmp(a.value):/^AD/.test(a.code)?this.value.cmp(a.toBig()):a.isNumeric()?this.value.cmp(new wa(a.toDouble())):Sa(this.code,a.code)}hashCode(){const a=this.value;return a.nf(wa(1)).xi()&&a.abs().ij()?this.toNumber().toString(36):this.toString().substring(0,8)}rg(a){return a instanceof Oa|| +a instanceof Za?0===this.compareTo(La.XS.mb.R(a)):a instanceof $a?0===this.compareTo(a):!1}matchKey(){return"n"+this.hashCode()}toBig(){return this.value}toDouble(){return new Oa(parseFloat(this.value.toFixed()))}toNumber(){return parseFloat(this.value.toFixed())}abs(){return new $a(this.value.abs(),this.code)}pf(){var a=wa(this.value);a.ma=-a.ma;return new $a(a,"AD"===this.code?"AD":"ADI")}Rf(){return new $a(this.value.round(0,0>this.value.ma?0:3),this.code)}floor(){return new $a(this.value.round(0, +0>this.value.ma?3:0),this.code)}round(a){function c(m,g){m=new wa(m);m.e+=g;return m}let n=this.value,F=0;0>a&&(F=a,a=0,n=c(n,F));const I=0a?(a=wa(10).pow(-a),a=this.value.Wb(a,100,2).round(0,2).Ac(a)):a=this.value.round(a,2);return new $a(a,"AD"===this.code?"AD":"ADI")}} class ab extends Ja{constructor(a){super("AB");"boolean"!==typeof a&&sa.la("type of value supplied to XdmBoolean is not boolean: "+typeof a);this.value=a}g(){return/^AB$/}toString(){return this.value.toString()}toBoolean(){return this.value}compareTo(a){return a instanceof ab?(this.value?1:0)-(a.value?1:0):Sa(this.code,a.code)}equals(a){return 0===this.compareTo(a)}hashCode(){return this.value.toString()}matchKey(){return"b"+this.toString()}} -class bb extends Ja{constructor(a,c,q){super("AQ");this.prefix=a=a?a:"";this.uri=c?c:"";this.local=q;if(""!==a&&!Ha.Lb(a))throw new F("Invalid prefix: '"+a+"'","FORG0001");if(!Ha.Lb(q))throw new F("Invalid local name: '"+q+"' (prefix='"+a+"', uri='"+c+"')","FORG0001");}g(){return/^AQ$/}toEQName(){return"Q{"+this.uri+"}"+this.local}toString(){return(0a?"-":"+")+(100+Math.floor(c/60)).toString().substring(1)+":"+(100+c%60).toString().substring(1)}return 0===a?"Z":""} function eb(a,c){if(c instanceof fb&&(c.code.startsWith(a.code)||a.code.startsWith(c.code)))return+a.Na.getTime()-c.Na.getTime();Sa(a.code,c.code)}function gb(a,c){return La.XS.dateTime.fromDate(new Date(a.Na.getTime()+6E4*c),a.Fa)} -function hb(a,c){let q=a.toString(),E=parseInt(q.substring(5,7),10),H=parseInt(q.substring(8,10),10),p=parseInt(q.substring(0,4),10)+Math.floor((E+c-1)/12),g=0>p;c=(E+c-1)%12+1;for(0>=c&&(c+=12);!La.gj([p,c,H,0,0,0]);)--H;return La.codes[a.code].fromString((g?"-"+(1E4+-p).toString().substring(1):(1E4+p).toString().substring(1))+"-"+(100+c).toString().substring(1)+"-"+(100+H).toString().substring(1)+q.substring(10))} -class fb extends Ja{constructor(a,c,q="AM"){super(q);this.Na=a;this.Fa=c;a instanceof Date||sa.la("type of UTCdate supplied to XdmDateTime is not Date");c&&"number"!==typeof c&&sa.la("type of value for timezone offset supplied to XdmDateTime is not number: "+typeof c)}g(){return/^A([AGHIJKMT]|MP)$/}proxy(){var a=new Date;return new Date(this.Na.getTime()+6E4*(this.Fa||0===this.Fa?this.Fa:-a.getTimezoneOffset()))}toString(){const a=cb(this,this.proxy().toISOString()),c="-"===a.charAt(0)?1:0;return function(q){switch(q){case "AM":case "AMP":return a; -case "AA":return a.substring(0,10+c);case "AT":return a.substring(11+c);case "AH":return a.substring(0,7+c);case "AG":return a.substring(0,4+c);case "AJ":return"-"+a.substring(4+c,10+c);case "AI":return"-"+a.substring(4+c,7+c);case "AK":return"--"+a.substring(7+c,10+c);default:throw"type not recognised "+q;}}(this.code)+db(this)}compareTo(a){(/^A[GHIJK]/.test(this.code)||/^A[GHIJK]/.test(a.code))&&Sa(this.code,a.code);return eb(this,a)}equals(a){return 0===eb(this,a)}hashCode(){return Ta(this.Na.getTime()- -1454346732296)}matchKey(){return"t"+this.hashCode()}}function jb(a){function c(E,H){H.forEach(function(p){1E3!==p?(q.push(Math.floor(E/p)),E%=p):q.push(E/p)})}let q=[];c(Math.abs(a.Ua),[12,1]);c(Math.abs(a.Qa),[864E5,36E5,6E4,1E3]);return q}function kb(a){a=a.Ua+a.Qa;return 0>a?-1:0c||0>a&&0c?"-P":"P",jb(this).forEach(function(q,E){3===E&&(a+="T");0!==q&&(6===E?a+=q/1E3+"S":a+=q+"YMDHMS".split("")[E])}), -a=a.replace(/T$/,""));return a}compareTo(a){if(a instanceof lb){if(La.XS.yearMonthDuration.matches(this)&&La.XS.yearMonthDuration.matches(a))return this.Ua-a.Ua;if(La.XS.dayTimeDuration.matches(this)&&La.XS.dayTimeDuration.matches(a))return this.Qa-a.Qa;throw new F("Cannot compare durations that mix months and seconds","XPTY0004");}return Sa(this.code,a.code)}equals(a){a instanceof lb||Sa(this.code,a.code);return a instanceof lb&&this.Ua===a.Ua&&this.Qa===a.Qa}hashCode(){return this.Ua.toString()+ -":"+this.Qa.toString()}matchKey(){return"d"+this.hashCode()}}function Ta(a){return Number.isInteger(a)&&Math.abs(a)m;c=(F+c-1)%12+1;for(0>=c&&(c+=12);!La.gj([m,c,I,0,0,0]);)--I;return La.codes[a.code].fromString((g?"-"+(1E4+-m).toString().substring(1):(1E4+m).toString().substring(1))+"-"+(100+c).toString().substring(1)+"-"+(100+I).toString().substring(1)+n.substring(10))} +class fb extends Ja{constructor(a,c,n="AM"){super(n);this.Na=a;this.Fa=c;a instanceof Date||sa.la("type of UTCdate supplied to XdmDateTime is not Date");c&&"number"!==typeof c&&sa.la("type of value for timezone offset supplied to XdmDateTime is not number: "+typeof c)}g(){return/^A([AGHIJKMT]|MP)$/}proxy(){var a=new Date;return new Date(this.Na.getTime()+6E4*(this.Fa||0===this.Fa?this.Fa:-a.getTimezoneOffset()))}toString(){const a=cb(this,this.proxy().toISOString()),c="-"===a.charAt(0)?1:0;return function(n){switch(n){case "AM":case "AMP":return a; +case "AA":return a.substring(0,10+c);case "AT":return a.substring(11+c);case "AH":return a.substring(0,7+c);case "AG":return a.substring(0,4+c);case "AJ":return"-"+a.substring(4+c,10+c);case "AI":return"-"+a.substring(4+c,7+c);case "AK":return"--"+a.substring(7+c,10+c);default:throw"type not recognised "+n;}}(this.code)+db(this)}compareTo(a){(/^A[GHIJK]/.test(this.code)||/^A[GHIJK]/.test(a.code))&&Sa(this.code,a.code);return eb(this,a)}equals(a){return 0===eb(this,a)}hashCode(){return Ta(this.Na.getTime()- +1454346732296)}matchKey(){return"t"+this.hashCode()}}function jb(a){function c(F,I){I.forEach(function(m){1E3!==m?(n.push(Math.floor(F/m)),F%=m):n.push(F/m)})}let n=[];c(Math.abs(a.Ua),[12,1]);c(Math.abs(a.Qa),[864E5,36E5,6E4,1E3]);return n}function kb(a){a=a.Ua+a.Qa;return 0>a?-1:0c||0>a&&0c?"-P":"P",jb(this).forEach(function(n,F){3===F&&(a+="T");0!==n&&(6===F?a+=n/1E3+"S":a+=n+"YMDHMS".split("")[F])}), +a=a.replace(/T$/,""));return a}compareTo(a){if(a instanceof lb){if(La.XS.yearMonthDuration.matches(this)&&La.XS.yearMonthDuration.matches(a))return this.Ua-a.Ua;if(La.XS.dayTimeDuration.matches(this)&&La.XS.dayTimeDuration.matches(a))return this.Qa-a.Qa;throw new G("Cannot compare durations that mix months and seconds","XPTY0004");}return Sa(this.code,a.code)}equals(a){a instanceof lb||Sa(this.code,a.code);return a instanceof lb&&this.Ua===a.Ua&&this.Qa===a.Qa}hashCode(){return this.Ua.toString()+ +":"+this.Qa.toString()}matchKey(){return"d"+this.hashCode()}}function Ta(a){return Number.isInteger(a)&&Math.abs(a)P instanceof Ja&&P.code.startsWith(h),pc:function(P){Q(P)||g(P.toString(),h);P.code=h;return P},fromString:function(P){return N.pc(u.fromString(P))},R:function(P){return N.pc(u.R(P))}}}function Z(va,h,G){const Q=h.replace(/.$/,"");w(va,h,Q,G);const u=V[va],N=la[Q];u.fromString=function(P){/INF|NaN/.test(P)&&g(P,h,null,"FOCA0002");return u.pc(N.fromString(P))};u.fromNumber=function(P){P= -N.fromNumber(P);const ia=P.toNumber();isFinite(ia)||g(P.toString(),h,null,"FOCA0002");G(P)||g(P.toString(),h);P.code=h;return P}}function S(va,h,G,Q){const u=h.replace(/.$/,"");w(va,h,u,G);const N=la[h],P=la[u];N.pc=function(ia){ia=Q(ia.toString());G(ia)||g(ia,h);return new Ra(ia,h)};N.fromString=function(ia){return N.pc(P.fromString(Q(ia)))}}function da(va,h,G){w(va,h,"AR",G);const Q=V[va];Q.pc=function(u){if(u instanceof lb)return new lb("ARY"===h?u.Ua:0,"ARD"===h?u.Qa:0,h);G(u)||g(u.toString(), -h);u.code=h;return u};Q.Wb=function(u,N){return Q.pc(ea.Wb(u,N))};Q.R=function(u){return ea.matches(u)?Q.pc(u):T.string.matches(u)||T.untypedAtomic.matches(u)?b(u.toString(),h):Q.pc(ea.R(u))}}function fa(va,h){return function(G){G=G.toNumber();return G>=va&&G<=h}}for(var na in V){const va=V[na];la[va.code]=va}t("gYear","AG");t("gYearMonth","AH");t("gMonth","AI");t("gMonthDay","AJ");t("gDay","AK");Z("nonPositiveInteger","ADIN",va=>0>=va.toNumber());Z("negativeInteger","ADINN",va=>0>va.toNumber()); -Z("long","ADIL",function(va){va=va.toBig();return 0<=va.cmp(wa("-9223372036854775808"))&&0>=va.cmp(wa("9223372036854775807"))});Z("int","ADILI",fa(-2147483648,2147483647));Z("short","ADILIS",fa(-32768,32767));Z("byte","ADILISB",fa(-128,127));Z("nonNegativeInteger","ADIP",va=>0<=va.toNumber());Z("positiveInteger","ADIPP",va=>0=va.toBig().cmp(wa("18446744073709551615"))});Z("unsignedInt","ADIPLI",function(va){return 0<= -va.toNumber()&&0>=va.toBig().cmp(wa("4294967295"))});Z("unsignedShort","ADIPLIS",fa(0,65535));Z("unsignedByte","ADIPLISB",fa(0,255));na=()=>!0;S("normalizedString","ASN",na,va=>va.replace(/[ \r\t\n]/g," "));S("token","ASNT",na,xa);S("language","ASNTL",va=>/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/.test(va),xa);S("NMTOKEN","ASNTK",Ha.cj,xa);S("Name","ASNTN",Ha.dj,xa);S("NCName","ASNTNC",Ha.Lb,xa);S("ID","ASNTNCI",Ha.Lb,xa);S("IDREF","ASNTNCR",Ha.Lb,xa);S("ENTITY","ASNTNCE",Ha.Lb,xa);da("yearMonthDuration", -"ARY",va=>0===va.Qa);da("dayTimeDuration","ARD",va=>0===va.Ua);V.dayTimeDuration.hh=function(va){return new lb(0,6E4*va,"ARD")};T.language=V.language;T.Ag=V.NCName;T.dayTimeDuration=V.dayTimeDuration;T.yearMonthDuration=V.yearMonthDuration;T.nh=V.gYearMonth;T.mh=V.gYear;T.lh=V.gMonthDay;T.kh=V.gMonth;T.jh=V.gDay;a=function(){}}function c(w,Z){return Z?-w:w}function q(w,Z){return Z*(void 0===w?0:Math.round(1E3*parseFloat(w)))}function E(w,Z){return Z*(void 0===w?0:parseInt(w,10))}function H(w){return w.lb&& -!["ADI","ARY","ARD"].includes(w.code)?H(w.lb):w}function p(w,Z){throw new F(`Casting from ${d(w.code)} to ${d(Z)} is not allowed`,"XPTY0004");}function g(w,Z,S=null,da="FORG0001"){throw new F(`Supplied value "${w}" is not a valid ${d(Z)}${S?` (${S})`:""}`,da);}function e(w,Z){w=Ha.trim(w);/.\.$/.test(w)&&(w+="0");if(/^[-+]?([0-9]+(\.[0-9]*)?|\.[0-9]+)([Ee][-+]?[0-9]+)?$/.test(w))return parseFloat(w);if(/^NaN$/.test(w))return NaN;if(/^-INF$/.test(w))return-Infinity;if(/^(\+)?INF$/.test(w))return Infinity; -Z&&g(w,"AO");return NaN}function k(w){w=w.replace(/\s/g,"");/^(....)*$/.test(w)||g(w,"A2","length must be a multiple of 4");/^[A-Za-z0-9+/]*=?=?$/.test(w)||g(w,"A2","only [A-Za-z0-9+/] allowed, or '=' at the end");/^([^=]*|.*[AQgw]==|.*[AEIMQUYcgkosw048]=)$/.test(w)||g(w,"A2","invalid characters before '='");let Z,S,da=0,fa=[];if(0===w.length)return new Uint8Array(0);do{var na="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(w.charAt(da++));var va="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(w.charAt(da++)); -Z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(w.charAt(da++));S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(w.charAt(da++));var h=na<<18|va<<12|Z<<6|S;na=h>>16&255;va=h>>8&255;h&=255;64===Z?fa.push(na):64===S?fa.push(na,va):fa.push(na,va,h)}while(daparseInt(Z,16))):new Uint8Array(0)} -function t(w,Z){V[w]=la[Z]={name:w,code:Z,matches:S=>S instanceof fb&&S.code.startsWith(Z),fromString:S=>A(S,Z),fromDate:(S,da)=>new fb(S,da,Z),R:S=>{if(S instanceof fb&&S.code.startsWith(Z))return S;if(T.dateTime.matches(S)||T.cd.matches(S)){const da=la[Z];return da.fromString(da.fromDate(S.Na,S.Fa).toString())}if(/^A[SZ]/.test(S.code))return A(S.value,Z);p(S,Z)}}}function C(w){if(-1!==w.indexOf(".",w.length-4)){w=w.split(".");let Z=w[1];for(;3>Z.length;)Z+="0";w=w[0]+"."+Z}return w}function m(w){const Z= -w[0],S=w[1],da=w[2],fa=w[3],na=w[4];w=w[5];return!(1>S||12da||da>[31,0!==Z%4||0===Z%100&&0!==Z%400?28:29,31,30,31,30,31,31,30,31,30,31][S-1]||24<=fa||60<=na||60<=w)}function f(w,Z){w=w.split(/[\-T:]/).map(function(da){return parseFloat(da)});const S=w[0];if(-9999>S||9999w[0]&&fa.setUTCFullYear(na);fa=""===da?new Date(fa.getTime()+6E4*(new Date).getTimezoneOffset()):new Date(fa.getTime()-6E4*O(da));return new fb(fa,O(S[2]?S[2]:""),Z)}function O(w){if(""=== -w)return null;if("Z"===w)return 0;var Z=w.split(":");const S=/^-.*/.test(Z[0]),da=Math.abs(parseInt(Z[0],10));Z=parseInt(Z[1],10);if(14Number.MAX_SAFE_INTEGER?new $a(new wa(w),"ADI"):new Za(w)},nb:function(w){return new $a(w,"ADI")},valid:function(w){return 0===w.value.mf(1)},R:function(w){switch(w.code.substring(0,2)){case "AS":case "AZ":return T.integer.fromString(w.toString());case "AF":case "AO":return T.integer.fromNumber(w.toNumber());case "AD":return T.integer.nb(w.toBig().round(0, -0));case "AB":return T.integer.fromNumber(w.toBoolean()?1:0);default:p(w,"AB")}},Kk:function(w){return"number"===typeof w?T.integer.fromNumber(w):"boolean"===typeof w?T.integer.fromNumber(w?1:0):"string"===typeof w?T.integer.fromString(w):T.integer.fromString(w.toString())}},z={name:"numeric",code:"Anumeric",cl:["double","decimal","float"],matches:function(w){return w instanceof Oa||w instanceof Za||w instanceof $a},R:function(w){if(T.string.matches(w)||T.untypedAtomic.matches(w))return T.double.fromString(w.toString()); -if(T.numeric.matches(w))return w;if(T.boolean.matches(w))return T.double.fromNumber(w.toBoolean()?1:0);p(w,"Anumeric")},xe:function(w){const Z=T.double;if(null===w)return Z.fromNumber(Number.NaN);if(T.boolean.matches(w))return Z.fromNumber(w.toBoolean()?1:0);if(T.numeric.matches(w))return Z.R(w);if(T.string.matches(w)||T.untypedAtomic.matches(w))try{return Z.fromString(w.toString())}catch(S){return Z.fromNumber(Number.NaN)}else return Z.fromNumber(Number.NaN)}},D={name:"QName",code:"AQ",matches:function(w){return w instanceof -bb},fromParts:function(w,Z,S){return new bb(w,Z,S)},fromString:function(w,Z){w=Ha.trim(w);if("Q{"===w.substring(0,2))return T.QName.fromEQName(w);Ha.uh(w)||g(w,"AQ");w=w.split(":");if(1===w.length)return T.QName.fromParts("",Z(""),w[0]);Z=Z(w[0]);if(null===Z)throw new F("Undeclared prefix: "+w[0],"FONS0004");return T.QName.fromParts(w[0],Z,w[1])},fromEQName:function(w){var Z=w.indexOf("{");const S=w.indexOf("}");if(!(-1===Z&&-1===S||-1R instanceof Ja&&R.code.startsWith(h),qc:function(R){Q(R)||g(R.toString(),h);R.code=h;return R},fromString:function(R){return O.qc(r.fromString(R))},R:function(R){return O.qc(r.R(R))}}}function Z(pa,h,C){const Q=h.replace(/.$/,"");w(pa,h,Q,C);const r=V[pa],O=ka[Q];r.fromString=function(R){/INF|NaN/.test(R)&&g(R,h,null,"FOCA0002");return r.qc(O.fromString(R))};r.fromNumber=function(R){R= +O.fromNumber(R);const ea=R.toNumber();isFinite(ea)||g(R.toString(),h,null,"FOCA0002");C(R)||g(R.toString(),h);R.code=h;return R}}function T(pa,h,C,Q){const r=h.replace(/.$/,"");w(pa,h,r,C);const O=ka[h],R=ka[r];O.qc=function(ea){ea=Q(ea.toString());C(ea)||g(ea,h);return new Ra(ea,h)};O.fromString=function(ea){return O.qc(R.fromString(Q(ea)))}}function ha(pa,h,C){w(pa,h,"AR",C);const Q=V[pa];Q.qc=function(r){if(r instanceof lb)return new lb("ARY"===h?r.Ua:0,"ARD"===h?r.Qa:0,h);C(r)||g(r.toString(), +h);r.code=h;return r};Q.Xb=function(r,O){return Q.qc(ma.Xb(r,O))};Q.R=function(r){return ma.matches(r)?Q.qc(r):U.string.matches(r)||U.untypedAtomic.matches(r)?y(r.toString(),h):Q.qc(ma.R(r))}}function ba(pa,h){return function(C){C=C.toNumber();return C>=pa&&C<=h}}for(var va in V){const pa=V[va];ka[pa.code]=pa}t("gYear","AG");t("gYearMonth","AH");t("gMonth","AI");t("gMonthDay","AJ");t("gDay","AK");Z("nonPositiveInteger","ADIN",pa=>0>=pa.toNumber());Z("negativeInteger","ADINN",pa=>0>pa.toNumber()); +Z("long","ADIL",function(pa){pa=pa.toBig();return 0<=pa.cmp(wa("-9223372036854775808"))&&0>=pa.cmp(wa("9223372036854775807"))});Z("int","ADILI",ba(-2147483648,2147483647));Z("short","ADILIS",ba(-32768,32767));Z("byte","ADILISB",ba(-128,127));Z("nonNegativeInteger","ADIP",pa=>0<=pa.toNumber());Z("positiveInteger","ADIPP",pa=>0=pa.toBig().cmp(wa("18446744073709551615"))});Z("unsignedInt","ADIPLI",function(pa){return 0<= +pa.toNumber()&&0>=pa.toBig().cmp(wa("4294967295"))});Z("unsignedShort","ADIPLIS",ba(0,65535));Z("unsignedByte","ADIPLISB",ba(0,255));va=()=>!0;T("normalizedString","ASN",va,pa=>pa.replace(/[ \r\t\n]/g," "));T("token","ASNT",va,xa);T("language","ASNTL",pa=>/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/.test(pa),xa);T("NMTOKEN","ASNTK",Ha.cj,xa);T("Name","ASNTN",Ha.dj,xa);T("NCName","ASNTNC",Ha.Mb,xa);T("ID","ASNTNCI",Ha.Mb,xa);T("IDREF","ASNTNCR",Ha.Mb,xa);T("ENTITY","ASNTNCE",Ha.Mb,xa);ha("yearMonthDuration", +"ARY",pa=>0===pa.Qa);ha("dayTimeDuration","ARD",pa=>0===pa.Ua);V.dayTimeDuration.ih=function(pa){return new lb(0,6E4*pa,"ARD")};U.language=V.language;U.Bg=V.NCName;U.dayTimeDuration=V.dayTimeDuration;U.yearMonthDuration=V.yearMonthDuration;U.oh=V.gYearMonth;U.nh=V.gYear;U.mh=V.gMonthDay;U.lh=V.gMonth;U.kh=V.gDay;a=function(){}}function c(w,Z){return Z?-w:w}function n(w,Z){return Z*(void 0===w?0:Math.round(1E3*parseFloat(w)))}function F(w,Z){return Z*(void 0===w?0:parseInt(w,10))}function I(w){return w.lb&& +!["ADI","ARY","ARD"].includes(w.code)?I(w.lb):w}function m(w,Z){throw new G(`Casting from ${b(w.code)} to ${b(Z)} is not allowed`,"XPTY0004");}function g(w,Z,T=null,ha="FORG0001"){throw new G(`Supplied value "${w}" is not a valid ${b(Z)}${T?` (${T})`:""}`,ha);}function e(w,Z){w=Ha.trim(w);/.\.$/.test(w)&&(w+="0");if(/^[-+]?([0-9]+(\.[0-9]*)?|\.[0-9]+)([Ee][-+]?[0-9]+)?$/.test(w))return parseFloat(w);if(/^NaN$/.test(w))return NaN;if(/^-INF$/.test(w))return-Infinity;if(/^(\+)?INF$/.test(w))return Infinity; +Z&&g(w,"AO");return NaN}function k(w){w=w.replace(/\s/g,"");/^(....)*$/.test(w)||g(w,"A2","length must be a multiple of 4");/^[A-Za-z0-9+/]*=?=?$/.test(w)||g(w,"A2","only [A-Za-z0-9+/] allowed, or '=' at the end");/^([^=]*|.*[AQgw]==|.*[AEIMQUYcgkosw048]=)$/.test(w)||g(w,"A2","invalid characters before '='");let Z,T,ha=0,ba=[];if(0===w.length)return new Uint8Array(0);do{var va="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(w.charAt(ha++));var pa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(w.charAt(ha++)); +Z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(w.charAt(ha++));T="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(w.charAt(ha++));var h=va<<18|pa<<12|Z<<6|T;va=h>>16&255;pa=h>>8&255;h&=255;64===Z?ba.push(va):64===T?ba.push(va,pa):ba.push(va,pa,h)}while(haparseInt(Z,16))):new Uint8Array(0)} +function t(w,Z){V[w]=ka[Z]={name:w,code:Z,matches:T=>T instanceof fb&&T.code.startsWith(Z),fromString:T=>B(T,Z),fromDate:(T,ha)=>new fb(T,ha,Z),R:T=>{if(T instanceof fb&&T.code.startsWith(Z))return T;if(U.dateTime.matches(T)||U.dd.matches(T)){const ha=ka[Z];return ha.fromString(ha.fromDate(T.Na,T.Fa).toString())}if(/^A[SZ]/.test(T.code))return B(T.value,Z);m(T,Z)}}}function D(w){if(-1!==w.indexOf(".",w.length-4)){w=w.split(".");let Z=w[1];for(;3>Z.length;)Z+="0";w=w[0]+"."+Z}return w}function l(w){const Z= +w[0],T=w[1],ha=w[2],ba=w[3],va=w[4];w=w[5];return!(1>T||12ha||ha>[31,0!==Z%4||0===Z%100&&0!==Z%400?28:29,31,30,31,30,31,31,30,31,30,31][T-1]||24<=ba||60<=va||60<=w)}function f(w,Z){w=w.split(/[\-T:]/).map(function(ha){return parseFloat(ha)});const T=w[0];if(-9999>T||9999w[0]&&ba.setUTCFullYear(va);ba=""===ha?new Date(ba.getTime()+6E4*(new Date).getTimezoneOffset()):new Date(ba.getTime()-6E4*L(ha));return new fb(ba,L(T[2]?T[2]:""),Z)}function L(w){if(""=== +w)return null;if("Z"===w)return 0;var Z=w.split(":");const T=/^-.*/.test(Z[0]),ha=Math.abs(parseInt(Z[0],10));Z=parseInt(Z[1],10);if(14Number.MAX_SAFE_INTEGER?new $a(new wa(w),"ADI"):new Za(w)},nb:function(w){return new $a(w,"ADI")},valid:function(w){return 0===w.value.nf(1)},R:function(w){switch(w.code.substring(0,2)){case "AS":case "AZ":return U.integer.fromString(w.toString());case "AF":case "AO":return U.integer.fromNumber(w.toNumber());case "AD":return U.integer.nb(w.toBig().round(0, +0));case "AB":return U.integer.fromNumber(w.toBoolean()?1:0);default:m(w,"AB")}},Kk:function(w){return"number"===typeof w?U.integer.fromNumber(w):"boolean"===typeof w?U.integer.fromNumber(w?1:0):"string"===typeof w?U.integer.fromString(w):U.integer.fromString(w.toString())}},x={name:"numeric",code:"Anumeric",cl:["double","decimal","float"],matches:function(w){return w instanceof Oa||w instanceof Za||w instanceof $a},R:function(w){if(U.string.matches(w)||U.untypedAtomic.matches(w))return U.double.fromString(w.toString()); +if(U.numeric.matches(w))return w;if(U.boolean.matches(w))return U.double.fromNumber(w.toBoolean()?1:0);m(w,"Anumeric")},Od:function(w){const Z=U.double;if(null===w)return Z.fromNumber(Number.NaN);if(U.boolean.matches(w))return Z.fromNumber(w.toBoolean()?1:0);if(U.numeric.matches(w))return Z.R(w);if(U.string.matches(w)||U.untypedAtomic.matches(w))try{return Z.fromString(w.toString())}catch(T){return Z.fromNumber(Number.NaN)}else return Z.fromNumber(Number.NaN)}},E={name:"QName",code:"AQ",matches:function(w){return w instanceof +bb},fromParts:function(w,Z,T){return new bb(w,Z,T)},fromString:function(w,Z){w=Ha.trim(w);if("Q{"===w.substring(0,2))return U.QName.fromEQName(w);Ha.uh(w)||g(w,"AQ");w=w.split(":");if(1===w.length)return U.QName.fromParts("",Z(""),w[0]);Z=Z(w[0]);if(null===Z)throw new G("Undeclared prefix: "+w[0],"FONS0004");return U.QName.fromParts(w[0],Z,w[1])},fromEQName:function(w){var Z=w.indexOf("{");const T=w.indexOf("}");if(!(-1===Z&&-1===T||-1A+O,(A,O)=>A.Be(O))},"i-i":function(m,f){return La.kg(m,f,(A,O)=>A-O,(A,O)=>A.we(O))},"i*i":function(m,f){return La.kg(m,f,(A,O)=>A*O,(A,O)=>A.zc(O))},"i/i":function(m,f){f.equals(La.XS.integer.fromNumber(0))&&q();m=m.toBig();f=f.toBig();return k.nb(m.Vb(f))},"i%i":function(m, -f){var A=m.toNumber();const O=f.toNumber();if(!isFinite(A)||isNaN(O)||0===O)return 0===O&&q(),v.fromNumber(NaN);if(!isFinite(O)||0===A)return m;A=m.toNumber()%f.toNumber();isFinite(A)||q();return a(A)?v.fromNumber(A):v.nb(wa(m.toBig().mf(f.toBig())))},"i~i":function(m,f){const A=m.toNumber()/f.toNumber();isFinite(A)||q();return a(A)?v.fromNumber(Math.trunc(A)):v.nb(wa(m.toBig().Vb(f.toBig())).round(0,0))},"c+c":function(m,f){const A=m.toBig(),O=f.toBig();return c(m,f).nb(A.Be(O))},"c-c":function(m, -f){const A=m.toBig(),O=f.toBig();return c(m,f).nb(A.we(O))},"c*c":function(m,f){const A=m.toBig(),O=f.toBig();return c(m,f).nb(A.zc(O))},"c/c":function(m,f){try{const A=m.toBig(),O=f.toBig();return k.nb(A.Vb(O))}catch(A){q()}},"c%c":function(m,f){try{const A=m.toBig(),O=f.toBig();return k.nb(A.mf(O))}catch(A){q()}},"c~c":function(m,f){try{const A=m.toBig(),O=f.toBig(),b=A.Vb(O).round(0,0);return v.nb(b)}catch(A){q()}},"a+a":function(m,f){return p(m,f,"+")},"a-a":function(m,f){return p(m,f,"-")},"a*a":function(m, -f){return p(m,f,"*")},"a/a":function(m,f){return p(m,f,"/")},"a%a":function(m,f){return p(m,f,"%")},"a~a":function(m,f){return p(m,f,"~")},"u+u":function(m,f){const A=g.dayTimeDuration,O=g.yearMonthDuration;A.matches(m)&&A.matches(f)||O.matches(m)&&O.matches(f)||H(m,f,"+");return O.matches(m)?O.Wb(m.Ua+f.Ua,0):A.Wb(0,m.Qa+f.Qa)},"u-u":function(m,f){const A=g.dayTimeDuration,O=g.yearMonthDuration;A.matches(m)&&A.matches(f)||O.matches(m)&&O.matches(f)||H(m,f,"-");return O.matches(m)?O.Wb(m.Ua-f.Ua, -0):A.Wb(0,m.Qa-f.Qa)},"u*n":function(m,f){const A=g.dayTimeDuration,O=g.yearMonthDuration;A.matches(m)||O.matches(m)||H(m,f,"*");f=f.toNumber();if(!isFinite(f))throw new F("Cannot multiply duration by "+isNaN(f)?"NaN":"+/-INF",isNaN(f)?"FOCA0005":"FODT0002");return O.matches(m)?O.Wb(Math.round(m.Ua*f),0):A.Wb(0,Math.round(m.Qa*f))},"n*u":function(m,f){return mb["u*n"](f,m)},"u/n":function(m,f){const A=g.dayTimeDuration,O=g.yearMonthDuration;A.matches(m)||O.matches(m)||H(m,f,"/");f=f.toNumber();0=== -f&&q("FODT0002");if(isNaN(f))throw new F("Cannot divide duration by NaN","FOCA0005");f=O.matches(m)?m.Ua/f:m.Qa/f;isFinite(f)||E("FODT0002");return O.matches(m)?O.Wb(Math.round(f),0):A.Wb(0,Math.round(f))},"u/u":function(m,f){var A=g.dayTimeDuration;const O=g.yearMonthDuration;A.matches(m)&&A.matches(f)||O.matches(m)&&O.matches(f)||H(m,f,"/");A=new wa(0);m=new wa(O.matches(m)?m.Ua:m.Qa);f=new wa(O.matches(f)?f.Ua:f.Qa);0===f.cmp(A)&&q();try{return k.nb(m.Vb(f))}catch(b){E()}},"t+u":function(m,f){const A= -g.dayTimeDuration,O=g.yearMonthDuration;A.matches(f)||O.matches(f)||H(m,f,"+");return A.matches(f)?La.codes[m.code].fromDate(new Date(m.Na.getTime()+f.Qa),m.Fa):hb(m,f.Ua)},"u+t":function(m,f){return mb["t+u"](f,m)},"t-u":function(m,f){const A=g.dayTimeDuration,O=g.yearMonthDuration;A.matches(f)||O.matches(f)||H(m,f,"-");return A.matches(f)?La.codes[m.code].fromDate(new Date(m.Na.getTime()-f.Qa),m.Fa):hb(m,-f.Ua)},"t-t":function(m,f){return g.dayTimeDuration.Wb(0,m.Na.getTime()-f.Na.getTime())}}; -return C}(); +const mb=function(){function a(l){return Math.abs(l)B+L,(B,L)=>B.Ae(L))},"i-i":function(l,f){return La.kg(l,f,(B,L)=>B-L,(B,L)=>B.we(L))},"i*i":function(l,f){return La.kg(l,f,(B,L)=>B*L,(B,L)=>B.Ac(L))},"i/i":function(l,f){f.equals(La.XS.integer.fromNumber(0))&&n();l=l.toBig();f=f.toBig();return k.nb(l.Wb(f))},"i%i":function(l, +f){var B=l.toNumber();const L=f.toNumber();if(!isFinite(B)||isNaN(L)||0===L)return 0===L&&n(),v.fromNumber(NaN);if(!isFinite(L)||0===B)return l;B=l.toNumber()%f.toNumber();isFinite(B)||n();return a(B)?v.fromNumber(B):v.nb(wa(l.toBig().nf(f.toBig())))},"i~i":function(l,f){const B=l.toNumber()/f.toNumber();isFinite(B)||n();return a(B)?v.fromNumber(Math.trunc(B)):v.nb(wa(l.toBig().Wb(f.toBig())).round(0,0))},"c+c":function(l,f){const B=l.toBig(),L=f.toBig();return c(l,f).nb(B.Ae(L))},"c-c":function(l, +f){const B=l.toBig(),L=f.toBig();return c(l,f).nb(B.we(L))},"c*c":function(l,f){const B=l.toBig(),L=f.toBig();return c(l,f).nb(B.Ac(L))},"c/c":function(l,f){try{const B=l.toBig(),L=f.toBig();return k.nb(B.Wb(L))}catch(B){n()}},"c%c":function(l,f){try{const B=l.toBig(),L=f.toBig();return k.nb(B.nf(L))}catch(B){n()}},"c~c":function(l,f){try{const B=l.toBig(),L=f.toBig(),y=B.Wb(L).round(0,0);return v.nb(y)}catch(B){n()}},"a+a":function(l,f){return m(l,f,"+")},"a-a":function(l,f){return m(l,f,"-")},"a*a":function(l, +f){return m(l,f,"*")},"a/a":function(l,f){return m(l,f,"/")},"a%a":function(l,f){return m(l,f,"%")},"a~a":function(l,f){return m(l,f,"~")},"u+u":function(l,f){const B=g.dayTimeDuration,L=g.yearMonthDuration;B.matches(l)&&B.matches(f)||L.matches(l)&&L.matches(f)||I(l,f,"+");return L.matches(l)?L.Xb(l.Ua+f.Ua,0):B.Xb(0,l.Qa+f.Qa)},"u-u":function(l,f){const B=g.dayTimeDuration,L=g.yearMonthDuration;B.matches(l)&&B.matches(f)||L.matches(l)&&L.matches(f)||I(l,f,"-");return L.matches(l)?L.Xb(l.Ua-f.Ua, +0):B.Xb(0,l.Qa-f.Qa)},"u*n":function(l,f){const B=g.dayTimeDuration,L=g.yearMonthDuration;B.matches(l)||L.matches(l)||I(l,f,"*");f=f.toNumber();if(!isFinite(f))throw new G("Cannot multiply duration by "+isNaN(f)?"NaN":"+/-INF",isNaN(f)?"FOCA0005":"FODT0002");return L.matches(l)?L.Xb(Math.round(l.Ua*f),0):B.Xb(0,Math.round(l.Qa*f))},"n*u":function(l,f){return mb["u*n"](f,l)},"u/n":function(l,f){const B=g.dayTimeDuration,L=g.yearMonthDuration;B.matches(l)||L.matches(l)||I(l,f,"/");f=f.toNumber();0=== +f&&n("FODT0002");if(isNaN(f))throw new G("Cannot divide duration by NaN","FOCA0005");f=L.matches(l)?l.Ua/f:l.Qa/f;isFinite(f)||F("FODT0002");return L.matches(l)?L.Xb(Math.round(f),0):B.Xb(0,Math.round(f))},"u/u":function(l,f){var B=g.dayTimeDuration;const L=g.yearMonthDuration;B.matches(l)&&B.matches(f)||L.matches(l)&&L.matches(f)||I(l,f,"/");B=new wa(0);l=new wa(L.matches(l)?l.Ua:l.Qa);f=new wa(L.matches(f)?f.Ua:f.Qa);0===f.cmp(B)&&n();try{return k.nb(l.Wb(f))}catch(y){F()}},"t+u":function(l,f){const B= +g.dayTimeDuration,L=g.yearMonthDuration;B.matches(f)||L.matches(f)||I(l,f,"+");return B.matches(f)?La.codes[l.code].fromDate(new Date(l.Na.getTime()+f.Qa),l.Fa):hb(l,f.Ua)},"u+t":function(l,f){return mb["t+u"](f,l)},"t-u":function(l,f){const B=g.dayTimeDuration,L=g.yearMonthDuration;B.matches(f)||L.matches(f)||I(l,f,"-");return B.matches(f)?La.codes[l.code].fromDate(new Date(l.Na.getTime()-f.Qa),l.Fa):hb(l,-f.Ua)},"t-t":function(l,f){return g.dayTimeDuration.Xb(0,l.Na.getTime()-f.Na.getTime())}}; +return D}(); // Input 11 -function nb(a){function c(){function p(C){throw new F("In alphaCode '"+a+"' @ "+E+": "+C);}function g(C){const m=E>=a.length?-1:a.charAt(E++);m!==C&&p("Expected '"+C+"', found '"+m+"'")}function e(){let C=0,m=E;for(;E=a.length?-1:a.charAt(F++);l!==D&&m("Expected '"+D+"', found '"+l+"'")}function e(){let D=0,l=F;for(;Fa?this.current=this.g.next():0q)this.g.next(),a=this.g.ua();else if(0c)return this.current=this.g.next();0a?this.current=this.g.next():0n)this.g.next(),a=this.g.ua();else if(0c)return this.current=this.g.next();0this.j)if(this.g instanceof Kb)this.j=this.g.expand().length;else{const a=[];let c;for(;null!==(c=this.g.next());)a.push(c);this.j=this.position+a.length;this.g=Kb(a)}return this.j}showValue(){return"Tracker of "+this.g.showValue()}} -class Lb extends vb{constructor(a){super();this.current=a;this.position=1}next(){return null}last(){return 1}}class Mb extends vb{constructor(a){super();this.g=a}next(){const a=this.g.next();return a.done?null:a.value}}class Nb extends vb{constructor(a,c,q){super();this.g=a;this.j=q;for(this.B=1;!(this.B++>=c);)if(null==this.g.next()){this.j=Number.NEGATIVE_INFINITY;break}}next(){return this.B++<=this.j?this.g.next():null}}const Ob=new Ab;function Pb(a){return new zb(a)} +class Lb extends vb{constructor(a){super();this.current=a;this.position=1}next(){return null}last(){return 1}}class Mb extends vb{constructor(a){super();this.g=a}next(){const a=this.g.next();return a.done?null:a.value}}class Nb extends vb{constructor(a,c,n){super();this.g=a;this.j=n;for(this.B=1;!(this.B++>=c);)if(null==this.g.next()){this.j=Number.NEGATIVE_INFINITY;break}}next(){return this.B++<=this.j?this.g.next():null}}const Ob=new Ab;function Pb(a){return new zb(a)} function Qb(a){return new Db(a)}function Rb(a){return new Lb(a)}function Sb(a){return new Jb(a)}function Kb(a){return new Bb(a)}function Tb(a){return new zb(ub.string.fromString(a))}function Ub(a){return new zb(ub.integer.fromNumber(a))}function Vb(a){return new zb(ub.double.fromNumber(a))}function Wb(a){return new zb(ub.mb.nb(a))}function Xb(a){return new zb(ub.boolean.fromBoolean(a))}var Yb={};Yb.Sj=vb;Yb.Yj=Hb;Yb.Zj=Ob;Yb.$j=Ab;Yb.bk=wb;Yb.ck=Kb;Yb.dk=Bb;Yb.ek=Mb;Yb.hk=Gb;Yb.ik=Qb;Yb.jk=Db; Yb.kk=Ib;Yb.pk=yb;Yb.qk=xb;Yb.tk=Pb;Yb.uk=zb;Yb.vk=Rb;Yb.wk=Lb;Yb.xk=Cb;Yb.yk=Nb;Yb.Bk=Sb;Yb.Ck=Jb;Yb.Fk=Eb;Yb.hl=Xb;Yb.il=Wb;Yb.jl=Vb;Yb.kl=function(a){return new zb(ub.float.fromNumber(a))};Yb.ll=Ub;Yb.ml=Tb; // Input 13 // Input 14 -var Zb={Wc:"http://www.w3.org/1999/XSL/Transform",Oa:"http://www.w3.org/2005/xpath-functions",yh:"http://www.w3.org/2005/xpath-functions/math",map:"http://www.w3.org/2005/xpath-functions/map",Ue:"http://www.w3.org/2005/xpath-functions/array",xml:"http://www.w3.org/XML/1998/namespace",lc:"http://www.w3.org/2001/XMLSchema",vl:"http://www.w3.org/2001/XMLSchema-instance",zi:"http://www.w3.org/2005/xqt-errors",nd:"http://saxonica.com/ns/interactiveXSLT",xh:"http://saxonica.com/ns/globalJS",wb:"http://saxon.sf.net/", +var Zb={Xc:"http://www.w3.org/1999/XSL/Transform",Oa:"http://www.w3.org/2005/xpath-functions",yh:"http://www.w3.org/2005/xpath-functions/math",map:"http://www.w3.org/2005/xpath-functions/map",Ue:"http://www.w3.org/2005/xpath-functions/array",xml:"http://www.w3.org/XML/1998/namespace",mc:"http://www.w3.org/2001/XMLSchema",vl:"http://www.w3.org/2001/XMLSchema-instance",zi:"http://www.w3.org/2005/xqt-errors",nd:"http://saxonica.com/ns/interactiveXSLT",xh:"http://saxonica.com/ns/globalJS",wb:"http://saxon.sf.net/", Ci:"http://ns.saxonica.com/xslt/export",withPrefix:{xsl:"http://www.w3.org/1999/XSL/Transform",fn:"http://www.w3.org/2005/xpath-functions",math:"http://www.w3.org/2005/xpath-functions/math",map:"http://www.w3.org/2005/xpath-functions/map",array:"http://www.w3.org/2005/xpath-functions/array",xml:"http://www.w3.org/XML/1998/namespace",xs:"http://www.w3.org/2001/XMLSchema",xsi:"http://www.w3.org/2001/XMLSchema-instance",err:"http://www.w3.org/2005/xqt-errors",ixsl:"http://saxonica.com/ns/interactiveXSLT", -js:"http://saxonica.com/ns/globalJS",saxon:"http://saxon.sf.net/",ex:"http://ns.saxonica.com/xslt/export"},yg:"http://ns.saxonica.com/anonymous-type"}; +js:"http://saxonica.com/ns/globalJS",saxon:"http://saxon.sf.net/",ex:"http://ns.saxonica.com/xslt/export"},zg:"http://ns.saxonica.com/anonymous-type"}; // Input 15 -var ac=function(){function a(p){return p?9===p.nodeType?p:a(p.ownerDocument):null}const c=La.XS;let q=1;const E={Zc:function(p){switch(p.nodeType){case 9:case 11:return Ob;case 2:return p.parent?new Cb(p.parent,g=>g.parentNode):Ob;default:return(p=p.parentNode)?new Cb(p,g=>g.parentNode):Ob}},Ya:function(p){return Qb([Pb(p),E.Zc(p)])},Ha:function(p){if(1===p.nodeType){const g=p.attributes,e=p.ownerDocument.documentElement&&pa.Zb(p.ownerDocument.documentElement),k=[];for(let v=0;vk.nextSibling)}if(null===p)return Ob;switch(p.nodeType){case 9:return g(p).filter(function(e){return!(7===e.nodeType&&"xml"=== -e.target||3===e.nodeType||4===e.nodeType)});case 11:case 1:return g(p);default:return Ob}},me:function(p){return E.Ka(p).mapOneToMany(function(g){return E.oe(g)})},oe:function(p){return Qb([Pb(p),E.me(p)])},eh:function(p){switch(p.nodeType){case 9:case 11:return Ob;case 2:case 13:return p=ac.Xa(p),null===p?Ob:Qb([E.me(p),E.eh(p)]);default:return E.Ya(p).mapOneToMany(function(g){return E.fh(g).mapOneToMany(E.oe)})}},fh:function(p){switch(p.nodeType){case 9:case 11:case 2:case 13:return Ob;default:return new Cb(p.nextSibling, -g=>g.nextSibling)}},ob:function(p){return 1===p.nodeType?Kb(ac.Ic(p).map(function(g){return new bc(g.prefix,g.uri,p)})):Ob},parent:function(p){return Pb(ac.Xa(p))},og:function(p){return E.Ya(p).mapOneToMany(function(g){return E.Oc(g).mapOneToMany(function(e){return Kb(E.oe(e).expand().reverse())})})},Oc:function(p){switch(p.nodeType){case 9:case 11:case 2:case 13:return Ob;default:return new Cb(p.previousSibling,g=>g.previousSibling)}},self:function(p){return Pb(p)}},H={Ja:E,Ng:{ancestor:E.Zc,"ancestor-or-self":E.Ya, -attribute:E.Ha,child:E.Ka,descendant:E.me,"descendant-or-self":E.oe,following:E.eh,"following-sibling":E.fh,namespace:E.ob,parent:E.parent,preceding:E.og,"preceding-sibling":E.Oc,self:E.self},Gc:a,rc:function(p){return E.Ya(p).expand().pop()},wc:function(p){p._saxonDocumentNumber||(p._saxonDocumentNumber=q++);return p},ui:function(p){return ac.wc(p)._saxonDocumentNumber},ca:function(p){if(!p||!p.nodeType)return null;switch(p.nodeType){case 1:return c.QName.fromParts(p.prefix,p.namespaceURI,p.localName); -case 2:if("xml"===p.prefix)return c.QName.fromParts(p.prefix,Zb.xml,p.localName);if(!p.yc)throw new F("ATTRIBUTE_NODE not local","SXJS0004");return p.yc;case 7:return c.QName.fromParts("","",p.target);case 13:return p.prefix?c.QName.fromParts("","",p.prefix):null;default:return null}},Tk:function(p,g){if(!p||!p.nodeType)return!1;switch(p.nodeType){case 1:case 2:return p.localName===g;case 7:return p.target===g;case 13:return p.prefix===g;default:return!1}},hasURI:function(p,g){if(!p||!p.nodeType)return!1; -switch(p.nodeType){case 1:return(p.namespaceURI||"")===g;case 2:return"xml"===p.prefix?Zb.xml===g:p.namespaceURI===g;default:return""===g}},Ec:function(p,g){let e=[];for(p=p.firstChild;null!==p;)1!==p.nodeType||g&&g!==p.tagName||e.push(p),p=p.nextSibling;return e},firstElementChild:function(p,g){for(p=p.firstChild;null!==p;){if(1===p.nodeType&&(!g||g===p.tagName))return p;p=p.nextSibling}return null},kd:function(p){const g=p.expand();if(1{ac.X(t)?(v=!1,ac.Xa(t)? -e=!1:t._saxonDocumentNumber?e=!1:ac.wc(t)):k=!1});if(!k&&!v)throw new F("Cannot sort a sequence including both nodes and non-nodes","XPTY0018");e||v||g.sort(ac.rb);return Kb(g).mapOneToOne(function(t,C){return 0t?ac.rb(e,g):ac.rb(p,k)}},Xa:function(p){return ac.re(p)?p.parent:p.parentNode},bf:function(p,g,e){p.setAttributeNS("http://www.w3.org/2000/xmlns/",""===g?"xmlns":"xmlns:"+g,e)},Ic:function(p,g=E.Ya){let e=[{prefix:"xml",uri:Zb.xml}],k={xml:!0};for(p=g(p);null!==(g=p.next());)if(1===g.nodeType){var v=ac.ca(g);""===v.prefix&&""===v.uri&&(k[""]=!0);g=g.attributes;for(v=0;vg.parentNode):Ob;default:return(m=m.parentNode)?new Cb(m,g=>g.parentNode):Ob}},Xa:function(m){return Qb([Pb(m),F.$c(m)])},Ha:function(m){if(1===m.nodeType){const g=m.attributes,e=m.ownerDocument.documentElement&&qa.$b(m.ownerDocument.documentElement),k=[];for(let v=0;vk.nextSibling)}if(null===m)return Ob;switch(m.nodeType){case 9:return g(m).filter(function(e){return!(7===e.nodeType&&"xml"=== +e.target||3===e.nodeType||4===e.nodeType)});case 11:case 1:return g(m);default:return Ob}},cf:function(m){return F.Ka(m).mapOneToMany(function(g){return F.oe(g)})},oe:function(m){return Qb([Pb(m),F.cf(m)])},fh:function(m){switch(m.nodeType){case 9:case 11:return Ob;case 2:case 13:return m=ac.$a(m),null===m?Ob:Qb([F.cf(m),F.fh(m)]);default:return F.Xa(m).mapOneToMany(function(g){return F.gh(g).mapOneToMany(F.oe)})}},gh:function(m){switch(m.nodeType){case 9:case 11:case 2:case 13:return Ob;default:return new Cb(m.nextSibling, +g=>g.nextSibling)}},ob:function(m){return 1===m.nodeType?Kb(ac.Jc(m).map(function(g){return new bc(g.prefix,g.uri,m)})):Ob},parent:function(m){return Pb(ac.$a(m))},pg:function(m){return F.Xa(m).mapOneToMany(function(g){return F.Qc(g).mapOneToMany(function(e){return Kb(F.oe(e).expand().reverse())})})},Qc:function(m){switch(m.nodeType){case 9:case 11:case 2:case 13:return Ob;default:return new Cb(m.previousSibling,g=>g.previousSibling)}},self:function(m){return Pb(m)}},I={Ja:F,Og:{ancestor:F.$c,"ancestor-or-self":F.Xa, +attribute:F.Ha,child:F.Ka,descendant:F.cf,"descendant-or-self":F.oe,following:F.fh,"following-sibling":F.gh,namespace:F.ob,parent:F.parent,preceding:F.pg,"preceding-sibling":F.Qc,self:F.self},Hc:a,sc:function(m){return F.Xa(m).expand().pop()},xc:function(m){m._saxonDocumentNumber||(m._saxonDocumentNumber=n++);return m},ui:function(m){return ac.xc(m)._saxonDocumentNumber},ca:function(m){if(!m||!m.nodeType)return null;switch(m.nodeType){case 1:return c.QName.fromParts(m.prefix,m.namespaceURI,m.localName); +case 2:if("xml"===m.prefix)return c.QName.fromParts(m.prefix,Zb.xml,m.localName);if(!m.zc)throw new G("ATTRIBUTE_NODE not local","SXJS0004");return m.zc;case 7:return c.QName.fromParts("","",m.target);case 13:return m.prefix?c.QName.fromParts("","",m.prefix):null;default:return null}},Tk:function(m,g){if(!m||!m.nodeType)return!1;switch(m.nodeType){case 1:case 2:return m.localName===g;case 7:return m.target===g;case 13:return m.prefix===g;default:return!1}},hasURI:function(m,g){if(!m||!m.nodeType)return!1; +switch(m.nodeType){case 1:return(m.namespaceURI||"")===g;case 2:return"xml"===m.prefix?Zb.xml===g:m.namespaceURI===g;default:return""===g}},Fc:function(m,g){let e=[];for(m=m.firstChild;null!==m;)1!==m.nodeType||g&&g!==m.tagName||e.push(m),m=m.nextSibling;return e},firstElementChild:function(m,g){for(m=m.firstChild;null!==m;){if(1===m.nodeType&&(!g||g===m.tagName))return m;m=m.nextSibling}return null},kd:function(m){const g=m.expand();if(1{ac.X(t)?(v=!1,ac.$a(t)? +e=!1:t._saxonDocumentNumber?e=!1:ac.xc(t)):k=!1});if(!k&&!v)throw new G("Cannot sort a sequence including both nodes and non-nodes","XPTY0018");e||v||g.sort(ac.rb);return Kb(g).mapOneToOne(function(t,D){return 0t?ac.rb(e,g):ac.rb(m,k)}},$a:function(m){return ac.re(m)?m.parent:m.parentNode},bf:function(m,g,e){m.setAttributeNS("http://www.w3.org/2000/xmlns/",""===g?"xmlns":"xmlns:"+g,e)},Jc:function(m,g=F.Xa){let e=[{prefix:"xml",uri:Zb.xml}],k={xml:!0};for(m=g(m);null!==(g=m.next());)if(1===g.nodeType){var v=ac.ca(g);""===v.prefix&&""===v.uri&&(k[""]=!0);g=g.attributes;for(v=0;vq(E))}toString(){return this.U instanceof Dc&&1===this.fa?"empty-sequence()": +const dc={Aa:null,nc:null,Hf:null,Oe:null,ec:null,Ad:null,fc:null,Jg:null,If:null,Kg:null,Eg:null,cb:null,bi:null,Bd:null,Gg:null,Gf:null,ee:null,Dg:null,Hg:null,Cg:null,Ig:null,de:null,ce:null,Ke:null,Qe:null,Jf:null,Df:null,Ie:null};function ec(a){if(/^[01?+*]/.test(a)){var c=a.charAt(0);var n=a.substring(1)}else c="1",n=a;n=fc(n);c=new gc(n,hc(c));c.g=a;return c}function ic(a){const c=jc(a);return new gc(c,hc(a.o))}function kc(a){sa.assert(a instanceof lc);return new gc(a,2)} +function mc(){function a(n,F){return new gc(n,F)}function c(n,F){return a(new nc(La.codes[n]),hc(F))}oc=new pc;qc=new rc;sc=new tc;uc=new vc;wc=new xc;yc=new zc;Ac=new Bc;Cc=new Dc;Ec=new Fc(9);Gc=new Fc(1);Hc=new Fc(2);Ic=new Fc(3);Jc=new Fc(8);Kc=new Fc(7);Lc=new Fc(13);Mc=new nc(La.XS.double);Nc=new nc(La.XS.float);Oc=new nc(La.XS.string);Pc=new nc(La.XS.mb);Qc=new nc(La.XS.integer);Rc=new nc(La.XS.dayTimeDuration);Sc=new nc(La.XS.Qf);Tc.NMTOKENS=La.type.NMTOKEN;Tc.IDREFS=La.type.IDREF;Tc.ENTITIES= +La.type.ENTITY;Object.assign(dc,{Aa:a(Uc,7),nc:a(Uc,2),Hf:a(Uc,3),Oe:c("A","1"),ec:c("A","?"),Ad:c("A","*"),fc:c("AS","1"),Jg:c("AZ","1"),If:c("AZ","?"),Kg:c("AZ","*"),Eg:c("AS","?"),cb:c("AB","1"),bi:c("AB","?"),Bd:c("ADI","1"),Gg:c("AD","1"),Gf:c("ADI","?"),ee:c("AO","1"),Dg:c("AO","?"),Hg:c("AF","1"),Cg:c("AU","?"),Ig:c("AQ","1"),de:a(qc,3),ce:a(qc,7),Ke:c("ADI","*"),Qe:a(wc,2),Jf:a(yc,2),Df:a(wc,7),Ie:a(Cc,1)})}function Vc(a,c){return new gc(a.U,c)} +function Wc(a,c){var n=a.fa;return new gc(a.U,1===n||1===c?1:2===c?n:2===n?c:Xc(n)||Xc(c)?7:6===n&&6===c?6:7)} +class gc{constructor(a,c){this.U=a;this.fa=c;this.j=this.g=null}$(){if(!this.j)if(this.g)this.j=rb(this.g);else{const a=Object.assign(this.U.$()||{});a.o=Yc(this.fa);this.j=a}return this.j}ha(){this.g||(this.g=this.j?sb(this.j):(Yc(this.fa)||"1")+this.U.ha());return this.g}matches(a){let c;switch(a.length){case 0:c=Xc(this.fa);break;case 1:c=1!==this.fa;break;default:c=Zc(this.fa)}if(!c)return!1;const n=this.U.ia();return a.every(F=>n(F))}toString(){return this.U instanceof Dc&&1===this.fa?"empty-sequence()": this.U.toString()+Yc(this.fa)}equals(a){return this.ha()===a.ha()}}; // Input 18 -class $c{constructor(a){Array.isArray(a)||sa.la("XdmArray value must be an array. Supplied:"+a);this.value=a}get(a){if("number"!=typeof a)throw new F("Array subscript is not numeric","XPTY0004");if(1>a||a>this.value.length)throw new F("Array index ("+a+") out of bounds (1 to "+this.value.length+")","FOAY0001");return this.value[a-1]}evaluate(a){return Kb(this.value[a[0][0]-1])}size(){return this.value.length}showValue(){let a="[";for(let c=0;cc;c++)0!==c&&(a+=","),a+=sa.showValue(this.value[c]); -4<=this.value.length&&(a+=",...("+this.value.length+")");return a+"]"}flatten(a){for(let c=0;ca||a>this.value.length)throw new G("Array index ("+a+") out of bounds (1 to "+this.value.length+")","FOAY0001");return this.value[a-1]}evaluate(a){return Kb(this.value[a[0][0]-1])}size(){return this.value.length}showValue(){let a="[";for(let c=0;cc;c++)0!==c&&(a+=","),a+=sa.showValue(this.value[c]); +4<=this.value.length&&(a+=",...("+this.value.length+")");return a+"]"}flatten(a){for(let c=0;c"dynamic call of "+this.sc());return v}convertResult(k){return Kb(cd.Uf(k,this.resultType,()=>"result of dynamic call of "+this.sc()))}gg(){return new dd(this.j,this.resultType)}}class c extends a{constructor(k,v,t,C,m){super(k,t);this.name=v;this.ka=[Zb.yh, -Zb.map,Zb.Ue,Zb.wb,Zb.nd].includes(v.uri)?cd.Bi:cd.Ai;this.K=C;if(k.defaultToDot&&0===t||["accumulator-after","accumulator-before","lang"].includes(v.local))this.I=ed(m)}ic(){return this.name}evaluate(k,v,t){var C=this.ic().local;if("current"===C)throw new F("current() function cannot be evaluated dynamically","XTDE1360");if("current-output-uri"===C)return Ob;if("regex-group"===C)return Tb("");let m=v;this.I&&(m=v.ba(),m.focus=Rb(this.I));v=["string-length","normalize-space"].includes(C);const f= -this.xb.defaultToDot;C="number"===C;if((v||f||C)&&0===k.length){fd(m,"XPDY0002",". (dot)");t=ed(m);if(v||C)t=cd.Sb(t).next();v&&(t=La.XS.string.R(t));k.push([t])}else k=this.g(k,t);return this.ka(this.ic(),k,m,this.K)}}const q={NMTOKENS:"NMTOKEN",IDREFS:"IDREF",ENTITIES:"ENTITY"};class E extends a{constructor(k,v,t){super(k,1);this.name=v;if(k=q[v.local]){const C=La.type[k].fromString;sa.assert(C);this.evaluate=m=>{m=this.g(m,t)[0][0].toString();m=xa(m).split(" ");return Kb(m.map(C))}}else if("QName"=== -v.local){const C=cd.Wd(t,!0);this.evaluate=m=>{m=this.g(m,t)[0][0].toString();return Pb(La.XS.QName.fromString(m,C))}}else{const C=La.type[v.local].R;sa.assert(C);this.evaluate=m=>Pb(C(this.g(m,t)[0][0]))}}ic(){return this.name}}class H extends a{constructor(k,v){super(k,k.alphaTree.a.length);this.K=k.componentBinding;this.I=v.fixed.La[this.K];this.body=cd.da(this.I.actor,"body");this.name=La.XS.QName.fromEQName(this.I.actor.name)}ic(){return this.name}evaluate(k,v,t){k=this.g(k,t);v=v.ba(!0);gd(v); -v.qa="function";v.gb={};v.ab=null;v.focus=null;v.sa=this.I;for(t=0;t"dynamic call of "+this.tc());return v}convertResult(k){return Kb(cd.Uf(k,this.resultType,()=>"result of dynamic call of "+this.tc()))}gg(){return new dd(this.j,this.resultType)}}class c extends a{constructor(k,v,t,D,l){super(k,t);this.name=v;this.ka=[Zb.yh, +Zb.map,Zb.Ue,Zb.wb,Zb.nd].includes(v.uri)?cd.Bi:cd.Ai;this.K=D;if(k.defaultToDot&&0===t||["accumulator-after","accumulator-before","lang"].includes(v.local))this.I=ed(l)}jc(){return this.name}evaluate(k,v,t){var D=this.jc().local;if("current"===D)throw new G("current() function cannot be evaluated dynamically","XTDE1360");if("current-output-uri"===D)return Ob;if("regex-group"===D)return Tb("");let l=v;this.I&&(l=v.ba(),l.focus=Rb(this.I));v=["string-length","normalize-space"].includes(D);const f= +this.xb.defaultToDot;D="number"===D;if((v||f||D)&&0===k.length){fd(l,"XPDY0002",". (dot)");t=ed(l);if(v||D)t=cd.Tb(t).next();v&&(t=La.XS.string.R(t));k.push([t])}else k=this.g(k,t);return this.ka(this.jc(),k,l,this.K)}}const n={NMTOKENS:"NMTOKEN",IDREFS:"IDREF",ENTITIES:"ENTITY"};class F extends a{constructor(k,v,t){super(k,1);this.name=v;if(k=n[v.local]){const D=La.type[k].fromString;sa.assert(D);this.evaluate=l=>{l=this.g(l,t)[0][0].toString();l=xa(l).split(" ");return Kb(l.map(D))}}else if("QName"=== +v.local){const D=cd.Xd(t,!0);this.evaluate=l=>{l=this.g(l,t)[0][0].toString();return Pb(La.XS.QName.fromString(l,D))}}else{const D=La.type[v.local].R;sa.assert(D);this.evaluate=l=>Pb(D(this.g(l,t)[0][0]))}}jc(){return this.name}}class I extends a{constructor(k,v){super(k,k.alphaTree.a.length);this.K=k.componentBinding;this.I=v.fixed.La[this.K];this.body=cd.da(this.I.actor,"body");this.name=La.XS.QName.fromEQName(this.I.actor.name)}jc(){return this.name}evaluate(k,v,t){k=this.g(k,t);v=v.ba(!0);gd(v); +v.qa="function";v.gb={};v.ab=null;v.focus=null;v.sa=this.I;for(t=0;t!0}$(){if(!this.g)if(this.K)this.g=rb(this.K);else return null;return this.g}ha(){if(!this.K)if(this.g)id(this,sb(this.g));else return null;return this.K}pa(a="A"){return this.$().p.startsWith(a)}isNumeric(){return kd(this)||/^A[ODF]/.test(this.$().p.substring(0))}Jd(){return/^F/.test(this.$().p)}$i(){return!0}B(){return null}I(){return null}aa(){return null}toString(){return this.ha()}equals(a){return this.ha()===a.ha()}} class pc extends lc{constructor(){super();id(this,"");this.g={p:""}}ia(){return()=>!0}toString(){return"item()"}}var oc;const Uc=new pc;class rc extends lc{constructor(){super();id(this,"N");this.g={p:"N"}}ia(){return a=>ac.X(a)}toString(){return"node()"}}var qc;class tc extends lc{constructor(){super();id(this,"N u[NT,NP,NC,NE]");this.g={p:"N",u:[{p:"NT"},{p:"NP"},{p:"NC"},{p:"NE"}]}}ia(){return a=>ac.X(a)&&[1,3,4,8,7].includes(a.nodeType)}toString(){return"node()"}}var sc; -function ld(a){switch(a){case 9:return Ec;case 1:return Gc;case 2:return Hc;case 8:return Jc;case 3:case 4:return Ic;case 7:return Kc;case 13:return Lc;default:throw new F("Unknown node kind "+a);}}function md(a){switch(a){case 1:return"NE";case 3:return"NT";case 2:return"NA";case 9:return"ND";case 8:return"NC";case 4:return"NT";case 7:return"NP";case 13:return"NN";case 0:return"N";default:throw new F("Unknown node kind "+a+" in NodeKindTest");}} +function ld(a){switch(a){case 9:return Ec;case 1:return Gc;case 2:return Hc;case 8:return Jc;case 3:case 4:return Ic;case 7:return Kc;case 13:return Lc;default:throw new G("Unknown node kind "+a);}}function md(a){switch(a){case 1:return"NE";case 3:return"NT";case 2:return"NA";case 9:return"ND";case 8:return"NC";case 4:return"NT";case 7:return"NP";case 13:return"NN";case 0:return"N";default:throw new G("Unknown node kind "+a+" in NodeKindTest");}} class Fc extends lc{constructor(a){super();this.kind=a;a=md(a);id(this,a);this.g={p:a}}ia(){switch(this.kind){case 9:return a=>ac.X(a)&&(9===a.nodeType||11===a.nodeType);case 3:case 4:return a=>ac.X(a)&&(3===a.nodeType||4===a.nodeType);default:return a=>ac.X(a)&&a.nodeType===this.kind}}toString(){switch(this.kind){case 9:return"document-node()";case 1:return"element(*)";case 2:return"attribute(*)";case 8:return"comment()";case 3:case 4:return"text()";case 7:return"processing-instruction()";case 13:return"namespace-node()"; -case 0:return"node()";default:throw new F("Unknown node kind "+this.kind+" in NodeKindTest");}}}var Ec,Gc,Hc,Jc,Ic,Kc,Lc;class nd extends Fc{constructor(a,c){super(a);this.name=c;a=md(a);id(this,a+" n"+c.toEQName());this.g={p:a,n:c.toEQName()}}ia(){const a=this.name;return c=>{var q;if(q=ac.X(c)&&c.nodeType===this.kind)q=(c=ac.ca(c))&&a.equals(c);return q}}toString(){return super.toString().replace(/\(\*?\)/,"("+this.$().n+")")}} +case 0:return"node()";default:throw new G("Unknown node kind "+this.kind+" in NodeKindTest");}}}var Ec,Gc,Hc,Jc,Ic,Kc,Lc;class nd extends Fc{constructor(a,c){super(a);this.name=c;a=md(a);id(this,a+" n"+c.toEQName());this.g={p:a,n:c.toEQName()}}ia(){const a=this.name;return c=>{var n;if(n=ac.X(c)&&c.nodeType===this.kind)n=(c=ac.ca(c))&&a.equals(c);return n}}toString(){return super.toString().replace(/\(\*?\)/,"("+this.$().n+")")}} class od extends Fc{constructor(a,c){super(a);this.localName=c;a=md(a);id(this,a+" n*:"+c);this.g={p:a,n:"*:"+c}}ia(){return a=>ac.X(a)&&a.nodeType===this.kind&&ac.ca(a).local===this.localName}toString(){return super.toString().replace(/\(\*?\)/,"(*:"+this.localName+")")}} class pd extends Fc{constructor(a,c){super(a);this.uri=c;a=md(a);id(this,a+" nQ{"+c+"}*");this.g={p:a,n:"Q{"+c+"}*"}}ia(){return a=>ac.X(a)&&a.nodeType===this.kind&&ac.ca(a).uri===this.uri}toString(){return super.toString().replace(/\(\*?\)/,"Q{"+this.uri+"}*)")}} -class qd extends Fc{constructor(a){super(9);this.j=a;id(this,"ND e["+a.ha()+"]");this.g={p:"ND",e:a.$()}}ia(){return a=>ac.X(a)&&(9===a.nodeType||11===a.nodeType)&&this.j.ia()(a.firstChild)}toString(){return"document-node("+this.j.toString()+")"}}class nc extends lc{constructor(a){super();this.Vc=a;id(this,a.code);this.g={p:a.code}}ia(){return a=>this.Vc.matches(a)}toString(){return"xs:"+this.Vc.name}} +class qd extends Fc{constructor(a){super(9);this.j=a;id(this,"ND e["+a.ha()+"]");this.g={p:"ND",e:a.$()}}ia(){return a=>ac.X(a)&&(9===a.nodeType||11===a.nodeType)&&this.j.ia()(a.firstChild)}toString(){return"document-node("+this.j.toString()+")"}}class nc extends lc{constructor(a){super();this.Wc=a;id(this,a.code);this.g={p:a.code}}ia(){return a=>this.Wc.matches(a)}toString(){return"xs:"+this.Wc.name}} class vc extends lc{constructor(){super();id(this,"A m[AO,AD,AF]");this.g={p:"A",m:[{p:"AO"},{p:"AD"},{p:"AF"}]}}ia(){return a=>/^A[ODF]/.test(a.code)}toString(){return"xs:numeric"}}var uc;class Dc extends lc{ha(){return"E"}$(){return{p:"E"}}ia(){return()=>!1}toString(){return"xs:error"}}var Cc; -class rd extends lc{constructor(){super();this.j=[];this.resultType=null}Nb(a){if(!(a instanceof rd))return sd.cc;if(a instanceof zc||a instanceof Bc)return sd.Rb;if(!(a instanceof dd||a instanceof td||a instanceof ud))return sd.nc;if(this.j.length!==a.j.length)return sd.cc;const c=function(E,H,p){return E.map((g,e)=>p(g,H[e]))}(this.j,a.j,sd.Lh),q=sd.Lh(this.resultType,a.resultType);return c.every(E=>E===sd.yb)&&q===sd.yb?sd.yb:c.every(E=>[sd.yb,sd.nc].includes(E)&&[sd.yb,sd.Rb].includes(q))?sd.Rb: -c.every(E=>[sd.yb,sd.Rb].includes(E)&&[sd.yb,sd.nc].includes(q))?sd.nc:sd.Eg}ff(){return dc.Aa}}class xc extends rd{constructor(){super();id(this,"F");this.g={p:"F"}}ia(){return a=>a instanceof ad.XdmFunction||a instanceof $c||a instanceof cc||a instanceof cd.Ef}Nb(a){return a instanceof xc?sd.yb:/^F/.test(a.$().p)?sd.Rb:sd.cc}toString(){return"function(*)"}}var wc;function vd(a,c){let q=[];c.forEach(E=>{q.push(a.j[E])});return new dd(q,a.resultType)} -class dd extends rd{constructor(a,c){super();sa.assert(c instanceof gc);sa.assert(a.every(q=>q instanceof gc));this.j=a;this.resultType=c;id(this,"F a["+a.map(q=>q.ha()).join(",")+"] r["+c.ha()+"]");hd(this,{p:"F",a:a.map(q=>q.$()),r:c.$()})}ia(){const a=this;return function(c){return c instanceof $c?1===a.j.length&&2===a.j[0].fa&&c.conforms(a.j[0].U.ia(),a.resultType.U.ia(),wd(a.resultType.fa)):c instanceof cc?1===a.j.length&&2===a.j[0].fa&&a.j[0].U instanceof nc&&c.conforms(()=>!0,a.resultType.U.ia(), -wd(a.resultType.fa)):c instanceof ad.XdmFunction?(c=a.Nb(c.gg()),[sd.yb,sd.Rb].includes(c)):!1}}ff(){return this.resultType}toString(){return"(function("+this.j.map(a=>a.toString()).join(",")+") as "+this.resultType.toString()+")"}}class zc extends rd{constructor(){super();id(this,"FM");this.g={p:"FM"}}I(){return Sc}aa(){return dc.Aa}ia(){return a=>a instanceof cc||a instanceof cd.Ef}toString(){return"map(*)"}}var yc; -class td extends rd{constructor(a,c){super();sa.assert(a instanceof lc);sa.assert(c instanceof gc);this.V=a;this.valueType=c;id(this,"FM k["+a.ha()+"] v["+c.ha()+"]");this.g={p:"FM",k:a.$(),v:c.$()}}ia(){return a=>a instanceof cc&&a.conforms(this.V.ia(),this.valueType.U.ia(),wd(this.valueType.fa))}toString(){return"map("+this.V.toString()+","+this.valueType.toString()+")"}I(){return this.V}aa(){return this.valueType}ff(){return this.valueType}} -class Bc extends rd{constructor(){super();id(this,"FA");this.g={p:"FA"}}ia(){return a=>a instanceof $c}toString(){return"array(*)"}B(){return dc.Aa}}var Ac;class ud extends rd{constructor(a){super();sa.assert(a instanceof gc);this.V=a;id(this,"FA v["+a.ha()+"]");this.g={p:"FA",v:a.$()}}ia(){return a=>a instanceof $c&&a.value.every(c=>this.V.matches(c))}toString(){return"array("+this.V.toString()+")"}B(){return this.V}ff(){return this.V}} -class xd extends lc{constructor(a,c){super();this.j=a;this.V=c;var q=a.$();const E=c.$();q=tb(q.p,E.p);id(this,q+" u["+a.ha()+","+c.ha()+"]");this.g={p:q,u:[a.$(),c.$()]}}ia(){const a=this.j.ia(),c=this.V.ia();return q=>a(q)||c(q)}I(){const a=this.j.I(),c=this.V.I();return new xd(a,c)}B(){const a=this.j.B(),c=this.V.B(),q=a.fa;return q===c.fa?new gc(new xd(a.U,c.U),q):dc.Aa}} -class yd extends lc{constructor(a,c){super();this.j=a;this.V=c;var q=a.$();const E=c.$();q=q.p.startsWith(E.p)?q.p:E.p.startsWith(q.p)?E.p:q.p.charAt(0)===E.p.charAt(0)?q.p.charAt(0):"";id(this,q+" i["+a.ha()+","+c.ha()+"]");this.g={p:q,i:[a.$(),c.$()]}}ia(){const a=this.j.ia(),c=this.V.ia();return q=>a(q)&&c(q)}} -class zd extends lc{constructor(a,c){super();this.j=a;this.V=c;var q=a.$();const E=c.$();q=q.p.startsWith(E.p)?q.p:E.p.startsWith(q.p)?E.p:q.p.charAt(0)===E.p.charAt(0)?q.p.charAt(0):"";id(this,q+" d["+a.ha()+","+c.ha()+"]");this.g={p:q,d:[a.$(),c.$()]}}ia(){const a=this.j.ia(),c=this.V.ia();return q=>a(q)&&!c(q)}}const Ad={};function fc(a){var c=Ad[a];if(c)return c;c=rb(a);c=jc(c);return Ad[a]=c} -function jc(a){var c=a.p;if(""===c)return oc;if(a.u)return c=jc(a.u[0]),a.u.slice(1).reduce((q,E)=>new xd(q,jc(E)),c);if(a.i)return c=jc(a.i[0]),a.i.slice(1).reduce((q,E)=>new yd(q,jc(E)),c);if(a.d)return new zd(jc(a.d[0]),jc(a.d[1]));switch(c.charAt(0)){case "A":if("Q{http://www.w3.org/2001/XMLSchema}numeric"===a.n)return uc;if(a.m){a=a.m;if(3===a.length&&a.some(q=>"AO"===q.p)&&a.some(q=>"AD"===q.p)&&a.some(q=>"AF"===q.p))return uc;sa.la("Unhandled atomic union type")}else return new nc(La.codes[c]); +class rd extends lc{constructor(){super();this.j=[];this.resultType=null}Ob(a){if(!(a instanceof rd))return sd.dc;if(a instanceof zc||a instanceof Bc)return sd.Sb;if(!(a instanceof dd||a instanceof td||a instanceof ud))return sd.oc;if(this.j.length!==a.j.length)return sd.dc;const c=function(F,I,m){return F.map((g,e)=>m(g,I[e]))}(this.j,a.j,sd.Lh),n=sd.Lh(this.resultType,a.resultType);return c.every(F=>F===sd.yb)&&n===sd.yb?sd.yb:c.every(F=>[sd.yb,sd.oc].includes(F)&&[sd.yb,sd.Sb].includes(n))?sd.Sb: +c.every(F=>[sd.yb,sd.Sb].includes(F)&&[sd.yb,sd.oc].includes(n))?sd.oc:sd.Fg}gf(){return dc.Aa}}class xc extends rd{constructor(){super();id(this,"F");this.g={p:"F"}}ia(){return a=>a instanceof ad.XdmFunction||a instanceof $c||a instanceof cc||a instanceof cd.Ef}Ob(a){return a instanceof xc?sd.yb:/^F/.test(a.$().p)?sd.Sb:sd.dc}toString(){return"function(*)"}}var wc;function vd(a,c){let n=[];c.forEach(F=>{n.push(a.j[F])});return new dd(n,a.resultType)} +class dd extends rd{constructor(a,c){super();sa.assert(c instanceof gc);sa.assert(a.every(n=>n instanceof gc));this.j=a;this.resultType=c;id(this,"F a["+a.map(n=>n.ha()).join(",")+"] r["+c.ha()+"]");hd(this,{p:"F",a:a.map(n=>n.$()),r:c.$()})}ia(){const a=this;return function(c){return c instanceof $c?1===a.j.length&&2===a.j[0].fa&&c.conforms(a.j[0].U.ia(),a.resultType.U.ia(),wd(a.resultType.fa)):c instanceof cc?1===a.j.length&&2===a.j[0].fa&&a.j[0].U instanceof nc&&c.conforms(()=>!0,a.resultType.U.ia(), +wd(a.resultType.fa)):c instanceof ad.XdmFunction?(c=a.Ob(c.gg()),[sd.yb,sd.Sb].includes(c)):!1}}gf(){return this.resultType}toString(){return"(function("+this.j.map(a=>a.toString()).join(",")+") as "+this.resultType.toString()+")"}}class zc extends rd{constructor(){super();id(this,"FM");this.g={p:"FM"}}I(){return Sc}aa(){return dc.Aa}ia(){return a=>a instanceof cc||a instanceof cd.Ef}toString(){return"map(*)"}}var yc; +class td extends rd{constructor(a,c){super();sa.assert(a instanceof lc);sa.assert(c instanceof gc);this.V=a;this.valueType=c;id(this,"FM k["+a.ha()+"] v["+c.ha()+"]");this.g={p:"FM",k:a.$(),v:c.$()}}ia(){return a=>a instanceof cc&&a.conforms(this.V.ia(),this.valueType.U.ia(),wd(this.valueType.fa))}toString(){return"map("+this.V.toString()+","+this.valueType.toString()+")"}I(){return this.V}aa(){return this.valueType}gf(){return this.valueType}} +class Bc extends rd{constructor(){super();id(this,"FA");this.g={p:"FA"}}ia(){return a=>a instanceof $c}toString(){return"array(*)"}B(){return dc.Aa}}var Ac;class ud extends rd{constructor(a){super();sa.assert(a instanceof gc);this.V=a;id(this,"FA v["+a.ha()+"]");this.g={p:"FA",v:a.$()}}ia(){return a=>a instanceof $c&&a.value.every(c=>this.V.matches(c))}toString(){return"array("+this.V.toString()+")"}B(){return this.V}gf(){return this.V}} +class xd extends lc{constructor(a,c){super();this.j=a;this.V=c;var n=a.$();const F=c.$();n=tb(n.p,F.p);id(this,n+" u["+a.ha()+","+c.ha()+"]");this.g={p:n,u:[a.$(),c.$()]}}ia(){const a=this.j.ia(),c=this.V.ia();return n=>a(n)||c(n)}I(){const a=this.j.I(),c=this.V.I();return new xd(a,c)}B(){const a=this.j.B(),c=this.V.B(),n=a.fa;return n===c.fa?new gc(new xd(a.U,c.U),n):dc.Aa}} +class yd extends lc{constructor(a,c){super();this.j=a;this.V=c;var n=a.$();const F=c.$();n=n.p.startsWith(F.p)?n.p:F.p.startsWith(n.p)?F.p:n.p.charAt(0)===F.p.charAt(0)?n.p.charAt(0):"";id(this,n+" i["+a.ha()+","+c.ha()+"]");this.g={p:n,i:[a.$(),c.$()]}}ia(){const a=this.j.ia(),c=this.V.ia();return n=>a(n)&&c(n)}} +class zd extends lc{constructor(a,c){super();this.j=a;this.V=c;var n=a.$();const F=c.$();n=n.p.startsWith(F.p)?n.p:F.p.startsWith(n.p)?F.p:n.p.charAt(0)===F.p.charAt(0)?n.p.charAt(0):"";id(this,n+" d["+a.ha()+","+c.ha()+"]");this.g={p:n,d:[a.$(),c.$()]}}ia(){const a=this.j.ia(),c=this.V.ia();return n=>a(n)&&!c(n)}}const Ad={};function fc(a){var c=Ad[a];if(c)return c;c=rb(a);c=jc(c);return Ad[a]=c} +function jc(a){var c=a.p;if(""===c)return oc;if(a.u)return c=jc(a.u[0]),a.u.slice(1).reduce((n,F)=>new xd(n,jc(F)),c);if(a.i)return c=jc(a.i[0]),a.i.slice(1).reduce((n,F)=>new yd(n,jc(F)),c);if(a.d)return new zd(jc(a.d[0]),jc(a.d[1]));switch(c.charAt(0)){case "A":if("Q{http://www.w3.org/2001/XMLSchema}numeric"===a.n)return uc;if(a.m){a=a.m;if(3===a.length&&a.some(n=>"AO"===n.p)&&a.some(n=>"AD"===n.p)&&a.some(n=>"AF"===n.p))return uc;sa.la("Unhandled atomic union type")}else return new nc(La.codes[c]); break;case "F":switch(c){case "FA":return a.v?new ud(ic(a.v)):Ac;case "FM":return a.k&&a.v?new td(jc(a.k),ic(a.v)):yc;default:return a.a?(c=a.a.map(ic),a=a.r?ic(a.r):dc.Aa,new dd(c,a)):wc}case "N":if("N"===c)return qc;c={ND:9,NE:1,NA:2,NT:3,NC:8,NP:7,NN:13}[c];return a.n?(a=a.n,/\}\*$/.test(a)?new pd(c,a.substring(2,a.length-2)):/^\*:/.test(a)?new od(c,a.substring(2)):new nd(c,La.XS.QName.fromEQName(a))):a.e?(a=jc(a.e),new qd(a)):new Fc(c);case "E":return Cc}} const Bd={IDREFS:"ASNTNCR",ENTITIES:"ASNTNCE",NMTOKENS:"ASNTK"},Tc={};var Sc,Mc,Nc,Oc,Pc,Qc,Rc; // Input 22 -var sd=function(){function a(e,k){sa.assert(e instanceof lc);sa.assert(k instanceof lc);const v=e.ha()+"<>"+k.ha(),t=g[v];if(t)return t;e=H(e,k);return g[v]=e}function c(e,k){sa.assert(e instanceof lc);sa.assert(k instanceof lc);switch(a(e,k)){case 0:case 1:return e;case 2:return k;case 3:case 4:return e=e.$(),k=k.$(),jc({p:tb(e.p,k.p),u:[e,k]})}}function q(e,k){sa.assert(e instanceof lc);sa.assert(k instanceof lc);switch(a(e,k)){case 0:case 1:return k;case 2:return e;case 3:return e=e.$(),k=k.$(), -jc({p:e.p.startsWith(k.p)?e.p:k.p.startsWith(e.p)?k.p:e.p.charAt(0)===k.p.charAt(0)?e.p.charAt(0):"",i:[e,k]});case 4:return Cc}}function E(e,k){return 0===e&&0===k?0:0!==e&&1!==e||0!==k&&1!==k?0!==e&&2!==e||0!==k&&2!==k?4===e||4===k?4:3:2:1}function H(e,k){function v(b,d){return(b||"")===(d||"")?0:b&&!d?2:d&&!b?1:4}function t(b){return 1===b?2:2===b?1:b}function C(b){return b.n||b.e||b.u||b.i||b.d}var m=e.$();const f=k.$(),A=e.ha(),O=k.ha();if("F"===m.p){if(!(e instanceof rd&&k instanceof rd))return 3; -sa.assert(e.Nb);return e.Nb(k)}if(A===O)return 0;if(e instanceof Dc)return 2;if(k instanceof Dc)return 1;if(kd(e))return kd(k)?0:/^A[ODF]/.test(f.p)?1:"A"===f.p||""===f.p?2:4;if(kd(k))return t(H(k,e));if(m.p===f.p){if(jd(e))return m.u&&f.u?3:m.e&&f.e?v(m.e,f.e):m.n&&f.n?v(m.n,f.n):C(m)&&C(f)?4:C(m)&&!C(f)?2:C(f)&&!C(m)?1:0;if(e.pa())return 0;if("FA"===m.p)return e=e.B?e.B():dc.Aa,k=k.B?k.B():dc.Aa,p(e,k);if("FM"===m.p)return m=a(e.I(),k.I()),k=p(e.aa(),k.aa()),E(m,k);if(!(e instanceof rd&&k instanceof -rd))return 3;sa.assert(e.Nb);return e.Nb(k)}return m.p.startsWith(f.p)?m.u?3:2:f.p.startsWith(m.p)?m.u?3:1:4}function p(e,k){sa.assert(e instanceof gc);sa.assert(k instanceof gc);var v=e.fa;var t=k.fa;v=v===t?sd.yb:(v|t)===v?sd.Rb:(v|t)===t?sd.nc:0===(v|t)?sd.cc:sd.Eg;e=a(e.U,k.U);return E(v,e)}const g={};return{yb:0,Rb:1,nc:2,Eg:3,cc:4,Nb:a,fj:function(e,k){sa.assert(e instanceof lc);sa.assert(k instanceof lc);e=a(e,k);return 0===e||2===e},Xj:c,Md:function(e){sa.assert(0c(k,v),e[0])},Ui:function(e){sa.assert(0q(k,v),e[0])},Lh:p}}(); +var sd=function(){function a(e,k){sa.assert(e instanceof lc);sa.assert(k instanceof lc);const v=e.ha()+"<>"+k.ha(),t=g[v];if(t)return t;e=I(e,k);return g[v]=e}function c(e,k){sa.assert(e instanceof lc);sa.assert(k instanceof lc);switch(a(e,k)){case 0:case 1:return e;case 2:return k;case 3:case 4:return e=e.$(),k=k.$(),jc({p:tb(e.p,k.p),u:[e,k]})}}function n(e,k){sa.assert(e instanceof lc);sa.assert(k instanceof lc);switch(a(e,k)){case 0:case 1:return k;case 2:return e;case 3:return e=e.$(),k=k.$(), +jc({p:e.p.startsWith(k.p)?e.p:k.p.startsWith(e.p)?k.p:e.p.charAt(0)===k.p.charAt(0)?e.p.charAt(0):"",i:[e,k]});case 4:return Cc}}function F(e,k){return 0===e&&0===k?0:0!==e&&1!==e||0!==k&&1!==k?0!==e&&2!==e||0!==k&&2!==k?4===e||4===k?4:3:2:1}function I(e,k){function v(y,b){return(y||"")===(b||"")?0:y&&!b?2:b&&!y?1:4}function t(y){return 1===y?2:2===y?1:y}function D(y){return y.n||y.e||y.u||y.i||y.d}var l=e.$();const f=k.$(),B=e.ha(),L=k.ha();if("F"===l.p){if(!(e instanceof rd&&k instanceof rd))return 3; +sa.assert(e.Ob);return e.Ob(k)}if(B===L)return 0;if(e instanceof Dc)return 2;if(k instanceof Dc)return 1;if(kd(e))return kd(k)?0:/^A[ODF]/.test(f.p)?1:"A"===f.p||""===f.p?2:4;if(kd(k))return t(I(k,e));if(l.p===f.p){if(jd(e))return l.u&&f.u?3:l.e&&f.e?v(l.e,f.e):l.n&&f.n?v(l.n,f.n):D(l)&&D(f)?4:D(l)&&!D(f)?2:D(f)&&!D(l)?1:0;if(e.pa())return 0;if("FA"===l.p)return e=e.B?e.B():dc.Aa,k=k.B?k.B():dc.Aa,m(e,k);if("FM"===l.p)return l=a(e.I(),k.I()),k=m(e.aa(),k.aa()),F(l,k);if(!(e instanceof rd&&k instanceof +rd))return 3;sa.assert(e.Ob);return e.Ob(k)}return l.p.startsWith(f.p)?l.u?3:2:f.p.startsWith(l.p)?l.u?3:1:4}function m(e,k){sa.assert(e instanceof gc);sa.assert(k instanceof gc);var v=e.fa;var t=k.fa;v=v===t?sd.yb:(v|t)===v?sd.Sb:(v|t)===t?sd.oc:0===(v|t)?sd.dc:sd.Fg;e=a(e.U,k.U);return F(v,e)}const g={};return{yb:0,Sb:1,oc:2,Fg:3,dc:4,Ob:a,fj:function(e,k){sa.assert(e instanceof lc);sa.assert(k instanceof lc);e=a(e,k);return 0===e||2===e},Xj:c,Md:function(e){sa.assert(0c(k,v),e[0])},Ui:function(e){sa.assert(0n(k,v),e[0])},Lh:m}}(); // Input 23 -function Zc(a){return 0!==(a&4)}function Xc(a){return 0!==(a&1)}function Cd(a){let c=0;a.forEach(q=>c|=q);5===c&&(c=7);return c}function hc(a){return{0:1,1:2,"?":3,"+":6,"*":7}[a]}function Dd(a,c){return(Xc(a)&&Xc(c)?1:0)+(1!==a||1!==c?2:0)+(1===a&&!Zc(c)||1===c&&!Zc(a)?0:4)}function Ed(a){switch(a){case "1":return c=>1===c;case "0":return c=>0===c;case "?":return c=>2>c;case "+":return c=>0!0}} +function Zc(a){return 0!==(a&4)}function Xc(a){return 0!==(a&1)}function Cd(a){let c=0;a.forEach(n=>c|=n);5===c&&(c=7);return c}function hc(a){return{0:1,1:2,"?":3,"+":6,"*":7}[a]}function Dd(a,c){return(Xc(a)&&Xc(c)?1:0)+(1!==a||1!==c?2:0)+(1===a&&!Zc(c)||1===c&&!Zc(a)?0:4)}function Ed(a){switch(a){case "1":return c=>1===c;case "0":return c=>0===c;case "?":return c=>2>c;case "+":return c=>0!0}} function wd(a){switch(a){case 1:return c=>0===c;case 2:return c=>1===c;case 4:return c=>12>c;case 6:return c=>0!0}}function Yc(a){switch(a){case 3:return"?";case 2:return"";case 7:return"*";case 6:return"+";case 4:return"+";case 1:return"0";default:return"*"}}; // Input 24 -function Fd(a,c,q){a=a.expand();c=c.expand();a=Kb(a);c=Kb(c);let E,H;for(;;){E=a.next();H=c.next();if(null===E)return null===H;if(null===H||!Gd(E,H,q))return!1}} -function Gd(a,c,q){var E=ac.Ja;if(a===c)return!0;if(ac.X(a)){if(!ac.X(c)||!ac.ej(a.nodeType,c.nodeType))return!1;switch(a.nodeType){case 9:case 11:return Fd(E.Ka(a),E.Ka(c));case 1:if(!ac.ca(a).equals(ac.ca(c)))return!1;const H=E.Ha(a).expand();if(H.length!==E.Ha(c).count())return!1;for(let p=0;py;case ">":case "gt":return 0=":case "ge":return 0<=y;case "<=":case "le":return 0>=y;case "!=":case "ne":return 0!==y;default:throw new F("Unknown operator "+D,"SXJS0003");}}function d(D,y){return D.map(function(I){var R=y.fixed.ka;I=R.da(I,"dataType");R=null===I?null:R.evaluate(I,y).next();return"number"===R?function(M){return null===M?null: -z.double.cf(M.toString())}:"text"===R?function(M){return null===M?null:z.string.R(M)}:function(M){return M}})}function l(D,y){return D.substring(0,y.length)===y}function r(D,y){return D.substring(D.length-y.length)===y}function n(D,y){return y&&(y=y.next())?y.toString():D.collation||cd.hg(D,"defaultCollation")}function B(D,y){y=D?l(D,"http://www.w3.org/2013/collation/UCA")&&36ea(x)?ea(K)?z.string.R(x):ca(K)?z.double.R(x):"AQ"===K.code?La.XS.QName.R(x,cd.Wd(M,!1)):La.codes[K.code].R(x):x,Y="="===I?R.equals:"!="===I?(x,K)=>!R.equals(x,K):(x,K)=>b(I,R.compare(x,K));let V;for(var la;null!==(V=D.next());){const x=Kb(y);for(;null!==(la=x.next());){const K=ja(V,la);la=ja(la,V);if(!(ca(K)&& -isNaN(K.value)||ca(la)&&isNaN(la.value))&&Y(K,la))return Xb(!0)}}return Xb(!1)},Ki:function(D){return{equals:function(y,I){const R=z.numeric.matches;return R(y)||R(I)?z.numeric.xe(y).toNumber()===z.numeric.xe(I).toNumber():D.equals(y,I)},compare:D.compare}},df:function(D,y,I){return B(n(D,y),I)},eg:B,Xb:function(D,y,I,R){y=n(D,y);R=B(y,R)[I];if(!R)throw new F("Collation "+y+" has no "+I+" method","FOCH0002",D);return R},Mi:d,jg:"http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensitive", -tc:E,Jj:f,Kj:function(D){const y=cd.Sa(D),I=cd.qb(D,"sortKey");return R=>{const M=Sb(y(R)),ca=[],ea=I.map(x=>A(x,R)),ja=I.map(cd.Sa),Y=d(I,R),V=R.ba(!1);V.qa="sort key";V.focus=M;let la=0;M.forEachItem(function(x){const K=I.map(function(U,ha){return Y[ha](ja[ha](V).next())});ca.push({item:x,keys:K,Od:la++})});ca.sort(function(x,K){for(let ha=0;ha -K.Od?1:x.Od===K.Od?0:-1});return Kb(ca.map(x=>x.item))}},wf:b,Th:function(D,y){switch(D){case "=":case "eq":return y;case "!=":case "ne":return!y;case "<":case "lt":case ">":case "gt":case ">=":case "ge":case "<=":case "le":throw new F("Operator "+D+" not allowed for unordered types","SXJS0003");default:throw new F("Unknown operator "+D,"SXJS0003");}},xf:function(D,y){function I(ja){return Ia(ja)?M(ja.matchKey()):ja.matchKey()}const R=new cc,M=D.collationKey;if(!M)throw new F("Collation is unsuitable for keys and grouping", -"XTDE1110");const ca={Rc:function(ja,Y){return Fd(Kb(ja),Kb(Y),D.equals)},hash:function(ja){return ja.map(I).join()}},ea={Rc:function(ja,Y){return I(ja)===I(Y)},hash:function(ja){return I(ja)}};R.options=y?ca:ea;return R},Mj:"http://www.w3.org/2013/collation/UCA",Zh:"http://www.w3.org/xslts/collation/caseblind"}}(); +const Hd=function(){function a(E,A){return E.equals(A)}function c(E,A){return E.compareTo(A)}function n(E){return null===E}function F(E){return(x.double.matches(E)||x.float.matches(E))&&isNaN(E.toNumber())}function I(E,A){return function(H,S){return A(H)||A(S)?A(H)?A(S):!1:E(H,S)}}function m(E,A){return function(H,S){return A(H)||A(S)?A(H)?A(S)?0:-1:1:E(H,S)}}function g(E,A){return null===E?NaN:x.numeric.matches(E)?E.toNumber():A?x.double.fromString(E.toString()).toNumber():x.double.df(E.toString()).toNumber()} +function e(E){return function(A,H){A=g(A,E);H=g(H,E);return isNaN(A)?isNaN(H)?0:-1:isNaN(H)?1:A-H}}function k(E){return function(A,H){A=g(A,E);H=g(H,E);return isNaN(A)?isNaN(H):isNaN(H)?!1:0===A-H}}function v(E,A){return function(H,S){H=H.toString();S=S.toString();var N=E(H.toLowerCase(),S.toLowerCase());if(0===N){for(N=0;NA;case ">":case "gt":return 0=":case "ge":return 0<=A;case "<=":case "le":return 0>=A;case "!=":case "ne":return 0!==A;default:throw new G("Unknown operator "+E,"SXJS0003");}}function b(E,A){return E.map(function(H){var S=A.fixed.ka;H=S.da(H,"dataType");S=null===H?null:S.evaluate(H,A).next();return"number"===S?function(N){return null===N?null: +x.double.df(N.toString())}:"text"===S?function(N){return null===N?null:x.string.R(N)}:function(N){return N}})}function d(E,A){return E.substring(0,A.length)===A}function q(E,A){return E.substring(E.length-A.length)===A}function p(E,A){return A&&(A=A.next())?A.toString():E.collation||cd.hg(E,"defaultCollation")}function u(E,A){A=E?d(E,"http://www.w3.org/2013/collation/UCA")&&36ia(M)?aa&&ma(W)?x.numeric.Od(M):ia(W)?x.string.R(M):ma(W)?x.double.R(M):"AQ"===W.code?La.XS.QName.R(M,cd.Xd(N,!1)):La.codes[W.code].R(M):M,V="="===H?S.equals:"!="===H?(M,W)=>!S.equals(M,W):(M,W)=>y(H,S.compare(M,W));let ka;for(var z;null!==(ka=E.next());){const M=Kb(A);for(;null!==(z=M.next());){const W= +Y(ka,z);z=Y(z,ka);if(!(ma(W)&&isNaN(W.value)||ma(z)&&isNaN(z.value))&&V(W,z))return Xb(!0)}}return Xb(!1)},Ki:function(E){return{equals:function(A,H){const S=x.numeric.matches;return S(A)||S(H)?x.numeric.Od(A).toNumber()===x.numeric.Od(H).toNumber():E.equals(A,H)},compare:E.compare}},ef:function(E,A,H){return u(p(E,A),H)},eg:u,Yb:function(E,A,H,S){A=p(E,A);S=u(A,S)[H];if(!S)throw new G("Collation "+A+" has no "+H+" method","FOCH0002",E);return S},Mi:b,jg:"http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensitive", +uc:F,Jj:f,Kj:function(E){const A=cd.Sa(E),H=cd.qb(E,"sortKey");return S=>{const N=Sb(A(S)),aa=[],ma=H.map(z=>B(z,S)),ia=H.map(cd.Sa),Y=b(H,S),V=S.ba(!1);V.qa="sort key";V.focus=N;let ka=0;N.forEachItem(function(z){const M=H.map(function(W,fa){return Y[fa](ia[fa](V).next())});aa.push({item:z,keys:M,Qd:ka++})});aa.sort(function(z,M){for(let fa=0;fa +M.Qd?1:z.Qd===M.Qd?0:-1});return Kb(aa.map(z=>z.item))}},wf:y,Th:function(E,A){switch(E){case "=":case "eq":return A;case "!=":case "ne":return!A;case "<":case "lt":case ">":case "gt":case ">=":case "ge":case "<=":case "le":throw new G("Operator "+E+" not allowed for unordered types","SXJS0003");default:throw new G("Unknown operator "+E,"SXJS0003");}},xf:function(E,A){function H(ia){return Ia(ia)?N(ia.matchKey()):ia.matchKey()}const S=new cc,N=E.collationKey;if(!N)throw new G("Collation is unsuitable for keys and grouping", +"XTDE1110");const aa={Tc:function(ia,Y){return Fd(Kb(ia),Kb(Y),E.equals)},hash:function(ia){return ia.map(H).join()}},ma={Tc:function(ia,Y){return H(ia)===H(Y)},hash:function(ia){return H(ia)}};S.options=A?aa:ma;return S},Mj:"http://www.w3.org/2013/collation/UCA",Zh:"http://www.w3.org/xslts/collation/caseblind"}}(); // Input 26 -var Jd=function(){var a={};return{register:function(c,q){a[c]=q},find:function(c){return a[c]},dl:a}}(); +var Jd=function(){var a={};return{register:function(c,n){a[c]=n},find:function(c){return a[c]},dl:a}}(); // Input 27 -var Kd=function(){function a(c){const q=ac.Ja,E={"p.any":function(){return function(){return!0}},"p.never":function(){return function(){return!1}},"p.booleanExp":function(H){const p=cd.Sa(H);return function(g,e){e=e.ba();e.focus=Rb(g);return cd.Fd(p(e))}},"p.genNode":function(H){const p=cd.Sa(H);let g;if("slash"===H.C[0].N){H=cd.ti(H.C[0]);let e=H.C[0];for(;["filter","subscript"].includes(e.N);)e=e.C[0];"axis"===e.N&&"child"===e.name&&(e.name="self",g=cd.ib(H))}return function(e,k){if(!ac.X(e))return!1; -const v=ac.Ja.Ya(e);let t;for(var C;;){t=v.next();if(null==t)return!ac.jf(C)&&g?(k=k.ba(!1),k.focus=Rb(C),k.Mb=[],g(k).some(m=>ac.isSameNode(m,e))):!1;C=k.ba(!1);C.focus=Rb(t);C.Mb=[];if(p(C).some(m=>ac.isSameNode(m,e)))return!0;C=t}}},"p.genPos":function(H){const p=fc(H.test).ia(),g=cd.Sa(H);return function(e,k){if(!p(e))return!1;const v=k.fixed.ka;k=k.ba(!1);var t=q.Ka(ac.Xa(e)).filter(p);k.focus=Sb(t);for(k.Mb=[];null!=(t=k.focus.next());)if(t===e&&v.Fd(g(k)))return!0;return!1}},"p.nodeSet":function(H){const p= -cd.Sa(H);return function(g,e){return p(e).some(k=>k===g)}},"p.nodeTest":function(H){return fc(H.test).ia()},"p.simPos":function(H){const p=fc(H.test).ia(),g=parseInt(H.pos,10);return function(e){return p(e)&&q.Oc(e).filter(p).count()===g-1}},"p.venn":function(H){var p=H.C,g=a(p[0]),e=a(p[1]);H=H.op;switch(H){case "union":return function(k,v){return g(k,v)||e(k,v)};case "intersect":return function(k,v){return g(k,v)&&e(k,v)};case "except":return function(k,v){return g(k,v)&&!e(k,v)};default:throw new F("unknown op "+ -H,"SXJS0003");}},"p.withCurrent":function(H){const p=a(H.C[0]);return function(g,e){e=e.ba(!0);e.oa[0]=[g];return p(g,e)}},"p.withPredicate":function(H){H=H.C;const p=a(H[0]),g=cd.ib(H[1]);return function(e,k){if(!p(e,k))return!1;k=k.ba(!1);k.focus=Rb(e);k.Mb=[];return cd.Fd(g(k))}},"p.withUpper":function(H){const p=H.C,g=a(p[0]),e=a(p[1]),k=H.axis;return"parent"===k?"true"===H.upFirst?function(v,t){const C=ac.Xa(v);return C&&e(C,t)&&g(v,t)}:function(v,t){const C=ac.Xa(v);return C&&g(v,t)&&e(C,t)}: -function(v,t){if(!g(v,t))return!1;v=ac.Ng[k](v);let C;for(;null!==(C=v.next());)if(e(C,t))return!0;return!1}}}[c.N];if(E)return E(c);throw new F("Unimplemented pattern "+c.N,"SXJS0002");}return{od:a,matches:function(c,q,E){E.ub.push(null);c=c(q,E);E.ub.pop();return c}}}(); +var Kd=function(){function a(c){const n=ac.Ja,F={"p.any":function(){return function(){return!0}},"p.never":function(){return function(){return!1}},"p.booleanExp":function(I){const m=cd.Sa(I);return function(g,e){e=e.ba();e.focus=Rb(g);return cd.Fd(m(e))}},"p.genNode":function(I){const m=cd.Sa(I);let g;if("slash"===I.C[0].N){I=cd.ti(I.C[0]);let e=I.C[0];for(;["filter","subscript"].includes(e.N);)e=e.C[0];"axis"===e.N&&"child"===e.name&&(e.name="self",g=cd.ib(I))}return function(e,k){if(!ac.X(e))return!1; +const v=ac.Ja.Xa(e);let t;for(var D;;){t=v.next();if(null==t)return!ac.kf(D)&&g?(k=k.ba(!1),k.focus=Rb(D),k.Nb=[],g(k).some(l=>ac.isSameNode(l,e))):!1;D=k.ba(!1);D.focus=Rb(t);D.Nb=[];if(m(D).some(l=>ac.isSameNode(l,e)))return!0;D=t}}},"p.genPos":function(I){const m=fc(I.test).ia(),g=cd.Sa(I);return function(e,k){if(!m(e))return!1;const v=k.fixed.ka;k=k.ba(!1);var t=n.Ka(ac.$a(e)).filter(m);k.focus=Sb(t);for(k.Nb=[];null!=(t=k.focus.next());)if(t===e&&v.Fd(g(k)))return!0;return!1}},"p.nodeSet":function(I){const m= +cd.Sa(I);return function(g,e){return m(e).some(k=>k===g)}},"p.nodeTest":function(I){return fc(I.test).ia()},"p.simPos":function(I){const m=fc(I.test).ia(),g=parseInt(I.pos,10);return function(e){return m(e)&&n.Qc(e).filter(m).count()===g-1}},"p.venn":function(I){var m=I.C,g=a(m[0]),e=a(m[1]);I=I.op;switch(I){case "union":return function(k,v){return g(k,v)||e(k,v)};case "intersect":return function(k,v){return g(k,v)&&e(k,v)};case "except":return function(k,v){return g(k,v)&&!e(k,v)};default:throw new G("unknown op "+ +I,"SXJS0003");}},"p.withCurrent":function(I){const m=a(I.C[0]);return function(g,e){e=e.ba(!0);e.oa[0]=[g];return m(g,e)}},"p.withPredicate":function(I){I=I.C;const m=a(I[0]),g=cd.ib(I[1]);return function(e,k){if(!m(e,k))return!1;k=k.ba(!1);k.focus=Rb(e);k.Nb=[];return cd.Fd(g(k))}},"p.withUpper":function(I){const m=I.C,g=a(m[0]),e=a(m[1]),k=I.axis;return"parent"===k?"true"===I.upFirst?function(v,t){const D=ac.$a(v);return D&&e(D,t)&&g(v,t)}:function(v,t){const D=ac.$a(v);return D&&g(v,t)&&e(D,t)}: +function(v,t){if(!g(v,t))return!1;v=ac.Og[k](v);let D;for(;null!==(D=v.next());)if(e(D,t))return!0;return!1}}}[c.N];if(F)return F(c);throw new G("Unimplemented pattern "+c.N,"SXJS0002");}return{od:a,matches:function(c,n,F){F.ub.push(null);c=c(n,F);F.ub.pop();return c}}}(); // Input 28 -var Ld=function(){function a(E,H,p,g){function e(r){for(var n=[],B=r.length-1;0<=B;B--)n.push({Qd:r[B],action:r[B].C[1],pattern:Kd.od(r[B].C[0])});return n}function k(r){r._saxonAccumulators||(r._saxonAccumulators={});r._saxonAccumulators[p]={};var n=v(O,r);n&&(l=C(n,r));r._saxonAccumulators[p].pre=l;q.Ka(r).forEachItem(k);(n=v(b,r))&&(l=C(n,r));r._saxonAccumulators[p].post=l}function v(r,n){for(var B=0,W=r.length;BA.indexOf(t[0].value))throw new F("Invalid value "+O+"="+t[0],"FOJS0005");return t[0].value}throw new F("Invalid option: "+C+": must be "+m,"XPTY0004");}return f}function c(t, -C){function m(B){throw new F(B,"FOJS0001");}function f(){return n=A()}function A(){for(n="";;){if(r>=t.length)return["eof"];var B=t.charAt(r++);if(!/[ \n\r\t]/.test(B))break}switch(B){case "[":case "{":case "]":case "}":case ":":case ",":return[B];case '"':for(B=!1;;){const W=t.charAt(r++);if('"'!==W||B)n+=W,B="\\"===W&&!B;else return["string",n];r>=t.length&&m("Unclosed quotes in string literal")}case "-":case "0":case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":for(n+= -B;r=B){if(n+=B,++r>=t.length)break}else break;if(["true","false","null"].includes(n))return[n];m("Unknown constant "+n);break;default:return m("Unexpected character '"+B+"' ("+Da(B)+") at position "+r),-1}}function O(B){n[0]!==B&&m("Expected "+B+", found "+ -n[0])}function b(B){return n[0]===B?(f(),!0):!1}function d(B){if(n[0]===B)return f(),!0;if(","===n[0])return f(),!1;m("Expected ',' or '"+B+"', found '"+n[0]+"'")}function l(){switch(n[0]){case "[":f();C.Qh();if(!b("]")){do l();while(!d("]"))}C.ah();break;case "{":f();C.Rh();if(!b("}")){do O("string"),C.Xg(n[1]),f(),O(":"),f(),l();while(!d("}"))}C.bh();break;case "string":C.$g(n[1]);f();break;case "number":C.Zg(n[1]);f();break;case "true":case "false":C.Wg(n[0]);f();break;case "null":C.Yg();f();break; -default:m("Unexpected token "+n[0])}}t=t.replace(/^[\uFEFF]/,"");let r=0,n=null;n=f();l();O("eof");return C.result()}function q(t){try{return JSON.parse('"'+t+'"')}catch(C){throw new F(C.toString(),"FOJS0001");}}function E(t,C){const m=C.Ab,f=C.Cd;let A;A=f?O=>f.evaluate([[La.XS.string.fromString(H(O))]],m).next().toString():()=>"\ufffd";t=t.replace(/[\x00-\x08\x0B\x0C\x0E-\x0F\x80-\x9F\uFFFF]/g,A);return t=t.replace(/[\uD800-\uDFFF]+/g,O=>{let b="";for(let d=0;dl||d===O.length-1&&"\udc00">l?A(l):l}return b})}function H(t){for(t=t.charCodeAt(0).toString(16);4>t.length;)t="0"+t;return"\\u"+t.toUpperCase()}function p(t,C){this.g=[];this.I=[];this.Ab=C;a(t,"liberal","boolean",!1);this.Cd=a(t,"fallback","function",null);this.B=a(t,"escape","boolean",!1);this.K=a(t,"duplicates","string","use-first",["reject","use-first","use-last"]);if(this.B&&this.Cd)throw new F("parse-json: cannot use fallback with escape:true()","FOJS0005");}function g(t, -C){this.g=[];this.K=[];this.I=[];this.Ab=C;a(t,"liberal","boolean",!1);if(a(t,"validate","boolean",!1))throw new F("json-to-xml: validate option not supported in a non-schema-aware processor","FOJS0004");this.Cd=a(t,"fallback","function",null);this.B=a(t,"escape","boolean",!1);this.aa=a(t,"duplicates","string","use-first",["reject","use-first","retain"]);if(this.B&&this.Cd)throw new F("json-to-xml: cannot use fallback with escape:true()","FOJS0005");}const e=Zb.Oa,k=La.XS,v=ac.Ja;p.prototype={g:[], -I:[],Ab:null,B:!1,Cd:null,K:"use-first",aa:function(t){return this.B?JSON.stringify(t).replace(/^"|"$/g,"").replace(/\\"/g,'"').replace(/[\uD800-\uDFFF]/g,H):E(t,this)},ua:function(){return this.g[this.g.length-1]},j:function(t){if(0===this.g.length)this.g.push(t);else if(this.ua()instanceof $c)this.ua().value.push(t);else{const C=this.ua(),m=k.string.fromString(this.I.pop());if(C.containsKey(m))switch(this.K){case "reject":throw new F("json-to-xml: duplicate key '"+m.toString()+"'","FOJS0003");case "use-first":return}C.inSituPut(m, -t)}},Yg:function(){this.j([])},Wg:function(t){this.j([k.boolean.fromString(t)])},Zg:function(t){this.j([k.double.fromNumber(parseFloat(t))])},$g:function(t){this.j([k.string.fromString(this.aa(q(t)))])},Xg:function(t){this.I.push(this.aa(q(t)))},Qh:function(){this.g.push(new $c([]))},ah:function(){this.j([this.g.pop()])},Rh:function(){this.g.push(new cc)},bh:function(){this.j([this.g.pop()])},result:function(){return void 0!==this.ua()[0]?this.ua()[0]:null}};g.prototype={g:[],K:[{}],I:[],Ab:null, -Cd:null,B:!1,aa:"use-first",V:function(t){return this.B?JSON.stringify(t).replace(/^"|"$/g,"").replace(/\\"/g,'"').replace(/[\uD800-\uDFFF]/g,H):E(t,this)},ua:function(){return this.g[this.g.length-1]},j:function(t){if(0===this.g.length)t.setAttribute("xmlns",e),this.g.push(t);else{const C=this.ua();if("map"===C.tagName){const m=this.K.pop(),f=this.I[this.I.length-1];if(m in f)switch(this.aa){case "reject":throw new F("parse-json: duplicate key '"+m.toString()+"'","FOJS0003");case "use-first":return}f[m]= -t;t.setAttribute("key",m);this.B&&/\\/.test(m.toString())&&t.setAttribute("escaped-key","true")}C.appendChild(t)}},Yg:function(){const t=this.Ab.ja.createElementNS(e,"null");this.j(t)},Wg:function(t){const C=this.Ab.ja.createElementNS(e,"boolean");C.appendChild(this.Ab.ja.createTextNode(t.toString()));this.j(C)},Zg:function(t){const C=this.Ab.ja.createElementNS(e,"number");C.appendChild(this.Ab.ja.createTextNode(t.toString()));this.j(C)},$g:function(t){const C=this.Ab.ja.createElementNS(e,"string"); -if(""!==t){t=this.V(q(t));const m=this.Ab.ja.createTextNode(t);this.B&&/\\/.test(t)&&C.setAttribute("escaped","true");C.appendChild(m)}this.j(C)},Xg:function(t){this.K.push(this.V(q(t)))},Qh:function(){const t=this.Ab.ja.createElementNS(e,"array");this.g.push(t)},ah:function(){this.j(this.g.pop())},Rh:function(){const t=this.Ab.ja.createElementNS(e,"map");this.g.push(t);this.I.push({})},bh:function(){this.I.pop();this.j(this.g.pop())},result:function(){return this.ua()}};return{ze:function(t,C,m){return c(t, -new p(C,m))},wj:function(t,C,m){return c(t,new g(C,m))},Pj:function(t,C){function m(r){throw new F("Invalid input to xml-to-json(): "+r,"FOJS0006");}function f(r){0!==l.Ec(r).length&&m("node "+r.tagName+" must have no element children")}function A(r){v.Ka(r).filter(function(n){return(3===n.nodeType||4==n.nodeType)&&n.nodeValue&&""!==Ha.trim(n.nodeValue)}).next()&&m("node "+r.tagName+" must have no text content")}function O(r){try{return k.boolean.fromString(r).toBoolean()}catch(n){m("invalid boolean: '"+ -r+"'")}}function b(r){try{JSON.parse('"'+r+'"')}catch(n){throw new F("invalid escape sequence: "+n.toString(),"FOJS0007");}}function d(r,n=!0){if(9===r.nodeType||11===r.nodeType){var B=l.Ec(r);1!==B.length&&m("document node has "+B.length+" element children");return d(B[0])}if(1===r.nodeType){let ma=!1;if(r.namespaceURI===e)switch(v.Ha(r).forEachItem(function(qa){if(0>qa.name.indexOf(":")||qa.namespaceURI===e)"key"===qa.name||"escaped-key"===qa.name?"escaped-key"===qa.name?(n||"map"===l.Xa(r).localName|| -m("@escaped-key is allowed only on children of map"),O(qa.value)&&b(r.getAttribute("key"))):n||"map"===l.Xa(r).localName||m("@key is allowed only on children of map"):"escaped"===qa.name?("string"!==r.localName&&m("@escaped is allowed only on string"),ma=O(qa.value)):m("invalid attribute "+qa.name)}),r.hasAttribute("escaped-key")&&!n&&"map"!==l.Xa(r).localName&&m("escaped-key is allowed only on children of map"),r.localName){case "null":return v.Ka(r).filter(function(D){return 8!==D.nodeType&&7!== -D.nodeType}).next()&&m("null element must have no content"),"null";case "string":f(r);B=r.textContent;if(ma)B=B.replace(/^"/g,'\\"').replace(/^[\b]/g,"\\b").replace(/^\f/g,"\\f").replace(/^\n/g,"\\n").replace(/^\r/g,"\\r").replace(/^\t/g,"\\t").replace(/^\//g,"\\/").replace(/([^\\])"/g,'$1\\"').replace(/([^\\])[\b]/g,"$1\\b").replace(/([^\\])\f/g,"$1\\f").replace(/([^\\])\n/g,"$1\\n").replace(/([^\\])\r/g,"$1\\r").replace(/([^\\])\t/g,"$1\\t").replace(/([^\\])\//g,"$1\\/").replace(/[\u0001-\u001F\u007F-\u009F]/g, -H),b(B);else return JSON.stringify(B).replace(/\//g,"\\/");return'"'+B+'"';case "number":f(r);try{B=k.double.fromString(r.textContent)}catch(D){m("invalid number")}isFinite(B.toNumber())||m("NaN and INF not allowed");return B.toString();case "boolean":return f(r),O(r.textContent),k.boolean.fromString(r.textContent).toString();case "array":A(r);let qa="[",L="";l.Ec(r).forEach(function(D){qa+=L+d(D,!1);L=","});return qa+"]";case "map":A(r);let aa="{",z="";var W={};l.Ec(r).forEach(function(D){D.hasAttribute("key")|| -m("child element of map must have a key");const y=l.getAttribute(D,"key");let I=y;const R=l.getAttribute(D,"escaped-key");let M=!1;R&&O(R)&&(M=!0,I=q(y));W[I]&&m("duplicate key '"+y+"'");W[I]=!0;aa+=z+(M?'"'+y+'"':JSON.stringify(y).replace(/\//g,"\\/"))+":"+d(D,!1);z=","});return aa+"}";default:m("unknown local name "+r.localName)}else m("wrong namespace "+r.namespaceURI)}else l.X(r)||m("not a node"),Error.g&&Error.g(),m("wrong node kind "+r.nodeType)}const l=ac;a(C,"indent","boolean",!1);return d(t)}}}(); +const Md=function(){function a(t,D,l,f,B=null){const L=k.string.fromString(D);if(t&&t.containsKey(L)){t=t.get(L);if("function"===l){D=new dd([dc.fc],dc.fc);if(1===t.length&&D.ia()(t[0]))return t[0];throw new G("Option "+L+" must be a function(xs:string) as xs:string","XPTY0004");}if(1===t.length&&La.type[l].matches(t[0])){if(B&&0>B.indexOf(t[0].value))throw new G("Invalid value "+L+"="+t[0],"FOJS0005");return t[0].value}throw new G("Invalid option: "+D+": must be "+l,"XPTY0004");}return f}function c(t, +D){function l(u){throw new G(u,"FOJS0001");}function f(){return p=B()}function B(){for(p="";;){if(q>=t.length)return["eof"];var u=t.charAt(q++);if(!/[ \n\r\t]/.test(u))break}switch(u){case "[":case "{":case "]":case "}":case ":":case ",":return[u];case '"':for(u=!1;;){const P=t.charAt(q++);if('"'!==P||u)p+=P,u="\\"===P&&!u;else return["string",p];q>=t.length&&l("Unclosed quotes in string literal")}case "-":case "0":case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":for(p+= +u;q=u){if(p+=u,++q>=t.length)break}else break;if(["true","false","null"].includes(p))return[p];l("Unknown constant "+p);break;default:return l("Unexpected character '"+u+"' ("+Da(u)+") at position "+q),-1}}function L(u){p[0]!==u&&l("Expected "+u+", found "+ +p[0])}function y(u){return p[0]===u?(f(),!0):!1}function b(u){return p[0]===u?(f(),!0):","===p[0]?(f(),!1):l("Expected ',' or '"+u+"', found '"+p[0]+"'")}function d(){switch(p[0]){case "[":f();D.Qh();if(!y("]")){do d();while(!b("]"))}D.bh();break;case "{":f();D.Rh();if(!y("}")){do L("string"),D.Yg(p[1]),f(),L(":"),f(),d();while(!b("}"))}D.dh();break;case "string":D.ah(p[1]);f();break;case "number":D.$g(p[1]);f();break;case "true":case "false":D.Xg(p[0]);f();break;case "null":D.Zg();f();break;default:l("Unexpected token "+ +p[0])}}t=t.replace(/^[\uFEFF]/,"");let q=0,p=null;p=f();d();L("eof");return D.result()}function n(t){try{return JSON.parse('"'+t+'"')}catch(D){throw new G(D.toString(),"FOJS0001");}}function F(t,D){const l=D.Ab,f=D.Cd;let B;B=f?L=>f.evaluate([[La.XS.string.fromString(I(L))]],l).next().toString():()=>"\ufffd";t=t.replace(/[\x00-\x08\x0B\x0C\x0E-\x0F\x80-\x9F\uFFFF]/g,B);return t=t.replace(/[\uD800-\uDFFF]+/g,L=>{let y="";for(let b=0;bd||b=== +L.length-1&&"\udc00">d?B(d):d}return y})}function I(t){for(t=t.charCodeAt(0).toString(16);4>t.length;)t="0"+t;return"\\u"+t.toUpperCase()}function m(t,D){this.g=[];this.I=[];this.Ab=D;a(t,"liberal","boolean",!1);this.Cd=a(t,"fallback","function",null);this.B=a(t,"escape","boolean",!1);this.K=a(t,"duplicates","string","use-first",["reject","use-first","use-last"]);if(this.B&&this.Cd)throw new G("parse-json: cannot use fallback with escape:true()","FOJS0005");}function g(t,D){this.g=[];this.K=[];this.I= +[];this.Ab=D;a(t,"liberal","boolean",!1);if(a(t,"validate","boolean",!1))throw new G("json-to-xml: validate option not supported in a non-schema-aware processor","FOJS0004");this.Cd=a(t,"fallback","function",null);this.B=a(t,"escape","boolean",!1);this.aa=a(t,"duplicates","string","use-first",["reject","use-first","retain"]);if(this.B&&this.Cd)throw new G("json-to-xml: cannot use fallback with escape:true()","FOJS0005");}const e=Zb.Oa,k=La.XS,v=ac.Ja;m.prototype={g:[],I:[],Ab:null,B:!1,Cd:null,K:"use-first", +aa:function(t){return this.B?JSON.stringify(t).replace(/^"|"$/g,"").replace(/\\"/g,'"').replace(/[\uD800-\uDFFF]/g,I):F(t,this)},ua:function(){return this.g[this.g.length-1]},j:function(t){if(0===this.g.length)this.g.push(t);else if(this.ua()instanceof $c)this.ua().value.push(t);else{const D=this.ua(),l=k.string.fromString(this.I.pop());if(D.containsKey(l))switch(this.K){case "reject":throw new G("json-to-xml: duplicate key '"+l.toString()+"'","FOJS0003");case "use-first":return}D.inSituPut(l,t)}}, +Zg:function(){this.j([])},Xg:function(t){this.j([k.boolean.fromString(t)])},$g:function(t){this.j([k.double.fromNumber(parseFloat(t))])},ah:function(t){this.j([k.string.fromString(this.aa(n(t)))])},Yg:function(t){this.I.push(this.aa(n(t)))},Qh:function(){this.g.push(new $c([]))},bh:function(){this.j([this.g.pop()])},Rh:function(){this.g.push(new cc)},dh:function(){this.j([this.g.pop()])},result:function(){return void 0!==this.ua()[0]?this.ua()[0]:null}};g.prototype={g:[],K:[{}],I:[],Ab:null,Cd:null, +B:!1,aa:"use-first",V:function(t){return this.B?JSON.stringify(t).replace(/^"|"$/g,"").replace(/\\"/g,'"').replace(/[\uD800-\uDFFF]/g,I):F(t,this)},ua:function(){return this.g[this.g.length-1]},j:function(t){if(0===this.g.length)t.setAttribute("xmlns",e),this.g.push(t);else{const D=this.ua();if("map"===D.tagName){const l=this.K.pop(),f=this.I[this.I.length-1];if(l in f)switch(this.aa){case "reject":throw new G("parse-json: duplicate key '"+l.toString()+"'","FOJS0003");case "use-first":return}f[l]= +t;t.setAttribute("key",l);this.B&&/\\/.test(l.toString())&&t.setAttribute("escaped-key","true")}D.appendChild(t)}},Zg:function(){const t=this.Ab.ja.createElementNS(e,"null");this.j(t)},Xg:function(t){const D=this.Ab.ja.createElementNS(e,"boolean");D.appendChild(this.Ab.ja.createTextNode(t.toString()));this.j(D)},$g:function(t){const D=this.Ab.ja.createElementNS(e,"number");D.appendChild(this.Ab.ja.createTextNode(t.toString()));this.j(D)},ah:function(t){const D=this.Ab.ja.createElementNS(e,"string"); +if(""!==t){t=this.V(n(t));const l=this.Ab.ja.createTextNode(t);this.B&&/\\/.test(t)&&D.setAttribute("escaped","true");D.appendChild(l)}this.j(D)},Yg:function(t){this.K.push(this.V(n(t)))},Qh:function(){const t=this.Ab.ja.createElementNS(e,"array");this.g.push(t)},bh:function(){this.j(this.g.pop())},Rh:function(){const t=this.Ab.ja.createElementNS(e,"map");this.g.push(t);this.I.push({})},dh:function(){this.I.pop();this.j(this.g.pop())},result:function(){return this.ua()}};return{ye:function(t,D,l){return c(t, +new m(D,l))},wj:function(t,D,l){return c(t,new g(D,l))},Pj:function(t,D){function l(p){throw new G("Invalid input to xml-to-json(): "+p,"FOJS0006");}function f(p){0!==d.Fc(p).length&&l("node "+p.tagName+" must have no element children")}function B(p){v.Ka(p).filter(function(u){return(3===u.nodeType||4===u.nodeType)&&u.nodeValue&&""!==Ha.trim(u.nodeValue)}).next()&&l("node "+p.tagName+" must have no text content")}function L(p){try{return k.boolean.fromString(p).toBoolean()}catch(u){l("invalid boolean: '"+ +p+"'")}}function y(p){try{JSON.parse('"'+p+'"')}catch(u){throw new G("invalid escape sequence: "+u.toString(),"FOJS0007");}}function b(p,u=0){const P=0===u,la=q?" ".repeat(3*u):"";if(9===p.nodeType||11===p.nodeType){var oa=d.Fc(p);1!==oa.length&&l("document node has "+oa.length+" element children");return b(oa[0],u)}if(1===p.nodeType){let K=!1;if(p.namespaceURI===e){let ca=null!==d.$a(p)&&"map"===d.$a(p).localName;v.Ha(p).forEachItem(function(x){if(0>x.name.indexOf(":")||x.namespaceURI===e)"key"=== +x.name||"escaped-key"===x.name?"escaped-key"===x.name?(ca||P||l("@escaped-key is allowed only on children of map, or on root element"),L(x.value)&&y(p.getAttribute("key"))):ca||P||l("@key is allowed only on children of map, or on root element"):"escaped"===x.name?("string"!==p.localName&&l("@escaped is allowed only on string"),K=L(x.value)):l("invalid attribute "+x.name)});switch(p.localName){case "null":return v.Ka(p).filter(function(N){return 8!==N.nodeType&&7!==N.nodeType}).next()&&l("null element must have no content"), +"null";case "string":f(p);oa=p.textContent;if(K)oa=oa.replace(/^"/g,'\\"').replace(/^[\b]/g,"\\b").replace(/^\f/g,"\\f").replace(/^\n/g,"\\n").replace(/^\r/g,"\\r").replace(/^\t/g,"\\t").replace(/^\//g,"\\/").replace(/([^\\])"/g,'$1\\"').replace(/([^\\])[\b]/g,"$1\\b").replace(/([^\\])\f/g,"$1\\f").replace(/([^\\])\n/g,"$1\\n").replace(/([^\\])\r/g,"$1\\r").replace(/([^\\])\t/g,"$1\\t").replace(/([^\\])\//g,"$1\\/").replace(/[\u0001-\u001F\u007F-\u009F]/g,I),y(oa);else return JSON.stringify(oa).replace(/\//g, +"\\/");return'"'+oa+'"';case "number":f(p);try{oa=k.double.fromString(p.textContent)}catch(N){l("invalid number")}isFinite(oa.toNumber())||l("NaN and INF not allowed");return oa.toString();case "boolean":return f(p),L(p.textContent),k.boolean.fromString(p.textContent).toString();case "array":B(p);let x=q?"[\n":"[",E=q?la:"";d.Fc(p).forEach(function(N){x+=E+b(N,u+1);E=q?`,\n${la}`:","});return x+"]";case "map":B(p);let A=q?"{\n":"{",H=q?la:"";const S={};d.Fc(p).forEach(function(N){N.hasAttribute("key")|| +l("child element of map must have a key");const aa=d.getAttribute(N,"key");let ma=aa;const ia=d.getAttribute(N,"escaped-key");let Y=!1;ia&&L(ia)&&(Y=!0,ma=n(aa));S[ma]&&l("duplicate key '"+aa+"'");S[ma]=!0;A+=H+(Y?'"'+aa+'"':JSON.stringify(aa).replace(/\//g,"\\/"))+":"+b(N,u+1);H=q?`,\n${la}`:","});return q?(oa=0{H.setAttributeNS(g.uri,g.toString(),p.value)});for(let p in q)q.hasOwnProperty(p)&&(a=q[p],""===p?H.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns",a):H.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+p,a))}endElement(){0===--this.j?this.oc=null:this.oc=this.oc.parentNode;this.B=null}text(a){this.B?this.B.appendData(a):(a=this.fd.createTextNode(a),Rd(this,a),0Yd(a,q));else{if(c instanceof ad.XdmFunction)throw new F("Cannot add a function item to an XDM node tree","SENR0001");if(c instanceof cc)throw new F("Cannot add a map to an XDM node tree","SENR0001");Zd.Gh(c,a);a.j=!1}} -class $d extends Qd{constructor(a){super();this.g=a;this.j=this.I=this.B=!1}Ea(a={}){Xd(this,a);this.B=!1}za(){this.j=!1;this.g.za()}na(a,c,q,E={}){Xd(this,E);this.g.na(a,c,q,E)}endElement(){this.g.endElement();this.j=!1}text(a,c={}){Xd(this,c);super.text(a,c);this.j=!1}wa(a,c={}){Xd(this,c);super.wa(a,c);this.j=!1}va(a,c,q={}){Xd(this,q);super.va(a,c,q);this.j=!1}append(a,c={}){Xd(this,c);Yd(this,a)}close(){this.B&&this.za();super.close()}} +class Od{Ea(){}za(){}na(){}endElement(){}text(){}wa(){}va(){}append(){}close(){}}function Pd(a,c){a.g=c;return a}class Qd extends Od{constructor(){super();this.g=null}Ea(a={}){this.g.Ea(a)}za(){this.g.za()}na(a,c,n,F={}){this.g.na(a,c,n,F)}endElement(){this.g.endElement()}text(a,c={}){this.g.text(a,c)}wa(a,c={}){this.g.wa(a,c)}va(a,c,n={}){this.g.va(a,c,n)}append(a,c={}){this.g.append(a,c)}close(){this.g.close()}}function Rd(a,c){0===a.j?a.Pb.push(c):a.pc.appendChild(c)} +class Sd extends Od{constructor(a){super();this.gd=(this.ra=a)?ac.Hc(a.ja):qa.getPlatform().createDocument();this.Pb=[];this.pc=null;this.j=0;this.B=null}Ea(a={}){if(0===this.j++){const c=this.pc=this.gd.createDocumentFragment();a.BASE_URI&&(c._saxonBaseUri=a.BASE_URI);this.Pb.push(c)}else throw new G("Builder.startDoc() not at top level");}za(){0===--this.j&&(this.pc=null)}na(a,c,n,F={}){var I=this.gd.createElementNS(a.uri,a.toString());F.BASE_URI&&(I._saxonBaseUri=F.BASE_URI);F.ORIGINAL_NODE&&(I._saxonOriginal= +F.ORIGINAL_NODE);F.CALLBACK&&F.CALLBACK(I);Rd(this,I);this.pc=I;this.j++;this.B=null;c.forEach((m,g)=>{I.setAttributeNS(g.uri,g.toString(),m.value)});for(let m in n)n.hasOwnProperty(m)&&(a=n[m],""===m?I.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns",a):I.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+m,a))}endElement(){0===--this.j?this.pc=null:this.pc=this.pc.parentNode;this.B=null}text(a){this.B?this.B.appendData(a):(a=this.gd.createTextNode(a),Rd(this,a),0Yd(a,n));else{if(c instanceof ad.XdmFunction)throw new G("Cannot add a function item to an XDM node tree","SENR0001");if(c instanceof cc)throw new G("Cannot add a map to an XDM node tree","SENR0001");Zd.Gh(c,a);a.j=!1}} +class $d extends Qd{constructor(a){super();this.g=a;this.j=this.I=this.B=!1}Ea(a={}){Xd(this,a);this.B=!1}za(){this.j=!1;this.g.za()}na(a,c,n,F={}){Xd(this,F);this.g.na(a,c,n,F)}endElement(){this.g.endElement();this.j=!1}text(a,c={}){Xd(this,c);super.text(a,c);this.j=!1}wa(a,c={}){Xd(this,c);super.wa(a,c);this.j=!1}va(a,c,n={}){Xd(this,n);super.va(a,c,n);this.j=!1}append(a,c={}){Xd(this,c);Yd(this,a)}close(){this.B&&this.za();super.close()}} function ae(a,c={}){a.I||(a.g.Ea(c),a.I=!0,a.j=!0);a.B||a.g.append(a.K,{});a.B=!1} -class be extends Qd{constructor(a,c){super();this.g=a;this.I=this.j=!1;this.B=!0;this.K=La.XS.string.fromString(c)}Ea(a={}){ae(this,a);this.j=!1}za(){this.g.za()}na(a,c,q,E={}){ae(this,E);this.g.na(a,c,q,E)}endElement(){this.g.endElement()}text(a,c={}){ae(this,c);super.text(a,c)}wa(a,c={}){ae(this,c);super.wa(a,c)}va(a,c,q={}){ae(this,q);super.va(a,c,q)}append(a,c={}){if(cd.isArray(a))a.flatten(q=>this.append(q,c));else{if(a instanceof ad.XdmFunction)throw new F("Cannot add a function item to an XDM node tree", -"SENR0001");if(a instanceof cc)throw new F("Cannot add a map to an XDM node tree","SENR0001");La.pa(a)?(ae(this,c),this.g.append(a,c)):(ae(this,c),Zd.Gh(a,this))}}close(){this.j&&this.za();super.close()}}function ce(a,c){return a.g.findIndex(q=>q.equals(c))}class de{constructor(){this.g=[];this.j=[]}get(a){a=ce(this,a);return 0>a?void 0:this.j[a]}set(a,c){const q=ce(this,a);0<=q?this.j[q]=c:(this.g.push(a),this.j.push(c))}forEach(a){for(let c=0;cthis.append(n,c));else{if(a instanceof ad.XdmFunction)throw new G("Cannot add a function item to an XDM node tree", +"SENR0001");if(a instanceof cc)throw new G("Cannot add a map to an XDM node tree","SENR0001");La.pa(a)?(ae(this,c),this.g.append(a,c)):(ae(this,c),Zd.Gh(a,this))}}close(){this.j&&this.za();super.close()}}function ce(a,c){return a.g.findIndex(n=>n.equals(c))}class de{constructor(){this.g=[];this.j=[]}get(a){a=ce(this,a);return 0>a?void 0:this.j[a]}set(a,c){const n=ce(this,a);0<=n?this.j[n]=c:(this.g.push(a),this.j.push(c))}forEach(a){for(let c=0;cd.append(l))}}return A}}function c(f){let A=f.N;f.parentNode&&(A=c(f.parentNode)+"/"+A);return A}function q(f){if(f.C){const A=f.C.map(a);return function(O,b){A.forEach(d=>d(O,b))}}return()=>{}}function E(f,A,O,b,d,l){if(ac.X(f))switch(f.nodeType){case 9:case 11:O.pb=ac.baseURI(f);p(f,O,d,l);break;case 1:if(f.hasAttribute("xml:base")){const r=f.getAttribute("xml:base"); -O.pb=ac.ld(r)?r:pa.Fb(r.toString(),cd.Ia(b,A)).toString()}else O.pb=ac.baseURI(f);p(f,O,d,l);break;case 3:case 4:O.text(f.nodeValue);break;case 7:O.va(f.target,f.data);break;case 8:O.wa(f.textContent);break;default:O.append(f)}else O.append(f)}function H(f,A,O){switch(f.nodeType){case 9:case 11:A.Ea(O?{BASE_URI:O}:{});f=f.childNodes;for(O=0;Or||O.index===r&&d)&&b.push({Lc:!1,string:l(f.substring(r,O.index))}),b.push({Lc:!0,groups:O,string:l(O[0])}),r=A.lastIndex,0===O[0].length&&A.lastIndex++,n++>10*f.length)throw new F("analyze-string looping???","SXJS0004");f.length>r&&b.push({Lc:!1,string:l(f.substring(r,f.length))});return b}function v(f){const A="compAtt"===f.N,O=cd.ib(cd.da(f,"name")),b=cd.ib(cd.da(f,"namespace"));return d=>{function l(){throw new F((A?"Attribute":"Element")+" name '"+r+"' is not a lexical QName", -A?"XTDE0850":"XTDE0820",f);}let r=Ha.trim(O(d).next().toString());if(b){d=(d=b(d).next())?d.value:"";if(!cd.Oj(d))throw new F((A?"Attribute":"Element")+" namespace '"+d+"' is invalid",A?"XTDE0865":"XTDE0835",f);var n=La.XS.QName;if(""===d&&r.includes(":"))n=n.fromParts("","",r.replace(/^.*:/,""));else if(r.includes(":")){const B=r.split(":");""!==B[0]&&""!==B[1]||l();n=n.fromParts(B[0],d,B[1])}else n=""===d?n.fromParts("","",r):n.fromParts(A?"ns0":"",d,r)}else{if(A&&"xmlns"===r)throw new F("Attribute must not be named xmlns", -"XTDE0855",f);try{n=cd.sg(f,r,!A)}catch(B){if(B instanceof F){if("XTDE0290"===B.code)throw new F((A?"Attribute":"Element")+" name '"+r+"' has an unbound prefix",A?"XTDE0860":"XTDE0830",f);"FORG0001"===B.code&&l()}throw B;}}if("http://www.w3.org/2000/xmlns/"===n.uri)throw new F("Disallowed namespace "+n.uri,A?"XTDE0865":"XTDE0835",f);return n}}class t{constructor(){}Ea(){}za(){}na(){}Ha(){}ob(){}endElement(){}text(){}wa(){}va(){}append(){}close(){}}class C extends t{constructor(f){super();this.j=f; -this.V=[];this.zb=[];this.pb=null;this.g=0;this.eb=this.I=null;this.K={};this.Ca=null;this.B=this.ra=!1;this.xa={};this.Nc=null}ta(f,A,O){var b=this.K[f];if(b&&b!==A)if("ns"===O){if(this.xa[f])throw new F("Two conflicting bindings for prefix '"+f+"'","XTDE0430");if(this.I.prefix===f){for(b=f+"_9";this.K[b];)b+="9";this.I=La.XS.QName.fromParts(b,this.I.uri,this.I.local);this.K[b]=this.I.uri}this.K[f]=A}else return""===f&&(f="NULL"),this.ta(f+"0",A,O);"ns"===O&&(this.xa[f]=A);if("elem"===O&&""===A)for(b= -this.V.length-1;0<=b;b--)if(""===this.V[b][0]){this.K[""]="";break}if(""!==f||""!==A){b=!1;for(let d=this.V.length-1;0<=d;d--){const l=this.V[d];if(l[0]===f){l[1]===A&&(b=!0);break}}if(!b){if(this.xa[f]&&this.xa[f]!==A)return this.ta(f+"0",A,O);this.K[f]=A}}return f}Ea(){0===this.g&&(this.j.Ea({BASE_URI:this.pb,ORIGINAL_NODE:this.Nc}),this.V=[]);this.aa();this.g++;this.B=this.ra=!1}za(){this.g--;0===this.g&&this.j.za();this.B=!1}na(f){this.aa();this.g++;this.ra=!0;this.I=f;this.eb=new de;this.K={}; -this.xa={};this.ta(f.prefix,f.uri,"elem");this.Ca=this.Nc;this.B=!1}Ha(f,A){if(0===this.g)this.j.append(new $b(f,A,null));else{if(!this.ra){if(this.I)throw new F("Cannot write attribute ("+f.toEQName()+"="+A+") after writing child nodes (level="+this.g+", start tag = "+this.I+")","XTDE0410");throw new F("Cannot attach an attribute ("+f.toEQName()+"="+A+") to a document node","XTDE0420");}if(""!==f.uri){["","xmlns"].includes(f.prefix)&&(f=f.withPrefix("ns_"));const O=this.ta(f.prefix,f.uri,"att"); -O!==f.prefix&&(f=f.withPrefix(O))}this.eb.set(f,{value:A,kb:0})}}ob(f,A){if(0===this.g)this.j.append(new bc(f,A));else{if(!this.ra)throw new F("Cannot write namespace after writing child nodes","XTDE0410");if(""===f&&""===this.I.uri)throw new F("Cannot add default namespace declaration to a no-namespace element","XTDE0440");this.ta(f,A,"ns")}}endElement(){this.aa();this.j.endElement();this.g--;let f=this.zb.pop();for(;0this.append(A));break;default:this.aa(),p(f,this,!0,!1)}this.B=!1}else if(0===this.g)this.j.append(f,{}),this.B=!1;else if(La.pa(f))this.aa(),this.text((this.B?" ":"")+f.toString(), -{}),this.B=!0;else if(cd.isArray(f)){f=f.value;for(let A=0;A{try{let B=A(r).next();if(null===B)return Ob;B=B.toString();const W=O(r).next().toString(),ma=b(r).next().toString(),qa=k(B,W,ma,!0,!1),L=r.ba(!1),aa=qa.map(z=>z.string);L.focus=Sb(Kb(aa));L.focus.forEachItem(()=>{const z=qa[L.focus.position-1];z.Lc?d&&(L.Mb=z.groups,d(L,n)):l&&(L.Mb=[],l(L, -n))})}catch(B){if(B instanceof F&&"FORX0002"===B.code)throw new F(B.message,"XTDE1140");if(B instanceof F&&"FORX0001"===B.code)throw new F(B.message,"XTDE1145");throw B;}}},applyImports:function(f){return function(A,O){const b=A.gb.mode;if(!b)throw new F("applyImports: no current mode","XTDE0560",f);fd(A,"XTDE0560","xsl:apply-imports",f);const d=A.ba(!0);d.sa=A.gb;cd.Ve(f,A,d);d.focus=A.focus;return b.ki(d,O)}},applyT:function(f){const A=cd.Sa(f),O=cd.ib(cd.da(f,"separator"));return function(b,d){let l; -const r=b.ba(!0);if(cd.Db(f,"c"))l=b.gb.mode,["function","globalVariable","globalParam"].includes(b.sa.actor.N)&&(l=cd.ke(f,b).Wh),r.sa=b.gb;else{var n=cd.ig(f,b,"mode");l=n.mode;if(l.Bh)throw new F("Mode "+l.Re.name+" only handles typed nodes","XTTE3100",f);r.sa=n}cd.Ve(f,b,r);n=O?O(b).next():null;r.focus=Sb(A(b));r.focus.Mb=b.focus?b.focus.Mb:null;l.Hb(r,d,n)}},att:function(f){const A=f.name,O=A.split(":");let b;b=f.nsuri?2===O.length?La.XS.QName.fromParts(O[0],f.nsuri,O[1]):La.XS.QName.fromParts("", -f.nsuri,A):La.XS.QName.fromString(A,cd.Wd(f,!1));const d=cd.Sa(f);return function(l,r){l=g(d(l));r.Ha(b,l)}},"break":function(f){const A=q(f);return function(O,b){A(O,b);O.focus.position=-999}},callT:function(f){return function(A,O){const b=cd.ig(f,A,"template"),d=A.ba(!0);d.Bb=null;d.sa=b;cd.Tf(b.actor,d);cd.Ve(f,A,d);A=b.actor;A.C&&q(A)(d,O)}},choose:function(f){f=f.C;const A=[],O=[];for(let b=0;b -A(O,b),b)}},copyOf:function(f){const A=cd.Db(f,"c"),O=cd.Db(f,"m"),b=cd.Sa(f);q(f);return function(d,l){b(d).forEachItem(r=>E(r,d,l,f,A,O))}},doc:function(f){const A=q(f);return function(O,b){b.pb=cd.Ia(f,O);b.Ea();A(O,b);b.za()}},elem:function(f){const A=f.name,O=A.split(":"),b=q(f);let d;d="undefined"!==typeof f.nsuri?2===O.length?La.XS.QName.fromParts(O[0],f.nsuri,O[1]):La.XS.QName.fromParts("",f.nsuri,A):La.XS.QName.fromString(A,cd.Wd(f,!0));return function(l,r){f.baseUri&&(r.pb=f.baseUri);r.na(d); -if(f.namespaces){const B=f.namespaces.toString().split(" ");for(let W=0;W{n?n=!1:l.text(B.value,{});O(r,l)})}else r.focus.forEachItem(()=>O(r,l))}},forEachGroup:function(f){const A=cd.ib(cd.da(f,"select")),O=Zd.wi(cd.da(f,"content"));return(b,d)=>{function l(L){const aa=[];r.forEachItem(function(z){L(aa,z)});return aa}const r=Sb(A(b)),n=b.ba(!1);n.focus=r;var B={starting:function(){const L=Kd.od(cd.da(f,"match"));return l(function(aa,z){1===r.position||Kd.matches(L,z,n)?aa.push({group:[z]}):aa[aa.length-1].group.push(z)})},ending:function(){const L= -Kd.od(cd.da(f,"match"));let aa=!1;return l(function(z,D){1===r.position||aa?z.push({group:[D]}):z[z.length-1].group.push(D);aa=Kd.matches(L,D,n)})},adjacent:function(){var L=cd.da(f,"collation");L=L?cd.evaluate(L,b).next().toString():Hd.$c;const aa=Hd.eg(L,b),z=cd.da(f,"key");let D=null;return l(function(y,I){var R=cd.evaluate(z,n).expand();1!==r.position&&Fd(Kb(R),Kb(D),aa.equals)?y[y.length-1].group.push(I):(y.push({group:[I],key:R}),D=R)})},by:function(){var L=cd.da(f,"collation");L=L?cd.evaluate(L, -b).next().toString():Hd.$c;L=Hd.eg(L,b);const aa=Hd.xf(L,!1),z=cd.da(f,"key");return l(function(D,y){let I,R=[];cd.evaluate(z,n).forEachItem(function(M){aa.containsKey(M)?(I=aa.get(M),0>R.findIndex(function(ca){return ca===I})&&(D[I].group.push(y),R.push(I))):(I=D.length,D.push({group:[y],key:[M]}),aa.inSituPut(M,I),R.push(I))})})},by_c:function(){var L=cd.da(f,"collation");L=L?cd.evaluate(L,b).next().toString():Hd.$c;L=Hd.eg(L,b);const aa=cd.da(f,"key"),z=Hd.xf(L,!0);return l(function(D,y){let I, -R=cd.evaluate(aa,n).expand();z.containsKey(R)?(I=z.get(R),D[I].group.push(y)):(I=D.length,D.push({group:[y],key:R}),z.inSituPut(R,I))})}};B.adjacent_c=B.adjacent;var W=f.algorithm+(cd.Db(f,"c")?"_c":"");let ma;try{ma=B[W]()}catch(L){if(L instanceof F&&"FOCH0002"===L.code)throw new F("Unknown collation:"+L.message,"XTDE1110");throw L;}const qa=cd.qb(f,"sortKey");if(0I)return-1;if(0W(l));var n=l.ba(!1);n.focus=Sb(O(l));n.ab=null;let B=!1;for(;null!==n.focus.next();)if(b(n,r),-999===n.focus.position){B=!0;break}!B&&d&&(n=l.ba(!1),n.focus=null,d(n,r))}},let:function(f){const A=cd.Sa(f),O=a(f.C[1]),b=parseInt(f.slot,10);return function(d,l){const r=d.qa;d.qa="variable";const n=A(d).expand();d.qa=r;d.oa[b]=n;O(d,l)}},nextIteration:function(f){const A=cd.qb(f,"withParam").map(O=>({select:cd.Sa(O),slot:parseInt(O.slot,10)}));return function(O){A.forEach(b=> -b.value=b.select(O).expand());A.forEach(b=>O.oa[b.slot]=b.value)}},nextMatch:function(f){return function(A,O){const b=A.gb.mode;if(!b)throw new F("next-match: no current mode","XTDE0560",f);if(!A.ab)throw new F("next-match: no current template","XTDE0560",f);if(ee(A))throw new F("next-match: no context item","XTDE0560",f);const d=A.ba(!0);d.sa=A.gb;cd.Ve(f,A,d);return b.qj(d,O)}},procInst:function(f){const A=cd.Sa(f),O=cd.Vg(f);return function(b,d){const l=A(b).next().toString();if(!Ha.Lb(l))throw new F("The name of a processing-instruction must be a valid NCName; supplied value: "+ -l.toString(),"XTDE0890",f);if(/^[Xx][Mm][Ll]$/.test(l))throw new F("The name of a processing-instruction must not be 'xml'","XTDE0890",f);b=O(b);b=g(b).replace(/\?>/g,"? >").replace(/^\s+/,"");d.va(l,b)}},sequence:q,sourceDoc:function(f){const A=cd.ib(cd.da(f,"href")),O=a(f.C[1]);return function(b,d){const l=b.ba(!1);var r=null===A?"":A(b).next().toString();r=pa.Fb(r,cd.Ia(f,b));r=Nd.Dc(r,b);b=b.fixed.Ee;null!==b&&(r=b(r));l.focus=Rb(r);l.ab=null;O(l,d)}},useAS:function(f){return function(A,O){var b= -cd.ig(f,A,"attributeSet");A=A.ba(!0);A.qa="attribute set";A.sa=b;b=b.actor;b.C&&q(b)(A,O)}},valueOf:function(f){const A=cd.Sa(f);let O={};cd.Db(f,"d")&&(O.DISABLE_ESCAPING=!0);return function(b,d){b=g(A(b));d.text(b,O)}}};return{Of:k,wi:a,Fc:function(f){return new C(f)},push:function(f,A,O){if("undefined"===typeof O)throw sa.Ma(Error().stack,1,A.fixed.Ta),new F("No output for "+c(f));if(m[f.N]){var b=a(f);try{b(A,O)}catch(d){throw d instanceof F&&!d.xsltLineNr&&ra(d,f),d;}}else{b=cd.ib(f);try{const d= -b(A);let l;for(;null!=(l=d.next());)O.append(l)}catch(d){throw d instanceof F&&!d.xsltLineNr&&ra(d,f),d;}}},Gh:H,qf:E,rg:e}}(); +var Zd=function(){function a(f){if(f){var B=f.PUSH;if(!B)if(B=l[f.N])f.PUSH=B=B(f);else{const L=cd.ib(f);f.PUSH=B=function(y,b){L(y).forEachItem(d=>b.append(d))}}return B}}function c(f){let B=f.N;f.parentNode&&(B=c(f.parentNode)+"/"+B);return B}function n(f){if(f.C){const B=f.C.map(a);return function(L,y){B.forEach(b=>b(L,y))}}return()=>{}}function F(f,B,L,y,b,d){if(ac.X(f))switch(f.nodeType){case 9:case 11:L.pb=ac.baseURI(f);m(f,L,b,d);break;case 1:if(f.hasAttribute("xml:base")){const q=f.getAttribute("xml:base"); +L.pb=ac.ld(q)?q:qa.Fb(q.toString(),cd.Ia(y,B)).toString()}else L.pb=ac.baseURI(f);m(f,L,b,d);break;case 3:case 4:L.text(f.nodeValue);break;case 7:L.va(f.target,f.data);break;case 8:L.wa(f.textContent);break;default:L.append(f)}else L.append(f)}function I(f,B,L){switch(f.nodeType){case 9:case 11:B.Ea(L?{BASE_URI:L}:{});f=f.childNodes;for(L=0;Lq||L.index===q&&b)&&y.push({Nc:!1,string:d(f.substring(q,L.index))}),y.push({Nc:!0,groups:L,string:d(L[0])}),q=B.lastIndex,0===L[0].length&&B.lastIndex++,p++>10*f.length)throw new G("analyze-string looping???","SXJS0004");f.length>q&&y.push({Nc:!1,string:d(f.substring(q,f.length))});return y}function v(f){const B="compAtt"===f.N,L=cd.ib(cd.da(f,"name")),y=cd.ib(cd.da(f,"namespace"));return b=>{function d(){throw new G((B?"Attribute":"Element")+" name '"+q+"' is not a lexical QName", +B?"XTDE0850":"XTDE0820",f);}let q=Ha.trim(L(b).next().toString());if(y){b=(b=y(b).next())?b.value:"";if(!cd.Oj(b))throw new G((B?"Attribute":"Element")+" namespace '"+b+"' is invalid",B?"XTDE0865":"XTDE0835",f);var p=La.XS.QName;if(""===b&&q.includes(":"))p=p.fromParts("","",q.replace(/^.*:/,""));else if(q.includes(":")){const u=q.split(":");""!==u[0]&&""!==u[1]||d();p=p.fromParts(u[0],b,u[1])}else p=""===b?p.fromParts("","",q):p.fromParts(B?"ns0":"",b,q)}else{if(B&&"xmlns"===q)throw new G("Attribute must not be named xmlns", +"XTDE0855",f);try{p=cd.tg(f,q,!B)}catch(u){if(u instanceof G){if("XTDE0290"===u.code)throw new G((B?"Attribute":"Element")+" name '"+q+"' has an unbound prefix",B?"XTDE0860":"XTDE0830",f);"FORG0001"===u.code&&d()}throw u;}}if("http://www.w3.org/2000/xmlns/"===p.uri)throw new G("Disallowed namespace "+p.uri,B?"XTDE0865":"XTDE0835",f);return p}}class t{constructor(){}Ea(){}za(){}na(){}Ha(){}ob(){}endElement(){}text(){}wa(){}va(){}append(){}close(){}}class D extends t{constructor(f){super();this.j=f; +this.V=[];this.zb=[];this.pb=null;this.g=0;this.eb=this.I=null;this.K={};this.Ca=null;this.B=this.ra=!1;this.xa={};this.Oc=null}ta(f,B,L){var y=this.K[f];if(y&&y!==B)if("ns"===L){if(this.xa[f])throw new G("Two conflicting bindings for prefix '"+f+"'","XTDE0430");if(this.I.prefix===f){for(y=f+"_9";this.K[y];)y+="9";this.I=La.XS.QName.fromParts(y,this.I.uri,this.I.local);this.K[y]=this.I.uri}this.K[f]=B}else return""===f&&(f="NULL"),this.ta(f+"0",B,L);"ns"===L&&(this.xa[f]=B);if("elem"===L&&""===B)for(y= +this.V.length-1;0<=y;y--)if(""===this.V[y][0]){this.K[""]="";break}if(""!==f||""!==B){y=!1;for(let b=this.V.length-1;0<=b;b--){const d=this.V[b];if(d[0]===f){d[1]===B&&(y=!0);break}}if(!y){if(this.xa[f]&&this.xa[f]!==B)return this.ta(f+"0",B,L);this.K[f]=B}}return f}Ea(){0===this.g&&(this.j.Ea({BASE_URI:this.pb,ORIGINAL_NODE:this.Oc}),this.V=[]);this.aa();this.g++;this.B=this.ra=!1}za(){this.g--;0===this.g&&this.j.za();this.B=!1}na(f){this.aa();this.g++;this.ra=!0;this.I=f;this.eb=new de;this.K={}; +this.xa={};this.ta(f.prefix,f.uri,"elem");this.Ca=this.Oc;this.B=!1}Ha(f,B){if(0===this.g)this.j.append(new $b(f,B,null));else{if(!this.ra){if(this.I)throw new G("Cannot write attribute ("+f.toEQName()+"="+B+") after writing child nodes (level="+this.g+", start tag = "+this.I+")","XTDE0410");throw new G("Cannot attach an attribute ("+f.toEQName()+"="+B+") to a document node","XTDE0420");}if(""!==f.uri){["","xmlns"].includes(f.prefix)&&(f=f.withPrefix("ns_"));const L=this.ta(f.prefix,f.uri,"att"); +L!==f.prefix&&(f=f.withPrefix(L))}this.eb.set(f,{value:B,kb:0})}}ob(f,B){if(0===this.g)this.j.append(new bc(f,B));else{if(!this.ra)throw new G("Cannot write namespace after writing child nodes","XTDE0410");if(""===f&&""===this.I.uri)throw new G("Cannot add default namespace declaration to a no-namespace element","XTDE0440");this.ta(f,B,"ns")}}endElement(){this.aa();this.j.endElement();this.g--;let f=this.zb.pop();for(;0this.append(B));break;default:this.aa(),m(f,this,!0,!1)}this.B=!1}else if(0===this.g)this.j.append(f,{}),this.B=!1;else if(La.pa(f))this.aa(),this.text((this.B?" ":"")+f.toString(), +{}),this.B=!0;else if(cd.isArray(f)){f=f.value;for(let B=0;B{try{let u=B(q).next();if(null===u)return Ob;u=u.toString();const P=L(q).next().toString(),la=y(q).next().toString(),oa=k(u,P,la,!0,!1),K=q.ba(!1),ca=oa.map(x=>x.string);K.focus=Sb(Kb(ca));K.focus.forEachItem(()=>{const x=oa[K.focus.position-1];x.Nc?b&&(K.Nb=x.groups,b(K,p)):d&&(K.Nb=[],d(K, +p))})}catch(u){if(u instanceof G&&"FORX0002"===u.code)throw new G(u.message,"XTDE1140");if(u instanceof G&&"FORX0001"===u.code)throw new G(u.message,"XTDE1145");throw u;}}},applyImports:function(f){return function(B,L){const y=B.gb.mode;if(!y)throw new G("applyImports: no current mode","XTDE0560",f);fd(B,"XTDE0560","xsl:apply-imports",f);const b=B.ba(!0);b.sa=B.gb;cd.Ve(f,B,b);b.focus=B.focus;return y.ki(b,L)}},applyT:function(f){const B=cd.Sa(f),L=cd.ib(cd.da(f,"separator"));return function(y,b){let d; +const q=y.ba(!0);if(cd.Db(f,"c"))d=y.gb.mode,["function","globalVariable","globalParam"].includes(y.sa.actor.N)&&(d=cd.me(f,y).Wh),q.sa=y.gb;else{var p=cd.ig(f,y,"mode");d=p.mode;if(d.Bh)throw new G("Mode "+d.Re.name+" only handles typed nodes","XTTE3100",f);q.sa=p}cd.Ve(f,y,q);p=L?L(y).next():null;q.focus=Sb(B(y));q.focus.Nb=y.focus?y.focus.Nb:null;d.Hb(q,b,p)}},att:function(f){const B=f.name,L=B.split(":");let y;y=f.nsuri?2===L.length?La.XS.QName.fromParts(L[0],f.nsuri,L[1]):La.XS.QName.fromParts("", +f.nsuri,B):La.XS.QName.fromString(B,cd.Xd(f,!1));const b=cd.Sa(f);return function(d,q){d=g(b(d));q.Ha(y,d)}},"break":function(f){const B=n(f);return function(L,y){B(L,y);L.focus.position=-999}},callT:function(f){return function(B,L){const y=cd.ig(f,B,"template"),b=B.ba(!0);b.Bb=null;b.sa=y;cd.Tf(y.actor,b);cd.Ve(f,B,b);B=y.actor;B.C&&n(B)(b,L)}},choose:function(f){f=f.C;const B=[],L=[];for(let y=0;y +B(L,y),y)}},copyOf:function(f){const B=cd.Db(f,"c"),L=cd.Db(f,"m"),y=cd.Sa(f);n(f);return function(b,d){y(b).forEachItem(q=>F(q,b,d,f,B,L))}},doc:function(f){const B=n(f);return function(L,y){y.pb=cd.Ia(f,L);y.Ea();B(L,y);y.za()}},elem:function(f){const B=f.name,L=B.split(":"),y=n(f);let b;b="undefined"!==typeof f.nsuri?2===L.length?La.XS.QName.fromParts(L[0],f.nsuri,L[1]):La.XS.QName.fromParts("",f.nsuri,B):La.XS.QName.fromString(B,cd.Xd(f,!0));return function(d,q){f.baseUri&&(q.pb=f.baseUri);q.na(b); +if(f.namespaces){const u=f.namespaces.toString().split(" ");for(let P=0;P{p?p=!1:d.text(u.value,{});L(q,d)})}else q.focus.forEachItem(()=>L(q,d))}},forEachGroup:function(f){const B=cd.ib(cd.da(f,"select")),L=Zd.wi(cd.da(f,"content"));return(y,b)=>{function d(K){const ca=[];q.forEachItem(function(x){K(ca,x)});return ca}const q=Sb(B(y)),p=y.ba(!1);p.focus=q;var u={starting:function(){const K=Kd.od(cd.da(f,"match"));return d(function(ca,x){1===q.position||Kd.matches(K,x,p)?ca.push({group:[x]}):ca[ca.length-1].group.push(x)})},ending:function(){const K= +Kd.od(cd.da(f,"match"));let ca=!1;return d(function(x,E){1===q.position||ca?x.push({group:[E]}):x[x.length-1].group.push(E);ca=Kd.matches(K,E,p)})},adjacent:function(){var K=cd.da(f,"collation");K=K?cd.evaluate(K,y).next().toString():Hd.ad;const ca=Hd.eg(K,y),x=cd.da(f,"key");let E=null;return d(function(A,H){var S=cd.evaluate(x,p).expand();1!==q.position&&Fd(Kb(S),Kb(E),ca.equals)?A[A.length-1].group.push(H):(A.push({group:[H],key:S}),E=S)})},by:function(){var K=cd.da(f,"collation");K=K?cd.evaluate(K, +y).next().toString():Hd.ad;K=Hd.eg(K,y);const ca=Hd.xf(K,!1),x=cd.da(f,"key");return d(function(E,A){let H,S=[];cd.evaluate(x,p).forEachItem(function(N){ca.containsKey(N)?(H=ca.get(N),0>S.findIndex(function(aa){return aa===H})&&(E[H].group.push(A),S.push(H))):(H=E.length,E.push({group:[A],key:[N]}),ca.inSituPut(N,H),S.push(H))})})},by_c:function(){var K=cd.da(f,"collation");K=K?cd.evaluate(K,y).next().toString():Hd.ad;K=Hd.eg(K,y);const ca=cd.da(f,"key"),x=Hd.xf(K,!0);return d(function(E,A){let H, +S=cd.evaluate(ca,p).expand();x.containsKey(S)?(H=x.get(S),E[H].group.push(A)):(H=E.length,E.push({group:[A],key:S}),x.inSituPut(S,H))})}};u.adjacent_c=u.adjacent;var P=f.algorithm+(cd.Db(f,"c")?"_c":"");let la;try{la=u[P]()}catch(K){if(K instanceof G&&"FOCH0002"===K.code)throw new G("Unknown collation:"+K.message,"XTDE1110");throw K;}const oa=cd.qb(f,"sortKey");if(0H)return-1;if(0P(d));var p=d.ba(!1);p.focus=Sb(L(d));p.ab=null;let u=!1;for(;null!==p.focus.next();)if(y(p,q),-999===p.focus.position){u=!0;break}!u&&b&&(p=d.ba(!1),p.focus=null,b(p,q))}},let:function(f){const B=cd.Sa(f),L=a(f.C[1]),y=parseInt(f.slot,10);return function(b,d){const q=b.qa;b.qa="variable";const p=B(b).expand();b.qa=q;b.oa[y]=p;L(b,d)}},nextIteration:function(f){const B=cd.qb(f,"withParam").map(L=>({select:cd.Sa(L),slot:parseInt(L.slot,10)}));return function(L){B.forEach(y=> +y.value=y.select(L).expand());B.forEach(y=>L.oa[y.slot]=y.value)}},nextMatch:function(f){return function(B,L){const y=B.gb.mode;if(!y)throw new G("next-match: no current mode","XTDE0560",f);if(!B.ab)throw new G("next-match: no current template","XTDE0560",f);if(ee(B))throw new G("next-match: no context item","XTDE0560",f);const b=B.ba(!0);b.sa=B.gb;cd.Ve(f,B,b);return y.qj(b,L)}},procInst:function(f){const B=cd.Sa(f),L=cd.Wg(f);return function(y,b){const d=B(y).next().toString();if(!Ha.Mb(d))throw new G("The name of a processing-instruction must be a valid NCName; supplied value: "+ +d.toString(),"XTDE0890",f);if(/^[Xx][Mm][Ll]$/.test(d))throw new G("The name of a processing-instruction must not be 'xml'","XTDE0890",f);y=L(y);y=g(y).replace(/\?>/g,"? >").replace(/^\s+/,"");b.va(d,y)}},sequence:n,sourceDoc:function(f){const B=cd.ib(cd.da(f,"href")),L=a(f.C[1]);return function(y,b){const d=y.ba(!1);var q=null===B?"":B(y).next().toString();q=qa.Fb(q,cd.Ia(f,y));q=Nd.Ec(q,y);y=y.fixed.Ee;null!==y&&(q=y(q));d.focus=Rb(q);d.ab=null;L(d,b)}},useAS:function(f){return function(B,L){var y= +cd.ig(f,B,"attributeSet");B=B.ba(!0);B.qa="attribute set";B.sa=y;y=y.actor;y.C&&n(y)(B,L)}},valueOf:function(f){const B=cd.Sa(f);let L={};cd.Db(f,"d")&&(L.DISABLE_ESCAPING=!0);return function(y,b){y=g(B(y));b.text(y,L)}}};return{Of:k,wi:a,Gc:function(f){return new D(f)},push:function(f,B,L){if("undefined"===typeof L)throw sa.Ma(Error().stack,1,B.fixed.Ta),new G("No output for "+c(f));if(l[f.N]){var y=a(f);try{y(B,L)}catch(b){throw b instanceof G&&!b.xsltLineNr&&ra(b,f),b;}}else{y=cd.ib(f);try{const b= +y(B);let d;for(;null!=(d=b.next());)L.append(d)}catch(b){throw b instanceof G&&!b.xsltLineNr&&ra(b,f),b;}}},Gh:I,rf:F,sg:e}}(); // Input 33 -const fe=function(){function a(L,aa,z,D,y){function I(V){return null===r.Xa(V)}function R(V){return V.nodeType===M.nodeType&&(null===ea?!0:r.ca(V).equals(ea))}let M;const ca=y.fixed.ka;if(aa){if(M=ca.evaluate(aa,y).next(),!M||!r.X(M))throw new F("xsl:number/@select must yield a single node","XTTE1000");}else fd(y,"XTTE0990","xsl:number"),M=ed(y);const ea=r.ca(M);let ja=R;if(null!==z){const V=Kd.od(z);ja=function(la){return Kd.matches(V,la,y)}}if(null===D)aa=I;else{const V=Kd.od(D);aa=function(la){return I(la)|| -Kd.matches(V,la,y)}}let Y;switch(L){case "simple":return L=n.Oc(M).filter(R),Ub(L.count()+1);case "single":L=n.Ya(M).filter(ja).next();Y=n.Ya(M).filter(aa).next();L=null===L?null:null!==n.Ya(L).filter(function(la){return r.isSameNode(la,Y)}).next()?L:null;if(null===L)return Ob;L=n.Oc(L).filter(ja);return Ub(L.count()+1);case "multi":L=Kb(n.Ya(M).filter(ja).expand().reverse());Y=n.Ya(M).filter(aa).next();L=L.filter(function(la){return null!==n.Ya(la).filter(function(x){return r.isSameNode(x,Y)}).next()}); -const V=B.integer.fromNumber;return L.mapOneToOne(la=>V(n.Oc(la).filter(ja).count()+1));case "any":return z=function(la,x){return r.rb(x,la)},L=new Eb(n.og(M).filter(ja),n.Ya(M).filter(ja),z),Y=(new Eb(n.og(M).filter(aa),n.Ya(M).filter(aa),z)).next(),null===Y&&sa.la("from pattern selected empty"),L=L.filter(function(la){return 0<=r.rb(la,Y)}),L=L.count(),0===L?Ob:Ub(L);default:return sa.la("unknown xsl:number/@level "+L),Ob}}function c(L,aa,z,D,y,I,R){function M(ea){let ja;""===ea&&(ea="1");if(/^[\x01-\x7f]*$/.test(ea))ea= -ea.split(/\b/),ja=function(la){return/\w+/.test(la)};else{if(ea.length!==Da(ea).length)throw new F("Cannot handle non-BMP characters in format-number picture","SXJS0002");const la=Zd.Of(ea,"[\\p{Nd}\\p{Nl}\\p{No}\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}]+","",!0,!1);ja=function(x,K){return la[K].Lc};ea=la.map(function(x){return x.string.toString()})}const Y={prefix:"",ed:[],Xd:""};let V=".";for(let la=0;la=Y.ed.length?Y.ed[Y.ed.length-1]:Y.ed[x];0!==x&&(V+=K.Kh);x=K.Pg;y&&(x+=";o");la=fe.bg(la.toNumber(),x);null!==z&&null!==D&&(la=fe.Mf(la, -z,D));V+=la});V+=Y.Xd;return Tb(V)}(L.expand())}function q(L,aa,z,D,y){const I=y.fixed.ka;let R=[1];null!==z&&(R=I.evaluate(z,y).next().toString().split(/\s+/).map(function(M){if(!/^-?[0-9]+$/.test(M))throw new F("xsl:number/@start-at must be a sequence of integers. Offending value: "+M,"XTSE0020");return parseInt(M,10)}));if(aa&&D){L=L.next();if(null===L)return null;try{L=B.integer.R(L.round(0))}catch(M){return null}L=Kb([L])}return L.mapOneToOne(function(M,ca){M=M.isNumeric()?M.toDouble():B.double.cf(M.toString()); -if(0>M.toNumber())throw new F(`xsl:number/@value is less than zero (${M.toString()})`,"XTDE0980");try{M=B.integer.R(M.round(0))}catch(ea){throw ea.code="XTDE0980",ea;}ca=ca>=R.length?R[R.length-1]:R[ca];1!==ca&&(M=B.integer.fromNumber(M.toNumber()+(ca-1)));return M})}function E(L){if(1>L||4999=D[y];)aa+=z[y],L-=D[y];return aa}function H(L, -aa){function z(y){return(y>D?z(Math.floor((y-1)/D)):"")+aa.charAt((y-1)%D)}if(1>L)return L.toString();const D=aa.length;return z(L)}function p(L,aa){return Lz?z.toString():wa(z).toFixed();z.lengthL&&(z="-"+z);return z}function e(L,aa="FODF1310"){const z=Da(L),D={};let y=!0;var I=0;let R;const M=Ha.Ce("\\p{Nd}",null);var ca=L.search(M);if(0>ca)y=!1;else{I=Ha.tj().Nd;for(let ja=0;jaz[ca]||z[ca]>R+10)throw new F("Picture string mixes digits from different digit families: "+L,aa);}else if(Ha.Ce("\\p{N}\\p{L}",null).test(I))throw new F("Picture string is invalid: "+L,aa);const ea=[];I=R-48;z.forEach(function(ja){R<=ja&&ja<=R+10?ea.push(48):ea.push(ja)});L=Ea(ea)}D.aj=y;D.format=L;D.Yf=I;D.Af=R;return D}function k(L,aa){const z=[];Da(L).forEach(function(D){48<= -D&&57>=D?z.push(D+aa):z.push(D)});return Ea(z)}function v(L,aa,z,D="",y=!1){let I=0;for(let R=0;Rz[0]&&(R=!1);if(R)for(I=1;IL?aa[L]: -100>L?z[Math.floor(L/10)]+(0===L%10?"":" "+aa[L%10]):1E3>L?C(Math.floor(L/100))+" Hundred"+(0===L%100?"":" and "+C(L%100)):1E6>L?C(Math.floor(L/1E3))+" Thousand"+(0===L%1E3?"":(100>L%1E3?" and ":" ")+C(L%1E3)):1E9>L?C(Math.floor(L/1E6))+" Million"+(0===L%1E3?"":(100>L%1E3?" and ":" ")+C(L%1E6)):L.toString()}function m(L){const aa="Zeroth First Second Third Fourth Fifth Sixth Seventh Eighth Ninth Tenth Eleventh Twelfth Thirteenth Fourteenth Fifteenth Sixteenth Seventeenth Eighteenth Nineteenth".split(" "), -z=" Twent Thirt Fort Fift Sixt Sevent Eight Ninet".split(" ");return 20>L?aa[L]:100>L?z[Math.floor(L/10)]+(0===L%10?"ieth":"y "+aa[L%10]):1E3>L?C(Math.floor(L/100))+" Hundred"+(0===L%100?"th":" and "+m(L%100)):1E6>L?C(Math.floor(L/1E3))+" Thousand"+(0===L%1E3?"th":(100>L%1E3?" and ":" ")+m(L%1E3)):1E9>L?C(Math.floor(L/1E6))+" Million"+(0===L%1E3?"th":(100>L%1E3?" and ":" ")+m(L%1E6)):L.toString()}function f(L){return 1===L%10&&11!==L%100?"st":2===L%10&&12!==L%100?"nd":3===L%10&&13!==L%100?"rd":"th"} -function A(L,aa,z="FODF1310"){function D(R,M){let ca="";for(let ea=R.charCodeAt(0),ja=0;jaL?"-":"";if("o"===I)switch(aa.toString()){case "a":case "A":case "i":case "I":break; -case "Ww":return y+m(Math.abs(L));case "W":return y+m(Math.abs(L)).toUpperCase();case "w":return y+m(Math.abs(L)).toLowerCase();default:return t(L,aa,z)+f(Math.abs(L))}switch(aa.toString()){case "a":return H(L,D("a",26));case "A":return H(L,D("A",26));case "\u03b1":return H(L,D("\u03b1",25));case "\u0391":return H(L,D("\u0391",25));case "i":return E(L);case "I":return E(L).toUpperCase();case "Ww":return y+C(Math.abs(L));case "W":return y+C(Math.abs(L)).toUpperCase();case "w":return y+C(Math.abs(L)).toLowerCase(); -case "\u2460":return p(L,"\u24ea"+D("\u2460",20)+D("\u3251",15)+D("\u32b1",15));case "\u2474":return p(L,"0"+D("\u2474",20));case "\u2488":return 0===L?"\ud83c\udd00":p(L,"0"+D("\u2488",20));case "\u2776":return p(L,"\u24ff"+D("\u2776",10)+D("\u24eb",10));case "\u2780":return 0===L?"\ud83c\udd0b":p(L,"0"+D("\u2780",10));case "\u278a":return 0===L?"\ud83c\udd0c":p(L,"0"+D("\u278a",10));case "\u24f5":return p(L,"0"+D("\u24f5",10));case "\u3220":return p(L,"0"+D("\u3220",10));case "\u3280":return p(L, -"0"+D("\u3280",10));default:return t(L,aa,z)}}function O(L,aa){return String.fromCharCode(parseInt(L[aa]?L[aa]:W[aa],10))}function b(L,aa){function z(S){[["$gs","grouping separator"],["$es","exponent separator"],["$ds","decimal separator"],["$pc","non-prefix passive character"],["$pp","percent|permille"],["$od","optional digit"],["$md","mandatory digit"],["$ip","integer part"],["$fp","fractional part"]].forEach(function(da){S=S.replace(da[0],da[1])});throw new F("Invalid picture: "+S,"FODF1310"); -}const D={};var y=L.indexOf(aa.af),I=0<=y;const R=aa.Af.charCodeAt(0);let M=0,ca=0,ea=[];const ja=[],Y=[];let V=-1,la=-1,x=!1,K=!1;var U=-1;let ha=0;var T=I?y:L.length;for(var w=0;w=R&&ZM&&0>V&&(V=w),M++,ca++)):Z===aa.Ug.charCodeAt(0)?(0V&&(V=w,K=!0),ca++):Z===aa.pe.charCodeAt(0)?(0V&&z("$pp before any digit"),0la&&(la=w),Z===aa.sd.charCodeAt(0)?D.sd=!0:D.Ae=!0):!I&&0<=V&&Z===aa.Bc.charCodeAt(0)&&0>la?x?(Y.push(Z),0la&&(la=w):(Y.push(Z),x=!1,U=-1,0>la&&(la=w-1))):(x=!0,U=w):0<=V&&I?z("$pc before $ds"):x&&0===ha?(x=!1,U=-1,Y.push(aa.Bc.charCodeAt(0)),Y.push(Z),0>la&&(la=w-1)):0<=V?(Y.push(Z),0>la&&(la=w)):ja.push(Z)}if(0=R&&dala?ha++:0<=I||0<=la?z("$md follows $od or $pc in $fp"):(T++,w++):da===aa.Ug.charCodeAt(0)?((0<=la||x)&&z("$od follows $pc or $es"),0>I&&(I=S),w++):da===aa.pe.charCodeAt(0)?((0<=la||x)&&z("$gs follows $pc or $es"), -Z.push(S-y+1)):da===aa.af.charCodeAt(0)?z("more than one $ds"):da===aa.sd.charCodeAt(0)||da===aa.Ae.charCodeAt(0)?((0<=la||x)&&z("$pp follows $pc or $es"),Y.push(da),la=S,da===aa.sd.charCodeAt(0)?D.sd=!0:D.Ae=!0):da===aa.Bc.charCodeAt(0)&&0>la?x?(Y.push(da),0la&&(la=S):(Y.push(da),x=!1,U=-1,0>la&&(la=S-1))):(x=!0,U=S):x&&0===ha?(x=!1,U=-1,Y.push(aa.Bc.charCodeAt(0)),Y.push(da),0>la&&(la=S-1)):(Y.push(da),0>la&&(la=S))}}0>V&&0===w&&z("mantissa contains no digits");if(0!==Z.length)for(0===Z[0]&& -z("$gs at beginning of $fp"),y=0;y=D+z?l(new Date(L.getTime()-864E5),aa):Math.floor((z+D-2)/7)+(5>D?1:0)}const r=ac,n=r.Ja,B=La.XS,W={"decimal-separator":"46","grouping-separator":"44",digit:"35","minus-sign":"45",percent:"37","per-mille":"8240","zero-digit":"48","exponent-separator":"101","pattern-separator":"59",infinity:"Infinity",NaN:"NaN"},ma={Y:"getUTCFullYear",M:"getUTCMonth",D:"getUTCDate",F:"getUTCDay",H:"getUTCHours",m:"getUTCMinutes",s:"getUTCSeconds",f:"getUTCMilliseconds"},qa={d,W:function(L){return l(L, -!0)},w:function(L){return l(L,!1)},h:function(L){return 13>L.getUTCHours()?0===L.getUTCHours()?12:L.getUTCHours():L.getUTCHours()-12},P:function(L){return 12>L.getUTCHours()?"Am":"Pm"},E:function(L){return 0>L.getUTCFullYear()?"BC":"AD"}};return{rj:function(L,aa){const z=aa.fixed.ka,D=L.level,y=z.da(L,"select"),I=z.da(L,"count");L=z.da(L,"from");return a(D,y,I,L,aa)},sj:function(L,aa){var z=aa.fixed.ka;const D=z.da(L,"value"),y=z.da(L,"format"),I=z.qc(z.da(L,"gpSep"),aa).next(),R=z.qc(z.da(L,"gpSize"), -aa).next();var M=z.qc(z.da(L,"ordinal"),aa).next();const ca=z.qc(z.da(L,"lang"),aa).next();var ea=L.flags||"";L=z.da(L,"startAt");ea=/1/.test(ea);z=z.evaluate(D,aa);z=q(z,ea,L,!0,aa);M=M?cd.hj(M.toString()):!1;return null===z?Tb("NaN"):c(z,y,I,R,M,ca,aa)},bg:A,Mf:function(L,aa,z){let D="";for(let y=0;yL?!0:0===L?0>1/L:!1;z={af:O(z,"decimal-separator"),pe:O(z,"grouping-separator"), -Ug:O(z,"digit"),oj:O(z,"minus-sign"),sd:O(z,"percent"),Ae:O(z,"per-mille"),Af:O(z,"zero-digit"),Bc:O(z,"exponent-separator"),Eh:O(z,"pattern-separator"),Vi:z.infinity||W.infinity,pj:z.NaN||W.NaN};if(isNaN(L))return z.pj;aa=aa.includes(z.Eh)?aa.split(z.Eh):[aa];if(2L?aa[1]:aa[0],z);if(isFinite(L)){if(0Y&&(L=wa(L.toPrecision(Y)));(Y=V!==L.e)&&(I+=1);1I)||ea&&Y||(R+="."+la.join("").slice(I))}else throw new F("Empty mantissa","SXJS0004");I=R+ca+g(L.e,ja)}else{M=Math.abs(L);y.sd&&(M=Math.abs(100*L));y.Ae&&(M=Math.abs(1E3*L));"Infinity"=== -M+""?I=M+"":I=999999>M?M.toString():wa(M).toFixed();M=I.indexOf(".");0>M&&(M=I.length,0I.indexOf(".")&&(I+=".0")):I=wa(I).round(0,1).toString());ca=I.length-1-M;if(0ca;ca++)M+=String.fromCharCode(z.Af.charCodeAt(0)+ca); -M+=z.af;ca="";for(ea=0;eaL?ca+=ja:Lca&&(ca=M.length);I=M.substring(0,ca);M=M.substring(ca);if(0y.Yb[0]&&(ca=!1);I=ca?fe.Mf(I,z.pe,y.Yb[0]):v(I,y.Yb,null,z.pe)}0ja||"*"!==ea&&1>ea||"*"!==ja&&"*"!==ea&&ja>ea)throw new F("Invalid width modifier in date/time formatting picture","FOFD1340");}var Y=null;1ea||12ca.length;)ca="0"+ca;Y=Da(ca);ca=parseInt(Ea(Y.reverse()),10);if(!R&&!M&&/^[0-9]$/.test(V))for(;Y.length>V.length;)V+="#";if(R&&"*"!==R){la=/^([0-9]*)(#*)$/.exec(V);V=la[1]?la[1]:"";for(la=la[2]?la[2]:"";R>V.length;)V+="0",la=la.slice(0,-1);V+=la}if(M)for("*"===M&&(M=Y.length);V.lengthV.length;)ca= -ca.slice(0,-1);R&&"*"!==R||0!==parseInt(ca,10)||(ca="0");ea||(ca=k(ca,ja));R=ca}else{if(/[nN]/.test(M))V="January February March April May June July August September October November December".split(" "),ja="Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),Y="M"===R?V[la-1]:"F"===R?ja[la-1]:la,"F"===R&&ea&&"*"!==ea&&6>ea&&(Y=Y.replace(/(ur)?day$/,""),Y=Y.replace(/nes$/,"s")),"n"===M?Y=Y.toLowerCase():"N"===M&&(Y=Y.toUpperCase()),ea&&"*"!==ea&&(Y=Y.substring(0,ea));else{V=/;/.test(M)? -M+";":M;Y&&(V+=(";"===V.charAt(V.length-1)?"":";")+Y);Y=A(la,V,"FOFD1340");"Y"===R&&"-"===Y.charAt(0)&&(Y=Y.substring(1));if("Y"===R&&/[^iIwWnN]/.test(M.charAt(M.length-1))&&(!ja&&2===M.length||2==ea))for(;2V(p.Qc(ka).filter(ia).count()+1));case "any":return x=function(ka,z){return q.rb(z,ka)},K=new Eb(p.pg(N).filter(ia),p.Xa(N).filter(ia),x),Y=(new Eb(p.pg(N).filter(ca),p.Xa(N).filter(ca),x)).next(),null===Y&&sa.la("from pattern selected empty"),K=K.filter(function(ka){return 0<=q.rb(ka,Y)}),K=K.count(),0===K?Ob:Ub(K);default:return sa.la("unknown xsl:number/@level "+K),Ob}}function c(K,ca,x,E,A,H,S){function N(ma){let ia;""===ma&&(ma="1");if(/^[\x01-\x7f]*$/.test(ma))ma= +ma.split(/\b/),ia=function(ka){return/\w+/.test(ka)};else{if(ma.length!==Da(ma).length)throw new G("Cannot handle non-BMP characters in format-number picture","SXJS0002");const ka=Zd.Of(ma,"[\\p{Nd}\\p{Nl}\\p{No}\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}]+","",!0,!1);ia=function(z,M){return ka[M].Nc};ma=ka.map(function(z){return z.string.toString()})}const Y={prefix:"",fd:[],Yd:""};let V=".";for(let ka=0;ka=Y.fd.length?Y.fd[Y.fd.length-1]:Y.fd[z];0!==z&&(V+=M.Kh);z=M.Qg;A&&(z+=";o");ka=fe.bg(ka.toNumber(),z);null!==x&&null!==E&&(ka=fe.Mf(ka, +x,E));V+=ka});V+=Y.Yd;return Tb(V)}(K.expand())}function n(K,ca,x,E,A){const H=A.fixed.ka;let S=[1];null!==x&&(S=H.evaluate(x,A).next().toString().split(/\s+/).map(function(N){if(!/^-?[0-9]+$/.test(N))throw new G("xsl:number/@start-at must be a sequence of integers. Offending value: "+N,"XTSE0020");return parseInt(N,10)}));if(ca&&E){K=K.next();if(null===K)return null;try{K=u.integer.R(K.round(0))}catch(N){return null}K=Kb([K])}return K.mapOneToOne(function(N,aa){N=N.isNumeric()?N.toDouble():u.double.df(N.toString()); +if(0>N.toNumber())throw new G(`xsl:number/@value is less than zero (${N.toString()})`,"XTDE0980");try{N=u.integer.R(N.round(0))}catch(ma){throw ma.code="XTDE0980",ma;}aa=aa>=S.length?S[S.length-1]:S[aa];1!==aa&&(N=u.integer.fromNumber(N.toNumber()+(aa-1)));return N})}function F(K){if(1>K||4999=E[A];)ca+=x[A],K-=E[A];return ca}function I(K, +ca){function x(A){return(A>E?x(Math.floor((A-1)/E)):"")+ca.charAt((A-1)%E)}if(1>K)return K.toString();const E=ca.length;return x(K)}function m(K,ca){return Kx?x.toString():wa(x).toFixed();x.lengthK&&(x="-"+x);return x}function e(K,ca="FODF1310"){const x=Da(K),E={};let A=!0;var H=0;let S;const N=Ha.Be("\\p{Nd}",null);var aa=K.search(N);if(0>aa)A=!1;else{H=Ha.tj().Nd;for(let ia=0;iax[aa]||x[aa]>S+10)throw new G("Picture string mixes digits from different digit families: "+K,ca);}else if(Ha.Be("\\p{N}\\p{L}",null).test(H))throw new G("Picture string is invalid: "+K,ca);const ma=[];H=S-48;x.forEach(function(ia){S<=ia&&ia<=S+10?ma.push(48):ma.push(ia)});K=Ea(ma)}E.aj=A;E.format=K;E.Yf=H;E.Af=S;return E}function k(K,ca){const x=[];Da(K).forEach(function(E){48<= +E&&57>=E?x.push(E+ca):x.push(E)});return Ea(x)}function v(K,ca,x,E="",A=!1){let H=0;for(let S=0;Sx[0]&&(S=!1);if(S)for(H=1;HK?ca[K]: +100>K?x[Math.floor(K/10)]+(0===K%10?"":" "+ca[K%10]):1E3>K?D(Math.floor(K/100))+" Hundred"+(0===K%100?"":" and "+D(K%100)):1E6>K?D(Math.floor(K/1E3))+" Thousand"+(0===K%1E3?"":(100>K%1E3?" and ":" ")+D(K%1E3)):1E9>K?D(Math.floor(K/1E6))+" Million"+(0===K%1E3?"":(100>K%1E3?" and ":" ")+D(K%1E6)):K.toString()}function l(K){const ca="Zeroth First Second Third Fourth Fifth Sixth Seventh Eighth Ninth Tenth Eleventh Twelfth Thirteenth Fourteenth Fifteenth Sixteenth Seventeenth Eighteenth Nineteenth".split(" "), +x=" Twent Thirt Fort Fift Sixt Sevent Eight Ninet".split(" ");return 20>K?ca[K]:100>K?x[Math.floor(K/10)]+(0===K%10?"ieth":"y "+ca[K%10]):1E3>K?D(Math.floor(K/100))+" Hundred"+(0===K%100?"th":" and "+l(K%100)):1E6>K?D(Math.floor(K/1E3))+" Thousand"+(0===K%1E3?"th":(100>K%1E3?" and ":" ")+l(K%1E3)):1E9>K?D(Math.floor(K/1E6))+" Million"+(0===K%1E3?"th":(100>K%1E3?" and ":" ")+l(K%1E6)):K.toString()}function f(K){return 1===K%10&&11!==K%100?"st":2===K%10&&12!==K%100?"nd":3===K%10&&13!==K%100?"rd":"th"} +function B(K,ca,x="FODF1310"){function E(S,N){let aa="";for(let ma=S.charCodeAt(0),ia=0;iaK?"-":"";if("o"===H)switch(ca.toString()){case "a":case "A":case "i":case "I":break; +case "Ww":return A+l(Math.abs(K));case "W":return A+l(Math.abs(K)).toUpperCase();case "w":return A+l(Math.abs(K)).toLowerCase();default:return t(K,ca,x)+f(Math.abs(K))}switch(ca.toString()){case "a":return I(K,E("a",26));case "A":return I(K,E("A",26));case "\u03b1":return I(K,E("\u03b1",25));case "\u0391":return I(K,E("\u0391",25));case "i":return F(K);case "I":return F(K).toUpperCase();case "Ww":return A+D(Math.abs(K));case "W":return A+D(Math.abs(K)).toUpperCase();case "w":return A+D(Math.abs(K)).toLowerCase(); +case "\u2460":return m(K,"\u24ea"+E("\u2460",20)+E("\u3251",15)+E("\u32b1",15));case "\u2474":return m(K,"0"+E("\u2474",20));case "\u2488":return 0===K?"\ud83c\udd00":m(K,"0"+E("\u2488",20));case "\u2776":return m(K,"\u24ff"+E("\u2776",10)+E("\u24eb",10));case "\u2780":return 0===K?"\ud83c\udd0b":m(K,"0"+E("\u2780",10));case "\u278a":return 0===K?"\ud83c\udd0c":m(K,"0"+E("\u278a",10));case "\u24f5":return m(K,"0"+E("\u24f5",10));case "\u3220":return m(K,"0"+E("\u3220",10));case "\u3280":return m(K, +"0"+E("\u3280",10));default:return t(K,ca,x)}}function L(K,ca){return String.fromCharCode(parseInt(K[ca]?K[ca]:P[ca],10))}function y(K,ca){function x(T){[["$gs","grouping separator"],["$es","exponent separator"],["$ds","decimal separator"],["$pc","non-prefix passive character"],["$pp","percent|permille"],["$od","optional digit"],["$md","mandatory digit"],["$ip","integer part"],["$fp","fractional part"]].forEach(function(ha){T=T.replace(ha[0],ha[1])});throw new G("Invalid picture: "+T,"FODF1310"); +}const E={};var A=K.indexOf(ca.af),H=0<=A;const S=ca.Af.charCodeAt(0);let N=0,aa=0,ma=[];const ia=[],Y=[];let V=-1,ka=-1,z=!1,M=!1;var W=-1;let fa=0;var U=H?A:K.length;for(var w=0;w=S&&ZN&&0>V&&(V=w),N++,aa++)):Z===ca.Vg.charCodeAt(0)?(0V&&(V=w,M=!0),aa++):Z===ca.pe.charCodeAt(0)?(0V&&x("$pp before any digit"),0ka&&(ka=w),Z===ca.sd.charCodeAt(0)?E.sd=!0:E.ze=!0):!H&&0<=V&&Z===ca.Dc.charCodeAt(0)&&0>ka?z?(Y.push(Z),0ka&&(ka=w):(Y.push(Z),z=!1,W=-1,0>ka&&(ka=w-1))):(z=!0,W=w):0<=V&&H?x("$pc before $ds"):z&&0===fa?(z=!1,W=-1,Y.push(ca.Dc.charCodeAt(0)),Y.push(Z),0>ka&&(ka=w-1)):0<=V?(Y.push(Z),0>ka&&(ka=w)):ia.push(Z)}if(0=S&&haka?fa++:0<=H||0<=ka?x("$md follows $od or $pc in $fp"):(U++,w++):ha===ca.Vg.charCodeAt(0)?((0<=ka||z)&&x("$od follows $pc or $es"),0>H&&(H=T),w++):ha===ca.pe.charCodeAt(0)?((0<=ka||z)&&x("$gs follows $pc or $es"), +Z.push(T-A+1)):ha===ca.af.charCodeAt(0)?x("more than one $ds"):ha===ca.sd.charCodeAt(0)||ha===ca.ze.charCodeAt(0)?((0<=ka||z)&&x("$pp follows $pc or $es"),Y.push(ha),ka=T,ha===ca.sd.charCodeAt(0)?E.sd=!0:E.ze=!0):ha===ca.Dc.charCodeAt(0)&&0>ka?z?(Y.push(ha),0ka&&(ka=T):(Y.push(ha),z=!1,W=-1,0>ka&&(ka=T-1))):(z=!0,W=T):z&&0===fa?(z=!1,W=-1,Y.push(ca.Dc.charCodeAt(0)),Y.push(ha),0>ka&&(ka=T-1)):(Y.push(ha),0>ka&&(ka=T))}}0>V&&0===w&&x("mantissa contains no digits");if(0!==Z.length)for(0===Z[0]&& +x("$gs at beginning of $fp"),A=0;A=E+x?d(new Date(K.getTime()-864E5),ca):Math.floor((x+E-2)/7)+(5>E?1:0)}const q=ac,p=q.Ja,u=La.XS,P={"decimal-separator":"46","grouping-separator":"44",digit:"35","minus-sign":"45",percent:"37","per-mille":"8240","zero-digit":"48","exponent-separator":"101","pattern-separator":"59",infinity:"Infinity",NaN:"NaN"},la={Y:"getUTCFullYear",M:"getUTCMonth",D:"getUTCDate",F:"getUTCDay",H:"getUTCHours",m:"getUTCMinutes",s:"getUTCSeconds",f:"getUTCMilliseconds"},oa={d:b,W:function(K){return d(K, +!0)},w:function(K){return d(K,!1)},h:function(K){return 13>K.getUTCHours()?0===K.getUTCHours()?12:K.getUTCHours():K.getUTCHours()-12},P:function(K){return 12>K.getUTCHours()?"Am":"Pm"},E:function(K){return 0>K.getUTCFullYear()?"BC":"AD"}};return{rj:function(K,ca){const x=ca.fixed.ka,E=K.level,A=x.da(K,"select"),H=x.da(K,"count");K=x.da(K,"from");return a(E,A,H,K,ca)},sj:function(K,ca){var x=ca.fixed.ka;const E=x.da(K,"value"),A=x.da(K,"format"),H=x.rc(x.da(K,"gpSep"),ca).next(),S=x.rc(x.da(K,"gpSize"), +ca).next();var N=x.rc(x.da(K,"ordinal"),ca).next();const aa=x.rc(x.da(K,"lang"),ca).next();var ma=K.flags||"";K=x.da(K,"startAt");ma=/1/.test(ma);x=x.evaluate(E,ca);x=n(x,ma,K,!0,ca);N=N?cd.hj(N.toString()):!1;return null===x?Tb("NaN"):c(x,A,H,S,N,aa,ca)},bg:B,Mf:function(K,ca,x){let E="";for(let A=0;AK?!0:0===K?0>1/K:!1;x={af:L(x,"decimal-separator"),pe:L(x,"grouping-separator"), +Vg:L(x,"digit"),oj:L(x,"minus-sign"),sd:L(x,"percent"),ze:L(x,"per-mille"),Af:L(x,"zero-digit"),Dc:L(x,"exponent-separator"),Eh:L(x,"pattern-separator"),Vi:x.infinity||P.infinity,pj:x.NaN||P.NaN};if(isNaN(K))return x.pj;ca=ca.includes(x.Eh)?ca.split(x.Eh):[ca];if(2K?ca[1]:ca[0],x);if(isFinite(K)){if(0Y&&(K=wa(K.toPrecision(Y)));(Y=V!==K.e)&&(H+=1);1H)||ma&&Y||(S+="."+ka.join("").slice(H))}else throw new G("Empty mantissa","SXJS0004");H=S+aa+g(K.e,ia)}else{N=Math.abs(K);A.sd&&(N=Math.abs(100*K));A.ze&&(N=Math.abs(1E3*K));"Infinity"=== +N+""?H=N+"":H=999999>N?N.toString():wa(N).toFixed();N=H.indexOf(".");0>N&&(N=H.length,0H.indexOf(".")&&(H+=".0")):H=wa(H).round(0,1).toString());aa=H.length-1-N;if(0aa;aa++)N+=String.fromCharCode(x.Af.charCodeAt(0)+aa); +N+=x.af;aa="";for(ma=0;maK?aa+=ia:Kaa&&(aa=N.length);H=N.substring(0,aa);N=N.substring(aa);if(0A.Zb[0]&&(aa=!1);H=aa?fe.Mf(H,x.pe,A.Zb[0]):v(H,A.Zb,null,x.pe)}0ia||"*"!==ma&&1>ma||"*"!==ia&&"*"!==ma&&ia>ma)throw new G("Invalid width modifier in date/time formatting picture","FOFD1340");}var Y=null;1ma||12aa.length;)aa="0"+aa;Y=Da(aa);aa=parseInt(Ea(Y.reverse()),10);if(!S&&!N&&/^[0-9]$/.test(V))for(;Y.length>V.length;)V+="#";if(S&&"*"!==S){ka=/^([0-9]*)(#*)$/.exec(V);V=ka[1]?ka[1]:"";for(ka=ka[2]?ka[2]:"";S>V.length;)V+="0",ka=ka.slice(0,-1);V+=ka}if(N)for("*"===N&&(N=Y.length);V.lengthV.length;)aa= +aa.slice(0,-1);S&&"*"!==S||0!==parseInt(aa,10)||(aa="0");ma||(aa=k(aa,ia));S=aa}else{if(/[nN]/.test(N))V="January February March April May June July August September October November December".split(" "),ia="Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),Y="M"===S?V[ka-1]:"F"===S?ia[ka-1]:ka,"F"===S&&ma&&"*"!==ma&&6>ma&&(Y=Y.replace(/(ur)?day$/,""),Y=Y.replace(/nes$/,"s")),"n"===N?Y=Y.toLowerCase():"N"===N&&(Y=Y.toUpperCase()),ma&&"*"!==ma&&(Y=Y.substring(0,ma));else{V=/;/.test(N)? +N+";":N;Y&&(V+=(";"===V.charAt(V.length-1)?"":";")+Y);Y=B(ka,V,"FOFD1340");"Y"===S&&"-"===Y.charAt(0)&&(Y=Y.substring(1));if("Y"===S&&/[^iIwWnN]/.test(N.charAt(N.length-1))&&(!ia&&2===N.length||2==ma))for(;2fa[na]}const S={"<":"<",">":">","&":"&",'"':""","\n":" ","\r":" ","\t":" "},da={"<":"<",">":">","&":"&"};return w?T.replace(/&|<|>|"|\n|\r|\t/g,Z(S)):T.replace(/&|<|>/g,Z(da))}if(U){U="";x=x.split("\x00");for(let T=0;T=x:"US-ASCII"===K.toUpperCase()?127>=x:!0}function q(x, -K){return function(U){var ha=!0;for(var T=0;T=x.min&&w<=x.max){ha=!1;break}}if(ha)return U;ha="";T=!1;for(w=0;w=S;da&&(S=U.codePointAt(w));x.ya[S]?(K&&!T&&(ha+="\x00",T=!0),ha+=x.ya[S],da&&w++):(K&&T&&(ha+="\x00",T=!1),ha+=Z)}return ha}}function E(x){return""===x.uri||"http://www.w3.org/1999/xhtml"===x.uri}function H(x){return["http://www.w3.org/1999/xhtml","http://www.w3.org/2000/svg", -"http://www.w3.org/1998/Math/MathML"].includes(x)}function p(x,K){return(K={action:["form"],archive:["object"],background:["body"],cite:["blockquote","del","ins","q"],classid:["object"],codebase:["applet","object"],data:["object"],datasrc:"button div input object select span table textarea".split(" "),"for":["script"],formaction:["button","input"],href:["a","area","base","link"],icon:["command"],longdesc:["frame","iframe","img"],manifest:["html"],name:["a"],poster:["video"],profile:["head"],src:"audio embed frame iframe img input script source track video".split(" "), -usemap:["img","input","object"]}[K.local])&&K.includes(x.local)}function g(x,K,U=null){switch(x.method){case "xml":K=new W(x,K);if(x.version&&"1.0"!==x.version)throw new F("Serializer does not support the requested XML version: "+x.version,"SESU0013");d(x);if(x["undeclare-prefixes"])throw new F("Cannot undeclare prefixes with XML 1.0 serializer","SEPM0010");x.indent&&(K=m(x,K));K=f(x,K);K=A(x,K);K=O(x,K);return C(x,K);case "html":return l(x,K);case "text":return d(x),K=new V(x,K),K=f(x,K),K=A(x,K), -C(x,K);case "xhtml":return l(x,K);case "json":return d(x),x.indent?new ea(x,K,U):new ca(x,K,U);case "adaptive":return new ja(x,K,U);default:return new Y(x,K)}}function e(x,K,U){function ha(fa,na){na=na.trim();if(["yes","true","1"].includes(na))return!0;if(["no","false","0"].includes(na))return!1;throw new F("Value of "+fa+" must be yes(=true, 1) or no(=false, 0)","SEPM0016");}function T(fa){return function(na,va){va=va.trim();return va.split(/\s+/).map(function(h){/^Q\{/.test(h)||/:/.test(h)||(h= -"Q{}"+h);return/^Q\{/.test(h)?h:n.QName.fromString(h,fa).toEQName()})}}function w(fa){return function(na,va){va=va.trim();if(fa.includes(va))return va;throw new F("Value of "+na+"("+va+"): must be one of "+fa.join("|"),"SEPM0016");}}function Z(fa){return function(na,va){if(fa.test(va))return va;throw new F("Invalid value for "+na+": must match the pattern "+fa,"SEPM0016");}}function S(fa,na){return na}function da(fa,na){na=na.trim();if(/[0-9]+/.test(na))return 1*na;throw new F("Value of "+fa+" must be an integer (Actual value is "+ -sa.showValue(na)+")","SEPM0016");}U={"allow-duplicate-names":ha,"build-tree":ha,"byte-order-mark":ha,"cdata-section-elements":T(U),"doctype-public":Z(/[\sa-zA-Z0-9\-'()+,.:=?;!*#@$_%\/]*/),"doctype-system":Z(/[^']*|[^"]*/),encoding:Z(/[\x21-\x7e]+/),"escape-uri-attributes":ha,"html-version":function(fa,na){if(/[0-9]+(\.[0-9]+)?/.test(na))return 1*na;throw new F("Value of "+fa+" must be a decimal number","SEPM0016");},"include-content-type":ha,indent:ha,"item-separator":S,"json-node-output-method":w(["xml", -"xhtml","html","text"]),"media-type":S,method:function(fa,na){return function(va,h){h=h.trim();!/^Q\{/.test(h)&&/:/.test(h)&&(h=n.QName.fromString(h,na).toEQName());if(fa.includes(h))return h;throw new F("Value of "+va+"("+h+"): must be one of "+fa.join("|"),"SEPM0016");}}("xml xhtml html text json adaptive Q{http://saxonica.com/ns/interactiveXSLT}append-content Q{http://saxonica.com/ns/interactiveXSLT}replace-content".split(" "),U),"normalization-form":w("NFC NFD NFKC NFKD fully-normalized none".split(" ")), -"omit-xml-declaration":ha,standalone:function(fa,na){return"omit"===na.trim()?null:ha(fa,na)},"suppress-indentation":T(U),"undeclare-prefixes":ha,"use-character-maps":T(U),version:S,"Q{http://saxon.sf.net/}indent-spaces":da,"Q{http://saxon.sf.net/}line-length":da,"Q{http://saxon.sf.net/}stylesheet-version":da};/^\{/.test(x)&&(x="Q"+x);if("string"!==typeof K)throw new F("Value of "+x+" must be supplied as a string","SEPM0016");if(U[x])return U[x](x,K);if(!/^Q\{/.test(x))throw new F("Unknown serialization parameter "+ -x,"SEPM0017");}function k(x,K,U){function ha(S,da,fa){if(!Array.isArray(da))throw new F("Value of "+S+" must be an array","SEPM0016");return(fa||[]).concat(da)}function T(S,da){if("boolean"!==typeof da)throw new F("Value of "+S+" must be boolean","SEPM0016");return da}function w(S,da){if("number"!==typeof da)throw new F("Value of "+S+" must be an integer (actual value is "+sa.showValue(da)+")","SEPM0016");return da}const Z={"allow-duplicate-names":T,"build-tree":T,"byte-order-mark":T,"cdata-section-elements":ha, -"escape-uri-attributes":T,"html-version":function(S,da){if("number"!==typeof da)throw new F("Value of "+S+" must be a decimal number","SEPM0016");return da},"include-content-type":T,indent:T,"omit-xml-declaration":T,standalone:function(S,da){return null===da?null:T(S,da)},"suppress-indentation":ha,"undeclare-prefixes":T,"use-character-maps":function(S,da,fa){fa&&Array.isArray(fa)&&sa.la("Problem with existing character map supplied to overrideParam");if("object"!==typeof da)throw new F("Value of "+ -S+" must be an object","SEPM0016");if(void 0===da.ya)throw new F("Value of "+S+" must be a character map object","SEPM0016");(S=fa)?v(S,da):S=da;return S},"Q{http://saxon.sf.net/}indent-spaces":w,"Q{http://saxon.sf.net/}line-length":w,"Q{http://saxon.sf.net/}stylesheet-version":w};/^{/.test(x)&&(x="Q"+x);return Z[x]?Z[x](x,K,U):e(x,K.toString())}function v(x,K){K.minx.max&&(x.max=K.max);for(let U in K.ya)K.ya.hasOwnProperty(U)&&(x.ya[U]=K.ya[U])}function t(x,K){let U={}; -x.forEach(function(ha,T){let w=K.Og[ha];if(!w)throw new F("Unknown character map "+ha,"SEPM0016");0===T?U=w:v(U,w)});return U}function C(x,K){return x["item-separator"]&&"#absent"!==x["item-separator"]?new be(K,x["item-separator"]):new $d(K)}function m(x,K){const U=x["Q{http://saxon.sf.net/}indent-spaces"],ha=x["suppress-indentation"];return Pd("xml"===x.method?new ma(U,ha):new D(U,ha),K)}function f(x,K){x["normalization-form"]&&"none"!==x["normalization-form"]&&(K=Pd(new qa(x["normalization-form"]), -K));return K}function A(x,K){x["use-character-maps"]&&(K=Pd(new L(x["use-character-maps"]),K));return K}function O(x,K){x["cdata-section-elements"]&&(K=Pd(new aa(x["cdata-section-elements"],x.encoding||"UTF-8",x["normalization-form"]&&"none"!==x["normalization-form"]?x["normalization-form"]:null),K));return K}function b(x,K){return void 0===x[K]||x[K]}function d(x){if(x.encoding&&!["UTF-8","UTF-16","ISO-646","ISO-8859-1","US-ASCII"].includes(x.encoding.toUpperCase()))throw new F("Serializer does not support the requested encoding: "+ -x.encoding,"SESU0007");}function l(x,K){var U="xhtml"===x.method;K=U?new I(x,K):new z(x,K);if(U&&x.version&&"1.0"!==x.version)throw new F("Serializer does not support the requested XML version: "+x.version,"SESU0013");if((U=U?x["html-version"]:x["html-version"]||x.version)&&5!==1*U)throw new F("Serializer does not support the requested HTML version: "+U,"SESU0013");d(x);b(x,"indent")&&(K=m(x,K));K=f(x,K);K=A(x,K);K=O(x,K);K=Pd(new y,K);b(x,"escape-uri-attributes")&&(K=Pd(new R,K));b(x,"include-content-type")&& -(K=Pd(new M(x),K));return C(x,K)}function r(x,K,U,ha=null){function T(da,fa){switch(da.nodeType){case 9:case 11:fa.Ea(S);da=da.childNodes;for(var na=0;na{w(na,fa)}):ac.X(da)?T(da,fa):fa.append(da,S)}let Z;U||(Z= -"",U={write:function(da){Z+=da}});U.write||sa.la("writer supplied to Serialize.serialize() is not a writeable stream");K||={};K=g(K,U,ha);let S={};x&&w(x,K);K.close();return Z}const n=La.XS;class B extends Od{constructor(x,K){super();this.g=K||null;this.Pa=x}close(){this.g.end&&!this.g.isTTY&&this.g.end()}}class W extends B{constructor(x,K){super(x,K);this.B=this.I=this.xa=this.ra=this.zb=!1;this.eb=[];this.K=[];this.Yd=0;this.encoding=x.encoding||"UTF-8"}Ea(){}za(){}close(){this.I||this.aa();super.close()}na(x, -K,U){function ha(w){throw new F("When "+w+" is specified, there must only be one top-level element node","SEPM0004");}this.I||(this.aa(),this.Ca(x),this.ra&&!this.xa&&!0===this.Pa.indent&&this.g.write("\n"),this.I=!0);0===this.K.length&&(0"),this.B=!1):this.g.write("")}text(x,K={}){this.I||this.aa();this.B&&this.V();this.g.write(K.DISABLE_ESCAPING?this.j(x,!1):this.j(a(x,!1,!1),!0))}wa(x){this.I||this.aa();this.B&&this.V();this.g.write("\x3c!--"+this.j(x,!1)+"--\x3e")}va(x,K){this.I||this.aa();this.B&&this.V();this.g.write("")}append(x, -K={}){this.text(x.toString(),K)}aa(){this.zb||this.vi()}V(){this.g.write(">");this.B=!1}Ei(x,K){let U=[];for(let ha in x)if(K[ha]!==x[ha]){let T="";"xml"!==ha&&(T=""===ha?' xmlns="'+a(x[ha],!0,!1)+'"':" xmlns:"+ha+'="'+a(x[ha],!0,!1)+'"');""!==T&&U.push(T)}U.sort();U.forEach(ha=>this.g.write(ha))}he(x,K){if(K){const U=this;K.forEach((ha,T)=>{U.ee(T,ha)})}}ee(x,K){const U=!0===K.kb.USE_NULL_MARKERS;K=K.kb.DISABLE_ESCAPING?this.j(K.value,!1):this.j(a(K.value,!0,U),!0);this.g.write(" "+this.j(x.toString(), -!1)+'="'+K+'"')}vi(){var x=this.encoding.toUpperCase();this.Pa["byte-order-mark"]&&"UTF-8"===x&&this.g.write("\ufeff");this.zb=!0;x=!0===this.Pa["omit-xml-declaration"]&&"UTF-8"===x;this.ra=!x;let K=this.Pa.standalone;if(x&&void 0!==K&&null!==K)throw new F("Serializer values of 'standalone' and 'omit-xml-declaration' conflict","SEPM0009");x||this.g.write('")}Ca(x){let K=this.Pa["doctype-system"]|| -null,U=this.Pa["doctype-public"]||null;null!==K&&(this.ra&&this.g.write("\n"),this.g.write("\n"):this.g.write(' PUBLIC "'+this.j(U,!1)+'" '+this.j(x,!1)+">\n"),this.xa=!0)}j(x,K){function U(T){if(K)return"&#"+T+";";throw new F("Character "+String.fromCodePoint(T)+" (decimal "+T+") is not available in the chosen encoding","SERE0008");}const ha=this.encoding;return function(T){let w= -"";var Z=0;const S=T.length;if(0===S)return"";for(;Zda)break;else if(127>da)fa++;else if(160>da||8232===da||55296<=da&&56320>=da||!c(da,ha))break;else fa++}if(fa>=S)return 0===Z?T:w+T.substring(Z,fa);fa>Z&&(w+=T.substring(Z,fa));da=T.charCodeAt(fa);Z=T.charAt(fa);if(0===da)throw new F("Null marker","ZZZZ9999");160>da||8232===da?w+=K?U(da):Z:55296<=da&&56320>=da?(da=T.codePointAt(fa++),w+=c(da,ha)?Z+T.charAt(fa):U(da)): -c(da,ha)||(w+=U(da));Z=++fa;if(Z>=S)return w}}(x)}}class ma extends Qd{constructor(x,K){super();this.I=0;this.ee=x||3;this.Ca="\n ";this.B=this.K=this.V=!1;this.eb=K||null;this.j=-1;this.xa=null;this.zb={}}na(x,K,U,ha={}){this.K||this.B?this.ra():this.aa();if(0>this.j){let T=K.get(n.QName.fromParts("","http://www.w3.org/XML/1998/namespace","space"));T&&"preserve"===T.value&&(this.j=this.I)}this.I++;this.eb&&-1===this.j&&0<=this.eb.indexOf(x.toEQName())&&(this.j=this.I);this.g.na(x,K, -U,ha);this.K=this.V=!0;this.B=!1}endElement(){this.I--;this.B&&!this.V?this.ra():this.K&&!this.B?this.xa=null:this.aa();this.g.endElement();this.V=!1;this.B=!0;this.K=!1;this.I===this.j-1&&(this.j=-1)}text(x,K={}){const U=!this.V||0<=x.indexOf("\n");0>this.j&&""===Ha.trim(x)&&U?(this.xa=x,this.zb=K):(this.aa(),0<=x.indexOf("\n")&&(this.V=!1),this.g.text(x,K),this.B=this.K=!1)}wa(x,K={}){this.B?this.ra():this.aa();this.g.wa(x,K);this.B=this.K=!1}va(x,K,U={}){this.B?this.ra():this.aa();this.g.va(x, -K,U);this.B=this.K=!1}ra(){0<=this.j?this.aa():this.Xe()}Xe(){this.xa=null;let x=this.I*this.ee;if(x+1>this.Ca.length){let K=5*this.ee;x+1>this.Ca.length+K&&(K+=x+1);for(let U=0;U=Z.min&&w<=Z.max){ha=!1;break}}if(ha)S=x;else for(ha=0;ha=w;da&&(w=x.codePointAt(ha));Z.ya[w]?(U||(""!==S&&(this.g.text(S,K),S=""),U=!0),S+=Z.ya[w],da&&ha++):(U&&(U=Object.assign({},K),U.DISABLE_ESCAPING=!0,U.NO_NORMALIZATION=!0,this.g.text(S,U),S="",U=!1),S+=T)}U?(x=Object.assign({},K),x.DISABLE_ESCAPING=!0,x.NO_NORMALIZATION=!0,this.g.text(S,x)):this.g.text(S,K)}}}class aa extends Qd{constructor(x, -K,U){super();this.V=x||null;this.encoding=K;this.K=U;this.B=[];this.j="";this.I={};if("fully-normalized"===U)throw new F("Serializer does not support the requested normalization-form: fully-normalized","SESU0011");}na(x,K,U,ha={}){this.flush();this.B.push(x.toEQName());this.g.na(x,K,U,ha)}endElement(){this.flush();this.B.pop();this.g.endElement()}text(x,K={}){0<=this.V.indexOf(0===this.B.length?null:this.B[this.B.length-1])?K.DISABLE_ESCAPING?(this.flush(),this.g.text(x,K)):(this.j+=x,this.I=K):this.g.text(x, -K)}wa(x,K={}){this.flush();this.g.wa(x,K)}va(x,K,U={}){this.flush();this.g.va(x,K,U)}flush(){if(""!==this.j){const K=this.K?this.j.normalize(this.K):this.j,U=K.length;for(var x=0;xx&&this.aa(K.substring(x,ha));haba[va]}const T={"<":"<",">":">","&":"&",'"':""","\n":" ","\r":" ","\t":" "},ha={"<":"<",">":">","&":"&"};return w?U.replace(/&|<|>|"|\n|\r|\t/g,Z(T)):U.replace(/&|<|>/g,Z(ha))}if(W){W="";z=z.split("\x00");for(let U=0;U=z:"US-ASCII"===M.toUpperCase()?127>=z:!0}function n(z, +M){return function(W){var fa=!0;for(var U=0;U=z.min&&w<=z.max){fa=!1;break}}if(fa)return W;fa="";U=!1;for(w=0;w=T;ha&&(T=W.codePointAt(w));z.ya[T]?(M&&!U&&(fa+="\x00",U=!0),fa+=z.ya[T],ha&&w++):(M&&U&&(fa+="\x00",U=!1),fa+=Z)}return fa}}function F(z){return""===z.uri||"http://www.w3.org/1999/xhtml"===z.uri}function I(z){return["http://www.w3.org/1999/xhtml","http://www.w3.org/2000/svg", +"http://www.w3.org/1998/Math/MathML"].includes(z)}function m(z,M){return(M={action:["form"],archive:["object"],background:["body"],cite:["blockquote","del","ins","q"],classid:["object"],codebase:["applet","object"],data:["object"],datasrc:"button div input object select span table textarea".split(" "),"for":["script"],formaction:["button","input"],href:["a","area","base","link"],icon:["command"],longdesc:["frame","iframe","img"],manifest:["html"],name:["a"],poster:["video"],profile:["head"],src:"audio embed frame iframe img input script source track video".split(" "), +usemap:["img","input","object"]}[M.local])&&M.includes(z.local)}function g(z,M,W=null){switch(z.method){case "xml":M=new P(z,M);if(z.version&&"1.0"!==z.version)throw new G("Serializer does not support the requested XML version: "+z.version,"SESU0013");b(z);if(z["undeclare-prefixes"])throw new G("Cannot undeclare prefixes with XML 1.0 serializer","SEPM0010");z.indent&&(M=l(z,M));M=f(z,M);M=B(z,M);M=L(z,M);return D(z,M);case "html":return d(z,M);case "text":return b(z),M=new V(z,M),M=f(z,M),M=B(z,M), +D(z,M);case "xhtml":return d(z,M);case "json":return b(z),z.indent?new ma(z,M,W):new aa(z,M,W);case "adaptive":return new ia(z,M,W);default:return new Y(z,M)}}function e(z,M,W){function fa(ba,va){va=va.trim();if(["yes","true","1"].includes(va))return!0;if(["no","false","0"].includes(va))return!1;throw new G("Value of "+ba+" must be yes(=true, 1) or no(=false, 0)","SEPM0016");}function U(ba){return function(va,pa){pa=pa.trim();return pa.split(/\s+/).map(function(h){/^Q\{/.test(h)||/:/.test(h)||(h= +"Q{}"+h);return/^Q\{/.test(h)?h:p.QName.fromString(h,ba).toEQName()})}}function w(ba){return function(va,pa){pa=pa.trim();if(ba.includes(pa))return pa;throw new G("Value of "+va+"("+pa+"): must be one of "+ba.join("|"),"SEPM0016");}}function Z(ba){return function(va,pa){if(ba.test(pa))return pa;throw new G("Invalid value for "+va+": must match the pattern "+ba,"SEPM0016");}}function T(ba,va){return va}function ha(ba,va){va=va.trim();if(/[0-9]+/.test(va))return 1*va;throw new G("Value of "+ba+" must be an integer (Actual value is "+ +sa.showValue(va)+")","SEPM0016");}W={"allow-duplicate-names":fa,"build-tree":fa,"byte-order-mark":fa,"cdata-section-elements":U(W),"doctype-public":Z(/[\sa-zA-Z0-9\-'()+,.:=?;!*#@$_%\/]*/),"doctype-system":Z(/[^']*|[^"]*/),encoding:Z(/[\x21-\x7e]+/),"escape-uri-attributes":fa,"html-version":function(ba,va){if(/[0-9]+(\.[0-9]+)?/.test(va))return 1*va;throw new G("Value of "+ba+" must be a decimal number","SEPM0016");},"include-content-type":fa,indent:fa,"item-separator":T,"json-node-output-method":w(["xml", +"xhtml","html","text"]),"media-type":T,method:function(ba,va){return function(pa,h){h=h.trim();!/^Q\{/.test(h)&&/:/.test(h)&&(h=p.QName.fromString(h,va).toEQName());if(ba.includes(h))return h;throw new G("Value of "+pa+"("+h+"): must be one of "+ba.join("|"),"SEPM0016");}}("xml xhtml html text json adaptive Q{http://saxonica.com/ns/interactiveXSLT}append-content Q{http://saxonica.com/ns/interactiveXSLT}replace-content".split(" "),W),"normalization-form":w("NFC NFD NFKC NFKD fully-normalized none".split(" ")), +"omit-xml-declaration":fa,standalone:function(ba,va){return"omit"===va.trim()?null:fa(ba,va)},"suppress-indentation":U(W),"undeclare-prefixes":fa,"use-character-maps":U(W),version:T,"Q{http://saxon.sf.net/}indent-spaces":ha,"Q{http://saxon.sf.net/}line-length":ha,"Q{http://saxon.sf.net/}stylesheet-version":ha};/^\{/.test(z)&&(z="Q"+z);if("string"!==typeof M)throw new G("Value of "+z+" must be supplied as a string","SEPM0016");if(W[z])return W[z](z,M);if(!/^Q\{/.test(z))throw new G("Unknown serialization parameter "+ +z,"SEPM0017");}function k(z,M,W){function fa(T,ha,ba){if(!Array.isArray(ha))throw new G("Value of "+T+" must be an array","SEPM0016");return(ba||[]).concat(ha)}function U(T,ha){if("boolean"!==typeof ha)throw new G("Value of "+T+" must be boolean","SEPM0016");return ha}function w(T,ha){if("number"!==typeof ha)throw new G("Value of "+T+" must be an integer (actual value is "+sa.showValue(ha)+")","SEPM0016");return ha}const Z={"allow-duplicate-names":U,"build-tree":U,"byte-order-mark":U,"cdata-section-elements":fa, +"escape-uri-attributes":U,"html-version":function(T,ha){if("number"!==typeof ha)throw new G("Value of "+T+" must be a decimal number","SEPM0016");return ha},"include-content-type":U,indent:U,"omit-xml-declaration":U,standalone:function(T,ha){return null===ha?null:U(T,ha)},"suppress-indentation":fa,"undeclare-prefixes":U,"use-character-maps":function(T,ha,ba){ba&&Array.isArray(ba)&&sa.la("Problem with existing character map supplied to overrideParam");if("object"!==typeof ha)throw new G("Value of "+ +T+" must be an object","SEPM0016");if(void 0===ha.ya)throw new G("Value of "+T+" must be a character map object","SEPM0016");(T=ba)?v(T,ha):T=ha;return T},"Q{http://saxon.sf.net/}indent-spaces":w,"Q{http://saxon.sf.net/}line-length":w,"Q{http://saxon.sf.net/}stylesheet-version":w};/^{/.test(z)&&(z="Q"+z);return Z[z]?Z[z](z,M,W):e(z,M.toString())}function v(z,M){M.minz.max&&(z.max=M.max);for(let W in M.ya)M.ya.hasOwnProperty(W)&&(z.ya[W]=M.ya[W])}function t(z,M){let W={}; +z.forEach(function(fa,U){let w=M.Pg[fa];if(!w)throw new G("Unknown character map "+fa,"SEPM0016");0===U?W=w:v(W,w)});return W}function D(z,M){return z["item-separator"]&&"#absent"!==z["item-separator"]?new be(M,z["item-separator"]):new $d(M)}function l(z,M){const W=z["Q{http://saxon.sf.net/}indent-spaces"],fa=z["suppress-indentation"];return Pd("xml"===z.method?new la(W,fa):new E(W,fa),M)}function f(z,M){z["normalization-form"]&&"none"!==z["normalization-form"]&&(M=Pd(new oa(z["normalization-form"]), +M));return M}function B(z,M){z["use-character-maps"]&&(M=Pd(new K(z["use-character-maps"]),M));return M}function L(z,M){z["cdata-section-elements"]&&(M=Pd(new ca(z["cdata-section-elements"],z.encoding||"UTF-8",z["normalization-form"]&&"none"!==z["normalization-form"]?z["normalization-form"]:null),M));return M}function y(z,M){return void 0===z[M]||z[M]}function b(z){if(z.encoding&&!["UTF-8","UTF-16","ISO-646","ISO-8859-1","US-ASCII"].includes(z.encoding.toUpperCase()))throw new G("Serializer does not support the requested encoding: "+ +z.encoding,"SESU0007");}function d(z,M){var W="xhtml"===z.method;M=W?new H(z,M):new x(z,M);if(W&&z.version&&"1.0"!==z.version)throw new G("Serializer does not support the requested XML version: "+z.version,"SESU0013");if((W=W?z["html-version"]:z["html-version"]||z.version)&&5!==1*W)throw new G("Serializer does not support the requested HTML version: "+W,"SESU0013");b(z);y(z,"indent")&&(M=l(z,M));M=f(z,M);M=B(z,M);M=L(z,M);M=Pd(new A,M);y(z,"escape-uri-attributes")&&(M=Pd(new S,M));y(z,"include-content-type")&& +(M=Pd(new N(z),M));return D(z,M)}function q(z,M,W,fa=null){function U(ha,ba){switch(ha.nodeType){case 9:case 11:ba.Ea(T);ha=ha.childNodes;for(var va=0;va{w(va,ba)}):ac.X(ha)?U(ha,ba):ba.append(ha,T)}let Z;W||(Z= +"",W={write:function(ha){Z+=ha}});W.write||sa.la("writer supplied to Serialize.serialize() is not a writeable stream");M||={};M=g(M,W,fa);let T={};z&&w(z,M);M.close();return Z}const p=La.XS;class u extends Od{constructor(z,M){super();this.g=M||null;this.Pa=z}close(){this.g.end&&!this.g.isTTY&&this.g.end()}}class P extends u{constructor(z,M){super(z,M);this.B=this.I=this.xa=this.ra=this.zb=!1;this.eb=[];this.K=[];this.Zd=0;this.encoding=z.encoding||"UTF-8"}Ea(){}za(){}close(){this.I||this.aa();super.close()}na(z, +M,W){function fa(w){throw new G("When "+w+" is specified, there must only be one top-level element node","SEPM0004");}this.I||(this.aa(),this.Ca(z),this.ra&&!this.xa&&!0===this.Pa.indent&&this.g.write("\n"),this.I=!0);0===this.K.length&&(0"),this.B=!1):this.g.write("")}text(z,M={}){this.I||this.aa();this.B&&this.V();this.g.write(M.DISABLE_ESCAPING?this.j(z,!1):this.j(a(z,!1,!1),!0))}wa(z){this.I||this.aa();this.B&&this.V();this.g.write("\x3c!--"+this.j(z,!1)+"--\x3e")}va(z,M){this.I||this.aa();this.B&&this.V();this.g.write("")}append(z, +M={}){this.text(z.toString(),M)}aa(){this.zb||this.vi()}V(){this.g.write(">");this.B=!1}Ei(z,M){let W=[];for(let fa in z)if(M[fa]!==z[fa]){let U="";"xml"!==fa&&(U=""===fa?' xmlns="'+a(z[fa],!0,!1)+'"':" xmlns:"+fa+'="'+a(z[fa],!0,!1)+'"');""!==U&&W.push(U)}W.sort();W.forEach(fa=>this.g.write(fa))}ie(z,M){if(M){const W=this;M.forEach((fa,U)=>{W.fe(U,fa)})}}fe(z,M){const W=!0===M.kb.USE_NULL_MARKERS;M=M.kb.DISABLE_ESCAPING?this.j(M.value,!1):this.j(a(M.value,!0,W),!0);this.g.write(" "+this.j(z.toString(), +!1)+'="'+M+'"')}vi(){var z=this.encoding.toUpperCase();this.Pa["byte-order-mark"]&&"UTF-8"===z&&this.g.write("\ufeff");this.zb=!0;z=!0===this.Pa["omit-xml-declaration"]&&"UTF-8"===z;this.ra=!z;let M=this.Pa.standalone;if(z&&void 0!==M&&null!==M)throw new G("Serializer values of 'standalone' and 'omit-xml-declaration' conflict","SEPM0009");z||this.g.write('")}Ca(z){let M=this.Pa["doctype-system"]|| +null,W=this.Pa["doctype-public"]||null;null!==M&&(this.ra&&this.g.write("\n"),this.g.write("\n"):this.g.write(' PUBLIC "'+this.j(W,!1)+'" '+this.j(z,!1)+">\n"),this.xa=!0)}j(z,M){function W(U){if(M)return"&#"+U+";";throw new G("Character "+String.fromCodePoint(U)+" (decimal "+U+") is not available in the chosen encoding","SERE0008");}const fa=this.encoding;return function(U){let w= +"";var Z=0;const T=U.length;if(0===T)return"";for(;Zha)break;else if(127>ha)ba++;else if(160>ha||8232===ha||55296<=ha&&56320>=ha||!c(ha,fa))break;else ba++}if(ba>=T)return 0===Z?U:w+U.substring(Z,ba);ba>Z&&(w+=U.substring(Z,ba));ha=U.charCodeAt(ba);Z=U.charAt(ba);if(0===ha)throw new G("Null marker","ZZZZ9999");160>ha||8232===ha?w+=M?W(ha):Z:55296<=ha&&56320>=ha?(ha=U.codePointAt(ba++),w+=c(ha,fa)?Z+U.charAt(ba):W(ha)): +c(ha,fa)||(w+=W(ha));Z=++ba;if(Z>=T)return w}}(z)}}class la extends Qd{constructor(z,M){super();this.I=0;this.fe=z||3;this.Ca="\n ";this.B=this.K=this.V=!1;this.eb=M||null;this.j=-1;this.xa=null;this.zb={}}na(z,M,W,fa={}){this.K||this.B?this.ra():this.aa();if(0>this.j){let U=M.get(p.QName.fromParts("","http://www.w3.org/XML/1998/namespace","space"));U&&"preserve"===U.value&&(this.j=this.I)}this.I++;this.eb&&-1===this.j&&0<=this.eb.indexOf(z.toEQName())&&(this.j=this.I);this.g.na(z,M, +W,fa);this.K=this.V=!0;this.B=!1}endElement(){this.I--;this.B&&!this.V?this.ra():this.K&&!this.B?this.xa=null:this.aa();this.g.endElement();this.V=!1;this.B=!0;this.K=!1;this.I===this.j-1&&(this.j=-1)}text(z,M={}){const W=!this.V||0<=z.indexOf("\n");0>this.j&&""===Ha.trim(z)&&W?(this.xa=z,this.zb=M):(this.aa(),0<=z.indexOf("\n")&&(this.V=!1),this.g.text(z,M),this.B=this.K=!1)}wa(z,M={}){this.B?this.ra():this.aa();this.g.wa(z,M);this.B=this.K=!1}va(z,M,W={}){this.B?this.ra():this.aa();this.g.va(z, +M,W);this.B=this.K=!1}ra(){0<=this.j?this.aa():this.Xe()}Xe(){this.xa=null;let z=this.I*this.fe;if(z+1>this.Ca.length){let M=5*this.fe;z+1>this.Ca.length+M&&(M+=z+1);for(let W=0;W=Z.min&&w<=Z.max){fa=!1;break}}if(fa)T=z;else for(fa=0;fa=w;ha&&(w=z.codePointAt(fa));Z.ya[w]?(W||(""!==T&&(this.g.text(T,M),T=""),W=!0),T+=Z.ya[w],ha&&fa++):(W&&(W=Object.assign({},M),W.DISABLE_ESCAPING=!0,W.NO_NORMALIZATION=!0,this.g.text(T,W),T="",W=!1),T+=U)}W?(z=Object.assign({},M),z.DISABLE_ESCAPING=!0,z.NO_NORMALIZATION=!0,this.g.text(T,z)):this.g.text(T,M)}}}class ca extends Qd{constructor(z, +M,W){super();this.V=z||null;this.encoding=M;this.K=W;this.B=[];this.j="";this.I={};if("fully-normalized"===W)throw new G("Serializer does not support the requested normalization-form: fully-normalized","SESU0011");}na(z,M,W,fa={}){this.flush();this.B.push(z.toEQName());this.g.na(z,M,W,fa)}endElement(){this.flush();this.B.pop();this.g.endElement()}text(z,M={}){0<=this.V.indexOf(0===this.B.length?null:this.B[this.B.length-1])?M.DISABLE_ESCAPING?(this.flush(),this.g.text(z,M)):(this.j+=z,this.I=M):this.g.text(z, +M)}wa(z,M={}){this.flush();this.g.wa(z,M)}va(z,M,W={}){this.flush();this.g.va(z,M,W)}flush(){if(""!==this.j){const M=this.K?this.j.normalize(this.K):this.j,W=M.length;for(var z=0;zz&&this.aa(M.substring(z,fa));fa"),this.B=!1);this.Xe.includes(x.local.toLowerCase())&&E(x)||this.g.write("")}text(x,K={}){0"))throw new F("A processing instruction in HTML must not contain a > character","SERE0015");this.g.write("")}aa(){this.zb||(this.Pa["byte-order-mark"]&&"UTF-8"===this.Pa.encoding&&this.g.write("\ufeff"),this.zb=!0)}he(x,K){if(K){const U=this;K.forEach((ha,T)=>{x.hasURI("")&&this.Wf(x,T,ha.value)?U.g.write(" "+T.toString()):U.ee(T,ha)})}}Ca(x){let K=this.Pa["doctype-system"]||null,U=this.Pa["doctype-public"]||null;null===K&&null===U?E(x)&&"html"=== -x.local.toLowerCase()&&(this.ra&&this.g.write("\n"),this.g.write("\n"),this.xa=!0):null===K?(x=E(x)&&"html"===x.local.toLowerCase()?x.toString():"html",this.ra&&this.g.write("\n"),this.g.write("\n'),this.xa=!0):super.Ca("html"===x.local.toLowerCase()?x:n.QName.fromParts("","","html"))}Wf(x,K,U){K=K.local.toLowerCase();x=x.local.toLowerCase();return K===U.toLowerCase()&&(this.Yc[x]&&this.Yc[x].includes(K)||this.Yc["*"].includes(K))}} -class D extends ma{constructor(x,K){super(x,K);this.Wf="pre script style textarea title xmp".split(" ");this.he="a abbr acronym applet area audio b basefont bdi bdo big br button canvas cite code data datalist del dfn em embed font i iframe img input ins kbd label map mark math meter noscript object output picture progress q ruby s samp script select small span strike strong sub sup svg template textarea time tt u var video wbr".split(" ");this.ta=this.Yc=!1;this.Yd=[]}na(x,K,U,ha={}){this.Yc=this.he.includes(x.local.toLowerCase())&& -E(x);this.K||this.B?this.ra():this.aa();this.I++;0>this.j&&this.Wf.includes(x.local.toLowerCase())&&E(x)&&(this.j=this.I);this.eb&&-1===this.j&&0<=this.eb.indexOf(x.toEQName())&&(this.j=this.I);this.g.na(x,K,U,ha);this.K=this.V=!0;this.Yc=this.ta=this.B=!1;this.Yd.push(x)}endElement(){let x=this.Yd.pop();this.I--;this.B&&!this.V?this.ra():this.aa();this.g.endElement();this.V=!1;this.B=!0;this.K=!1;this.ta=this.he.includes(x.local.toLowerCase())&&E(x);this.I===this.j-1&&(this.j=-1)}text(x,K={}){super.text(x, -K);0>this.j&&""===Ha.trim(x)||(this.ta=!1)}wa(x,K={}){super.wa(x,K);this.ta=!1}va(x,K,U={}){super.va(x,K,U);this.ta=!1}ra(){0<=this.j||this.Yc||this.ta?this.aa():this.Xe()}}class y extends Qd{na(x,K,U,ha={}){for(let T in U)H(U[T])&&delete U[T];H(x.uri)&&(""!==x.prefix&&(x=n.QName.fromParts("",x.uri,x.local)),U[""]=x.uri);K.forEach((T,w)=>{H(w.uri)&&(U[w.prefix]=w.uri)});super.na(x,K,U,ha)}}class I extends W{constructor(x,K){super(x,K);this.ta="area base br col embed hr img input link meta param source track wbr".split(" ")}endElement(){this.K.pop(); -let x=this.eb.pop();this.B&&this.ta.includes(x.local)&&E(x)?(this.g.write(" />"),this.B=!1):(this.B&&super.V(),this.g.write(""))}text(x,K={}){(this.I||""!==Ha.trim(x))&&super.text(x,K)}Ca(x){let K=this.Pa["doctype-system"]||null;null===K&&E(x)&&"html"===x.local.toLowerCase()?(this.ra&&this.g.write("\n"),this.g.write("\n"),this.xa=!0):null!==K&&super.Ca(x)}}class R extends Qd{na(x,K,U,ha){let T=!1;K.forEach((w,Z)=>T=T||p(x,Z));if(T){const w=new de;K.forEach((Z, -S)=>{if(p(x,S)){const da=cd.escape(Z.value.normalize("NFC"),fa=>32>fa||126=T||127<=T&&159>=T||!c(T,K)?U+("\\u"+("0000"+T.toString(16).toUpperCase()).slice(-4)):U+w}}return U}ta(x){let K='"';if(this.ya){const w=this.ya;let Z="",S=!1;var U=!0;for(var ha=0;ha=w.min&&T<=w.max){U=!1;break}}if(U)Z=x;else for(U=0;U=T;da&&(T=x.codePointAt(U));w.ya[T]?(S||(""!==Z&&(K+=this.Ca(Z),Z=""),S=!0),Z+=w.ya[T],da&&U++):(S&& -(K+=Z,Z="",S=!1),Z+=ha)}K=S?K+Z:K+this.Ca(Z)}else K+=this.Ca(x);return K+'"'}zb(x){function K(T){switch(T.length){case 0:ha.g.write("null");break;case 1:U(T[0]);break;default:throw new F("Cannot output a sequence of length "+T.length+" as JSON","SERE0023");}}function U(T){var w=La.XS;if(La.pa(T))if(w.boolean.matches(T))ha.g.write(T.toString());else if(w.numeric.matches(T)){T=T.toString();if(["NaN","INF","-INF"].includes(T))throw new F("Cannot output INF or NaN as JSON","SERE0020");ha.g.write(T)}else ha.g.write(ha.ta(T.toString())); -else if(ac.X(T)){w=Object.assign({},ha.I);w.method=w["json-node-output-method"]||"xml";w["item-separator"]=null;w["omit-xml-declaration"]=!0;w.encoding="UTF-8";const Z=new la;r(T,w,Z,ha.ra);ha.g.write(ha.ta(Z.toString()))}else if(cd.isArray(T))if(T=T.value,0===T.length)ha.g.write("[]");else{ha.V("[");K(T[0]);for(w=1;w{Z?Z=!1:ha.aa();const fa=ha.ta(da.k.toString());if(!ha.I["allow-duplicate-names"]){if(S[fa])throw new F("Duplicate key '"+ -fa+"' in serialized JSON map","SERE0022");S[fa]=!0}ha.g.write(fa);ha.eb();K(da.v)});ha.K("}")}else throw new F("Cannot output "+sa.showValue(T)+" as JSON","SERE0021");}const ha=this;K(x)}V(x){this.g.write(x)}K(x){this.g.write(x)}aa(){this.g.write(",")}eb(){this.g.write(":")}}class ea extends ca{constructor(x,K,U){super(x,K,U);this.j=0;this.xa=x["Q{http://saxon.sf.net/}indent-spaces"]||3}V(x){super.V(x);this.j++;this.g.write("\n".padEnd(this.j*this.xa+1," "))}K(x){this.j--;this.g.write("\n".padEnd(this.j* -this.xa+1," "));super.K(x)}aa(){super.aa();this.g.write("\n".padEnd(this.j*this.xa+1," "))}eb(){this.g.write(": ")}}class ja extends Sd{constructor(x,K,U){super(U);this.I=x;this.g=K;this.ra=U;this.ya=x["use-character-maps"]||null}close(){function x(S,da){for(let fa in["fn","math","map","array","xs"])if(Zb.withPrefix[fa]===S)return fa+":"+da;return"Q{"+S+"}"+da}function K(S){return T.ya?q(T.ya,!1)(S):S}function U(S,da){if(1===S.length)ha(S[0],da);else{da.write("(");let fa=!0;for(let na=0;na{va?va=!1:da.write(",");ha(h.k,da);da.write(":");U(h.v,da)});da.write("}")}else S instanceof -ad.XdmFunction?S.local?da.write(x(S.uri,S.local)+"#"+S.arity):da.write("(anonymous function)#"+S.arity):da.write("JS: "+sa.showValue(S))}const T=this;let w=this.result(),Z=!0;for(let S=0;SZ(this.g));this.B=!0;this.pending=[]}super.na(x,K,U,ha)}text(x,K={}){this.B?super.text(x,K):this.pending.push(function(U){U.text(x,K)})}wa(x,K={}){this.B?super.wa(x,K): -this.pending.push(function(U){U.wa(x,K)})}va(x,K,U={}){this.B?super.va(x,K,U):this.pending.push(function(ha){ha.va(x,K,U)})}append(x,K={}){this.B?super.append(x,K):this.pending.push(function(U){U.append(x,K)})}za(){this.B?super.za():this.pending.push(function(x){x.za()})}close(){this.B||(this.j.method="xml",this.g=g(this.j,this.I),this.pending.forEach(x=>x(this.g)));super.close()}}class V extends B{constructor(x,K){super(x,K);this.j=!1}text(x){this.j||this.B();this.g.write(x)}append(x){this.j||this.B(); -this.g.write(x.toString())}B(){this.Pa["byte-order-mark"]&&"UTF-8"===this.Pa.encoding&&this.g.write("\ufeff");this.j=!0}}class la{constructor(){this.ma=""}write(x){this.ma+=x}toString(){return this.ma}}return{serialize:r,qh:g,StringWriter:la,parseParamDoc:function(x,K,U=null){function ha(S,da="SEPM0017"){throw new F("Serialization params: "+S,da);}function T(S,da=[]){const fa=ac.ca(S);ac.Ja.Ha(S).forEachItem(function(na){na=ac.ca(na);""!==na.uri||da.includes(na.local)||ha("attribute @"+na.local+" must not appear on element "+ -fa.toString())})}function w(S,da){let fa=ac.getAttribute(S,da,null);null===fa&&ha("attribute @"+da+" is missing on element "+ac.ca(S).toString());return fa}"serialization-parameters"!==ac.ca(x).local&&ha("root element name must be 'serialization-parameters'",U||"SEPM0017");"http://www.w3.org/2010/xslt-xquery-serialization"!==ac.ca(x).uri&&ha("root element namespace must be http://www.w3.org/2010/xslt-xquery-serialization",U||"SEPM0017");T(x);let Z=[];ac.Ec(x).forEach(function(S){if(ac.hasURI(S,"http://www.w3.org/2010/xslt-xquery-serialization")){var da= -ac.ca(S).local;let fa;Z.includes(da)&&ha("duplicated parameter "+da,"SEPM0019");Z.push(da);"use-character-maps"===da?(T(S),fa={min:0,max:0,ya:{}},ac.Ec(S).forEach(function(na){if(ac.hasURI(na,"http://www.w3.org/2010/xslt-xquery-serialization")&&"character-map"===ac.ca(na).local){T(na,["character","map-string"]);const va=w(na,"character");1fa.max&&(fa.max=h))}else ha("invalid child of use-character-maps: "+ac.ca(na).toString())}),55296ha&&(ha=S);55296"),this.B=!1);this.Xe.includes(z.local.toLowerCase())&&F(z)||this.g.write("")}text(z,M={}){0"))throw new G("A processing instruction in HTML must not contain a > character","SERE0015");this.g.write("")}aa(){this.zb||(this.Pa["byte-order-mark"]&&"UTF-8"===this.Pa.encoding&&this.g.write("\ufeff"),this.zb=!0)}ie(z,M){if(M){const W=this;M.forEach((fa,U)=>{z.hasURI("")&&this.Wf(z,U,fa.value)?W.g.write(" "+U.toString()):W.fe(U,fa)})}}Ca(z){let M=this.Pa["doctype-system"]||null,W=this.Pa["doctype-public"]||null;null===M&&null===W?F(z)&&"html"=== +z.local.toLowerCase()&&(this.ra&&this.g.write("\n"),this.g.write("\n"),this.xa=!0):null===M?(z=F(z)&&"html"===z.local.toLowerCase()?z.toString():"html",this.ra&&this.g.write("\n"),this.g.write("\n'),this.xa=!0):super.Ca("html"===z.local.toLowerCase()?z:p.QName.fromParts("","","html"))}Wf(z,M,W){M=M.local.toLowerCase();z=z.local.toLowerCase();return M===W.toLowerCase()&&(this.Zc[z]&&this.Zc[z].includes(M)||this.Zc["*"].includes(M))}} +class E extends la{constructor(z,M){super(z,M);this.Wf="pre script style textarea title xmp".split(" ");this.ie="a abbr acronym applet area audio b basefont bdi bdo big br button canvas cite code data datalist del dfn em embed font i iframe img input ins kbd label map mark math meter noscript object output picture progress q ruby s samp script select small span strike strong sub sup svg template textarea time tt u var video wbr".split(" ");this.ta=this.Zc=!1;this.Zd=[]}na(z,M,W,fa={}){this.Zc=this.ie.includes(z.local.toLowerCase())&& +F(z);this.K||this.B?this.ra():this.aa();this.I++;0>this.j&&this.Wf.includes(z.local.toLowerCase())&&F(z)&&(this.j=this.I);this.eb&&-1===this.j&&0<=this.eb.indexOf(z.toEQName())&&(this.j=this.I);this.g.na(z,M,W,fa);this.K=this.V=!0;this.Zc=this.ta=this.B=!1;this.Zd.push(z)}endElement(){let z=this.Zd.pop();this.I--;this.B&&!this.V?this.ra():this.aa();this.g.endElement();this.V=!1;this.B=!0;this.K=!1;this.ta=this.ie.includes(z.local.toLowerCase())&&F(z);this.I===this.j-1&&(this.j=-1)}text(z,M={}){super.text(z, +M);0>this.j&&""===Ha.trim(z)||(this.ta=!1)}wa(z,M={}){super.wa(z,M);this.ta=!1}va(z,M,W={}){super.va(z,M,W);this.ta=!1}ra(){0<=this.j||this.Zc||this.ta?this.aa():this.Xe()}}class A extends Qd{na(z,M,W,fa={}){for(let U in W)I(W[U])&&delete W[U];I(z.uri)&&(""!==z.prefix&&(z=p.QName.fromParts("",z.uri,z.local)),W[""]=z.uri);M.forEach((U,w)=>{I(w.uri)&&(W[w.prefix]=w.uri)});super.na(z,M,W,fa)}}class H extends P{constructor(z,M){super(z,M);this.ta="area base br col embed hr img input link meta param source track wbr".split(" ")}endElement(){this.K.pop(); +let z=this.eb.pop();this.B&&this.ta.includes(z.local)&&F(z)?(this.g.write(" />"),this.B=!1):(this.B&&super.V(),this.g.write(""))}text(z,M={}){(this.I||""!==Ha.trim(z))&&super.text(z,M)}Ca(z){let M=this.Pa["doctype-system"]||null;null===M&&F(z)&&"html"===z.local.toLowerCase()?(this.ra&&this.g.write("\n"),this.g.write("\n"),this.xa=!0):null!==M&&super.Ca(z)}}class S extends Qd{na(z,M,W,fa){let U=!1;M.forEach((w,Z)=>U=U||m(z,Z));if(U){const w=new de;M.forEach((Z, +T)=>{if(m(z,T)){const ha=cd.escape(Z.value.normalize("NFC"),ba=>32>ba||126=U||127<=U&&159>=U||!c(U,M)?W+("\\u"+("0000"+U.toString(16).toUpperCase()).slice(-4)):W+w}}return W}ta(z){let M='"';if(this.ya){const w=this.ya;let Z="",T=!1;var W=!0;for(var fa=0;fa=w.min&&U<=w.max){W=!1;break}}if(W)Z=z;else for(W=0;W=U;ha&&(U=z.codePointAt(W));w.ya[U]?(T||(""!==Z&&(M+=this.Ca(Z),Z=""),T=!0),Z+=w.ya[U],ha&&W++):(T&& +(M+=Z,Z="",T=!1),Z+=fa)}M=T?M+Z:M+this.Ca(Z)}else M+=this.Ca(z);return M+'"'}zb(z){function M(U){switch(U.length){case 0:fa.g.write("null");break;case 1:W(U[0]);break;default:throw new G("Cannot output a sequence of length "+U.length+" as JSON","SERE0023");}}function W(U){var w=La.XS;if(La.pa(U))if(w.boolean.matches(U))fa.g.write(U.toString());else if(w.numeric.matches(U)){U=U.toString();if(["NaN","INF","-INF"].includes(U))throw new G("Cannot output INF or NaN as JSON","SERE0020");fa.g.write(U)}else fa.g.write(fa.ta(U.toString())); +else if(ac.X(U)){w=Object.assign({},fa.I);w.method=w["json-node-output-method"]||"xml";w["item-separator"]=null;w["omit-xml-declaration"]=!0;w.encoding="UTF-8";const Z=new ka;q(U,w,Z,fa.ra);fa.g.write(fa.ta(Z.toString()))}else if(cd.isArray(U))if(U=U.value,0===U.length)fa.g.write("[]");else{fa.V("[");M(U[0]);for(w=1;w{Z?Z=!1:fa.aa();const ba=fa.ta(ha.k.toString());if(!fa.I["allow-duplicate-names"]){if(T[ba])throw new G("Duplicate key '"+ +ba+"' in serialized JSON map","SERE0022");T[ba]=!0}fa.g.write(ba);fa.eb();M(ha.v)});fa.K("}")}else throw new G("Cannot output "+sa.showValue(U)+" as JSON","SERE0021");}const fa=this;M(z)}V(z){this.g.write(z)}K(z){this.g.write(z)}aa(){this.g.write(",")}eb(){this.g.write(":")}}class ma extends aa{constructor(z,M,W){super(z,M,W);this.j=0;this.xa=z["Q{http://saxon.sf.net/}indent-spaces"]||3}V(z){super.V(z);this.j++;this.g.write("\n".padEnd(this.j*this.xa+1," "))}K(z){this.j--;this.g.write("\n".padEnd(this.j* +this.xa+1," "));super.K(z)}aa(){super.aa();this.g.write("\n".padEnd(this.j*this.xa+1," "))}eb(){this.g.write(": ")}}class ia extends Sd{constructor(z,M,W){super(W);this.I=z;this.g=M;this.ra=W;this.ya=z["use-character-maps"]||null}close(){function z(T,ha){for(let ba in["fn","math","map","array","xs"])if(Zb.withPrefix[ba]===T)return ba+":"+ha;return"Q{"+T+"}"+ha}function M(T){return U.ya?n(U.ya,!1)(T):T}function W(T,ha){if(1===T.length)fa(T[0],ha);else{ha.write("(");let ba=!0;for(let va=0;va{pa?pa=!1:ha.write(",");fa(h.k,ha);ha.write(":");W(h.v,ha)});ha.write("}")}else T instanceof +ad.XdmFunction?T.local?ha.write(z(T.uri,T.local)+"#"+T.arity):ha.write("(anonymous function)#"+T.arity):ha.write("JS: "+sa.showValue(T))}const U=this;let w=this.result(),Z=!0;for(let T=0;TZ(this.g));this.B=!0;this.pending=[]}super.na(z,M,W,fa)}text(z,M={}){this.B?super.text(z,M):this.pending.push(function(W){W.text(z,M)})}wa(z,M={}){this.B?super.wa(z,M): +this.pending.push(function(W){W.wa(z,M)})}va(z,M,W={}){this.B?super.va(z,M,W):this.pending.push(function(fa){fa.va(z,M,W)})}append(z,M={}){this.B?super.append(z,M):this.pending.push(function(W){W.append(z,M)})}za(){this.B?super.za():this.pending.push(function(z){z.za()})}close(){this.B||(this.j.method="xml",this.g=g(this.j,this.I),this.pending.forEach(z=>z(this.g)));super.close()}}class V extends u{constructor(z,M){super(z,M);this.j=!1}text(z){this.j||this.B();this.g.write(z)}append(z){this.j||this.B(); +this.g.write(z.toString())}B(){this.Pa["byte-order-mark"]&&"UTF-8"===this.Pa.encoding&&this.g.write("\ufeff");this.j=!0}}class ka{constructor(){this.ma=""}write(z){this.ma+=z}toString(){return this.ma}}return{serialize:q,rh:g,StringWriter:ka,parseParamDoc:function(z,M,W=null){function fa(T,ha="SEPM0017"){throw new G("Serialization params: "+T,ha);}function U(T,ha=[]){const ba=ac.ca(T);ac.Ja.Ha(T).forEachItem(function(va){va=ac.ca(va);""!==va.uri||ha.includes(va.local)||fa("attribute @"+va.local+" must not appear on element "+ +ba.toString())})}function w(T,ha){let ba=ac.getAttribute(T,ha,null);null===ba&&fa("attribute @"+ha+" is missing on element "+ac.ca(T).toString());return ba}"serialization-parameters"!==ac.ca(z).local&&fa("root element name must be 'serialization-parameters'",W||"SEPM0017");"http://www.w3.org/2010/xslt-xquery-serialization"!==ac.ca(z).uri&&fa("root element namespace must be http://www.w3.org/2010/xslt-xquery-serialization",W||"SEPM0017");U(z);let Z=[];ac.Fc(z).forEach(function(T){if(ac.hasURI(T,"http://www.w3.org/2010/xslt-xquery-serialization")){var ha= +ac.ca(T).local;let ba;Z.includes(ha)&&fa("duplicated parameter "+ha,"SEPM0019");Z.push(ha);"use-character-maps"===ha?(U(T),ba={min:0,max:0,ya:{}},ac.Fc(T).forEach(function(va){if(ac.hasURI(va,"http://www.w3.org/2010/xslt-xquery-serialization")&&"character-map"===ac.ca(va).local){U(va,["character","map-string"]);const pa=w(va,"character");1ba.max&&(ba.max=h))}else fa("invalid child of use-character-maps: "+ac.ca(va).toString())}),55296fa&&(fa=T);55296"0"+B.codePointAt(0))}const l=ac.Ja;b=l.Ya(b).expand().reverse();let r="";for(let n=0;nr};return function(r,n,B){let W=r[0];n.fixed.ka.Db(B,"i")&&(W=W.filter(function(ja){return!Hd.tc(ja)}));r=Hd.Xb(B,r[1],"compare",n);const ma=Hd.oi(r),qa=A.untypedAtomic.matches,L=A.numeric.matches,aa=A.double.matches,z=A.float.matches,D=A.anyURI.matches,y=A.string.matches; -r=A.duration.matches;const I=A.yearMonthDuration.matches,R=A.dayTimeDuration.matches;n=A.QName.matches;const M=A.double.R,ca=A.float.R,ea=A.string.R;W=W.mapOneToOne(function(ja){return qa(ja)?M(ja):ja});B=W.next();if(null===B)return Ob;n(B)&&d(b+"() not defined over QName");!r(B)||I(B)||R(B)||d(b+"() not defined over mixed durations");return Pb(H(W,B,function(ja,Y){(y(ja)&&L(Y)||y(Y)&&L(ja))&&d("Cannot compare string with numeric");(I(ja)&&!I(Y)||R(ja)&&!R(Y))&&d("Cannot compare mixed durations"); -if(Hd.tc(Y))return aa(ja)?M(Y):Y;if(Hd.tc(ja))return aa(Y)?M(ja):ja;aa(Y)&&!y(ja)?ja=M(ja):aa(ja)&&!y(Y)?Y=M(Y):z(Y)&&!y(ja)?ja=ca(ja):z(ja)&&!y(Y)&&(Y=ca(Y));D(Y)&&y(ja)?Y=ea(Y):D(ja)&&y(Y)&&(ja=ea(ja));try{return l(ma(ja,Y))?ja:Y}catch(V){throw V instanceof F&&"XPTY0004"===V.code&&(V.code="FORG0006"),V;}}))}}function g(b,d){if(2!==d.length&&5!==d.length)throw new F("Wrong number of arguments ("+d.length+") for "+b,"XPST0017");}function e(b,d){b=b[0].next();if(null===b)return Ob;if("timezone"=== -d)return null===b.Fa?Ob:Pb(A.dayTimeDuration.hh(b.Fa));if("seconds"===d)return d=b.proxy(),Wb(d.getUTCSeconds()+d.getUTCMilliseconds()/1E3);b=b.proxy()[d]();"getUTCMonth"===d&&b++;return Ub(b)}function k(b,d){b=b[0].next();return null===b?Ob:5!==d?Ub(jb(b)[d]*kb(b)):Wb(jb(b)[d]*kb(b))}function v(b,d,l){function r(W,ma){return Pb(La.codes[d].fromDate(W,ma))}const n=b[0].next();if(!n)return Ob;l=l.fixed.Jb.getTimezoneOffset();if(b[1]){var B=b[1].next();b=null!==B?B.Qa/6E4:null;if(null!==b&&(-840>b|| -840{n=B.evaluate(r?[n,[W]]:[[W], -n],d,l).expand()});return Kb(n)}let C=null,m=null;const f=ac,A=La.XS,O=f.Ja;return{abs:function(b){b=b[0].next();return null===b?Ob:Pb(b.abs())},"accumulator-after":function(b,d,l){b=a(b[0],d,l,"XTDE3340");return Kb(Ld.ei(l,b,ed(d),d))},"accumulator-before":function(b,d,l){b=a(b[0],d,l,"XTDE3340");return Kb(Ld.fi(l,b,ed(d),d))},"adjust-date-to-timezone":function(b,d){return v(b,"AA",d)},"adjust-dateTime-to-timezone":function(b,d){return v(b,"AM",d)},"adjust-time-to-timezone":function(b,d){return v(b, -"AT",d)},"analyze-string":function(b,d){const l=c(b[0]);var r=d.ja.createDocumentFragment();const n=Zb.Oa,B=d.ja.createElementNS(n,"analyze-string-result");r.appendChild(B);if(""===l)return Pb(B);r=b[1].next().toString();b=b[2]?b[2].next().toString():"";Zd.Of(l,r,b,!1,!1).forEach(function(W){let ma;if(W.Lc){let L;W=W.groups;ma=d.ja.createElementNS(n,"match");var qa=0;for(let aa=1;aaqa&&(qa=d.ja.createTextNode(W[0].substring(qa,L)),ma.appendChild(qa)), -qa=d.ja.createElementNS(n,"group"),qa.setAttribute("nr",aa),qa.appendChild(d.ja.createTextNode(W[aa])),ma.appendChild(qa),qa=L+W[aa].length);qaZd.qf(B,d,n,l,!0,!0)); -n.close();return Kb(r.Ob)},count:function(b){return Ub(b[0].count())},"current-date":function(b,d){return Pb(A.cd.fromDate(d.fixed.Jb,-d.fixed.Jb.getTimezoneOffset()))},"current-dateTime":function(b,d){return Pb(A.Ed.fromDate(d.fixed.Jb,-d.fixed.Jb.getTimezoneOffset()))},"current-group":function(){throw new F("The current-group() function cannot be invoked dynamicaly","XTDE1061");},"current-grouping-key":function(){throw new F("The current-grouping-key() function cannot be invoked dynamicaly","XTDE1071"); -},"current-merge-group":function(b,d){if(null===d.Bb)throw new F("There is no current merge group","XTDE3480");if(b[0]){b=b[0].next().value;if(d=d.Bb.groups[b])return Kb(d);throw new F("Unknown merge source "+b,"XTDE3490");}return Kb(d.Bb.items)},"current-merge-key":function(b,d){if(null===d.Bb)throw new F("There is no current merge group","XTDE3510");return Kb(d.Bb.keys)},"current-output-uri":function(b,d){b=0===d.ub.length?null:d.ub[d.ub.length-1];return null==b||"function"===d.qa?Ob:Pb(b)},"current-time":function(b, -d){return Pb(A.time.fromDate(d.fixed.Jb,-d.fixed.Jb.getTimezoneOffset()))},data:function(b,d){return b[0].mapOneToMany(d.fixed.ka.Sb)},dateTime:function(b){const d=b[0].next();b=b[1].next();if(null===d||null===b)return Ob;let l="";if(null!==d.Fa)if(null===b.Fa)l=db(d);else if(d.Fa!==b.Fa)throw new F("timezones are incompatible ","FORG0008");return Pb(A.dateTime.fromString(d.toString().substring(0,10)+"T"+b.toString()+l))},"day-from-date":function(b){return e(b,"getUTCDate")},"day-from-dateTime":function(b){return e(b, -"getUTCDate")},"days-from-duration":function(b){return k(b,2)},"deep-equal":function(b,d,l){d=Hd.Xb(l,b[2],"equals",d);return Xb(Fd(b[0],b[1],d))},"default-collation":function(){return Tb(Hd.$c)},"default-language":function(){return Pb(A.language.fromString("en"))},"distinct-values":function(b,d,l){d=Hd.df(l,b[1],d);const r=Hd.xf(d);return b[0].filter(function(n){if(r.containsKey(n))return!1;r.inSituPut(n,!0);return!0})},doc:function(b,d,l){b=Nd.Lg(b,d,l);if(null===b)return Pb(null);try{let r=Nd.Dc(b, -d);const n=d.fixed.Ee;n&&(r=n(r));return Pb(r)}catch(r){throw r;}},"doc-available":function(b,d,l){const r=Nd.Lg(b,d,l);return null===r?Xb(!1):Nd.Ih(function(){Nd.Dc(r,d)})},document:function(b,d,l){const r=d.fixed.ka;let n,B;if(b[1]&&(n=f.baseURI(b[1].next()),!n))throw new F("No base URI available for second argument of document()","XTDE1162");n||(B=r.Ia(l,d));const W=d.fixed.Ee;return f.kd(b[0].mapOneToMany(function(ma){const qa=n?n:f.X(ma)?f.baseURI(ma):B;return r.Sb(ma).mapOneToOne(function(L){if(null=== -qa)throw new F("No base URI for document('"+L+"')","XTDE1162");L=Nd.Dc(pa.Fb(L.toString(),qa),d);null!==W&&(L=W(L));return L})}))},"document-uri":function(b){b=b[0].next();return null!==b&&9===b.nodeType&&b._saxonDocUri?Pb(A.anyURI.fromString(b._saxonDocUri)):Ob},"element-available":function(b,d,l){b=a(b[0],d,l,"XTDE1440","##local").split("}");if(d="http://www.w3.org/1999/XSL/Transform"===b[0].substring(2))null==m&&(m=pa.rf("elements")),m[b[1]]||(d=!1);return Xb(d)},"element-with-id":function(b,d){return E(b, -d,"element-with-id")},empty:function(b){return Xb(null===b[0].next())},"encode-for-uri":function(b){b=encodeURIComponent(c(b[0])).replace(/[!'()*]/g,function(d){return"%"+d.charCodeAt(0).toString(16).toUpperCase()});return Tb(b)},"ends-with":function(b,d,l){const r=c(b[0]),n=c(b[1]);b=Hd.Xb(l,b[2],"endsWith",d);return Xb(b(r,n))},"environment-variable":function(){return Ob},error:function(b){if(void 0===b[0])throw new F("fn:error() invoked","FOER0000");var d=b[0].next();d=d?d.toEQName():"FOER0000"; -const l=b[1]?c(b[1]):"";d=new F(l,d);b[2]&&(d.errorObject=b[2].next());throw d;},"escape-html-uri":function(b){return Tb(cd.escape(c(b[0]),function(d){return 32>d||126Kb(n.get(r.Sb(B).next())));if(n instanceof $c)return b[0].mapOneToMany(function(B){B=r.Sb(B).next();B=A.numeric.matches(B)?B.toNumber():A.double.R(B).toNumber();return Kb(n.get(B))});sa.la("for-each() function object not instance of XdmFunction | XdmArray | XdmMap")},"for-each-pair":function(b,d,l){let r=b[2].expand(); -if(1!==r.length)throw new F("for-each-pair() must have exactly one function item as the third argument. Supplied length "+r.length,"XPTY0004",l);r=r[0];r instanceof ad.XdmFunction||sa.la("Function object not instance of XdmFunction");let n=[];const B=b[0];b=b[1];let W=B.next(),ma=b.next();for(;W&&ma;)n=n.concat(r.evaluate([[W],[ma]],d,l).expand()),W=B.next(),ma=b.next();return Kb(n)},"function-arity":function(b){b=b[0].next();return Pb(A.integer.fromNumber(b instanceof cc||b instanceof $c?1:b.arity))}, -"function-available":function(b,d,l){let r=!1;const n=a(b[0],d,l,"XTDE1400",Zb.Oa),B=b[1]?b[1].next().toNumber():-1,W=d.fixed.La;Object.keys(W).forEach(function(ma){ma=W[ma];ma.name===n&&ma.actor&&"function"===ma.actor.N&&(0>B?r=!0:(ma=cd.qb(ma.actor,"arg").length,B===ma&&(r=!0)))});r||(b=A.QName.fromEQName(n),null==C&&(C=pa.rf("functions")),r=(d=C[b.uri])&&d[b.local]?"concat"===b.local&&b.uri===Zb.Oa&&(-1===B||2<=B)?!0:0<=B?0<=d[b.local].indexOf(B):!0:!1);return Xb(r)},"function-lookup":function(b, -d,l){const r=b[0].next();b=b[1].next().toNumber();var n=Jd.find("SaxonJS").XPath;const B=d.ba(!0);B.bb=!0;n=n.getFnSignature(r,b,B);if(!n)return Ob;d=n.isUserFunction?new ad.Ff(n,d):r.uri===Zb.lc?new ad.Bf(n,r,l):new ad.He(n,r,b,l,d);return Pb(d)},"function-name":function(b){b=b[0].next();if(!(b instanceof ad.XdmFunction))throw new F("Input to function-name() is not an XdmFunction ","XXXX9999");return b.ic()&&b.ic().uri!==Zb.yg?Pb(b.ic()):Ob},"generate-id":function(b){b=b[0].next();return Tb(b?q(b): -"")},"has-children":function(b){return Xb(null!==O.Ka(b[0].next()).next())},head:function(b){return Pb(b[0].next())},"hours-from-dateTime":function(b){return e(b,"getUTCHours")},"hours-from-duration":function(b){return k(b,3)},"hours-from-time":function(b){return e(b,"getUTCHours")},id:function(b,d){return E(b,d,"id")},idref:function(){return Ob},"implicit-timezone":function(b,d){return Pb(A.dayTimeDuration.hh(-d.fixed.Jb.getTimezoneOffset()))},"index-of":function(b,d,l){const r=Sb(b[0]),n=b[1].next(); -b=Hd.Xb(l,b[2],"equals",d);const B=Hd.yi(b);return r.mapOneToOne(function(W){try{return B(W,n)?A.integer.fromNumber(r.position):null}catch(ma){return null}})},innermost:function(b,d,l){const r=d.fixed.ka.Db(l,"p")?b[0]:f.kd(b[0]);return new Mb(function*(){let n=null,B;for(;null!=(B=r.next());)if(n)if(O.Zc(B).some(W=>W===n))n=B;else{const W=n;n=B;yield W}else n=B;n&&(yield n)}())},"in-scope-prefixes":function(b){b=b[0].next();return Kb(f.Ic(b).map(function(d){return A.string.fromString(d.prefix)}))}, -"insert-before":function(b){const d=b[1].next().value,l=b[2],r=Sb(b[0]);return 1>d?Qb([l,r]):d>r.last()?Qb([r,l]):r.mapOneToMany(function(n){return r.position===d?Qb([b[2],Pb(n)]):Pb(n)})},"iri-to-uri":function(b){return Tb(cd.escape(c(b[0]),function(d,l){return 32>=d||126"{}|\\^`]/.test(l)}))},"json-doc":function(b,d,l){l=Nd.Te(b,d,l);if(!l)return Ob;l=Nd.Fi(l,d);b=b[1]?b[1].next():null;return Pb(Md.ze(l,b,d))},"json-to-xml":function(b,d,l){const r=d.fixed.ka;var n=b[0].next();if(null=== -n)return Ob;b=b[1]?b[1].next():null;n=Md.wj(n.toString(),b,d);b=d.ja.createDocumentFragment();b.appendChild(n);b._saxonBaseUri=r.Ia(l,d);return Pb(b)},key:function(b,d,l){function r(Y){Y=R?A.string.R(Y):Y;return I.containsKey(Y)?(Y=Kb(I.get(Y)),D===z?Y:Y.filter(function(V){return null!==O.Ya(V).filter(function(la){return la===z}).next()})):Ob}function n(Y){return{visibility:"PRIVATE",Za:Y,Dh:ma,actor:Y,We:Y.binds.split(" ").map(function(V){return parseInt(V,10)})}}const B=d.fixed.ka;var W=a(b[0], -d,l,"XTDE1260");const ma=B.ke(l,d),qa=ma.keys[W];if(!qa)throw new F("Unknown key "+W,"XTDE1260");const L=qa.vg,aa=B.Db(qa.Ld[0],"c");let z,D;if(b[2])z=b[2].next(),f.X(z)&&(D=f.rc(z));else{var y=ed(d);f.X(y)&&(D=z=f.rc(y))}if(!D||9!==D.nodeType&&11!==D.nodeType)throw new F("No containing document for key()","XTDE1270",l);"_saxonIndexes"in D||(D._saxonIndexes={},D._saxonIndexesBC={});l=D._saxonIndexes;let I=l[L];if("under construction"===I)throw new F("Definition of key "+W+" is circular","XTDE0640"); -let R=!1;if(I)R=D._saxonIndexesBC[L];else{W=Hd.df(qa.Ld[0],null,d);I=Hd.xf(W,aa);l[L]="under construction";W=function(V){return Qb([O.self(V),O.ob(V),O.Ha(V)])};y=function(V){return Qb([O.self(V),O.Ha(V)])};const Y=function(V){return Qb([O.self(V),O.ob(V)])};for(let V=0;VI.get(ha).indexOf(T)&&(I.get(ha).push(T),1b.length+1&&d.substring(0,b.length)===b&&"-"===d.charAt(b.length))},last:function(b, -d){fd(d,"XPDY0002","last()");return Ub(d.focus.last())},"load-xquery-module":function(){throw new F("No XQuery processor available","FOQM0006");},"local-name":function(b){b=f.ca(b[0].next());return Tb(b?b.local:"")},"local-name-from-QName":function(b){b=b[0].next();return null===b?Ob:Pb(La.type.NCName.fromString(b.local))},"lower-case":function(b){return Tb(c(b[0]).toLowerCase())},matches:function(b){const d=c(b[0]);var l=b[1].next().toString();b=Ha.xg(b[2]?b[2].next().toString():"");l=Ha.Ce(l,b, -d);return Xb(0<=d.search(l))},max:p("max"),min:p("min"),"minutes-from-dateTime":function(b){return e(b,"getUTCMinutes")},"minutes-from-duration":function(b){return k(b,4)},"minutes-from-time":function(b){return e(b,"getUTCMinutes")},"month-from-date":function(b){return e(b,"getUTCMonth")},"month-from-dateTime":function(b){return e(b,"getUTCMonth")},"months-from-duration":function(b){return k(b,1)},name:function(b){b=f.ca(b[0].next());return Tb(b?b.toString():"")},"namespace-uri":function(b){b=f.ca(b[0].next()); -return Pb(A.anyURI.fromString(b?b.uri:""))},"namespace-uri-for-prefix":function(b){var d=c(b[0]);b=b[1].next();d="xml"===d?Zb.xml:b.lookupNamespaceURI(""===d?null:d);return null!==d?Pb(A.anyURI.fromString(d)):Ob},"namespace-uri-from-QName":function(b){b=b[0].next();return null===b?Ob:Pb(A.anyURI.fromString(b.uri))},nilled:function(b){return(b=b[0].next())&&1===b.nodeType?Xb(!1):Ob},"node-name":function(b){return Pb(f.ca(b[0].next()))},"normalize-space":function(b){b=c(b[0]);return Tb(xa(b))},"normalize-unicode":function(b){if(String.prototype.normalize){const d= -c(b[0]);b=b[1]?b[1].next().toString().toUpperCase().trim():"NFC";if(["NFC","NFD","NFKC","NFKD"].includes(b))return Tb(d.normalize(b));if(""===b)return Tb(d)}throw new F("normalize-unicode(): not supported on this Javascript platform","FOCH0003");},not:function(b,d){return Xb(!d.fixed.ka.Fd(b[0]))},number:function(b){return Pb(La.XS.numeric.xe(b[0].next()))},"one-or-more":function(b){b=Fb(b[0]);if(null===b.ua())throw new F("Required length >= 1, actual length zero","FORG0004");return b},outermost:function(b, -d,l){d=d.fixed.ka.Db(l,"p");b=b[0];d||(b=f.kd(b));let r=null;return b.filter(function(n){if(null===r)return r=n,!0;if(O.Zc(n).some(B=>B===r))return!1;r=n;return!0})},"parse-ietf-date":function(b){return b[0].mapOneToOne(function(d){function l(z){return 1===z.length?"0"+z:z}function r(){throw new F("Invalid IETF date/time "+d.toString(),"FORG0010");}var n=d.toString().trim().toLowerCase();n=n.replace(/^(monday|tuesday|wednesday|thursday|friday|saturday|sunday|mon|tue|wed|thu|fri|sat|sun),?\s+/,""); -let B;let W,ma;if(/^[a-z]/.test(n))if(B=/^([a-z]{3})(?:\s*-\s*|\s+)(\d\d\d?\d?)\s+([\d:.]+)\s*([a-z]+|[+\-]\d\d?:?(?:\d\d)?(?:\s*\(\s*[a-z]+\s*\))?)?\s+(\d+)$/,n=B.exec(n),null!==n){var qa=n[1];var L=n[2];ma=n[3];var aa=n[4];W=n[5]}else r();else B=/^(\d+)(?:\s*-\s*|\s+)([a-z]{3})(?:\s*-\s*|\s+)(\d\d\d?\d?)\s+([\d:.]+)\s*([a-z]+|[+\-]\d\d?:?(?:\d\d)?(?:\s*\(\s*[a-z]+\s*\))?)?$/,n=B.exec(n),null!==n?(L=n[1],qa=n[2],W=n[3],ma=n[4],aa=n[5]):r();2===W.length&&(W="19"+W);qa="jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec".indexOf(qa|| -"*");0>qa&&r();n={ut:"Z",utc:"Z",gmt:"Z",est:"-05:00",edt:"-04:00",cst:"-06:00",cdt:"-05:00",mst:"-07:00",mdt:"-06:00",pst:"-08:00",pdt:"-07:00"};/^[0-9]:/.test(ma)&&(ma="0"+ma);5===ma.length&&(ma+=":00");aa&&(aa=/([a-z]+)|([+\-]\d\d?:?(?:\d\d)?)(?:\s*\(\s*([a-z]+)\s*\))?$/.exec(aa),(!aa[3]||aa[3]in n)&&(!aa[1]||aa[1]in n)||r(),aa=aa[1]?aa[1]:aa[2],/^[+\-][0-9]((:|$)|[0-9]{2}$)/.test(aa)&&(aa=aa.charAt(0)+"0"+aa.substring(1)),aa in n?aa=n[aa]:3===aa.length?aa+=":00":4===aa.length?aa+="00":5===aa.length&& -(aa=aa.substring(0,3)+":"+aa.substring(3)));L=W+"-"+l((qa/4+1).toString())+"-"+l(L)+"T"+ma+(aa||"Z");try{return A.dateTime.fromString(L)}catch(z){throw new F("''"+d.toString()+"'' is not a valid IETF date","FORG0010");}})},"parse-json":function(b,d){const l=b[0].next();if(null===l)return Ob;b=b[1]?b[1].next():null;return Pb(Md.ze(l.toString(),b,d))},"parse-xml":function(b,d,l){b=b[0].next();if(null===b)return Ob;const r=d.fixed.ka;try{const n=pa.parseXmlFromString(b.toString());n._saxonBaseUri=r.Ia(l, -d);return Pb(n)}catch(n){throw new F(n.message,"FODC0006");}},"parse-xml-fragment":function(b,d,l){const r=d.fixed.ka;return b[0].mapOneToOne(function(n){const B=/^<\?xml(?:\s+version\s*=\s*(['"])1.[0-9]+['"])?\s+encoding\s*=\s*(['"][A-Za-z](?:[A-Za-z0-9._\-])*)['"]\s*\?>/;n=n.toString();if(/^<\?xml/.test(n)&&!B.test(n))throw new F("Invalid XML header for a text declaration","FODC0006");n=n.replace(B,"");let W;try{W=pa.parseXmlFromString(""+n+"")}catch(qa){throw new F(qa.message,"FODC0006"); -}const ma=d.ja.createDocumentFragment();O.Ka(W.documentElement).forEachItem(function(qa){ma.appendChild(qa)});ma._saxonBaseUri=r.Ia(l,d);return ma})},path:function(b){return b[0].mapOneToOne(function(d){function l(r){return O.Oc(r).filter(function(n){return r.nodeType===n.nodeType})}return A.string.fromString(function(r){if([9,11].includes(r.nodeType))return"/";let n="",B=r;for(;B;){r=f.Xa(B);if(!r)return[9,11].includes(B.nodeType)?n:"Q{http://www.w3.org/2005/xpath-functions}root()"+n;switch(B.nodeType){case 9:case 11:return n; -case 1:const W=f.ca(B);n=`/${W.toEQName()}[${1+l(B).filter(ma=>f.ca(ma).equals(W)).count()}]${n}`;break;case 3:case 4:n=`/text()[${1+l(B).count()}]`;break;case 8:n=`/comment()[${1+l(B).count()}]`;break;case 7:n=`/processing-instruction(${B.target})[${1+l(B).filter(ma=>B.target===ma.target).count()}]`;break;case 2:n=`/@${0>B.name.indexOf(":")?B.name:f.ca(B).toEQName()}`;break;default:n=`/namespace::${""!==B.prefix?B.prefix:"*[Q{"+Zb.Oa+'}local-name()=""]'}`}B=r}}(d))})},"prefix-from-QName":function(b){return b[0].mapOneToOne(function(d){return""=== -d.prefix?null:A.Ag.fromString(d.prefix)})},position:function(b,d){fd(d,"XPDY0002","position()");return Ub(d.focus.position)},QName:function(b){var d=b[1].next().value;const l=d.split(":"),r=2===l.length?l[0]:"";b=c(b[0]);if(""!==r&&""===b)throw new F("Prefix but no URI for QName()","FOCA0002");if(2===l.length&&""===r||""!==r&&!Ha.Lb(r))throw new F(d+" not valid for QName()","FOCA0002");d=2===l.length?l[1]:l[0];if(!Ha.Lb(d))throw new F(d+" not valid local name for QName()","FOCA0002");return Pb(A.QName.fromParts(r, -b,d))},"random-number-generator":function(b,d){b=new cc;b.inSituPut(A.string.fromString("number"),[A.double.fromNumber(Math.random())]);var l=A.QName.fromParts("fn",Zb.Oa,"random-number-generator"),r=Jd.find("SaxonJS").XPath,n=r.getFnSignature(l,0,d);l=new ad.He(n,l,0,{},d);b.inSituPut(A.string.fromString("next"),[l]);l=A.QName.fromParts("saxon",Zb.wb,"permute");n=d.ba();n.bb=!0;r=r.getFnSignature(l,1,n);d=new ad.He(r,l,1,{},d);b.inSituPut(A.string.fromString("permute"),[d]);return Pb(b)},"regex-group":function(b, -d){b=b[0].next().toNumber();try{return Tb(d.Mb[b]||"")}catch(l){return Tb("")}},remove:function(b){const d=b[1].next().toNumber(),l=Sb(b[0]);return l.filter(function(){return l.position!==d})},replace:function(b){const d=c(b[0]),l=Ha.xg(b[3]?b[3].next().toString():"");let r=0;const n=Ha.Ce(b[1].next().toString(),l+"g",null,B=>{r=B});if(n.test(""))throw new F("Regular expression matches zero-length string","FORX0003");b=Ha.si(b[2].next().toString(),l,r);return Tb(d.replace(n,b))},"resolve-QName":function(b){const d= -b[1].next();return b[0].mapOneToOne(function(l){try{return f.Cj(d,l.toString(),!0)}catch(r){throw r instanceof F&&"FORG0001"===r.code&&(r.code=Ha.uh(l)?"FONS0004":"FOCA0002"),r;}})},"resolve-uri":function(b,d,l){const r=d.fixed.ka;if(b[1]){let n=b[1].next();d=n?n.toString():r.Ia(l,d)}else d=r.Ia(l,d);b=b[0].next();if(null===b)return Ob;b=b.toString();l=f.ld(b);if(null!==d&&(d=d.replace(/^file:\/(?!\/)/,"file:///"),/#/.test(d)))throw new F("Base URI "+d+" contains a fragment identifier","FORG0002"); -if(!l&&null!==d&&!f.ld(d))throw new F("resolve-uri: invalid URI (base="+d+", relative="+b+")","FORG0002");b=l?b:pa.Fb(b,d).toString();return Pb(A.anyURI.fromString(b))},reverse:function(b){return Kb(b[0].expand().slice().reverse())},root:function(b){return b[0].mapOneToMany(d=>O.Ya(d)).filter(d=>!f.Xa(d))},round:function(b){return b[0].mapOneToOne(d=>d.round(b[1]?Math.min(b[1].next().value,1E4):0))},"round-half-to-even":function(b){return b[0].mapOneToOne(d=>d.sf(b[1]?Math.min(b[1].next().value,1E4): -0))},"seconds-from-dateTime":function(b){return e(b,"seconds")},"seconds-from-duration":function(b){return k(b,5)},"seconds-from-time":function(b){return e(b,"seconds")},serialize:function(b,d){function l(B){B.method="xml";B.indent=!1;B["omit-xml-declaration"]=!0}const r=new ge.StringWriter,n={};if(b[1]){const B=b[1].next();if(null===B)l(n);else if(ac.X(B)){if(!ac.sh(B))throw new F("Second argument supplied to serialize() is wrong kind of node","XPTY0004");ge.parseParamDoc(B,n,"XPTY0004")}else{if(!(B instanceof -cc))throw new F("Second argument supplied to serialize() does not match required type","XPTY0004");const W=function(ma,qa,L,aa,z=!1){const D=La.XS.string.fromString(ma);if(B.containsKey(D)){let y=B.get(D);if(0I.push(R));y=I}else throw new F("fn:serialize(): supplied value of "+D+" is invalid","XPTY0004");if(1!==y.length&&!L&&!z||!y.every(I=>"AZ"===I.code||qa.matches(I)))throw new F("fn:serialize(): supplied value of "+D+" is invalid","XPTY0004"); -n[ma]=z&&0===y.length?null:aa(L?y:"AZ"===y[0].code?qa.R(y[0]):y[0])}};"doctype-public doctype-system encoding item-separator json-node-output-method media-type method normalization-form version".split(" ").forEach(ma=>W(ma,La.XS.string,!1,qa=>qa.toString()));"allow-duplicate-names byte-order-mark escape-uri-attributes include-content-type indent omit-xml-declaration undeclare-prefixes".split(" ").forEach(ma=>W(ma,La.XS.boolean,!1,qa=>qa.toBoolean()));W("standalone",La.XS.boolean,!1,ma=>ma.toBoolean(), -!0);W("html-version",La.XS.mb,!1,ma=>ma.toNumber());["cdata-section-elements","suppress-indentation"].forEach(ma=>W(ma,La.XS.QName,!0,qa=>{let L="";for(let aa=0;aaz instanceof cc))throw new F("fn:serialize(): supplied value of "+qa+" is invalid","XPTY0004");L=L[0]; -var aa=function(z){return A.string.matches(z)};if(!L.conforms(aa,aa,function(z){return 1===z}))throw new F("fn:serialize(): supplied value of "+qa+" is invalid","XPTY0004");qa=cd.sb(L,!0);L={min:0,max:0,ya:{}};for(let z in qa)if(qa.hasOwnProperty(z)){if(1L.max&&(L.max=aa);L.ya[aa]=qa[z]}n[ma]=L}})("use-character-maps")}}else l(n); -ge.serialize(b[0].expand(),n,r,d);return Tb(r.toString())},snapshot:function(b,d,l){return b[0].mapOneToOne(function(r){function n(y){if(0W.append(R));0W.append(R));O.ob(L).forEachItem(R=>W.append(R))},W):Zd.qf(r,d,W,l,!0,!0),z=B.oc.lastChild)},W)}}const B=Vd(d),W=Zd.Fc(B);if(!f.Xa(r))return Zd.qf(r,d,W,l,!0,!0),W.close(),Kb(B.Ob).next();const ma=r.nodeType, -qa=f.ca(r);var L=r,aa=[2,13].includes(ma);aa&&(L=f.Xa(L));W.Ea();let z;const D=O.Zc(L).expand();0f.ca(y).equals(qa)).next();case 13:return f.Ja.ob(z).filter(y=>f.ca(y).equals(qa)).next();default:return z}})},sort:function(b,d,l){const r=Hd.df(l,b[1],d);let n=cd.Sb;if(b[2]){const B=b[2].next();n=function(W){return B.evaluate([[W]],d,l)}}return Kb(b[0].expand().slice().sort(function(B, -W){return b[1]?Id(n(B),n(W),r):Id(n(B),n(W))}))},"starts-with":function(b,d,l){const r=c(b[0]),n=c(b[1]);b=Hd.Xb(l,b[2],"startsWith",d);return Xb(b(r,n))},"static-base-uri":function(b,d,l){return(b=d.fixed.ka.Ia(l,d))?Pb(A.anyURI.fromString(b)):Ob},"stream-available":function(){return Xb(!1)},string:function(b,d){d=d.fixed.ka;b=b[0].next();if(!b)return Tb("");if(d.isArray(b)||d.isMap(b)||d.Jd(b))throw new F("Input to string() is a function item ","FOTY0014");return d.Sb(b).mapOneToOne(function(l){return A.string.R(l)})}, -"string-join":function(b){let d="";const l=b[1]?b[1].next().value:"";let r,n=!0;for(;null!==(r=b[0].next());)n||(d+=l),d+=r.toString(),n=!1;return Tb(d)},"string-length":function(b){return Ub(Da(c(b[0])).length)},"string-to-codepoints":function(b){return Kb(Da(c(b[0])).map(A.integer.fromNumber))},subsequence:function(b){const d=Math.round(b[1].next().toNumber()),l=b[2]?d+Math.round(b[2].next().toNumber()):Number.POSITIVE_INFINITY;return new Nb(b[0],d,l)},substring:function(b){var d=Math.round(b[1].next().toNumber()); -const l=b[2]?d+Math.round(b[2].next().toNumber()):Number.POSITIVE_INFINITY;b=new Mb(c(b[0])[Symbol.iterator]());d=new Nb(b,d,l);return Tb(d.expand().join(""))},"substring-after":function(b,d,l){let r="";const n=c(b[0]),B=c(b[1]);let W;-1!==(W=Hd.Xb(l,b[2],"indexOf",d)(n,B))&&(r=n.substring(W+B.length));return Tb(r)},"substring-before":function(b,d,l){let r="";const n=c(b[0]),B=c(b[1]);let W;-1!==(W=Hd.Xb(l,b[2],"indexOf",d)(n,B))&&(r=n.substring(0,W));return Tb(r)},sum:function(b,d){d=b[0].mapOneToOne(d.fixed.ka.Xh); -const l=d.next();if(null===l)return 1===b.length?Ub(0):b[1];try{return mb["a+a"](l,l),Pb(H(d,l,mb["a+a"]))}catch(r){throw r instanceof F&&"XPTY0004"===r.code&&(r.code="FORG0006"),r;}},"system-property":function(b,d,l){b=A.QName.fromEQName(a(b[0],d,l,"XTDE1390"));d="";b.uri===Zb.Wc&&(d={version:"3.0",vendor:"Saxonica","vendor-url":"http://www.saxonica.com/","product-name":"SaxonJS","product-version":"2.6","is-schema-aware":"no","supports-serialization":"yes","supports-backwards-compatibility":"yes", -"supports-namespace-axis":"yes","supports-streaming":"no","supports-dynamic-evaluation":"yes","supports-higher-order-functions":"yes","xpath-version":"3.1","xsd-version":"1.1"}[b.local]);b.uri===Zb.wb&&(d=pa.Di()[b.local]);d||="";return Tb(d)},tail:function(b){const d=Sb(b[0]);return d.filter(function(){return 1!==d.position})},"timezone-from-date":function(b){return e(b,"timezone")},"timezone-from-dateTime":function(b){return e(b,"timezone")},"timezone-from-time":function(b){return e(b,"timezone")}, -tokenize:function(b){var d=c(b[0]);b[1]||(d=xa(d));if(""===d)return Ob;var l=b[1]?b[1].next().toString():"[ \\n\\r\\t]+";l=Zd.Of(d,l,b[2]?b[2].next().toString():"",!1,!0);d=b[1]&&l[0].Lc;const r=l[l.length-1];b=b[1]&&r.Lc;l=l.filter(function(n){return!n.Lc}).map(function(n){return n.string});d&&l.unshift(A.string.fromString(""));b&&l.push(A.string.fromString(""));return Kb(l)},trace:function(b,d){const l=b[0].expand();sa.Ma("fn:trace: "+(2===b.length?b[1].next().toString()+": ":"")+sa.showValue(l), -1,d.fixed.Ta);return Kb(l)},transform:function(b,d,l){function r(na){na=A.string.fromString(na);return ca.get(na)}function n(na,va="FOXT0002"){throw new F(na,va);}function B(na,va,h=null){if("matches"in va&&"name"in va){if(va.matches(na))return na;throw new F(null!==h?`The required item type of ${h} is ${va.name}`:`The required item type is ${va.name}`,"XPTY0004");}return na}function W(na,va){if(Ia(na))return na;throw new F(`The required item type of ${va} is string|unTypedAtomic|anyURI`,"XPTY0004"); -}function ma(na,va,h=G=>G){(na=r(na))&&(na=Kb(na).ua())&&(ea[va]=h(na))}function qa(na){return function(va){va instanceof cc||n("The value of the option "+na+" in fn:transform() must be of type map(xs:QName,item()*)","XPTY0004");if(va.conforms(h=>{A.QName.matches(h)||n("The keys of the "+na+" option in fn:transform() must be of type xs:QName. Supplied value:"+h.toString());return!0},()=>!0,()=>!0))return va}}function L(na,va){ma(na,va,qa(na))}function aa(na){na.C&&na.C.forEach(function(va){va.parentNode= -na;aa(va)})}function z(na,va,h){if(!R.N)throw new F("No XSLT processor is available to support fn:transform(). If using SaxonJS2.rt.js, it does not contain an XSLT compiler ","FOXT0001",l);let G={stylesheetParams:new cc,tunnelParams:{},functionParams:{},isDynamicStylesheet:!0,destination:"application",initialMode:"compile-complete",templateParams:{"Q{}options":{noXPath:!1}}};for(let Q in va)"compiler.options"===Q?G.tunnelParams["Q{}compiler.options"]=va[Q]:G.templateParams["Q{}options"][Q]=va[Q]; -G.stylesheetParams.inSituPut(La.XS.QName.fromParts("","","staticParameters"),[h]);G.stylesheetInternal=R;G.outputProperties={};aa(R);"true"===R.relocatable&&(G.isRelocatableStylesheet=!0);va=y.checkOptions(G);y.internalTransform(R,na,va);return va.principalResult}function D(na){na=I.Sb(na).expand();if(1W(D(na),"stylesheet-location").toString());ma("stylesheet-node","stylesheetNode");ma("stylesheet-text","stylesheetText");ma("package-location","packageLocation",na=>W(D(na),"package-location").toString());ma("package-node","packageNode");ma("package-text","packageText");let V=0;"stylesheetLocation stylesheetNode stylesheetText packageLocation packageNode packageText".split(" ").forEach(na=>{ea[na]&&V++});1!==V&&n("A stylesheet must be supplied as an option to fn:transform(), by exactly one of 'stylesheet-location', 'stylesheet-node', 'stylesheet-text', 'package-location', 'package-node' or 'package-text'"); -ma("source-node","sourceNode");ma("global-context-item","globalContextItem");(b=r("source-node")[0])&&!r("global-context-item")[0]&&f.Xa(b)&&(ea.globalContextItem=b.ownerDocument);(b=r("initial-match-selection"))&&0B(na,A.QName,"initial-template").toEQName());ma("initial-mode","initialMode",function(na){return["#unnamed","#default"].includes(na.toString())?na.toString():B(na,A.QName,"initial-mode").toEQName()});ma("initial-function", -"initialFunction",na=>B(na,A.QName,"initial-function").toEQName());ma("static-params","staticParams");ma("base-output-uri","baseOutputURI");ma("stylesheet-base-uri","stylesheetBaseURI",na=>na.toString());ma("delivery-format","destination",na=>na.toString());let la=ea.destination;la&&!["raw","document","serialized"].includes(la)&&n("The value of the delivery-format option to fn:transform() must be one of 'raw', 'document' or 'serialized'. Supplied value is "+la);la||="document";b=(b=r("enable-messages"))&& -1===b.length?b[0].toBoolean():!1;let x=r("enable-assertions");x=x&&1===x.length?x[0].toBoolean():!1;var K=null,U=null;if(ea.stylesheetNode){var ha=ea.stylesheetNode._saxonBaseUri||"NoStylesheetBaseURI";if(9==ea.stylesheetNode.nodeType)U=ea.stylesheetNode.cloneNode(!0);else if(11==ea.stylesheetNode.nodeType){U=pa.createDocument();var T=ea.stylesheetNode.childNodes;for(var w=0;w10*ja&&n("No suitable XSLT processor is available; requested XSLT version in fn:transform() is: "+(Y/10).toString());ea.sourceNode&& -ea.initialSelection&&n("Only one of 'source-node' or 'initial-match-selection' must be supplied to fn:transform() for apply-templates invocation");ea.initialTemplate&&ea.initialMode&&n("Only one of 'initial-template' or 'initial-mode' should be supplied to fn:transform()");if(ea.sourceNode){Y=ea.sourceNode;var Z=Y.cloneNode(!0);Z._saxonBaseUri=Y._saxonBaseUri;Z._saxonDocUri=Y._saxonDocUri}ea.baseOutputURI||(ea.baseOutputURI="",M=!0);L("stylesheet-params","stylesheetParams");L("template-params","templateParams"); -L("tunnel-params","tunnelParams");ma("function-params","functionParams",function(na){sa.assert(na instanceof $c);return na.value});"serialized"===la&&ma("serialization-params","outputProperties",na=>I.sb(na,!0));ea.deliverResultDocument=function(){let na=this;return new ie(la,function(va,h){na.resultDocuments[va.toString()]="serialized"===la?[La.XS.string.fromString(h)]:ac.X(h)?[h]:null===h?[]:h})};ea.deliverMessage=function(na){pa.oh()(na);this.zh.push([na])};let S={};Y=Kb(r("collections")).ua(); -null!==Y&&(S=I.sb(Y,!0));ea.collectionFinder=function(na){return"undefined"===typeof na?null:S[na]};Y=!["raw","serialized"].includes(la);let da,fa;try{aa(K);"true"===K.relocatable&&(ea.isRelocatableStylesheet=!0);if(ea.stylesheetNode||ea.packageText||ea.packageNode)ea.stylesheetInternal=K;fa=y.checkOptions(ea);y.internalTransform(K,Z,fa);da=fa.principalResult}catch(na){if(na instanceof F&&na.Le)throw new F(na.message,na.code.toString());throw na;}if(da&&Y){sa.assert(Array.isArray(da));Z=Vd(d);const na= -Zd.Fc(Z);na.Ea();da.forEach(va=>na.append(va));na.za();na.close();da=Z.Ob}Array.isArray(da)&&1===da.length&&Array.isArray(da[0])&&(da=da[0]);Z=fa.resultDocuments[""];if(void 0!==Z){if(Array.isArray(da)?0"0"+P.codePointAt(0))}const q=ac.Ja;b=q.Xa(b).expand().reverse();let p="";for(let u=0;up};return function(p,u,P){let la=p[0];u.fixed.ka.Db(P,"i")&&(la=la.filter(function(Y){return!Hd.uc(Y)}));p=Hd.Yb(P,p[1],"compare",u);const oa=Hd.oi(p),K=L.untypedAtomic.matches, +ca=L.numeric.matches,x=L.double.matches,E=L.float.matches,A=L.anyURI.matches,H=L.string.matches;p=L.duration.matches;const S=L.yearMonthDuration.matches,N=L.dayTimeDuration.matches;u=L.QName.matches;const aa=L.double.R,ma=L.float.R,ia=L.string.R;la=la.mapOneToOne(function(Y){return K(Y)?aa(Y):Y});P=la.next();if(null===P)return Ob;u(P)&&d(b+"() not defined over QName");!p(P)||S(P)||N(P)||d(b+"() not defined over mixed durations");return Pb(m(la,P,function(Y,V){(H(Y)&&ca(V)||H(V)&&ca(Y))&&d("Cannot compare string with numeric"); +(S(Y)&&!S(V)||N(Y)&&!N(V))&&d("Cannot compare mixed durations");if(Hd.uc(V))return x(Y)?aa(V):V;if(Hd.uc(Y))return x(V)?aa(Y):Y;x(V)&&!H(Y)?Y=aa(Y):x(Y)&&!H(V)?V=aa(V):E(V)&&!H(Y)?Y=ma(Y):E(Y)&&!H(V)&&(V=ma(V));A(V)&&H(Y)?V=ia(V):A(Y)&&H(V)&&(Y=ia(Y));try{return q(oa(Y,V))?Y:V}catch(ka){throw ka instanceof G&&"XPTY0004"===ka.code&&(ka.code="FORG0006"),ka;}}))}}function e(b,d){if(2!==d.length&&5!==d.length)throw new G("Wrong number of arguments ("+d.length+") for "+b,"XPST0017");}function k(b,d){b= +b[0].next();if(null===b)return Ob;if("timezone"===d)return null===b.Fa?Ob:Pb(L.dayTimeDuration.ih(b.Fa));if("seconds"===d)return d=b.proxy(),Wb(d.getUTCSeconds()+d.getUTCMilliseconds()/1E3);b=b.proxy()[d]();"getUTCMonth"===d&&b++;return Ub(b)}function v(b,d){b=b[0].next();return null===b?Ob:5!==d?Ub(jb(b)[d]*kb(b)):Wb(jb(b)[d]*kb(b))}function t(b,d,q){function p(la,oa){return Pb(La.codes[d].fromDate(la,oa))}const u=b[0].next();if(!u)return Ob;q=q.fixed.Jb.getTimezoneOffset();if(b[1]){var P=b[1].next(); +b=null!==P?P.Qa/6E4:null;if(null!==b&&(-840>b||840{u=P.evaluate(p?[u,[la]]:[[la],u],d,q).expand()});return Kb(u)}let l=null,f=null;const B=ac,L=La.XS,y=B.Ja;return{abs:function(b){b=b[0].next();return null===b?Ob:Pb(b.abs())},"accumulator-after":function(b,d,q){b=a(b[0],d,q,"XTDE3340");return Kb(Ld.ei(q,b,ed(d),d))},"accumulator-before":function(b,d,q){b=a(b[0],d,q,"XTDE3340");return Kb(Ld.fi(q,b,ed(d),d))},"adjust-date-to-timezone":function(b,d){return t(b,"AA",d)},"adjust-dateTime-to-timezone":function(b,d){return t(b,"AM",d)},"adjust-time-to-timezone":function(b, +d){return t(b,"AT",d)},"analyze-string":function(b,d){const q=c(b[0]);var p=d.ja.createDocumentFragment();const u=Zb.Oa,P=d.ja.createElementNS(u,"analyze-string-result");p.appendChild(P);if(""===q)return Pb(P);p=b[1].next().toString();b=b[2]?b[2].next().toString():"";Zd.Of(q,p,b,!1,!1).forEach(function(la){let oa;if(la.Nc){let ca;la=la.groups;oa=d.ja.createElementNS(u,"match");var K=0;for(let x=1;xK&&(K=d.ja.createTextNode(la[0].substring(K,ca)), +oa.appendChild(K)),K=d.ja.createElementNS(u,"group"),K.setAttribute("nr",x),K.appendChild(d.ja.createTextNode(la[x])),oa.appendChild(K),K=ca+la[x].length);KZd.rf(P,d,u,q,!0,!0));u.close();return Kb(p.Pb)},count:function(b){return Ub(b[0].count())},"current-date":function(b,d){return Pb(L.dd.fromDate(d.fixed.Jb,-d.fixed.Jb.getTimezoneOffset()))},"current-dateTime":function(b,d){return Pb(L.Ed.fromDate(d.fixed.Jb,-d.fixed.Jb.getTimezoneOffset()))},"current-group":function(){throw new G("The current-group() function cannot be invoked dynamicaly", +"XTDE1061");},"current-grouping-key":function(){throw new G("The current-grouping-key() function cannot be invoked dynamicaly","XTDE1071");},"current-merge-group":function(b,d){if(null===d.Bb)throw new G("There is no current merge group","XTDE3480");if(b[0]){b=b[0].next().value;if(d=d.Bb.groups[b])return Kb(d);throw new G("Unknown merge source "+b,"XTDE3490");}return Kb(d.Bb.items)},"current-merge-key":function(b,d){if(null===d.Bb)throw new G("There is no current merge group","XTDE3510");return Kb(d.Bb.keys)}, +"current-output-uri":function(b,d){b=0===d.ub.length?null:d.ub[d.ub.length-1];return null==b||"function"===d.qa?Ob:Pb(b)},"current-time":function(b,d){return Pb(L.time.fromDate(d.fixed.Jb,-d.fixed.Jb.getTimezoneOffset()))},data:function(b,d){return b[0].mapOneToMany(d.fixed.ka.Tb)},dateTime:function(b){const d=b[0].next();b=b[1].next();if(null===d||null===b)return Ob;let q="";if(null!==d.Fa)if(null===b.Fa)q=db(d);else if(d.Fa!==b.Fa)throw new G("timezones are incompatible ","FORG0008");return Pb(L.dateTime.fromString(d.toString().substring(0, +10)+"T"+b.toString()+q))},"day-from-date":function(b){return k(b,"getUTCDate")},"day-from-dateTime":function(b){return k(b,"getUTCDate")},"days-from-duration":function(b){return v(b,2)},"deep-equal":function(b,d,q){d=Hd.Yb(q,b[2],"equals",d);return Xb(Fd(b[0],b[1],d))},"default-collation":function(){return Tb(Hd.ad)},"default-language":function(){return Pb(L.language.fromString("en"))},"distinct-values":function(b,d,q){d=Hd.ef(q,b[1],d);const p=Hd.xf(d);return b[0].filter(function(u){if(p.containsKey(u))return!1; +p.inSituPut(u,!0);return!0})},doc:function(b,d,q){b=Nd.Mg(b,d,q);if(null===b)return Pb(null);try{let p=Nd.Ec(b,d);const u=d.fixed.Ee;u&&(p=u(p));return Pb(p)}catch(p){throw p;}},"doc-available":function(b,d,q){const p=Nd.Mg(b,d,q);return null===p?Xb(!1):Nd.Ih(function(){Nd.Ec(p,d)})},document:function(b,d,q){const p=d.fixed.ka;let u,P;if(b[1]&&(u=B.baseURI(b[1].next()),!u))throw new G("No base URI available for second argument of document()","XTDE1162");u||(P=p.Ia(q,d));const la=d.fixed.Ee;return B.kd(b[0].mapOneToMany(function(oa){const K= +u?u:B.X(oa)?B.baseURI(oa):P;return p.Tb(oa).mapOneToOne(function(ca){if(null===K)throw new G("No base URI for document('"+ca+"')","XTDE1162");ca=Nd.Ec(qa.Fb(ca.toString(),K),d);null!==la&&(ca=la(ca));return ca})}))},"document-uri":function(b){b=b[0].next();return null!==b&&9===b.nodeType&&b._saxonDocUri?Pb(L.anyURI.fromString(b._saxonDocUri)):Ob},"element-available":function(b,d,q){b=a(b[0],d,q,"XTDE1440","##local").split("}");if(d="http://www.w3.org/1999/XSL/Transform"===b[0].substring(2))null== +f&&(f=qa.sf("elements")),f[b[1]]||(d=!1);return Xb(d)},"element-with-id":function(b,d){return F(b,d,"element-with-id")},empty:function(b){return Xb(null===b[0].next())},"encode-for-uri":function(b){b=encodeURIComponent(c(b[0])).replace(/[!'()*]/g,function(d){return"%"+d.charCodeAt(0).toString(16).toUpperCase()});return Tb(b)},"ends-with":function(b,d,q){const p=c(b[0]),u=c(b[1]);b=Hd.Yb(q,b[2],"endsWith",d);return Xb(b(p,u))},"environment-variable":function(){return Ob},error:function(b){if(void 0=== +b[0])throw new G("fn:error() invoked","FOER0000");var d=b[0].next();d=d?d.toEQName():"FOER0000";const q=b[1]?c(b[1]):"";d=new G(q,d);b[2]&&(d.errorObject=b[2].next());throw d;},"escape-html-uri":function(b){return Tb(cd.escape(c(b[0]),function(d){return 32>d||126Kb(u.get(p.Tb(P).next())));if(u instanceof $c)return b[0].mapOneToMany(function(P){P=p.Tb(P).next();P=L.numeric.matches(P)?P.toNumber():L.double.R(P).toNumber();return Kb(u.get(P))});sa.la("for-each() function object not instance of XdmFunction | XdmArray | XdmMap")}, +"for-each-pair":function(b,d,q){let p=b[2].expand();if(1!==p.length)throw new G("for-each-pair() must have exactly one function item as the third argument. Supplied length "+p.length,"XPTY0004",q);p=p[0];p instanceof ad.XdmFunction||sa.la("Function object not instance of XdmFunction");let u=[];const P=b[0];b=b[1];let la=P.next(),oa=b.next();for(;la&&oa;)u=u.concat(p.evaluate([[la],[oa]],d,q).expand()),la=P.next(),oa=b.next();return Kb(u)},"function-arity":function(b){b=b[0].next();return Pb(L.integer.fromNumber(b instanceof +cc||b instanceof $c?1:b.arity))},"function-available":function(b,d,q){let p=!1;const u=a(b[0],d,q,"XTDE1400",Zb.Oa),P=b[1]?b[1].next().toNumber():-1,la=d.fixed.La;Object.keys(la).forEach(function(oa){oa=la[oa];oa.name===u&&oa.actor&&"function"===oa.actor.N&&(0>P?p=!0:(oa=cd.qb(oa.actor,"arg").length,P===oa&&(p=!0)))});p||(b=L.QName.fromEQName(u),null==l&&(l=qa.sf("functions")),p=(d=l[b.uri])&&d[b.local]?"concat"===b.local&&b.uri===Zb.Oa&&(-1===P||2<=P)?!0:0<=P?0<=d[b.local].indexOf(P):!0:!1);return Xb(p)}, +"function-lookup":function(b,d,q){const p=b[0].next();b=b[1].next().toNumber();var u=Jd.find("SaxonJS").XPath;const P=d.ba(!0);P.bb=!0;u=u.getFnSignature(p,b,P);if(!u)return Ob;d=u.isUserFunction?new ad.Ff(u,d):p.uri===Zb.mc?new ad.Bf(u,p,q):new ad.He(u,p,b,q,d);return Pb(d)},"function-name":function(b){b=b[0].next();if(!(b instanceof ad.XdmFunction))throw new G("Input to function-name() is not an XdmFunction ","XXXX9999");return b.jc()&&b.jc().uri!==Zb.zg?Pb(b.jc()):Ob},"generate-id":function(b){b= +b[0].next();return Tb(b?n(b):"")},"has-children":function(b){return Xb(null!==y.Ka(b[0].next()).next())},head:function(b){return Pb(b[0].next())},"hours-from-dateTime":function(b){return k(b,"getUTCHours")},"hours-from-duration":function(b){return v(b,3)},"hours-from-time":function(b){return k(b,"getUTCHours")},id:function(b,d){return F(b,d,"id")},idref:function(){return Ob},"implicit-timezone":function(b,d){return Pb(L.dayTimeDuration.ih(-d.fixed.Jb.getTimezoneOffset()))},"index-of":function(b,d, +q){const p=Sb(b[0]),u=b[1].next();b=Hd.Yb(q,b[2],"equals",d);const P=Hd.yi(b);return p.mapOneToOne(function(la){try{return P(la,u)?L.integer.fromNumber(p.position):null}catch(oa){return null}})},innermost:function(b,d,q){const p=d.fixed.ka.Db(q,"p")?b[0]:B.kd(b[0]);return new Mb(function*(){let u=null,P;for(;null!=(P=p.next());)if(u)if(y.$c(P).some(la=>la===u))u=P;else{const la=u;u=P;yield la}else u=P;u&&(yield u)}())},"in-scope-prefixes":function(b){b=b[0].next();return Kb(B.Jc(b).map(function(d){return L.string.fromString(d.prefix)}))}, +"insert-before":function(b){const d=b[1].next().value,q=b[2],p=Sb(b[0]);return 1>d?Qb([q,p]):d>p.last()?Qb([p,q]):p.mapOneToMany(function(u){return p.position===d?Qb([b[2],Pb(u)]):Pb(u)})},"iri-to-uri":function(b){return Tb(cd.escape(c(b[0]),function(d,q){return 32>=d||126"{}|\\^`]/.test(q)}))},"json-doc":function(b,d,q){q=Nd.Te(b,d,q);if(!q)return Ob;q=Nd.Fi(q,d);b=b[1]?b[1].next():null;return Pb(Md.ye(q,b,d))},"json-to-xml":function(b,d,q){const p=d.fixed.ka;var u=b[0].next();if(null=== +u)return Ob;b=b[1]?b[1].next():null;u=Md.wj(u.toString(),b,d);b=d.ja.createDocumentFragment();b.appendChild(u);b._saxonBaseUri=p.Ia(q,d);return Pb(b)},key:function(b,d,q){function p(V){V=N?L.string.R(V):V;return S.containsKey(V)?(V=Kb(S.get(V)),A===E?V:V.filter(function(ka){return null!==y.Xa(ka).filter(function(z){return z===E}).next()})):Ob}function u(V){return{visibility:"PRIVATE",Ya:V,Dh:oa,actor:V,We:V.binds.split(" ").map(function(ka){return parseInt(ka,10)})}}const P=d.fixed.ka;var la=a(b[0], +d,q,"XTDE1260");const oa=P.me(q,d),K=oa.keys[la];if(!K)throw new G("Unknown key "+la,"XTDE1260");const ca=K.wg,x=P.Db(K.Ld[0],"c");let E,A;if(b[2])E=b[2].next(),B.X(E)&&(A=B.sc(E));else{var H=ed(d);B.X(H)&&(A=E=B.sc(H))}if(!A||9!==A.nodeType&&11!==A.nodeType)throw new G("No containing document for key()","XTDE1270",q);"_saxonIndexes"in A||(A._saxonIndexes={},A._saxonIndexesBC={});q=A._saxonIndexes;let S=q[ca];if("under construction"===S)throw new G("Definition of key "+la+" is circular","XTDE0640"); +let N=!1;if(S)N=A._saxonIndexesBC[ca];else{la=Hd.ef(K.Ld[0],null,d);S=Hd.xf(la,x);q[ca]="under construction";la=function(ka){return Qb([y.self(ka),y.ob(ka),y.Ha(ka)])};H=function(ka){return Qb([y.self(ka),y.Ha(ka)])};const V=function(ka){return Qb([y.self(ka),y.ob(ka)])};for(let ka=0;kaS.get(U).indexOf(w)&&(S.get(U).push(w),1b.length+1&&d.substring(0,b.length)===b&&"-"===d.charAt(b.length))},last:function(b, +d){fd(d,"XPDY0002","last()");return Ub(d.focus.last())},"load-xquery-module":function(){throw new G("No XQuery processor available","FOQM0006");},"local-name":function(b){b=B.ca(b[0].next());return Tb(b?b.local:"")},"local-name-from-QName":function(b){b=b[0].next();return null===b?Ob:Pb(La.type.NCName.fromString(b.local))},"lower-case":function(b){return Tb(c(b[0]).toLowerCase())},matches:function(b){const d=c(b[0]);var q=b[1].next().toString();b=Ha.yg(b[2]?b[2].next().toString():"");q=Ha.Be(q,b, +d);return Xb(0<=d.search(q))},max:g("max"),min:g("min"),"minutes-from-dateTime":function(b){return k(b,"getUTCMinutes")},"minutes-from-duration":function(b){return v(b,4)},"minutes-from-time":function(b){return k(b,"getUTCMinutes")},"month-from-date":function(b){return k(b,"getUTCMonth")},"month-from-dateTime":function(b){return k(b,"getUTCMonth")},"months-from-duration":function(b){return v(b,1)},name:function(b){b=B.ca(b[0].next());return Tb(b?b.toString():"")},"namespace-uri":function(b){b=B.ca(b[0].next()); +return Pb(L.anyURI.fromString(b?b.uri:""))},"namespace-uri-for-prefix":function(b){var d=c(b[0]);b=b[1].next();d="xml"===d?Zb.xml:b.lookupNamespaceURI(""===d?null:d);return null!==d?Pb(L.anyURI.fromString(d)):Ob},"namespace-uri-from-QName":function(b){b=b[0].next();return null===b?Ob:Pb(L.anyURI.fromString(b.uri))},nilled:function(b){return(b=b[0].next())&&1===b.nodeType?Xb(!1):Ob},"node-name":function(b){return Pb(B.ca(b[0].next()))},"normalize-space":function(b){b=c(b[0]);return Tb(xa(b))},"normalize-unicode":function(b){if(String.prototype.normalize){const d= +c(b[0]);b=b[1]?b[1].next().toString().toUpperCase().trim():"NFC";if(["NFC","NFD","NFKC","NFKD"].includes(b))return Tb(d.normalize(b));if(""===b)return Tb(d)}throw new G("normalize-unicode(): not supported on this Javascript platform","FOCH0003");},not:function(b,d){return Xb(!d.fixed.ka.Fd(b[0]))},number:function(b){return Pb(La.XS.numeric.Od(b[0].next()))},"one-or-more":function(b){b=Fb(b[0]);if(null===b.ua())throw new G("Required length >= 1, actual length zero","FORG0004");return b},outermost:function(b, +d,q){d=d.fixed.ka.Db(q,"p");b=b[0];d||(b=B.kd(b));let p=null;return b.filter(function(u){if(null===p)return p=u,!0;if(y.$c(u).some(P=>P===p))return!1;p=u;return!0})},"parse-ietf-date":function(b){return b[0].mapOneToOne(function(d){function q(E){return 1===E.length?"0"+E:E}function p(){throw new G("Invalid IETF date/time "+d.toString(),"FORG0010");}var u=d.toString().trim().toLowerCase();u=u.replace(/^(monday|tuesday|wednesday|thursday|friday|saturday|sunday|mon|tue|wed|thu|fri|sat|sun),?\s+/,""); +let P;let la,oa;if(/^[a-z]/.test(u))if(P=/^([a-z]{3})(?:\s*-\s*|\s+)(\d\d\d?\d?)\s+([\d:.]+)\s*([a-z]+|[+\-]\d\d?:?(?:\d\d)?(?:\s*\(\s*[a-z]+\s*\))?)?\s+(\d+)$/,u=P.exec(u),null!==u){var K=u[1];var ca=u[2];oa=u[3];var x=u[4];la=u[5]}else p();else P=/^(\d+)(?:\s*-\s*|\s+)([a-z]{3})(?:\s*-\s*|\s+)(\d\d\d?\d?)\s+([\d:.]+)\s*([a-z]+|[+\-]\d\d?:?(?:\d\d)?(?:\s*\(\s*[a-z]+\s*\))?)?$/,u=P.exec(u),null!==u?(ca=u[1],K=u[2],la=u[3],oa=u[4],x=u[5]):p();2===la.length&&(la="19"+la);K="jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec".indexOf(K|| +"*");0>K&&p();u={ut:"Z",utc:"Z",gmt:"Z",est:"-05:00",edt:"-04:00",cst:"-06:00",cdt:"-05:00",mst:"-07:00",mdt:"-06:00",pst:"-08:00",pdt:"-07:00"};/^[0-9]:/.test(oa)&&(oa="0"+oa);5===oa.length&&(oa+=":00");x&&(x=/([a-z]+)|([+\-]\d\d?:?(?:\d\d)?)(?:\s*\(\s*([a-z]+)\s*\))?$/.exec(x),(!x[3]||x[3]in u)&&(!x[1]||x[1]in u)||p(),x=x[1]?x[1]:x[2],/^[+\-][0-9]((:|$)|[0-9]{2}$)/.test(x)&&(x=x.charAt(0)+"0"+x.substring(1)),x in u?x=u[x]:3===x.length?x+=":00":4===x.length?x+="00":5===x.length&&(x=x.substring(0, +3)+":"+x.substring(3)));ca=la+"-"+q((K/4+1).toString())+"-"+q(ca)+"T"+oa+(x||"Z");try{return L.dateTime.fromString(ca)}catch(E){throw new G("''"+d.toString()+"'' is not a valid IETF date","FORG0010");}})},"parse-json":function(b,d){const q=b[0].next();if(null===q)return Ob;b=b[1]?b[1].next():null;return Pb(Md.ye(q.toString(),b,d))},"parse-xml":function(b,d,q){b=b[0].next();if(null===b)return Ob;const p=d.fixed.ka;try{const u=qa.parseXmlFromString(b.toString());u._saxonBaseUri=p.Ia(q,d);return Pb(u)}catch(u){throw new G(u.message, +"FODC0006");}},"parse-xml-fragment":function(b,d,q){const p=d.fixed.ka;return b[0].mapOneToOne(function(u){const P=/^<\?xml(?:\s+version\s*=\s*(['"])1.[0-9]+['"])?\s+encoding\s*=\s*(['"][A-Za-z](?:[A-Za-z0-9._\-])*)['"]\s*\?>/;u=u.toString();if(/^<\?xml/.test(u)&&!P.test(u))throw new G("Invalid XML header for a text declaration","FODC0006");u=u.replace(P,"");let la;try{la=qa.parseXmlFromString(""+u+"")}catch(K){throw new G(K.message,"FODC0006");}const oa=d.ja.createDocumentFragment();y.Ka(la.documentElement).forEachItem(function(K){oa.appendChild(K)}); +oa._saxonBaseUri=p.Ia(q,d);return oa})},path:function(b){return b[0].mapOneToOne(function(d){function q(p){return y.Qc(p).filter(function(u){return p.nodeType===u.nodeType})}return L.string.fromString(function(p){if([9,11].includes(p.nodeType))return"/";let u="",P=p;for(;P;){p=B.$a(P);if(!p)return[9,11].includes(P.nodeType)?u:"Q{http://www.w3.org/2005/xpath-functions}root()"+u;switch(P.nodeType){case 9:case 11:return u;case 1:const la=B.ca(P);u=`/${la.toEQName()}[${1+q(P).filter(oa=>B.ca(oa).equals(la)).count()}]${u}`; +break;case 3:case 4:u=`/text()[${1+q(P).count()}]`;break;case 8:u=`/comment()[${1+q(P).count()}]`;break;case 7:u=`/processing-instruction(${P.target})[${1+q(P).filter(oa=>P.target===oa.target).count()}]`;break;case 2:u=`/@${0>P.name.indexOf(":")?P.name:B.ca(P).toEQName()}`;break;default:u=`/namespace::${""!==P.prefix?P.prefix:"*[Q{"+Zb.Oa+'}local-name()=""]'}`}P=p}}(d))})},"prefix-from-QName":function(b){return b[0].mapOneToOne(function(d){return""===d.prefix?null:L.Bg.fromString(d.prefix)})},position:function(b, +d){fd(d,"XPDY0002","position()");return Ub(d.focus.position)},QName:function(b){var d=b[1].next().value;const q=d.split(":"),p=2===q.length?q[0]:"";b=c(b[0]);if(""!==p&&""===b)throw new G("Prefix but no URI for QName()","FOCA0002");if(2===q.length&&""===p||""!==p&&!Ha.Mb(p))throw new G(d+" not valid for QName()","FOCA0002");d=2===q.length?q[1]:q[0];if(!Ha.Mb(d))throw new G(d+" not valid local name for QName()","FOCA0002");return Pb(L.QName.fromParts(p,b,d))},"random-number-generator":function(b,d){b= +new cc;b.inSituPut(L.string.fromString("number"),[L.double.fromNumber(Math.random())]);var q=L.QName.fromParts("fn",Zb.Oa,"random-number-generator"),p=Jd.find("SaxonJS").XPath,u=p.getFnSignature(q,0,d);q=new ad.He(u,q,0,{},d);b.inSituPut(L.string.fromString("next"),[q]);q=L.QName.fromParts("saxon",Zb.wb,"permute");u=d.ba();u.bb=!0;p=p.getFnSignature(q,1,u);d=new ad.He(p,q,1,{},d);b.inSituPut(L.string.fromString("permute"),[d]);return Pb(b)},"regex-group":function(b,d){b=b[0].next().toNumber();try{return Tb(d.Nb[b]|| +"")}catch(q){return Tb("")}},remove:function(b){const d=b[1].next().toNumber(),q=Sb(b[0]);return q.filter(function(){return q.position!==d})},replace:function(b){const d=c(b[0]),q=Ha.yg(b[3]?b[3].next().toString():"");let p=0;const u=Ha.Be(b[1].next().toString(),q+"g",null,P=>{p=P});if(u.test(""))throw new G("Regular expression matches zero-length string","FORX0003");b=Ha.si(b[2].next().toString(),q,p);return Tb(d.replace(u,b))},"resolve-QName":function(b){const d=b[1].next();return b[0].mapOneToOne(function(q){try{return B.Cj(d, +q.toString(),!0)}catch(p){throw p instanceof G&&"FORG0001"===p.code&&(p.code=Ha.uh(q)?"FONS0004":"FOCA0002"),p;}})},"resolve-uri":function(b,d,q){const p=d.fixed.ka;if(b[1]){let u=b[1].next();d=u?u.toString():p.Ia(q,d)}else d=p.Ia(q,d);b=b[0].next();if(null===b)return Ob;b=b.toString();q=B.ld(b);if(null!==d&&(d=d.replace(/^file:\/(?!\/)/,"file:///"),/#/.test(d)))throw new G("Base URI "+d+" contains a fragment identifier","FORG0002");if(!q&&null!==d&&!B.ld(d))throw new G("resolve-uri: invalid URI (base="+ +d+", relative="+b+")","FORG0002");b=q?b:qa.Fb(b,d).toString();return Pb(L.anyURI.fromString(b))},reverse:function(b){return Kb(b[0].expand().slice().reverse())},root:function(b){return b[0].mapOneToMany(d=>y.Xa(d)).filter(d=>!B.$a(d))},round:function(b){return b[0].mapOneToOne(d=>d.round(b[1]?Math.min(b[1].next().value,1E4):0))},"round-half-to-even":function(b){return b[0].mapOneToOne(d=>d.tf(b[1]?Math.min(b[1].next().value,1E4):0))},"seconds-from-dateTime":function(b){return k(b,"seconds")},"seconds-from-duration":function(b){return v(b, +5)},"seconds-from-time":function(b){return k(b,"seconds")},serialize:function(b,d){function q(P){P.method="xml";P.indent=!1;P["omit-xml-declaration"]=!0}const p=new ge.StringWriter,u={};if(b[1]){const P=b[1].next();if(null===P)q(u);else if(ac.X(P)){if(!ac.lg(P))throw new G("Second argument supplied to serialize() is wrong kind of node","XPTY0004");ge.parseParamDoc(P,u,"XPTY0004")}else{if(!(P instanceof cc))throw new G("Second argument supplied to serialize() does not match required type","XPTY0004"); +const la=function(oa,K,ca,x,E=!1){const A=La.XS.string.fromString(oa);if(P.containsKey(A)){let H=P.get(A);if(0S.push(N));H=S}else throw new G("fn:serialize(): supplied value of "+A+" is invalid","XPTY0004");if(1!==H.length&&!ca&&!E||!H.every(S=>"AZ"===S.code||K.matches(S)))throw new G("fn:serialize(): supplied value of "+A+" is invalid","XPTY0004");u[oa]=E&&0===H.length?null:x(ca?H:"AZ"===H[0].code?K.R(H[0]):H[0])}};"doctype-public doctype-system encoding item-separator json-node-output-method media-type method normalization-form version".split(" ").forEach(oa=> +la(oa,La.XS.string,!1,K=>K.toString()));"allow-duplicate-names byte-order-mark escape-uri-attributes include-content-type indent omit-xml-declaration undeclare-prefixes".split(" ").forEach(oa=>la(oa,La.XS.boolean,!1,K=>K.toBoolean()));la("standalone",La.XS.boolean,!1,oa=>oa.toBoolean(),!0);la("html-version",La.XS.mb,!1,oa=>oa.toNumber());["cdata-section-elements","suppress-indentation"].forEach(oa=>la(oa,La.XS.QName,!0,K=>{let ca="";for(let x=0;xE instanceof cc))throw new G("fn:serialize(): supplied value of "+K+" is invalid","XPTY0004");ca=ca[0];var x=function(E){return L.string.matches(E)};if(!ca.conforms(x,x,function(E){return 1===E}))throw new G("fn:serialize(): supplied value of "+K+" is invalid","XPTY0004");K=cd.sb(ca,!0);ca={min:0,max:0,ya:{}};for(let E in K)if(K.hasOwnProperty(E)){if(1< +E.length)throw new G("fn:serialize(): Keys in a character map must all be one-character strings. Found "+E,"SEPM0016");x=E.codePointAt(0);0===ca.min?ca.min=x:xca.max&&(ca.max=x);ca.ya[x]=K[E]}u[oa]=ca}})("use-character-maps")}}else q(u);ge.serialize(b[0].expand(),u,p,d);return Tb(p.toString())},snapshot:function(b,d,q){return b[0].mapOneToOne(function(p){function u(H){if(0la.append(N));0la.append(N));y.ob(ca).forEachItem(N=>la.append(N))},la):Zd.rf(p,d,la,q,!0,!0),E=P.pc.lastChild)},la)}}const P=Vd(d),la=Zd.Gc(P);if(!B.$a(p))return Zd.rf(p,d,la,q,!0,!0),la.close(),Kb(P.Pb).next();const oa=p.nodeType,K=B.ca(p);var ca=p,x=[2,13].includes(oa);x&&(ca=B.$a(ca));la.Ea();let E;const A=y.$c(ca).expand();0 +B.ca(H).equals(K)).next();case 13:return B.Ja.ob(E).filter(H=>B.ca(H).equals(K)).next();default:return E}})},sort:function(b,d,q){const p=Hd.ef(q,b[1],d);let u=cd.Tb;if(b[2]){const P=b[2].next();u=function(la){return P.evaluate([[la]],d,q)}}return Kb(b[0].expand().slice().sort(function(P,la){return b[1]?Id(u(P),u(la),p):Id(u(P),u(la))}))},"starts-with":function(b,d,q){const p=c(b[0]),u=c(b[1]);b=Hd.Yb(q,b[2],"startsWith",d);return Xb(b(p,u))},"static-base-uri":function(b,d,q){return(b=d.fixed.ka.Ia(q, +d))?Pb(L.anyURI.fromString(b)):Ob},"stream-available":function(){return Xb(!1)},string:function(b,d){d=d.fixed.ka;b=b[0].next();if(!b)return Tb("");if(d.isArray(b)||d.isMap(b)||d.Jd(b))throw new G("Input to string() is a function item ","FOTY0014");return d.Tb(b).mapOneToOne(function(q){return L.string.R(q)})},"string-join":function(b){let d="";const q=b[1]?b[1].next().value:"";let p,u=!0;for(;null!==(p=b[0].next());)u||(d+=q),d+=p.toString(),u=!1;return Tb(d)},"string-length":function(b){return Ub(Da(c(b[0])).length)}, +"string-to-codepoints":function(b){return Kb(Da(c(b[0])).map(L.integer.fromNumber))},subsequence:function(b){const d=Math.round(b[1].next().toNumber()),q=b[2]?d+Math.round(b[2].next().toNumber()):Number.POSITIVE_INFINITY;return new Nb(b[0],d,q)},substring:function(b){var d=Math.round(b[1].next().toNumber());const q=b[2]?d+Math.round(b[2].next().toNumber()):Number.POSITIVE_INFINITY;b=new Mb(c(b[0])[Symbol.iterator]());d=new Nb(b,d,q);return Tb(d.expand().join(""))},"substring-after":function(b,d,q){let p= +"";const u=c(b[0]),P=c(b[1]);let la;-1!==(la=Hd.Yb(q,b[2],"indexOf",d)(u,P))&&(p=u.substring(la+P.length));return Tb(p)},"substring-before":function(b,d,q){let p="";const u=c(b[0]),P=c(b[1]);let la;-1!==(la=Hd.Yb(q,b[2],"indexOf",d)(u,P))&&(p=u.substring(0,la));return Tb(p)},sum:function(b,d){d=b[0].mapOneToOne(d.fixed.ka.Xh);const q=d.next();if(null===q)return 1===b.length?Ub(0):b[1];try{return mb["a+a"](q,q),Pb(m(d,q,mb["a+a"]))}catch(p){throw p instanceof G&&"XPTY0004"===p.code&&(p.code="FORG0006"), +p;}},"system-property":function(b,d,q){b=L.QName.fromEQName(a(b[0],d,q,"XTDE1390"));d="";b.uri===Zb.Xc&&(d={version:"3.0",vendor:"Saxonica","vendor-url":"http://www.saxonica.com/","product-name":"SaxonJS","product-version":"2.7","is-schema-aware":"no","supports-serialization":"yes","supports-backwards-compatibility":"yes","supports-namespace-axis":"yes","supports-streaming":"no","supports-dynamic-evaluation":"yes","supports-higher-order-functions":"yes","xpath-version":"3.1","xsd-version":"1.1"}[b.local]); +b.uri===Zb.wb&&(d=qa.Di()[b.local]);d||="";return Tb(d)},tail:function(b){const d=Sb(b[0]);return d.filter(function(){return 1!==d.position})},"timezone-from-date":function(b){return k(b,"timezone")},"timezone-from-dateTime":function(b){return k(b,"timezone")},"timezone-from-time":function(b){return k(b,"timezone")},tokenize:function(b){var d=c(b[0]);b[1]||(d=xa(d));if(""===d)return Ob;var q=b[1]?b[1].next().toString():"[ \\n\\r\\t]+";q=Zd.Of(d,q,b[2]?b[2].next().toString():"",!1,!0);d=b[1]&&q[0].Nc; +const p=q[q.length-1];b=b[1]&&p.Nc;q=q.filter(function(u){return!u.Nc}).map(function(u){return u.string});d&&q.unshift(L.string.fromString(""));b&&q.push(L.string.fromString(""));return Kb(q)},trace:function(b,d){const q=b[0].expand();sa.Ma("fn:trace: "+(2===b.length?b[1].next().toString()+": ":"")+sa.showValue(q),1,d.fixed.Ta);return Kb(q)},transform:function(b,d,q){function p(pa){pa=L.string.fromString(pa);return ma.get(pa)}function u(pa,h="FOXT0002"){throw new G(pa,h);}function P(pa,h,C=null){if("matches"in +h&&"name"in h){if(h.matches(pa))return pa;throw new G(null!==C?`The required item type of ${C} is ${h.name}`:`The required item type is ${h.name}`,"XPTY0004");}return pa}function la(pa,h){if(Ia(pa))return pa;throw new G(`The required item type of ${h} is string|unTypedAtomic|anyURI`,"XPTY0004");}function oa(pa,h,C=Q=>Q){(pa=p(pa))&&(pa=Kb(pa).ua())&&(ia[h]=C(pa))}function K(pa){return function(h){h instanceof cc||u("The value of the option "+pa+" in fn:transform() must be of type map(xs:QName,item()*)", +"XPTY0004");if(h.conforms(C=>{L.QName.matches(C)||u("The keys of the "+pa+" option in fn:transform() must be of type xs:QName. Supplied value:"+C.toString());return!0},()=>!0,()=>!0))return h}}function ca(pa,h){oa(pa,h,K(pa))}function x(pa){pa.C&&pa.C.forEach(function(h){h.parentNode=pa;x(h)})}function E(pa,h,C){if(!N.N)throw new G("No XSLT processor is available to support fn:transform(). If using SaxonJS2.rt.js, it does not contain an XSLT compiler ","FOXT0001",q);let Q={stylesheetParams:new cc, +tunnelParams:{},functionParams:{},isDynamicStylesheet:!0,destination:"application",initialMode:"compile-complete",templateParams:{"Q{}options":{noXPath:!1}}};for(let r in h)"compiler.options"===r?Q.tunnelParams["Q{}compiler.options"]=h[r]:Q.templateParams["Q{}options"][r]=h[r];Q.stylesheetParams.inSituPut(La.XS.QName.fromParts("","","staticParameters"),[C]);Q.stylesheetInternal=N;Q.outputProperties={};x(N);"true"===N.relocatable&&(Q.isRelocatableStylesheet=!0);h=H.checkOptions(Q);H.internalTransform(N, +pa,h);return h.principalResult}function A(pa){pa=S.Tb(pa).expand();if(1la(A(pa),"stylesheet-location").toString());oa("stylesheet-node","stylesheetNode");oa("stylesheet-text", +"stylesheetText");oa("package-location","packageLocation",pa=>la(A(pa),"package-location").toString());oa("package-node","packageNode");oa("package-text","packageText");let ka=0;"stylesheetLocation stylesheetNode stylesheetText packageLocation packageNode packageText".split(" ").forEach(pa=>{ia[pa]&&ka++});1!==ka&&u("A stylesheet must be supplied as an option to fn:transform(), by exactly one of 'stylesheet-location', 'stylesheet-node', 'stylesheet-text', 'package-location', 'package-node' or 'package-text'"); +oa("source-node","sourceNode");oa("global-context-item","globalContextItem");(b=p("source-node")[0])&&!p("global-context-item")[0]&&B.$a(b)&&(ia.globalContextItem=b.ownerDocument);(b=p("initial-match-selection"))&&0P(pa,L.QName,"initial-template").toEQName());oa("initial-mode","initialMode",function(pa){return["#unnamed","#default"].includes(pa.toString())?pa.toString():P(pa,L.QName,"initial-mode").toEQName()});oa("initial-function", +"initialFunction",pa=>P(pa,L.QName,"initial-function").toEQName());oa("static-params","staticParams");oa("base-output-uri","baseOutputURI");oa("stylesheet-base-uri","stylesheetBaseURI",pa=>pa.toString());oa("delivery-format","destination",pa=>pa.toString());let z=ia.destination;z&&!["raw","document","serialized"].includes(z)&&u("The value of the delivery-format option to fn:transform() must be one of 'raw', 'document' or 'serialized'. Supplied value is "+z);z||="document";b=(b=p("enable-messages"))&& +1===b.length?b[0].toBoolean():!1;let M=p("enable-assertions");M=M&&1===M.length?M[0].toBoolean():!1;var W=null,fa=null;if(ia.stylesheetNode){var U=ia.stylesheetNode._saxonBaseUri||"NoStylesheetBaseURI";if(9==ia.stylesheetNode.nodeType)fa=ia.stylesheetNode.cloneNode(!0);else if(11==ia.stylesheetNode.nodeType){fa=qa.createDocument();var w=ia.stylesheetNode.childNodes;for(var Z=0;Z10*Y&&u("No suitable XSLT processor is available; requested XSLT version in fn:transform() is: "+(V/10).toString());ia.sourceNode&&ia.initialSelection&& +u("Only one of 'source-node' or 'initial-match-selection' must be supplied to fn:transform() for apply-templates invocation");ia.initialTemplate&&ia.initialMode&&u("Only one of 'initial-template' or 'initial-mode' should be supplied to fn:transform()");if(ia.sourceNode){V=ia.sourceNode;var T=V.cloneNode(!0);T._saxonBaseUri=V._saxonBaseUri;T._saxonDocUri=V._saxonDocUri}ia.baseOutputURI||(ia.baseOutputURI="",aa=!0);ca("stylesheet-params","stylesheetParams");ca("template-params","templateParams");ca("tunnel-params", +"tunnelParams");oa("function-params","functionParams",function(pa){sa.assert(pa instanceof $c);return pa.value});"serialized"===z&&oa("serialization-params","outputProperties",pa=>S.sb(pa,!0));ia.deliverResultDocument=function(){let pa=this;return new ie(z,function(h,C){pa.resultDocuments[h.toString()]="serialized"===z?[La.XS.string.fromString(C)]:ac.X(C)?[C]:null===C?[]:C})};ia.deliverMessage=function(pa){qa.ph()(pa);this.zh.push([pa])};let ha={};V=Kb(p("collections")).ua();null!==V&&(ha=S.sb(V, +!0));ia.collectionFinder=function(pa){return"undefined"===typeof pa?null:ha[pa]};V=!["raw","serialized"].includes(z);let ba,va;try{x(W);"true"===W.relocatable&&(ia.isRelocatableStylesheet=!0);if(ia.stylesheetNode||ia.packageText||ia.packageNode)ia.stylesheetInternal=W;va=H.checkOptions(ia);H.internalTransform(W,T,va);ba=va.principalResult}catch(pa){if(pa instanceof G&&pa.Le)throw new G(pa.message,pa.code.toString());throw pa;}if(ba&&V){sa.assert(Array.isArray(ba));T=Vd(d);const pa=Zd.Gc(T);pa.Ea(); +ba.forEach(h=>pa.append(h));pa.za();pa.close();ba=T.Pb}Array.isArray(ba)&&1===ba.length&&Array.isArray(ba[0])&&(ba=ba[0]);T=va.resultDocuments[""];if(void 0!==T){if(Array.isArray(ba)?0=p.length){for(;C=g.length){for(;t=e(p[t],g[C])?k(p[t++]):k(g[C++]);return v}function q(p,g){return g.fixed.ka.qb(p,"sortKey").map(function(e){return Hd.Jj(e,g)})}function E(p){return function(g,e){for(let k=0;kk){t={items:[m.item],keys:m.keys,groups:{}};for(k=0;k=m.length){for(;D=g.length){for(;t=e(m[t],g[D])?k(m[t++]):k(g[D++]);return v}function n(m,g){return g.fixed.ka.qb(m,"sortKey").map(function(e){return Hd.Jj(e,g)})}function F(m){return function(g,e){for(let k=0;kk){t={items:[l.item],keys:l.keys,groups:{}};for(k=0;knew Mb(function*(){for(const u of G){const N=u(Q);let P;for(;null!==(P=N.next());)yield P}}())}function q(h){function G(ia){switch(ia){case 1:return"first";case 2:return"second";case 3:return"third";default:return ia+"th"}}h=h.split("|");const Q=h[0],u=h[1],N=""===h[2]?"XPTY0004":h[2],P=h[3];return{required:function(){switch(parseInt(Q,10)){case 0:return G(+u+1)+" argument of "+(""===P?"anonymous function":P+"()"); -case 1:return G(+u+1)+" operand of '"+P+"'";case 9:return"operand of '-'";case 2:return"value in '"+P+"' expression";case 3:return"saxon:context-item"===P?"context item":"value of variable $"+P;case 4:const ia=P.split("/");return"@"+ia[1]+" attribute of "+("LRE"===ia[0]?"a literal result element":ia[0]);case 5:return"result of call to "+(""===P?"anonymous function":"function "+P);case 7:return"result of template "+P;case 6:return G(+u+1)+" sort key";case 8:return"value of parameter $"+P;case 11:return"value of the grouping key"; -case 12:return"result of xsl:evaluate";case 13:return"the context item";case 14:return"the context item for the "+"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")[u]+" axis";case 15:return"the value of the "+P+" option";case 17:return"document-order sorter";default:return""}}(),code:N}}function E(h){h=h.trim();if(["true","yes","1"].includes(h))return!0;if(["false", -"no","0"].includes(h))return!1;throw new F("Value must be yes|true|1 or no|false|0","XTDE0030");}function H(h){if(S.X(h))return Pb(p(h));if(ja(h))return Qb(h.value.map(G=>Kb(G))).mapOneToMany(H);if(V(h))throw new F("Cannot atomize a "+(Y(h)?"map":"function"),"FOTY0013");return Pb(h)}function p(h){const G=fa.string.fromString,Q=fa.untypedAtomic.fromString;switch(h.nodeType){case 9:return Q(h.documentElement.textContent);case 11:case 1:case 3:case 4:return Q(h.textContent||"");case 2:return Q(h.value); -case 8:return G(h.textContent);case 7:return G(h.textContent);case 13:return G(h.uri);default:throw new F("Unknown node type "+h.nodeType,"SXJS0003");}}function g(h){return Kb(h).mapOneToMany(H).expand()}function e(h){function G(N){throw new F("Effective boolean value is not defined for "+N,"FORG0006");}function Q(){if(null!==h.next())G("an atomic sequence of length > 1");else return!0}var u=h.next();if(null===u)return!1;if(S.X(u))return!0;if(La.pa(u)){if("AB"===u.code)return Q()&&u.toBoolean();if(u.isNumeric())return u= -u.toNumber(),Q()&&!isNaN(u)&&0!==u;if(Ia(u))return Q()&&0!==u.toString().length;G("type "+La.pd(u.code))}else Y(u)?G("maps"):ja(u)?G("arrays"):V(u)?G("functions"):G("value "+sa.showValue(u))}function k(h,G){const Q=mb["i+i"],u=fa.integer.fromNumber(1);return new Cb(h,N=>{N=Q(N,u);return 0Q.N===G):[]}function t(h,G,Q){h=v(h,"withParam");const u=[new cc,new cc];G.Qb.forAllPairs(P=>u[1].inSituPut(P.k,P.v));const N=G.qa;G.qa="template parameter"; -h.forEach(function(P){const ia=P.name,ua=W(P,"t")?1:0;u[ua].inSituPut(La.XS.QName.fromEQName(ia),l(P)(G).expand())});G.qa=N;Q.Kc=u[0];Q.Qb=u[1]}function C(h){return!/[ \t\r\n]/.test(h)}function m(h,G,Q){if(h){h=h.split(/\r?\n/);for(let N=0;N{try{const P=Q(N).next(),ia=u(N).next();return null===P||null===ia?null:G(P,ia)}catch(P){ca(P,h)}}}function A(h,G){if(G.fixed.staticBaseURI)return G.fixed.staticBaseURI;if(G.fixed.md)return null;for(;;){if(h.baseUri)return h.baseUri;h=h.parentNode;if(!h)return null}}function O(h,G,Q=!1){var u=S.Gc(G.ja).createDocumentFragment();u=S.wc(u);u._saxonBaseUri=A(h,G);const N=G.ba(!1);Q&&(N.ja=G.masterDocument);bd.kj(u,n(h)(N),N);return u}function b(h){const G= -l(h),Q=r(h),u=h.op;return N=>{const P=G(N),ia=Q(N).expand();N=Hd.fe(h.comp,N);return Hd.gc(P,ia,u,N,h)}}function d(h,G){throw new F("The "+h+" construct is not implemented in SaxonJS","SXJS0002",G);}function l(h){return n(h.C[0])}function r(h){return n(h.C[1])}function n(h){if(h){var G=h.ELAB;G||((G=va[h.N])||sa.la("Unknown expr: "+h.N+" parent="+h.p),G=h.ELAB=G(h));return G}}function B(h,G){h=h.C||[];for(let Q=0;Q{const Q=Vd(G),u=Zd.Fc(Q);Zd.push(h,G,u);u.close();return Kb(Q.Ob)}}function ca(h,G){h instanceof F&&!h.xsltLineNr&&ra(h,G);throw h;}function ea(h,G){function Q(N){return"Context item for template "+ -h.name+" must be "+N}if(ee(G)&&-1===h.flags.indexOf("o"))throw new F(Q("supplied"),"XTTE3090",h);ee(G)||-1!==h.flags.indexOf("s")||(G.focus={});let u=h.cxt;if(u&&!ee(G)&&!fc(u).ia()(ed(G)))throw new F(Q("instance of "+fc(u).toString()),"XTTE0590",h);}function ja(h){return h instanceof $c}function Y(h){return h instanceof cc||h instanceof K}function V(h){return h instanceof ad.XdmFunction||ja(h)||Y(h)}function la(h){var G=Object.assign(h);G.ELAB=void 0;h.C&&(G.C=h.C.map(Q=>la(Q)));return G}function x(h, -G,Q){sa.assert(Array.isArray(h));sa.assert(G instanceof gc);const u=G.$();let N=u.p;if(u.o&&!Ed(u.o)(h.length))throw new F("Supplied value "+sa.showValue(h)+" does not match required cardinality "+u.o+(Q?" in "+Q():""),"XPTY0004");if(0ia.isNumeric()?ia:P.matches(ia)?La.XS.double.R(ia):ia instanceof K?La.XS.double.fromString(ia.value.toString()):ia);else{const ia=La.codes[N],ua=ia.R;"A"!==N&&(h=h.map(Ba=>P.matches(Ba)? -ua(Ba):Ba instanceof K?ia.fromString(Ba.value.toString()):Ba));["AO","AF"].includes(N)&&(h=h.map(Ba=>Ba.isNumeric()?ia.R(Ba):Ba));"AS"===N&&(h=h.map(Ba=>La.XS.anyURI.matches(Ba)?ia.R(Ba):Ba))}}else if(G.U.Jd())if(["FM","FA"].includes(N))h=T(h);else if(G.U instanceof dd){const P=G.U.ia();h.every(ia=>P(ia))||(h=h.map(ia=>{if(P(ia))return ia;if(ia instanceof ad.XdmFunction){var ua=G.U;const Ba=ua.j.length;ua={minArgs:Ba,maxArgs:Ba,sig:ua.ha(),alphaTree:ua.$()};return new ad.zg(ua,ia)}return ia}))}if(!G.matches(h))throw new F("Supplied value "+ -sa.showValue(h)+" does not match required type "+G.toString()+(Q?" in "+Q():""),"XPTY0004");}return h}function K(h){this.value=h}function U(h){this.value=h}function ha(h){function G(u){switch(typeof u){case "undefined":return[];case "string":return fa.untypedAtomic.fromString(u);case "number":return fa.double.fromNumber(u);case "boolean":return fa.boolean.fromBoolean(u);case "function":return new K(u);case "object":if(fa.Qf.matches(u)||S.X(u))return u;if(u instanceof $c)return u;if(u instanceof ad.XdmFunction|| -u instanceof cc)return u;if(u instanceof K)return u;if(u instanceof Date)return fa.dateTime.fromString(u.toISOString());if(Array.isArray(u)){const N=[];u.forEach(function(P){N.push(ha(P))});return new $c(N)}return null===u?[]:u instanceof U?u.value:new K(u);default:return new K(u)}}function Q(u){const N=[];u.forEach(function(P){P=G(P);Array.isArray(P)&&0===P.length||N.push(P)});return N}if(Array.isArray(h))return Q(h);h=G(h);return Array.isArray(h)&&0===h.length?[]:[h]}function T(h){function G(u){if(u instanceof -$c){const N=[];u.value.forEach(P=>N.push(Q(P)));return new $c(N)}if(u instanceof K){const N=u.value;if("object"===typeof N){u=new cc;for(const P in N)if(N.hasOwnProperty(P)){const ia=ha(P)[0],ua=ha(N[P]);u.inSituPut(ia,T(ua))}return u}}return u}function Q(u){const N=[];u.forEach(function(P){P=G(P);Array.isArray(P)&&0===P.length||N.push(P)});return N}sa.assert(Array.isArray(h));return Q(h)}function w(h,G=!1){function Q(N){if(Array.isArray(N))throw new F("convertItem() called for an array","SXJS0004"); -if(null===N)return null;if(fa.string.matches(N)||fa.anyURI.matches(N)||fa.duration.matches(N)||fa.hexBinary.matches(N)||fa.base64Binary.matches(N)||fa.untypedAtomic.matches(N))return N.toString();if(fa.numeric.matches(N))return N.toNumber();if(fa.boolean.matches(N))return N.toBoolean();if(fa.dateTime.matches(N)||fa.cd.matches(N)||fa.Ed.matches(N)||fa.time.matches(N)||fa.nh.matches(N)||fa.mh.matches(N)||fa.lh.matches(N)||fa.kh.matches(N)||fa.jh.matches(N))return N.toString();if(fa.QName.matches(N))return N.toEQName(); -if(S.X(N))return N;if(N instanceof $c){const P=[];0!==N.value.length&&N.value.forEach(function(ia){P.push(w(ia,G))});return P}if(N instanceof cc){if(G){const P={};N.forAllPairs(function(ia){P[ia.k.toString()]=w(ia.v,G)});return P}return new U(N)}return N instanceof U?N:N instanceof K?N.value:new U(N)}function u(N){const P=[];if(0===N.length)return null;if(1===N.length)return Q(N[0]);N.forEach(function(ia){P.push(Q(ia))});return P}return Array.isArray(h)?u(h):Q(h)}function Z(h){return h.mapOneToMany(function(G){return ja(G)? -Qb(G.value.map(function(Q){return Z(Kb(Q))})):Pb(G)})}const S=ac,da=S.Ja,fa=La.XS;let na;const va={acFnRef:function(h){const G=fa.QName.fromEQName(h.name),Q=Jd.find("SaxonJS").XPath;return u=>{u=u.ba(!0);u.bb=!0;if(u=Q.getFnSignature(G,1,u))return u=new ad.Bf(u,G,h),Pb(u);throw new F("Reference to an unknown constructor function "+G+"#1","XPST0017",h);}},among:function(h){const G=l(h),Q=r(h);return u=>{const N=G(u).next();return Q(u).filter(P=>S.isSameNode(P,N))}},analyzeString:M,and:function(h){const G= -l(h),Q=r(h);return u=>Xb(e(G(u))&&e(Q(u)))},applyImports:M,applyT:M,arith:function(h){const G=mb[h.calc];G||d("arithmetic ("+h.calc+")",h);const Q=f(h,G);return u=>Pb(Q(u))},arith10:function(h){function G(P){P=P.next();return null===P?fa.double.fromNumber(NaN):Ia(P)?fa.double.cf(P.toString()):fa.double.R(P)}const Q=l(h),u=r(h),N=mb[h.calc];return P=>Pb(N(G(Q(P)),G(u(P))))},array:function(h){const G=(h.C||[]).map(n);return Q=>{const u=G.map(N=>N(Q).expand());return Pb(new $c(u))}},arrayBlock:function(h){const G= -(h.C||[]).map(n);return Q=>{const u=G.map(N=>N(Q).expand());return Pb(new $c(u))}},atomic:function(h){const G=La.codes[h.type].fromString(h.val);return()=>Pb(G)},atomSing:function(h){const G=l(h);return h.card?Q=>G(Q).mapOneToMany(H):Q=>{Q=G(Q).mapOneToMany(H);Q=Fb(Q);if(null===Q.ua())throw Q=q(h.diag),new F("The "+Q.required+" is empty",Q.code,h);return Q}},att:M,attVal:function(h){const G=fa.QName.fromEQName(h.name);return Q=>{fd(Q,"XPDY0002","@"+G,h);Q=ed(Q);if(!S.X(Q))throw new F("Context item for 'attVal' must be a node", -"XPTY0020",h);if(1!==Q.nodeType)return Ob;Q=""===G.uri?Q.hasAttribute(G.local)?Q.getAttribute(G.local):null:G.uri===Zb.xml?Q.hasAttribute("xml:"+G.local)?Q.getAttribute("xml:"+G.local):null:Q.hasAttributeNS(G.uri,G.local)?Q.getAttributeNS(G.uri,G.local):null;return null===Q?Ob:Pb(fa.untypedAtomic.fromString(Q))}},axis:function(h){const G=fc(h.nodeTest||"").ia(),Q=h.name;return u=>{fd(u,"XPDY0002",Q+" axis",h);u=ed(u);if(!S.X(u))throw new F("Context item for "+Q+" axis is not a node - supplied:"+sa.showValue(u), -"XPTY0020",h);return S.Ng[Q](u).filter(G)}},"break":M,callT:function(h){return G=>{const Q=D(h,G,"template"),u=G.ba(!0);u.Bb=null;u.sa=Q;ea(Q.actor,u);t(h,G,u);return l(Q.actor)(u)}},cast:function(h){const G=l(h),Q=W(h,"e"),u=N=>{N=G(N).next();if(null===N){if(Q)return null;throw new F("Empty sequence casting to "+fc(h.as).toString(),"XPTY0004",h);}return N};if(W(h,"a")){const N=rb(h.as),P="AQ"===N.p?L(h,!0):null,ia=La.codes[N.p].R;return ua=>{ua=u(ua);if(null===ua)return Ob;try{var Ba=ia(ua,P);return Pb(Ba)}catch(Fa){if("FORG0001"=== -Fa.code&&h.diag)throw Ba=q(h.diag),new F("Required item type of "+Ba.required+" is "+fc(h.as).toString()+"; supplied value is "+sa.Nh(ua),Ba.code,h);if(null!==Fa.code)throw Fa;throw new F("Failed to cast "+sa.Nh(ua)+" to type "+fc(h.as).toString(),"XPTY0004",h);}}}if(W(h,"l")){const N=La.XS.QName.fromEQName(h.as),P=Tc[N.local].fromString;sa.assert(N.uri===Zb.lc);sa.assert(P);return ia=>{ia=u(ia);if(null===ia)return Ob;ia=Ha.collapse(ia.toString()).split(" ").map(P);if(0===ia.length)throw new F("xs:"+ -N.local+" value must contain at least one token","FORG0001");return Kb(ia)}}if(W(h,"u"))return N=>{N=u(N);return null===N?Ob:La.XS.double.matches(N)||La.XS.mb.matches(N)||La.XS.float.matches(N)?Pb(N):Pb(La.XS.double.R(N))};throw new F("Unknown cast variety "+h.flags);},castable:function(h){const G=l(h),Q=W(h,"e");let u;if(W(h,"a")){const N=rb(h.as),P="AQ"===N.p?L(h,!0):null,ia=La.codes[N.p].R;u=ua=>{ia(ua,P);return!0}}else if(W(h,"l")){h=La.XS.QName.fromEQName(h.as);const N=Tc[h.local].fromString; -u=P=>0{La.XS.double.R(N);return!0};else throw new F("Unknown castable variety "+h.flags);return N=>{N=G(N);const P=N.next();if(null===P)return Xb(Q);if(null!==N.next())return Xb(!1);N=H(P).next();try{return Xb(u(N))}catch(ia){return Xb(!1)}}},cfn:function(h){const G=h.name,Q=l(h);let u;if("_format-number_1"===G)return u=ke["format-number"],N=>{const P=[Q(N),Tb(h.pic)];h.hasAttribute("format")&&P.push(Tb(h.format));return u(P, -N,h)};if("_translate_1"===G)return u=ke.translate,N=>{const P=[Q(N),Tb(h.a1),Tb(h.a2)];return u(P,N)};sa.la("Unimplemented: cfn "+G,h)},check:function(h){function G(P){const ia=q(h.diag);throw new F("Required cardinality of "+ia.required+" is "+u[Q]+"; supplied value "+P,ia.code,h);}const Q=h.card,u={"*":"zero or more","+":"one or more","?":"zero or one",0:"zero",1:"exactly one"},N=l(h);return P=>{P=N(P);if("*"===Q)return P;var ia=Fb(P);P=ia.ua();if(null===P){if("?"===Q||"0"===Q)return Ob;G("is empty")}else"0"=== -Q&&G("is not empty (first item "+sa.showValue(P)+")");if("+"===Q)return ia;ia.next();const ua=ia.next();null!==ua&&(ia=ia.count()+2,G("contains "+ia+" items ("+sa.showValue(P)+", "+sa.showValue(ua)+(2{for(let u=0;uG(Q)},comment:M,compareToInt:function(h){const G=h.op,Q=fa.integer.fromString(h.val),u=l(h);return N=> -{N=u(N);const P=N.next();if(null===P)return Ob;if(Hd.tc(P))return Xb("ne"===G);if(null!==N.next())throw new F("Value comparison only applicable to single values","XPTY0004",h);return Xb(Hd.wf(G,P.compareTo(Q)))}},compareToString:function(h){const G=h.op,Q=l(h),u=fa.string.fromString(h.val);return N=>{const P=Q(N),ia=P.next();if(null===ia)return Ob;if(null!==P.next())throw new F("Value comparison only applicable to single values","XPTY0004",h);return h.comp?(N=Hd.fe(h.comp,N),["=","eq","!=","ne"].includes(G)? -Xb(Hd.Th(G,N.equals(ia,u))):Xb(Hd.wf(G,N.compare(ia,u)))):Xb(Hd.wf(G,ia.compareTo(u)))}},compAtt:M,compElem:M,condCont:function(h){const G=l(h);return Q=>{function u(N){if(S.X(N))switch(N.nodeType){case 9:case 11:case 1:return N.hasChildNodes();default:return""!==p(N).toString()}else return Y(N)?0u(ia)).length}).length:""!==fa.string.R(N).toString()}return G(Q).filter(u)}},condSeq:function(h){function G(u){if(S.X(u)){if([9, -11].includes(u.nodeType))return!u.hasChildNodes();if(3===u.nodeType||4==u.nodeType)return""===u.nodeValue}else{if(La.pa(u))return""===fa.string.R(u).toString();if(ja(u))return!Z(Pb(u)).some(function(N){return!G(N)})}return!1}const Q=h.C.map(u=>({name:u.N,eval:n(u)}));return u=>{let N=[];const P=[];let ia=!0;Q.map(function(ua){if("onEmpty"===ua.name)ia&&(N=ua.eval(u).expand());else if("onNonEmpty"===ua.name){const Ba=N.length;P.unshift(function(){N.splice.apply(N,[Ba,0].concat(ua.eval(u).expand()))})}else ua.eval(u).forEachItem(function(Ba){G(Ba)|| -(ia=!1);N.push(Ba)})});ia||P.forEach(function(ua){ua()});return Kb(N)}},conditionalSort:function(h){const G=l(h),Q=r(h),u=l(h.C[1]);return N=>e(G(N))?Q(N):u(N)},consume:function(h){throw new F("Stylesheet uses 'consume' which requires streaming","SXJS0002",h);},convert:function(h){const G=h.to,Q=La.codes[G];Q||sa.la("Unknown to-type "+h.to);const u=l(h);return W(h,"p")?N=>u(N).mapOneToOne(P=>La.pg(P,G)):N=>u(N).mapOneToOne(Q.R)},copy:M,copyOf:M,currentGroup:function(h){return G=>{if(G&&G.ad)return Kb(G.ad); -throw new F("There is no current group","XTDE1061",h);}},currentGroupingKey:function(h){return G=>{if(G&&G.bd)return Kb(G.bd);throw new F("There is no current grouping key","XTDE1071",h);}},cvUntyped:function(h){const G=l(h),Q=La.codes[h.to],u=Q.R,N="string"===Q.name;return P=>G(P).mapOneToOne(function(ia){if(fa.double.matches(ia)&&"float"===Q.name)throw new F("xs:double may not be promoted to xs:float","XTTE0570",h);if(fa.untypedAtomic.matches(ia)||N&&fa.anyURI.matches(ia))try{return u(ia)}catch(ua){if("FODT0001"=== -ua.code||!h.diag)throw ua;ia=q(h.diag);throw new F(ua.message,ia.code,h);}else return ia})},data:function(h){const G=l(h);return Q=>G(Q).mapOneToMany(H)},dbl:function(h){const G=fa.double.fromString(h.val);return()=>Pb(G)},dec:function(h){const G=wa(h.val);return()=>Wb(G)},doc:M,docOrder:function(h){const G=l(h);return Q=>S.kd(G(Q))},dot:function(h){return G=>{fd(G,"XPDY0002",". (dot)",h);return Pb(ed(G))}},elem:M,empty:function(){return()=>Ob},emptyTextNodeRemover:function(h){const G=l(h);return Q=> -G(Q).filter(u=>!(S.X(u)&&(3===u.nodeType||4===u.nodeType)&&""===u.textContent))},error:function(h){return()=>{throw new F(h.message,h.code,h);}},evaluate:function(h){const G={language:"XSLT",contextType:{o:"1",p:"",code:"1"}},Q=n(B(h,"xpath")),u=n(B(h,"cxt")),N=n(B(h,"sa")),P=n(B(h,"nsCxt")),ia=v(h,"withParam").map(Ba=>({name:fa.string.fromString(Ba.name),eval:l(Ba)})),ua=n(B(h,"wp"));return Ba=>{const Fa=Q(Ba).next().toString();B(h,"cxt");const Pa=u?u(Ba):Ob;let Ua=new cc;ia.forEach(function(ta){Ua.inSituPut(ta.name, -ta.eval(Ba).expand())});ua&&ua(Ba).next().forAllPairs(function(ta){if(!fa.QName.matches(ta.k))throw new F("Parameter names in xsl:evaluate/@with-params map must be QNames:"+ta.k.toString(),"XTTE3165",h);Ua.inSituPut(ta.k,ta.v)});Ua=Pb(Ua);if(N){var Na=N(Ba).next().toString();if(E(Na))throw new F("SaxonJS does not support schema-aware evaluation","XTDE1665",h);}(Na=h.as)&&(G.requiredType=Na.toString());(Na=h.dxns)&&"http://www.w3.org/1999/xhtml"!==Na.toString()&&(G.xpathDefaultNamespace=Na.toString()); -let Wa={};if(P){Na=P(Ba);var J=Na.next();if(null===J||null!==Na.next()||!S.X(J))throw new F("xsl:evaluate/@namespace-context must evaluate to a single node","XTTE3170",h);Wa[""]="";ac.Ic(J).forEach(ta=>Wa[ta.prefix]=ta.uri);G.xpathDefaultNamespace=Wa[""]}else Wa=ma(h);const X={};J=Na=!1;const ka={};var ba=B(h,"options");if(ba){ba=R(ba,Ba).next();let ta=fa.string.fromString("var-slots");ba.containsKey(ta)&&ba.get(ta)[0].forAllPairs(function(Ca){X[Ca.k.toEQName()]=w(Ca.v)});ta=fa.string.fromString("allow-empty"); -ba.containsKey(ta)&&(Na=ba.get(ta)[0].toBoolean());ta=fa.string.fromString("isStatic");ba.containsKey(ta)&&(J=ba.get(ta)[0].toBoolean());ta=fa.string.fromString("staticContext");ba.containsKey(ta)&&ba.get(ta)[0].forAllPairs(function(Ca){ka[Ca.k.toString()]=w(Ca.v,!0)})}G.params=Ua;G.namespaces=Wa;G.slotMap=X;G.allowEmpty=Na;G.staticTyping=!0;G.isStatic=J;G.staticContext=ka;G.dynamicEval=!0;(Na=B(h,"baseUri"))&&(G.staticBaseURI=R(Na,Ba).next().toString());(Na=qa(h,"defaultCollation"))&&(G.defaultCollation= -Na);return Jd.find("SaxonJS").XPath.evaluateXDM(Fa,Pa,Ba,G)}},every:function(h){const G=parseInt(h.slot,10),Q=l(h),u=r(h);return N=>{const P=Q(N);return Xb(!P.some(function(ia){N.oa[G]=[ia];return!e(u(N))}))}},except:function(h){const G=l(h),Q=r(h);return u=>new Hb(G(u),Q(u),S.rb)},"false":function(){return()=>Xb(!1)},filter:function(h){const G=l(h),Q=r(h);return W(h,"i")?u=>{const N=G(u);u=Q(u).expand();if(1===u.length&&fa.numeric.matches(u[0])){const P=u[0].toNumber();if(N instanceof Kb)return Pb(N.expand()[P- -1]||null);const ia=Sb(N);return ia.filter(function(){return ia.position===P})}return e(Kb(u))?N:Ob}:u=>{const N=G(u),P=u.ba(!1);P.focus=Sb(N);u=W(h,"p")?function(){const ia=Q(P).expand();return 1===ia.length&&fa.numeric.matches(ia[0])?P.focus.position===ia[0].toNumber():e(Kb(ia))}:function(){return e(Q(P))};return P.focus.filter(u)}},first:function(h){const G=l(h);return Q=>Pb(G(Q).next())},flt:function(h){const G=fa.float.fromString(h.val);return()=>Pb(G)},fn:function(h){const G=ke[h.name];G||d(h.name+ -"()",h);const Q=(h.C||[]).map(n);return u=>{const N=Q.map(P=>P(u));return G(N,u,h)}},fnCoercer:function(h){const G=l(h),Q=ec(h.to),u=Q.U,N={alphaTree:Q.$()};return P=>G(P).mapOneToOne(function(ia){if(!(ia instanceof ad.XdmFunction||ia instanceof $c||ia instanceof cc)){var ua=q(h.diag);throw new F("Required item type of "+ua.required+" is "+Q.toString()+"; supplied value is "+sa.showValue(ia),ua.code,h);}if((u instanceof dd?u.j:[]).length!==(ia instanceof ad.XdmFunction?ia.arity:1))throw ua=q(h.diag), -new F("Required item type of "+ua.required+" is "+Q.toString()+"; supplied value is "+sa.showValue(ia),ua.code,h);return new ad.zg(N,ia)})},fnRef:function(h){let G=h.name;G=/^Q{/.test(G)?fa.QName.fromEQName(G):fa.QName.fromParts("",Zb.Oa,G);const Q=parseInt(h.arity,10),u=Jd.find("SaxonJS").XPath;return N=>{var P=N.ba(!0);P.bb=!0;if(P=u.getFnSignature(G,Q,P))return N=P.isUserFunction?new ad.Ff(P,N):G.uri===Zb.lc?new ad.Bf(P,G,h):new ad.He(P,G,Q,h,N),Pb(N);throw new F("Reference to an unknown function and/or arity "+ -G.toEQName()+"#"+Q,"XPST0017",h);}},follows:function(h){const G=f(h,function(Q,u){return fa.boolean.fromBoolean(0Pb(G(Q))},"for":function(h){const G=parseInt(h.slot,10),Q=l(h),u=r(h);return N=>Q(N).mapOneToMany(function(P){N.oa[G]=[P];return u(N)})},forEach:function(h){const G=l(h),Q=r(h);return B(h,"separator")?M(h):u=>{const N=u.ba(!1);N.focus=Sb(G(u));N.ab=null;return N.focus.mapOneToMany(function(){return Q(N)})}},forEachGroup:M,fork:c,functionCall:function(h){d(h.name+ -"()",h)},gc:b,gc10:function(h){let G=l(h),Q=r(h);return u=>{let N=G(u).expand(),P=Q(u).expand();1===N.length&&fa.boolean.matches(N[0])?P=[fa.boolean.fromBoolean(e(Kb(P)))]:1===P.length&&fa.boolean.matches(P[0])?N=[fa.boolean.fromBoolean(e(Kb(N)))]:(N=g(N),P=g(P));u=Hd.fe(h.comp,u);const ia=h.op;"="!==ia&&"!="!==ia?(N=Kb(N).mapOneToOne(La.XS.numeric.xe).expand(),P=Kb(P).mapOneToOne(La.XS.numeric.xe).expand()):u=Hd.Ki(u);return Hd.gc(Kb(N),P,ia,u,h)}},gcEE:b,gVarRef:function(h){return G=>{const Q=D(h, -G),u=Q.actor,N=u.name;if(Q.value===a)throw G=new F("Circularity in global variable "+N,"XTDE0640"),G.Le=!0,G;if(null===Q.value||"undefined"===typeof Q.value){if("globalParam"===u.N){var P=G.fixed.options.Sh,ia=La.XS.QName.fromEQName(N);if(P.containsKey(ia))P=P.get(ia),sa.assert(Array.isArray(P)),ia=ec(u.as||"*"),P=x(P,ia,()=>"stylesheet parameter "+N),sa.assert(Array.isArray(P)),Q.value=P;else{if(W(u,"r"))throw new F("Parameter "+N+" is required","XTDE0050",u);if(W(u,"i"))throw new F("Parameter "+ -N+" cannot be empty","XTDE0700",u);u.C||(Q.value=[])}}if(null===Q.value||"undefined"===typeof Q.value){P=!u.parentNode.parentNode.parentNode;ia=G.ba(!0);ia.qa="variable";ia.ub.push(null);ia.gb={};ia.ab=null;ia.sa=Q;ia.focus=P?Rb(G.fixed.hd):null;try{const ua=l(u);Q.value=a;Q.value=ua(ia).expand()}catch(ua){throw ua instanceof F&&(Q.value=[],fa.QName.fromEQName(N).uri!==Zb.wb+"generated-variable"&&(ua.Le=!0)),ua;}ia.ub.pop()}}return Kb(Q.value)}},homCheck:function(h){const G=l(h);return Q=>{Q=Fb(G(Q)); -const u=Q.ua();if(null===u)return Ob;const N=S.X(u);Q=Q.filter(function(P){if(S.X(P)!==N)throw new F("Cannot mix nodes and atomic values in the result of a path expression","XPTY0018",h);return!0});return N?S.kd(Q):Q}},ifCall:function(h){const G=fa.QName.fromEQName(h.name);if("schedule-action"===G.local){const u=l(h),N=r(h),P=n(h.C[3]);return ia=>{var ua=4===h.C.length;if(4h.C.length||"empty"===h.C[2].N?Na=Wa=J=null:(Na=h.C[2],"bSlot"in Na?(Wa=D(Na,ia,"template"),J=Wa.actor):Wa=J=null);ee(ia)||(Ua.focus=Sb(Pb(ed(ia))),Ua.focus.next());Ua.Bb=null;Ua.sa=Wa;Ua.qa=!1;null===Pa&&null!==J&&ea(J,Ua);null!=Na&&t(Na,ia,Ua);let X,ka;null===J?(X=null,ka=function(){}):(X=l(J),ka=function(){X(Ua).expand()});if(null!==Pa)ua=pa.lj(Pa,function(ba){Ua.focus= -Sb(Pb(ba[0]));Ua.focus.next();null!==J&&(ea(J,Ua),ka())},Ba,ia.fixed.Ta);else if(null!==Fa)Fa=Fa.toString().split(" "),Pa=Fa.map(function(ba){return pa.Fb(ba,cd.Ia(h,ia))}),pa.jd()?(ua=pa.hi(Pa,ia.fixed.vd,ka,Ba,ia.fixed.Ta),ua=1===Fa.length?ua[Pa[0]]:ua):(Ba=Pa.map(ba=>Jd.find("SaxonJS").getResource({location:ba,type:"text"}).then(ta=>{try{return ia.fixed.vd[ba]=ta,ka(),Promise.resolve(null)}catch(Ca){return ta=Promise.reject(Ca),ia.fixed.Bj.push(ta),ta}})),Ba=Promise.all(Ba),ia.fixed.zd.push(Ba)); -else if(0!==Ba)if(pa.jd())setTimeout(ka,Ba);else throw new F("ixsl:schedule-action/@wait is not supported on Node.js","SXJS0002");return ua?Pb(ua):Ob}}const Q=(h.C||[]).map(n);return u=>{const N=Q.map(P=>P(u));return na(G.uri,G.local,N,u,h)}},indexedFilter2:function(h){const G=n(B(h,"base")),Q=n(B(h,"use")),u=n(B(h,"search"));return N=>{const P=Hd.fe(h.comp,N),ia=N.ba(!1);ia.focus=Sb(G(N));const ua=u(N).expand();return ia.focus.filter(function(){const Ba=Q(ia);return Hd.gc(Ba,ua,"=",P,h).next().toBoolean()})}}, -inlineFn:function(h){const G={sig:h.sType,alphaTree:rb(h.sType)};return Q=>Pb(new ad.ai(G,h,Q))},instance:function(h){const G=l(h),Q=ec(h.of);return u=>{u=G(u).expand();return Xb(Q.matches(u))}},"int":function(h){const G=fa.integer.fromString(h.val);return()=>Pb(G)},intersect:function(h){const G=l(h),Q=r(h);return u=>new Gb(G(u),Q(u),S.rb)},intRangeTest:function(h){const G=l(h);h=h.C;const Q=n(h[1]),u=n(h[2]);return N=>{const P=Q(N).next(),ia=u(N).next();if(!P||!ia)return Xb(!1);const ua=P.toNumber(), -Ba=ia.toNumber();N=G(N).some(function(Fa){Fa=Fa.value;return Fa>=ua&&Fa<=Ba});return Xb(N)}},is:function(h){const G=f(h,function(Q,u){return fa.boolean.fromBoolean(S.isSameNode(Q,u))});return Q=>Pb(G(Q))},isLast:function(h){const G="1"===h.test;return Q=>Xb(Q.focus.position===Q.focus.last()===G)},iterate:M,javaCall:function(h){const G=fa.QName.fromEQName(h.name),Q=(h.C||[]).map(n);return u=>{const N=Q.map(P=>P(u));return na(G.uri,G.local,N,u,h)}},lastOf:function(h){const G=l(h);return Q=>{const u= -Fb(G(Q));return u.filter(function(){return null===u.ua()})}},let:function(h){const G=l(h),Q=r(h),u=parseInt(h.slot,10);return N=>{const P=N.qa;N.qa="variable";const ia=G(N).expand();N.qa=P;N.oa[u]=ia;return Q(N)}},literal:c,lookup:function(h){const G=l(h),Q=r(h);return u=>{function N(Na){Ba=Ba.concat(Fa[Na.toString()])}function P(Na){Ba=Ba.concat(Fa.get(Na))}function ia(Na){return function(Wa){if(!fa.integer.matches(Wa))throw new F("Array lookup key must be of type xs:integer; supplied value is "+ -sa.showValue(Wa),"XPTY0004",h);Wa=Wa.toNumber();if(1>Wa||Wa>Na.length)throw new F("Array index ("+Wa+") out of bounds (1 to "+Na.length+")","FOAY0001",h);Ba=Ba.concat(Na[Wa-1])}}const ua=G(u);let Ba=[],Fa;u=Q(u).expand();const Pa=h.tuple;if(null!=Pa){const Na=Pa.split(/\s+/);for(var Ua of u)if(-1===Na.indexOf(Ua.toString()))throw new F("Tuple lookup key must be one of "+Pa+". Supplied key is "+Ua.toString(),"XPTY0004",h);}for(;null!==(Fa=ua.next());)if(cd.isArray(Fa))Ua=ia(Fa.value),u.forEach(Ua); -else if(cd.isMap(Fa))u.forEach(P);else if(null!=Pa&&cd.vh(Fa))u.forEach(N);else throw new F("The source for a lookup operator (?) must be of type array() or map(); supplied value is "+sa.showValue(Fa),"XPTY0004",h);return Kb(Ba)}},lookupAll:function(h){const G=l(h);return Q=>{function u(ua){P=P.concat(ua)}function N(ua){P=P.concat(ia.get(ua))}Q=G(Q);let P=[],ia;for(;null!==(ia=Q.next());)if(cd.isArray(ia))ia.value.forEach(u);else if(cd.isMap(ia))ia.keys().forEach(N);else throw new F("The source for a lookup operator ('?') must be of type array() or map(); supplied value is "+ -sa.showValue(ia),"XPTY0004",h);return Kb(P)}},lookupTuple:function(h){const G=l(h),Q=h.key;return u=>{u=G(u);let N=[],P;for(;null!==(P=u.next());)if(null!=Q&&cd.vh(P))N=N.concat(P[Q]);else throw new F("The source for a lookupTuple operator (?) must be of type tuple(); supplied value is "+sa.showValue(P),"XPTY0004",h);return Kb(N)}},map:function(h){const G=(h.C||[]).map(n);return Q=>{const u=new cc;let N=null;G.forEach(function(P){if(null===N)N=P(Q).next();else{if(u.containsKey(N))throw new F("Duplicate map constructor entries for key:"+ -sa.showValue(N),"XQDY0137",h);P=P(Q).expand();u.inSituPut(N,P);N=null}});return Pb(u)}},merge:function(h){return G=>le.mj(h,G)},mergeAdj:function(h){const G=l(h);return Q=>{const u=[],N=G(Q);let P=!1,ia;for(;null!==(ia=N.next());){var ua=S.X(ia)&&(3===ia.nodeType||4===ia.nodeType);ua&&""===ia.nodeValue||(P&&ua?(ua=S.Gc(Q.ja),u.push(ua.createTextNode(u.pop().nodeValue+ia.nodeValue))):(P=ua,u.push(ia)))}return Kb(u)}},message:function(h){const G=n(B(h,"terminate")),Q=n(B(h,"error"));return u=>{const N= -u.qa;u.qa="variable";var P=G(u).next();let ia=Q(u).next().toString();try{ia=aa(h,ia,!0).toEQName()}catch(Pa){ia="Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}let ua;try{ua=E(P.toString())}catch(Pa){throw new F("The terminate attribute of xsl:message must be yes|no|true|false|1|0","XTDE0030",h);}P=Vd(u);const Ba=new $d(P);try{var Fa=Zd.Fc(Ba);Fa.Ea();Zd.push(h.C[0],u,Fa);Fa.za()}catch(Pa){Ba.append(La.XS.string.fromString("xsl:message evaluation at "+sa.location(h)+" failed: "+Pa))}Fa=Kb(P.Ob).next(); -u.fixed.options.Xf||(u.fixed.options.Xf=pa.oh());try{P=ia,u.uc[P]||(u.uc[P]=0),u.uc[P]++,u.fixed.options.Xf(Fa,ia)}catch(Pa){}if(ua)throw sa.Ma(u.getStackTrace(),1,u.fixed.Ta),u=new F("Terminated with "+Fa,ia,h),u.errorObject=Fa,u;u.qa=N;return Ob}},minus:function(h){const G=l(h);return Q=>G(Q).mapOneToOne(u=>u.nf())},namespace:function(h){const G=l(h),Q=r(h);return u=>{const N=G(u).next().toString();u=Q(u).next().toString();if(""!==N&&!Ha.Lb(N))throw new F("Prefix "+N+" is not an NCName","XTDE0920", -h);if(""===u)throw new F("Namespace is zero-length","XTDE0930",h);if("xmlns"===N)throw new F("Disallowed prefix xmlns","XTDE0920",h);if("http://www.w3.org/2000/xmlns/"===u)throw new F("Disallowed namespace "+u,"XTDE0905",h);if(!C(u))throw new F("Invalid namespace "+u,"XTDE0905",h);if("xml"===N!==(u===Zb.xml))throw new F("The xml namespace prefix and uri can only be used together","XTDE0925",h);return Pb(new bc(N,u))}},nextIteration:M,nextMatch:M,nodeNum:function(h){return G=>fe.rj(h,G)},"null":function(h){return()=> -Pb(h)},numSeqFmt:function(h){return G=>fe.sj(h,G)},onEmpty:c,onNonEmpty:c,or:function(h){const G=l(h),Q=r(h);return u=>Xb(e(G(u))||e(Q(u)))},origFC:function(h){h.C||(h.C=[]);const G=h.C.map(n);return Q=>{if(!h._target){const P=h.pack,ia=aa(h,h.name,!1).toEQName(),ua=h.C.length,Ba=Q.fixed.La;Object.keys(Ba).forEach(function(Fa){Fa=Ba[Fa];Fa.Dh.name===P&&Fa.name===ia&&Fa.actor&&"function"===Fa.actor.N&&v(Fa.actor,"arg").length===ua&&(h._target=Fa.id)})}const u=Q.fixed.La[h._target],N=G.map(P=>P(Q).expand()); -return y(h,u,N,Q)}},param:function(h){const G=h.name,Q=parseInt(h.slot,10),u=W(h,"t"),N=n(B(h,"select")),P=n(B(h,"conversion"));return ia=>{var ua=u?ia.Qb:ia.Kc,Ba=La.XS.QName.fromEQName(G);if(ua.containsKey(Ba))ua=ua.get(Ba),""!==ec(h.as||"*").$().p&&(ua=T(ua));else if(N&&!W(h,"r"))Ba=ia.qa,ia.qa="xsl:param",ua=N(ia).expand(),ia.qa=Ba;else throw new F("Required parameter $"+G+" not supplied","XTDE0700",h);sa.assert(Array.isArray(ua));ia.oa[Q]=ua;if(P)try{ia.oa[Q]=P(ia).expand()}catch(Fa){throw new F("Supplied value for parameter $"+ -G+" could not be converted to required type","XTTE0590",h);}return Ob}},partialApply:function(h){const G=l(h),Q=[],u=[];let N=0;const P=h.C.length-1;for(let ia=1;ia{const ua=G(ia).next(),Ba=[];for(let Fa=0;FaS.rb(Q,u))});return Q=>Pb(G(Q))},procInst:M,qName:function(h){const G=fa.QName.fromParts(h.pre,h.uri,h.loc);return()=>Pb(G)},range:function(h){const G=fa.integer.fromString(h.from),Q=fa.integer.fromString(h.to);return()=>k(G,Q)},resultDoc:function(h){return G=>{try{if(G.qa)throw new F("Cannot call xsl:result-document while evaluating "+G.qa,"XTDE1480",h);var Q=I(h,G);const u={};let N=function(){};const P=B(h,"format");if(P){let ka=R(P,G).next().toString(); -ka=aa(h,ka,!0).toEQName();const ba=Q.mg[ka];if(!ba)throw new F("Unknown xsl:output format "+ka,"XTDE1460");let ta,Ca;for(const Ka of ba.C){let Qa=Ka.name;"parameter-document"===Qa?ta=Ka.value:"Q{http://saxon.sf.net/}parameter-document-base-uri"===Qa?Ca=Ka.value:u[Qa]="use-character-maps"===Qa?ge.yf(Qa,Ka.value,Q):ge.zf(Qa,Ka.value)}if(ta){const Ka=pa.Fb(ta,Ca);let Qa=Nd.Dc(Ka,G);ge.parseParamDoc(Qa.documentElement,u)}}m(h.global,u,Q);m(h.local,u,Q);for(const ka of h.C){let ba=ka.role.replace(/^Q{\}/, -"");if(!["href","format","content","parameter-document"].includes(ba)){"output-version"===ba&&(ba="version");let ta=R(ka,G).next().toString();ta="use-character-maps"===ba?ge.yf(ba,ta,Q):ge.zf(ba,ta,L(h,!0));"undefined"!==typeof ta&&(u[ba]=ge.pf(ba,ta,u[ba]))}}const ia=B(h,"Q{}parameter-document");if(null!==ia){const ka=R(ia,G).next().toString(),ba=pa.Fb(ka,cd.Ia(h,G));let ta=Nd.Dc(ba,G);ge.parseParamDoc(ta.documentElement,u)}const ua=G.fixed.Ib,Ba=B(h,"href"),Fa=null===Ba?"":R(Ba,G).next().toString(); -let Pa;Pa=ua?pa.newURL(Fa,ua):S.ld(Fa)?pa.newURL(Fa):Fa;const Ua=Pa.toString();if(G.fixed.Ib&&Ua===G.fixed.Ib.toString()&&1{fd(G,"XPDY0002","/",h);G=ed(G);if(!S.X(G))throw new F("Context item for '/' must be a node","XPTY0020",h);const Q=S.rc(G);if(9!==Q.nodeType&&11!==Q.nodeType)throw new F("Root node for '/' must be a document node", -"XPDY0050",h);return Pb(S.rc(G))}},sequence:c,slash:function(h){const G=l(h),Q=r(h);return u=>{const N=u.ba(!1);N.focus=Sb(G(u));return N.focus.mapOneToMany(()=>Q(N))}},some:function(h){const G=parseInt(h.slot,10),Q=l(h),u=r(h);return N=>{const P=Q(N);return Xb(P.some(function(ia){N.oa[G]=[ia];return e(u(N))}))}},sort:function(h){const G=Hd.Kj(h);return Q=>{try{return G(Q)}catch(u){if(u instanceof F&&"FOCH0002"===u.code)throw new F(u.message,"XTDE1035",h);if(u instanceof F&&"XPTY0004"===u.code)throw new F(u.message, -"XTDE1030",h);throw u;}}},sourceDoc:M,str:function(h){const G=h.val;return()=>Tb(G)},subscript:function(h){const G=l(h),Q=r(h);return u=>{var N=G(u);u=Q(u).next();if("ADI"===u.code)u=u.value;else if(u.equals(u.round(0)))u=La.XS.integer.R(u).value;else return Ob;return(N=N.kf(u))?Pb(N):Ob}},supplied:function(h){const G=parseInt(h.slot,10);return Q=>Kb(Q.oa[G])},tail:function(h){const G=parseInt(h.start,10)-1;let Q=l(h);return u=>{let N=G;return Q(u).filter(function(){return 0>=N--})}},tailCallLoop:c, -to:function(h){const G=l(h),Q=r(h);return u=>{const N=G(u).next();u=Q(u).next();return null===N||null===u||0u(N).mapOneToOne(function(P){if(Q(P))return P;const ia=q(h.diag);throw new F("Required item type of "+ia.required+" is "+G.toString()+"; supplied value is "+sa.showValue(P),ia.code,h);})},"true":function(){return()=>Xb(!0)},"try":function(h){const G=l(h),Q=v(h,"catch");Q.forEach(u=>{const N=u.errors.split(" ").map(P=> -{if("*"===P)return()=>!0;if(/^\*:/.test(P)){const ua=P.substring(2);return Ba=>Ba.local===ua}if(/}\*$/.test(P)){const ua=P.substring(2,P.length-2);return Ba=>Ba.uri===ua}const ia=fa.QName.fromEQName(P);return ua=>ua.equals(ia)});u.test=1===N.length?N[0]:P=>N.some(ia=>ia(P))});return u=>{try{return Kb(G(u).expand())}catch(N){if(N instanceof F&&!N.Le){u.$e=N;N.xsltLineNr||ra(N,h.C[0]);let P;P=N.code.match("^Q{")?fa.QName.fromEQName(N.code):fa.QName.fromParts("","http://www.w3.org/2005/xqt-errors",N.code); -for(let ia=0;ia{const u=D(h,Q,"function"),N=G.map(P=>P(Q).expand());return y(h,u,N,Q)}},ufRef:function(h){let G=h.name;G=/^[a-z]+:/.test(G)?aa(h,G,!0):/^Q\{/.test(G)?fa.QName.fromEQName(G):fa.QName.fromParts("",Zb.Oa,G);const Q=parseInt(h.arity,10),u=Jd.find("SaxonJS").XPath;return N=>{const P=u.getFnSignature(G,Q,N);if(P&& -P.isUserFunction)return N=new ad.Ff(P,N),Pb(N);sa.la("Named user function "+G+"#"+Q+" not found")}},union:function(h){const G=l(h),Q=r(h);return u=>new Eb(G(u),Q(u),S.rb)},useAS:M,valueOf:M,varRef:function(h){const G=parseInt(h.slot,10);return Q=>Kb(Q.oa[G])},vc:function(h){function G(ia){return null===ia?null:fa.untypedAtomic.matches(ia)?fa.string.R(ia):ia}const Q=h.op,u=h.onEmpty,N=l(h),P=r(h);return ia=>{const ua=N(ia),Ba=P(ia),Fa=G(ua.next()),Pa=G(Ba.next());if(null===Fa||null===Pa)return u?Xb("1"=== -u):Ob;if(null!==ua.next()||null!==Ba.next())throw new F("Value comparison only applicable to single values","XPTY0004",h);if(Fa.isNumeric()&&isNaN(Fa.value)||Pa.isNumeric()&&isNaN(Pa.value))return Xb("ne"===Q);ia=Hd.fe(h.comp,ia);return["=","eq","!=","ne"].includes(Q)?Xb(Hd.Th(Q,ia.equals(Fa,Pa))):Xb(Hd.wf(Q,ia.compare(Fa,Pa)))}}};K.prototype={value:null,containsKey:function(h){return"undefined"!==typeof this.value[h]},get:function(h){return ha(this.value[h])},inSituPut:function(){throw new F("inSituPut() not allowed for JSValue", -"SXJS0005");},put:function(){throw new F("put() not allowed for JSValue","SXJS0005");},remove:function(){throw new F("remove() not allowed for JSValue","SXJS0005");},keys:function(){throw new F("keys() not allowed for JSValue","SXJS0005");},forAllPairs:function(){throw new F("forEach() not allowed for JSValue","SXJS0005");},conforms:function(){throw new F("conforms() not allowed for JSValue","SXJS0005");},showValue:function(){return"JSValue "+sa.showValue(this.value)}};U.prototype={value:null,showValue:function(){return"XDMValue "+ -sa.showValue(this.value)}};return{da:B,Ve:t,Sb:H,li:g,Ik:function(){return"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")},Tf:ea,qb:v,ti:la,Uf:x,sb:w,ke:I,ig:D,Fd:e,Sa:l,Vg:r,ib:n,escape:function(h,G){let Q="";Da(h).forEach(function(u){const N=Ea([u]);Q+=G(u,N)?encodeURIComponent(N):N});return Q},evaluate:R,qc:function(h,G){return null===h?Ob:R(h,G)},Ai:function(h, -G,Q,u){const N=ke[h.local];N||d(h.toString()+"()",u);return N(G.map(P=>Kb(P)),Q,u)},Bi:function(h,G,Q,u){return na(h.uri,h.local,G.map(N=>Kb(N)),Q,u)},flatten:Z,hg:qa,Rk:function(h){if("undefined"!==typeof h)return z(h,"module",20)+"#"+z(h,"line",10)},Db:W,Ic:ma,isArray:ja,isMap:Y,Jd:V,vh:function(h){return h instanceof me},hj:E,Ef:K,fl:d,Ej:q,Aj:function(h){na=h},pl:ca,Ia:A,xd:T,sg:aa,Wd:L,Xh:function(h){return"AZ"===h.code?fa.double.R(h):h},Oj:C,Ra:ha,Hk:U}}(); +const cd=function(){function a(){}function c(h){const C=(h.C||[]).map(p);return Q=>new Mb(function*(){for(const r of C){const O=r(Q);let R;for(;null!==(R=O.next());)yield R}}())}function n(h){function C(ea){switch(ea){case 1:return"first";case 2:return"second";case 3:return"third";default:return ea+"th"}}h=h.split("|");const Q=h[0],r=h[1],O=""===h[2]?"XPTY0004":h[2],R=h[3];return{required:function(){switch(parseInt(Q,10)){case 0:return C(+r+1)+" argument of "+(""===R?"anonymous function":R+"()"); +case 1:return C(+r+1)+" operand of '"+R+"'";case 9:return"operand of '-'";case 2:return"value in '"+R+"' expression";case 3:return"saxon:context-item"===R?"context item":"value of variable $"+R;case 4:const ea=R.split("/");return"@"+ea[1]+" attribute of "+("LRE"===ea[0]?"a literal result element":ea[0]);case 5:return"result of call to "+(""===R?"anonymous function":"function "+R);case 7:return"result of template "+R;case 6:return C(+r+1)+" sort key";case 8:return"value of parameter $"+R;case 11:return"value of the grouping key"; +case 12:return"result of xsl:evaluate";case 13:return"the context item";case 14:return"the context item for the "+"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")[r]+" axis";case 15:return"the value of the "+R+" option";case 17:return"document-order sorter";default:return""}}(),code:O}}function F(h){h=h.trim();if(["true","yes","1"].includes(h))return!0;if(["false", +"no","0"].includes(h))return!1;throw new G("Value must be yes|true|1 or no|false|0","XTDE0030");}function I(h){if(T.X(h))return Pb(m(h));if(ia(h))return Qb(h.value.map(C=>Kb(C))).mapOneToMany(I);if(V(h))throw new G("Cannot atomize a "+(Y(h)?"map":"function"),"FOTY0013");return Pb(h)}function m(h){const C=ba.string.fromString,Q=ba.untypedAtomic.fromString;switch(h.nodeType){case 9:return Q(h.documentElement.textContent);case 11:case 1:case 3:case 4:return Q(h.textContent||"");case 2:return Q(h.value); +case 8:return C(h.textContent);case 7:return C(h.textContent);case 13:return C(h.uri);default:throw new G("Unknown node type "+h.nodeType,"SXJS0003");}}function g(h){return Kb(h).mapOneToMany(I).expand()}function e(h){function C(O){throw new G("Effective boolean value is not defined for "+O,"FORG0006");}function Q(){if(null!==h.next())C("an atomic sequence of length > 1");else return!0}var r=h.next();if(null===r)return!1;if(T.X(r))return!0;if(La.pa(r)){if("AB"===r.code)return Q()&&r.toBoolean();if(r.isNumeric())return r= +r.toNumber(),Q()&&!isNaN(r)&&0!==r;if(Ia(r))return Q()&&0!==r.toString().length;C("type "+La.pd(r.code))}else Y(r)?C("maps"):ia(r)?C("arrays"):V(r)?C("functions"):C("value "+sa.showValue(r))}function k(h,C){const Q=mb["i+i"],r=ba.integer.fromNumber(1);return new Cb(h,O=>{O=Q(O,r);return 0Q.N===C):[]}function t(h,C,Q){h=v(h,"withParam");const r=[new cc,new cc];C.Rb.forAllPairs(R=>r[1].inSituPut(R.k,R.v));const O=C.qa;C.qa="template parameter"; +h.forEach(function(R){const ea=R.name,ua=P(R,"t")?1:0;r[ua].inSituPut(La.XS.QName.fromEQName(ea),d(R)(C).expand())});C.qa=O;Q.Lc=r[0];Q.Rb=r[1]}function D(h){return!/[ \t\r\n]/.test(h)}function l(h,C,Q){if(h){h=h.split(/\r?\n/);for(let O=0;O{try{const R=Q(O).next(),ea=r(O).next();return null===R||null===ea?null:C(R,ea)}catch(R){aa(R,h)}}}function B(h,C){if(C.fixed.staticBaseURI)return C.fixed.staticBaseURI;if(C.fixed.md)return null;for(;;){if(h.baseUri)return h.baseUri;h=h.parentNode;if(!h)return null}}function L(h,C,Q=!1){var r=T.Hc(C.ja).createDocumentFragment();r=T.xc(r);r._saxonBaseUri=B(h,C);const O=C.ba(!1);Q&&(O.ja=C.masterDocument);bd.kj(r,p(h)(O),O);return r}function y(h){const C= +d(h),Q=q(h),r=h.op;return O=>{const R=C(O),ea=Q(O).expand();O=Hd.he(h.comp,O);return Hd.gc(R,ea,r,O,h)}}function b(h,C){throw new G("The "+h+" construct is not implemented in SaxonJS","SXJS0002",C);}function d(h){return p(h.C[0])}function q(h){return p(h.C[1])}function p(h){if(h){var C=h.ELAB;C||((C=pa[h.N])||sa.la("Unknown expr: "+h.N+" parent="+h.p),C=h.ELAB=C(h));return C}}function u(h,C){h=h.C||[];for(let Q=0;Q{const Q=Vd(C),r=Zd.Gc(Q);Zd.push(h,C,r);r.close();return Kb(Q.Pb)}}function aa(h,C){h instanceof G&&!h.xsltLineNr&&ra(h,C);throw h;}function ma(h,C){function Q(O){return"Context item for template "+ +h.name+" must be "+O}if(ee(C)&&-1===h.flags.indexOf("o"))throw new G(Q("supplied"),"XTTE3090",h);ee(C)||-1!==h.flags.indexOf("s")||(C.focus={});let r=h.cxt;if(r&&!ee(C)&&!fc(r).ia()(ed(C)))throw new G(Q("instance of "+fc(r).toString()),"XTTE0590",h);}function ia(h){return h instanceof $c}function Y(h){return h instanceof cc||h instanceof M}function V(h){return h instanceof ad.XdmFunction||ia(h)||Y(h)}function ka(h){var C=Object.assign(h);C.ELAB=void 0;h.C&&(C.C=h.C.map(Q=>ka(Q)));return C}function z(h, +C,Q){sa.assert(Array.isArray(h));sa.assert(C instanceof gc);const r=C.$();let O=r.p;if(r.o&&!Ed(r.o)(h.length))throw new G("Supplied value "+sa.showValue(h)+" does not match required cardinality "+r.o+(Q?" in "+Q():""),"XPTY0004");if(0ea.isNumeric()?ea:R.matches(ea)?La.XS.double.R(ea):ea instanceof M?La.XS.double.fromString(ea.value.toString()):ea);else{const ea=La.codes[O],ua=ea.R;"A"!==O&&(h=h.map(Ba=>R.matches(Ba)? +ua(Ba):Ba instanceof M?ea.fromString(Ba.value.toString()):Ba));["AO","AF"].includes(O)&&(h=h.map(Ba=>Ba.isNumeric()?ea.R(Ba):Ba));"AS"===O&&(h=h.map(Ba=>La.XS.anyURI.matches(Ba)?ea.R(Ba):Ba))}}else if(C.U.Jd())if(["FM","FA"].includes(O))h=U(h);else if(C.U instanceof dd){const R=C.U.ia();h.every(ea=>R(ea))||(h=h.map(ea=>{if(R(ea))return ea;if(ea instanceof ad.XdmFunction){var ua=C.U;const Ba=ua.j.length;ua={minArgs:Ba,maxArgs:Ba,sig:ua.ha(),alphaTree:ua.$()};return new ad.Ag(ua,ea)}return ea}))}if(!C.matches(h))throw new G("Supplied value "+ +sa.showValue(h)+" does not match required type "+C.toString()+(Q?" in "+Q():""),"XPTY0004");}return h}function M(h){this.value=h}function W(h){this.value=h}function fa(h){function C(r){switch(typeof r){case "undefined":return[];case "string":return ba.untypedAtomic.fromString(r);case "number":return ba.double.fromNumber(r);case "boolean":return ba.boolean.fromBoolean(r);case "function":return new M(r);case "object":if(ba.Qf.matches(r)||T.X(r))return r;if(r instanceof $c)return r;if(r instanceof ad.XdmFunction|| +r instanceof cc)return r;if(r instanceof M)return r;if(r instanceof Date)return ba.dateTime.fromString(r.toISOString());if(Array.isArray(r)){const O=[];r.forEach(function(R){O.push(fa(R))});return new $c(O)}return null===r?[]:r instanceof W?r.value:new M(r);default:return new M(r)}}function Q(r){const O=[];r.forEach(function(R){R=C(R);Array.isArray(R)&&0===R.length||O.push(R)});return O}if(Array.isArray(h))return Q(h);h=C(h);return Array.isArray(h)&&0===h.length?[]:[h]}function U(h){function C(r){if(r instanceof +$c){const O=[];r.value.forEach(R=>O.push(Q(R)));return new $c(O)}if(r instanceof M){const O=r.value;if("object"===typeof O){r=new cc;for(const R in O)if(O.hasOwnProperty(R)){const ea=fa(R)[0],ua=fa(O[R]);r.inSituPut(ea,U(ua))}return r}}return r}function Q(r){const O=[];r.forEach(function(R){R=C(R);Array.isArray(R)&&0===R.length||O.push(R)});return O}sa.assert(Array.isArray(h));return Q(h)}function w(h,C=!1){function Q(O){if(Array.isArray(O))throw new G("convertItem() called for an array","SXJS0004"); +if(null===O)return null;if(ba.string.matches(O)||ba.anyURI.matches(O)||ba.duration.matches(O)||ba.hexBinary.matches(O)||ba.base64Binary.matches(O)||ba.untypedAtomic.matches(O))return O.toString();if(ba.numeric.matches(O))return O.toNumber();if(ba.boolean.matches(O))return O.toBoolean();if(ba.dateTime.matches(O)||ba.dd.matches(O)||ba.Ed.matches(O)||ba.time.matches(O)||ba.oh.matches(O)||ba.nh.matches(O)||ba.mh.matches(O)||ba.lh.matches(O)||ba.kh.matches(O))return O.toString();if(ba.QName.matches(O))return O.toEQName(); +if(T.X(O))return O;if(O instanceof $c){const R=[];0!==O.value.length&&O.value.forEach(function(ea){R.push(w(ea,C))});return R}if(O instanceof cc){if(C){const R={};O.forAllPairs(function(ea){R[ea.k.toString()]=w(ea.v,C)});return R}return new W(O)}return O instanceof W?O:O instanceof M?O.value:new W(O)}function r(O){const R=[];if(0===O.length)return null;if(1===O.length)return Q(O[0]);O.forEach(function(ea){R.push(Q(ea))});return R}return Array.isArray(h)?r(h):Q(h)}function Z(h){return h.mapOneToMany(function(C){return ia(C)? +Qb(C.value.map(function(Q){return Z(Kb(Q))})):Pb(C)})}const T=ac,ha=T.Ja,ba=La.XS;let va;const pa={acFnRef:function(h){const C=ba.QName.fromEQName(h.name),Q=Jd.find("SaxonJS").XPath;return r=>{r=r.ba(!0);r.bb=!0;if(r=Q.getFnSignature(C,1,r))return r=new ad.Bf(r,C,h),Pb(r);throw new G("Reference to an unknown constructor function "+C+"#1","XPST0017",h);}},among:function(h){const C=d(h),Q=q(h);return r=>{const O=C(r).next();return Q(r).filter(R=>T.isSameNode(R,O))}},analyzeString:N,and:function(h){const C= +d(h),Q=q(h);return r=>Xb(e(C(r))&&e(Q(r)))},applyImports:N,applyT:N,arith:function(h){const C=mb[h.calc];C||b("arithmetic ("+h.calc+")",h);const Q=f(h,C);return r=>Pb(Q(r))},arith10:function(h){function C(R){R=R.next();return null===R?ba.double.fromNumber(NaN):Ia(R)?ba.double.df(R.toString()):ba.double.R(R)}const Q=d(h),r=q(h),O=mb[h.calc];return R=>Pb(O(C(Q(R)),C(r(R))))},array:function(h){const C=(h.C||[]).map(p);return Q=>{const r=C.map(O=>O(Q).expand());return Pb(new $c(r))}},arrayBlock:function(h){const C= +(h.C||[]).map(p);return Q=>{const r=C.map(O=>O(Q).expand());return Pb(new $c(r))}},atomic:function(h){const C=La.codes[h.type].fromString(h.val);return()=>Pb(C)},atomSing:function(h){const C=d(h);return h.card?Q=>C(Q).mapOneToMany(I):Q=>{Q=C(Q).mapOneToMany(I);Q=Fb(Q);if(null===Q.ua())throw Q=n(h.diag),new G("The "+Q.required+" is empty",Q.code,h);return Q}},att:N,attVal:function(h){const C=ba.QName.fromEQName(h.name);return Q=>{fd(Q,"XPDY0002","@"+C,h);Q=ed(Q);if(!T.X(Q))throw new G("Context item for 'attVal' must be a node", +"XPTY0020",h);if(1!==Q.nodeType)return Ob;Q=""===C.uri?Q.hasAttribute(C.local)?Q.getAttribute(C.local):null:C.uri===Zb.xml?Q.hasAttribute("xml:"+C.local)?Q.getAttribute("xml:"+C.local):null:Q.hasAttributeNS(C.uri,C.local)?Q.getAttributeNS(C.uri,C.local):null;return null===Q?Ob:Pb(ba.untypedAtomic.fromString(Q))}},axis:function(h){const C=fc(h.nodeTest||"").ia(),Q=h.name;return r=>{fd(r,"XPDY0002",Q+" axis",h);r=ed(r);if(!T.X(r))throw new G("Context item for "+Q+" axis is not a node - supplied:"+sa.showValue(r), +"XPTY0020",h);return T.Og[Q](r).filter(C)}},"break":N,callT:function(h){return C=>{const Q=E(h,C,"template"),r=C.ba(!0);r.Bb=null;r.sa=Q;ma(Q.actor,r);t(h,C,r);return d(Q.actor)(r)}},cast:function(h){const C=d(h),Q=P(h,"e"),r=O=>{O=C(O).next();if(null===O){if(Q)return null;throw new G("Empty sequence casting to "+fc(h.as).toString(),"XPTY0004",h);}return O};if(P(h,"a")){const O=rb(h.as),R="AQ"===O.p?K(h,!0):null,ea=La.codes[O.p].R;return ua=>{ua=r(ua);if(null===ua)return Ob;try{var Ba=ea(ua,R);return Pb(Ba)}catch(Fa){if("FORG0001"=== +Fa.code&&h.diag)throw Ba=n(h.diag),new G("Required item type of "+Ba.required+" is "+fc(h.as).toString()+"; supplied value is "+sa.Nh(ua),Ba.code,h);if(null!==Fa.code)throw Fa;throw new G("Failed to cast "+sa.Nh(ua)+" to type "+fc(h.as).toString(),"XPTY0004",h);}}}if(P(h,"l")){const O=La.XS.QName.fromEQName(h.as),R=Tc[O.local].fromString;sa.assert(O.uri===Zb.mc);sa.assert(R);return ea=>{ea=r(ea);if(null===ea)return Ob;ea=Ha.collapse(ea.toString()).split(" ").map(R);if(0===ea.length)throw new G("xs:"+ +O.local+" value must contain at least one token","FORG0001");return Kb(ea)}}if(P(h,"u"))return O=>{O=r(O);return null===O?Ob:La.XS.double.matches(O)||La.XS.mb.matches(O)||La.XS.float.matches(O)?Pb(O):Pb(La.XS.double.R(O))};throw new G("Unknown cast variety "+h.flags);},castable:function(h){const C=d(h),Q=P(h,"e");let r;if(P(h,"a")){const O=rb(h.as),R="AQ"===O.p?K(h,!0):null,ea=La.codes[O.p].R;r=ua=>{ea(ua,R);return!0}}else if(P(h,"l")){h=La.XS.QName.fromEQName(h.as);const O=Tc[h.local].fromString; +r=R=>0{La.XS.double.R(O);return!0};else throw new G("Unknown castable variety "+h.flags);return O=>{O=C(O);const R=O.next();if(null===R)return Xb(Q);if(null!==O.next())return Xb(!1);O=I(R).next();try{return Xb(r(O))}catch(ea){return Xb(!1)}}},cfn:function(h){const C=h.name,Q=d(h);let r;if("_format-number_1"===C)return r=ke["format-number"],O=>{const R=[Q(O),Tb(h.pic)];h.hasAttribute("format")&&R.push(Tb(h.format));return r(R, +O,h)};if("_translate_1"===C)return r=ke.translate,O=>{const R=[Q(O),Tb(h.a1),Tb(h.a2)];return r(R,O)};sa.la("Unimplemented: cfn "+C,h)},check:function(h){function C(R){const ea=n(h.diag);throw new G("Required cardinality of "+ea.required+" is "+r[Q]+"; supplied value "+R,ea.code,h);}const Q=h.card,r={"*":"zero or more","+":"one or more","?":"zero or one",0:"zero",1:"exactly one"},O=d(h);return R=>{R=O(R);if("*"===Q)return R;var ea=Fb(R);R=ea.ua();if(null===R){if("?"===Q||"0"===Q)return Ob;C("is empty")}else"0"=== +Q&&C("is not empty (first item "+sa.showValue(R)+")");if("+"===Q)return ea;ea.next();const ua=ea.next();null!==ua&&(ea=ea.count()+2,C("contains "+ea+" items ("+sa.showValue(R)+", "+sa.showValue(ua)+(2{for(let r=0;rC(Q)},comment:N,compareToInt:function(h){const C=h.op,Q=ba.integer.fromString(h.val),r=d(h);return O=> +{O=r(O);const R=O.next();if(null===R)return Ob;if(Hd.uc(R))return Xb("ne"===C);if(null!==O.next())throw new G("Value comparison only applicable to single values","XPTY0004",h);return Xb(Hd.wf(C,R.compareTo(Q)))}},compareToString:function(h){const C=h.op,Q=d(h),r=ba.string.fromString(h.val);return O=>{const R=Q(O),ea=R.next();if(null===ea)return Ob;if(null!==R.next())throw new G("Value comparison only applicable to single values","XPTY0004",h);return h.comp?(O=Hd.he(h.comp,O),["=","eq","!=","ne"].includes(C)? +Xb(Hd.Th(C,O.equals(ea,r))):Xb(Hd.wf(C,O.compare(ea,r)))):Xb(Hd.wf(C,ea.compareTo(r)))}},compAtt:N,compElem:N,condCont:function(h){const C=d(h);return Q=>{function r(O){if(T.X(O))switch(O.nodeType){case 9:case 11:case 1:return O.hasChildNodes();default:return""!==m(O).toString()}else return Y(O)?0r(ea)).length}).length:""!==ba.string.R(O).toString()}return C(Q).filter(r)}},condSeq:function(h){function C(r){if(T.X(r)){if([9, +11].includes(r.nodeType))return!r.hasChildNodes();if(3===r.nodeType||4==r.nodeType)return""===r.nodeValue}else{if(La.pa(r))return""===ba.string.R(r).toString();if(ia(r))return!Z(Pb(r)).some(function(O){return!C(O)})}return!1}const Q=h.C.map(r=>({name:r.N,eval:p(r)}));return r=>{let O=[];const R=[];let ea=!0;Q.map(function(ua){if("onEmpty"===ua.name)ea&&(O=ua.eval(r).expand());else if("onNonEmpty"===ua.name){const Ba=O.length;R.unshift(function(){O.splice.apply(O,[Ba,0].concat(ua.eval(r).expand()))})}else ua.eval(r).forEachItem(function(Ba){C(Ba)|| +(ea=!1);O.push(Ba)})});ea||R.forEach(function(ua){ua()});return Kb(O)}},conditionalSort:function(h){const C=d(h),Q=q(h),r=d(h.C[1]);return O=>e(C(O))?Q(O):r(O)},consume:function(h){throw new G("Stylesheet uses 'consume' which requires streaming","SXJS0002",h);},convert:function(h){const C=h.to,Q=La.codes[C];Q||sa.la("Unknown to-type "+h.to);const r=d(h);return P(h,"p")?O=>r(O).mapOneToOne(R=>La.qg(R,C)):O=>r(O).mapOneToOne(Q.R)},copy:N,copyOf:N,currentGroup:function(h){return C=>{if(C&&C.bd)return Kb(C.bd); +throw new G("There is no current group","XTDE1061",h);}},currentGroupingKey:function(h){return C=>{if(C&&C.cd)return Kb(C.cd);throw new G("There is no current grouping key","XTDE1071",h);}},cvUntyped:function(h){const C=d(h),Q=La.codes[h.to],r=Q.R,O="string"===Q.name;return R=>C(R).mapOneToOne(function(ea){if(ba.double.matches(ea)&&"float"===Q.name)throw new G("xs:double may not be promoted to xs:float","XTTE0570",h);if(ba.untypedAtomic.matches(ea)||O&&ba.anyURI.matches(ea))try{return r(ea)}catch(ua){if("FODT0001"=== +ua.code||!h.diag)throw ua;ea=n(h.diag);throw new G(ua.message,ea.code,h);}else return ea})},data:function(h){const C=d(h);return Q=>C(Q).mapOneToMany(I)},dbl:function(h){const C=ba.double.fromString(h.val);return()=>Pb(C)},dec:function(h){const C=wa(h.val);return()=>Wb(C)},doc:N,docOrder:function(h){const C=d(h);return Q=>T.kd(C(Q))},dot:function(h){return C=>{fd(C,"XPDY0002",". (dot)",h);return Pb(ed(C))}},elem:N,empty:function(){return()=>Ob},emptyTextNodeRemover:function(h){const C=d(h);return Q=> +C(Q).filter(r=>!(T.X(r)&&(3===r.nodeType||4===r.nodeType)&&""===r.textContent))},error:function(h){return()=>{throw new G(h.message,h.code,h);}},evaluate:function(h){const C={language:"XSLT",contextType:{o:"1",p:"",code:"1"}},Q=p(u(h,"xpath")),r=p(u(h,"cxt")),O=p(u(h,"sa")),R=p(u(h,"nsCxt")),ea=v(h,"withParam").map(Ba=>({name:ba.string.fromString(Ba.name),eval:d(Ba)})),ua=p(u(h,"wp"));return Ba=>{const Fa=Q(Ba).next().toString();u(h,"cxt");const Pa=r?r(Ba):Ob;let Ua=new cc;ea.forEach(function(ta){Ua.inSituPut(ta.name, +ta.eval(Ba).expand())});ua&&ua(Ba).next().forAllPairs(function(ta){if(!ba.QName.matches(ta.k))throw new G("Parameter names in xsl:evaluate/@with-params map must be QNames:"+ta.k.toString(),"XTTE3165",h);Ua.inSituPut(ta.k,ta.v)});Ua=Pb(Ua);if(O){var Na=O(Ba).next().toString();if(F(Na))throw new G("SaxonJS does not support schema-aware evaluation","XTDE1665",h);}(Na=h.as)&&(C.requiredType=Na.toString());(Na=h.dxns)&&"http://www.w3.org/1999/xhtml"!==Na.toString()&&(C.xpathDefaultNamespace=Na.toString()); +let Wa={};if(R){Na=R(Ba);var J=Na.next();if(null===J||null!==Na.next()||!T.X(J))throw new G("xsl:evaluate/@namespace-context must evaluate to a single node","XTTE3170",h);Wa[""]="";ac.Jc(J).forEach(ta=>Wa[ta.prefix]=ta.uri);C.xpathDefaultNamespace=Wa[""]}else Wa=la(h);const X={};J=Na=!1;const ja={};var da=u(h,"options");if(da){da=S(da,Ba).next();let ta=ba.string.fromString("var-slots");da.containsKey(ta)&&da.get(ta)[0].forAllPairs(function(Ca){X[Ca.k.toEQName()]=w(Ca.v)});ta=ba.string.fromString("allow-empty"); +da.containsKey(ta)&&(Na=da.get(ta)[0].toBoolean());ta=ba.string.fromString("isStatic");da.containsKey(ta)&&(J=da.get(ta)[0].toBoolean());ta=ba.string.fromString("staticContext");da.containsKey(ta)&&da.get(ta)[0].forAllPairs(function(Ca){ja[Ca.k.toString()]=w(Ca.v,!0)})}C.params=Ua;C.namespaces=Wa;C.slotMap=X;C.allowEmpty=Na;C.staticTyping=!0;C.isStatic=J;C.staticContext=ja;C.dynamicEval=!0;(Na=u(h,"baseUri"))&&(C.staticBaseURI=S(Na,Ba).next().toString());(Na=oa(h,"defaultCollation"))&&(C.defaultCollation= +Na);return Jd.find("SaxonJS").XPath.evaluateXDM(Fa,Pa,Ba,C)}},every:function(h){const C=parseInt(h.slot,10),Q=d(h),r=q(h);return O=>{const R=Q(O);return Xb(!R.some(function(ea){O.oa[C]=[ea];return!e(r(O))}))}},except:function(h){const C=d(h),Q=q(h);return r=>new Hb(C(r),Q(r),T.rb)},"false":function(){return()=>Xb(!1)},filter:function(h){const C=d(h),Q=q(h);return P(h,"i")?r=>{const O=C(r);r=Q(r).expand();if(1===r.length&&ba.numeric.matches(r[0])){const R=r[0].toNumber();if(O instanceof Kb)return Pb(O.expand()[R- +1]||null);const ea=Sb(O);return ea.filter(function(){return ea.position===R})}return e(Kb(r))?O:Ob}:r=>{const O=C(r),R=r.ba(!1);R.focus=Sb(O);r=P(h,"p")?function(){const ea=Q(R).expand();return 1===ea.length&&ba.numeric.matches(ea[0])?R.focus.position===ea[0].toNumber():e(Kb(ea))}:function(){return e(Q(R))};return R.focus.filter(r)}},first:function(h){const C=d(h);return Q=>Pb(C(Q).next())},flt:function(h){const C=ba.float.fromString(h.val);return()=>Pb(C)},fn:function(h){const C=ke[h.name];C||b(h.name+ +"()",h);const Q=(h.C||[]).map(p);return r=>{const O=Q.map(R=>R(r));return C(O,r,h)}},fnCoercer:function(h){const C=d(h),Q=ec(h.to),r=Q.U,O={alphaTree:Q.$()};return R=>C(R).mapOneToOne(function(ea){if(!(ea instanceof ad.XdmFunction||ea instanceof $c||ea instanceof cc)){var ua=n(h.diag);throw new G("Required item type of "+ua.required+" is "+Q.toString()+"; supplied value is "+sa.showValue(ea),ua.code,h);}if((r instanceof dd?r.j:[]).length!==(ea instanceof ad.XdmFunction?ea.arity:1))throw ua=n(h.diag), +new G("Required item type of "+ua.required+" is "+Q.toString()+"; supplied value is "+sa.showValue(ea),ua.code,h);return new ad.Ag(O,ea)})},fnRef:function(h){let C=h.name;C=/^Q{/.test(C)?ba.QName.fromEQName(C):ba.QName.fromParts("",Zb.Oa,C);const Q=parseInt(h.arity,10),r=Jd.find("SaxonJS").XPath;return O=>{var R=O.ba(!0);R.bb=!0;if(R=r.getFnSignature(C,Q,R))return O=R.isUserFunction?new ad.Ff(R,O):C.uri===Zb.mc?new ad.Bf(R,C,h):new ad.He(R,C,Q,h,O),Pb(O);throw new G("Reference to an unknown function and/or arity "+ +C.toEQName()+"#"+Q,"XPST0017",h);}},follows:function(h){const C=f(h,function(Q,r){return ba.boolean.fromBoolean(0Pb(C(Q))},"for":function(h){const C=parseInt(h.slot,10),Q=d(h),r=q(h);return O=>Q(O).mapOneToMany(function(R){O.oa[C]=[R];return r(O)})},forEach:function(h){const C=d(h),Q=q(h);return u(h,"separator")?N(h):r=>{const O=r.ba(!1);O.focus=Sb(C(r));O.ab=null;return O.focus.mapOneToMany(function(){return Q(O)})}},forEachGroup:N,fork:c,functionCall:function(h){b(h.name+ +"()",h)},gc:y,gc10:function(h){let C=d(h),Q=q(h);return r=>{let O=C(r).expand(),R=Q(r).expand();1===O.length&&ba.boolean.matches(O[0])?R=[ba.boolean.fromBoolean(e(Kb(R)))]:1===R.length&&ba.boolean.matches(R[0])?O=[ba.boolean.fromBoolean(e(Kb(O)))]:(O=g(O),R=g(R));r=Hd.he(h.comp,r);const ea=h.op;"="!==ea&&"!="!==ea?(O=Kb(O).mapOneToOne(La.XS.numeric.Od).expand(),R=Kb(R).mapOneToOne(La.XS.numeric.Od).expand()):r=Hd.Ki(r);return Hd.gc(Kb(O),R,ea,r,h,!0)}},gcEE:y,gVarRef:function(h){return C=>{const Q= +E(h,C),r=Q.actor,O=r.name;if(Q.value===a)throw C=new G("Circularity in global variable "+O,"XTDE0640"),C.Le=!0,C;if(null===Q.value||"undefined"===typeof Q.value){if("globalParam"===r.N){var R=C.fixed.options.Sh,ea=La.XS.QName.fromEQName(O);if(R.containsKey(ea))R=R.get(ea),sa.assert(Array.isArray(R)),ea=ec(r.as||"*"),R=z(R,ea,()=>"stylesheet parameter "+O),sa.assert(Array.isArray(R)),Q.value=R;else{if(P(r,"r"))throw new G("Parameter "+O+" is required","XTDE0050",r);if(P(r,"i"))throw new G("Parameter "+ +O+" cannot be empty","XTDE0700",r);r.C||(Q.value=[])}}if(null===Q.value||"undefined"===typeof Q.value){R=!r.parentNode.parentNode.parentNode;ea=C.ba(!0);ea.qa="variable";ea.ub.push(null);ea.gb={};ea.ab=null;ea.sa=Q;ea.focus=R?Rb(C.fixed.jd):null;try{const ua=d(r);Q.value=a;Q.value=ua(ea).expand()}catch(ua){throw ua instanceof G&&(Q.value=[],ba.QName.fromEQName(O).uri!==Zb.wb+"generated-variable"&&(ua.Le=!0)),ua;}ea.ub.pop()}}return Kb(Q.value)}},homCheck:function(h){const C=d(h);return Q=>{Q=Fb(C(Q)); +const r=Q.ua();if(null===r)return Ob;const O=T.X(r);Q=Q.filter(function(R){if(T.X(R)!==O)throw new G("Cannot mix nodes and atomic values in the result of a path expression","XPTY0018",h);return!0});return O?T.kd(Q):Q}},ifCall:function(h){const C=ba.QName.fromEQName(h.name);if("schedule-action"===C.local){const r=d(h),O=q(h),R=p(h.C[3]);return ea=>{var ua=4===h.C.length;if(4h.C.length||"empty"===h.C[2].N?Na=Wa=J=null:(Na=h.C[2],"bSlot"in Na?(Wa=E(Na,ea,"template"),J=Wa.actor):Wa=J=null);ee(ea)||(Ua.focus=Sb(Pb(ed(ea))),Ua.focus.next());Ua.Bb=null;Ua.sa=Wa;Ua.qa=!1;null===Pa&&null!==J&&ma(J,Ua);null!=Na&&t(Na,ea,Ua);let X,ja;null===J?(X=null,ja=function(){}):(X=d(J),ja=function(){X(Ua).expand()});if(null!==Pa)ua=qa.lj(Pa,function(da){Ua.focus= +Sb(Pb(da[0]));Ua.focus.next();null!==J&&(ma(J,Ua),ja())},Ba,ea.fixed.Ta);else if(null!==Fa)Fa=Fa.toString().split(" "),Pa=Fa.map(function(da){return qa.Fb(da,cd.Ia(h,ea))}),qa.Kb()?(ua=qa.hi(Pa,ea.fixed.vd,ja,Ba,ea.fixed.Ta),ua=1===Fa.length?ua[Pa[0]]:ua):(Ba=Pa.map(da=>Jd.find("SaxonJS").getResource({location:da,type:"text"}).then(ta=>{try{return ea.fixed.vd[da]=ta,ja(),Promise.resolve(null)}catch(Ca){return ta=Promise.reject(Ca),ea.fixed.Bj.push(ta),ta}})),Ba=Promise.all(Ba),ea.fixed.zd.push(Ba)); +else if(0!==Ba)if(qa.Kb())setTimeout(ja,Ba);else throw new G("ixsl:schedule-action/@wait is not supported on Node.js","SXJS0002");return ua?Pb(ua):Ob}}const Q=(h.C||[]).map(p);return r=>{const O=Q.map(R=>R(r));return va(C.uri,C.local,O,r,h)}},indexedFilter2:function(h){const C=p(u(h,"base")),Q=p(u(h,"use")),r=p(u(h,"search"));return O=>{const R=Hd.he(h.comp,O),ea=O.ba(!1);ea.focus=Sb(C(O));const ua=r(O).expand();return ea.focus.filter(function(){const Ba=Q(ea);return Hd.gc(Ba,ua,"=",R,h).next().toBoolean()})}}, +inlineFn:function(h){const C={sig:h.sType,alphaTree:rb(h.sType)};return Q=>Pb(new ad.ai(C,h,Q))},instance:function(h){const C=d(h),Q=ec(h.of);return r=>{r=C(r).expand();return Xb(Q.matches(r))}},"int":function(h){const C=ba.integer.fromString(h.val);return()=>Pb(C)},intersect:function(h){const C=d(h),Q=q(h);return r=>new Gb(C(r),Q(r),T.rb)},intRangeTest:function(h){const C=d(h);h=h.C;const Q=p(h[1]),r=p(h[2]);return O=>{const R=Q(O).next(),ea=r(O).next();if(!R||!ea)return Xb(!1);const ua=R.toNumber(), +Ba=ea.toNumber();O=C(O).some(function(Fa){Fa=Fa.value;return Fa>=ua&&Fa<=Ba});return Xb(O)}},is:function(h){const C=f(h,function(Q,r){return ba.boolean.fromBoolean(T.isSameNode(Q,r))});return Q=>Pb(C(Q))},isLast:function(h){const C="1"===h.test;return Q=>Xb(Q.focus.position===Q.focus.last()===C)},iterate:N,javaCall:function(h){const C=ba.QName.fromEQName(h.name),Q=(h.C||[]).map(p);return r=>{const O=Q.map(R=>R(r));return va(C.uri,C.local,O,r,h)}},lastOf:function(h){const C=d(h);return Q=>{const r= +Fb(C(Q));return r.filter(function(){return null===r.ua()})}},let:function(h){const C=d(h),Q=q(h),r=parseInt(h.slot,10);return O=>{const R=O.qa;O.qa="variable";const ea=C(O).expand();O.qa=R;O.oa[r]=ea;return Q(O)}},literal:c,lookup:function(h){const C=d(h),Q=q(h);return r=>{function O(Na){Ba=Ba.concat(Fa[Na.toString()])}function R(Na){Ba=Ba.concat(Fa.get(Na))}function ea(Na){return function(Wa){if(!ba.integer.matches(Wa))throw new G("Array lookup key must be of type xs:integer; supplied value is "+ +sa.showValue(Wa),"XPTY0004",h);Wa=Wa.toNumber();if(1>Wa||Wa>Na.length)throw new G("Array index ("+Wa+") out of bounds (1 to "+Na.length+")","FOAY0001",h);Ba=Ba.concat(Na[Wa-1])}}const ua=C(r);let Ba=[],Fa;r=Q(r).expand();const Pa=h.tuple;if(null!=Pa){const Na=Pa.split(/\s+/);for(var Ua of r)if(-1===Na.indexOf(Ua.toString()))throw new G("Tuple lookup key must be one of "+Pa+". Supplied key is "+Ua.toString(),"XPTY0004",h);}for(;null!==(Fa=ua.next());)if(cd.isArray(Fa))Ua=ea(Fa.value),r.forEach(Ua); +else if(cd.isMap(Fa))r.forEach(R);else if(null!=Pa&&cd.vh(Fa))r.forEach(O);else throw new G("The source for a lookup operator (?) must be of type array() or map(); supplied value is "+sa.showValue(Fa),"XPTY0004",h);return Kb(Ba)}},lookupAll:function(h){const C=d(h);return Q=>{function r(ua){R=R.concat(ua)}function O(ua){R=R.concat(ea.get(ua))}Q=C(Q);let R=[],ea;for(;null!==(ea=Q.next());)if(cd.isArray(ea))ea.value.forEach(r);else if(cd.isMap(ea))ea.keys().forEach(O);else throw new G("The source for a lookup operator ('?') must be of type array() or map(); supplied value is "+ +sa.showValue(ea),"XPTY0004",h);return Kb(R)}},lookupTuple:function(h){const C=d(h),Q=h.key;return r=>{r=C(r);let O=[],R;for(;null!==(R=r.next());)if(null!=Q&&cd.vh(R))O=O.concat(R[Q]);else throw new G("The source for a lookupTuple operator (?) must be of type tuple(); supplied value is "+sa.showValue(R),"XPTY0004",h);return Kb(O)}},map:function(h){const C=(h.C||[]).map(p);return Q=>{const r=new cc;let O=null;C.forEach(function(R){if(null===O)O=R(Q).next();else{if(r.containsKey(O))throw new G("Duplicate map constructor entries for key:"+ +sa.showValue(O),"XQDY0137",h);R=R(Q).expand();r.inSituPut(O,R);O=null}});return Pb(r)}},merge:function(h){return C=>le.mj(h,C)},mergeAdj:function(h){const C=d(h);return Q=>{const r=[],O=C(Q);let R=!1,ea;for(;null!==(ea=O.next());){var ua=T.X(ea)&&(3===ea.nodeType||4===ea.nodeType);ua&&""===ea.nodeValue||(R&&ua?(ua=T.Hc(Q.ja),r.push(ua.createTextNode(r.pop().nodeValue+ea.nodeValue))):(R=ua,r.push(ea)))}return Kb(r)}},message:function(h){const C=p(u(h,"terminate")),Q=p(u(h,"error"));return r=>{const O= +r.qa;r.qa="variable";var R=C(r).next();let ea=Q(r).next().toString();try{ea=ca(h,ea,!0).toEQName()}catch(Pa){ea="Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}let ua;try{ua=F(R.toString())}catch(Pa){throw new G("The terminate attribute of xsl:message must be yes|no|true|false|1|0","XTDE0030",h);}R=Vd(r);const Ba=new $d(R);try{var Fa=Zd.Gc(Ba);Fa.Ea();Zd.push(h.C[0],r,Fa);Fa.za()}catch(Pa){Ba.append(La.XS.string.fromString("xsl:message evaluation at "+sa.location(h)+" failed: "+Pa))}Fa=Kb(R.Pb).next(); +r.fixed.options.Xf||(r.fixed.options.Xf=qa.ph());try{R=ea,r.wc[R]||(r.wc[R]=0),r.wc[R]++,r.fixed.options.Xf(Fa,ea)}catch(Pa){}if(ua)throw sa.Ma(r.getStackTrace(),1,r.fixed.Ta),r=new G("Terminated with "+Fa,ea,h),r.errorObject=Fa,r;r.qa=O;return Ob}},minus:function(h){const C=d(h);return Q=>C(Q).mapOneToOne(r=>r.pf())},namespace:function(h){const C=d(h),Q=q(h);return r=>{const O=C(r).next().toString();r=Q(r).next().toString();if(""!==O&&!Ha.Mb(O))throw new G("Prefix "+O+" is not an NCName","XTDE0920", +h);if(""===r)throw new G("Namespace is zero-length","XTDE0930",h);if("xmlns"===O)throw new G("Disallowed prefix xmlns","XTDE0920",h);if("http://www.w3.org/2000/xmlns/"===r)throw new G("Disallowed namespace "+r,"XTDE0905",h);if(!D(r))throw new G("Invalid namespace "+r,"XTDE0905",h);if("xml"===O!==(r===Zb.xml))throw new G("The xml namespace prefix and uri can only be used together","XTDE0925",h);return Pb(new bc(O,r))}},nextIteration:N,nextMatch:N,nodeNum:function(h){return C=>fe.rj(h,C)},"null":function(h){return()=> +Pb(h)},numSeqFmt:function(h){return C=>fe.sj(h,C)},onEmpty:c,onNonEmpty:c,or:function(h){const C=d(h),Q=q(h);return r=>Xb(e(C(r))||e(Q(r)))},origFC:function(h){h.C||(h.C=[]);const C=h.C.map(p);return Q=>{if(!h._target){const R=h.pack,ea=ca(h,h.name,!1).toEQName(),ua=h.C.length,Ba=Q.fixed.La;Object.keys(Ba).forEach(function(Fa){Fa=Ba[Fa];Fa.Dh.name===R&&Fa.name===ea&&Fa.actor&&"function"===Fa.actor.N&&v(Fa.actor,"arg").length===ua&&(h._target=Fa.id)})}const r=Q.fixed.La[h._target],O=C.map(R=>R(Q).expand()); +return A(h,r,O,Q)}},param:function(h){const C=h.name,Q=parseInt(h.slot,10),r=P(h,"t"),O=p(u(h,"select")),R=p(u(h,"conversion"));return ea=>{var ua=r?ea.Rb:ea.Lc,Ba=La.XS.QName.fromEQName(C);if(ua.containsKey(Ba))ua=ua.get(Ba),""!==ec(h.as||"*").$().p&&(ua=U(ua));else if(O&&!P(h,"r"))Ba=ea.qa,ea.qa="xsl:param",ua=O(ea).expand(),ea.qa=Ba;else throw new G("Required parameter $"+C+" not supplied","XTDE0700",h);sa.assert(Array.isArray(ua));ea.oa[Q]=ua;if(R)try{ea.oa[Q]=R(ea).expand()}catch(Fa){throw new G("Supplied value for parameter $"+ +C+" could not be converted to required type","XTTE0590",h);}return Ob}},partialApply:function(h){const C=d(h),Q=[],r=[];let O=0;const R=h.C.length-1;for(let ea=1;ea{const ua=C(ea).next(),Ba=[];for(let Fa=0;FaT.rb(Q,r))});return Q=>Pb(C(Q))},procInst:N,qName:function(h){const C=ba.QName.fromParts(h.pre,h.uri,h.loc);return()=>Pb(C)},range:function(h){const C=ba.integer.fromString(h.from),Q=ba.integer.fromString(h.to);return()=>k(C,Q)},resultDoc:function(h){return C=>{try{if(C.qa)throw new G("Cannot call xsl:result-document while evaluating "+C.qa,"XTDE1480",h);var Q=H(h,C);const r={};let O=function(){};const R=u(h,"format");if(R){let ja=S(R,C).next().toString(); +ja=ca(h,ja,!0).toEQName();const da=Q.ng[ja];if(!da)throw new G("Unknown xsl:output format "+ja,"XTDE1460");let ta,Ca;for(const Ka of da.C){let Qa=Ka.name;"parameter-document"===Qa?ta=Ka.value:"Q{http://saxon.sf.net/}parameter-document-base-uri"===Qa?Ca=Ka.value:r[Qa]="use-character-maps"===Qa?ge.yf(Qa,Ka.value,Q):ge.zf(Qa,Ka.value)}if(ta){const Ka=qa.Fb(ta,Ca);let Qa=Nd.Ec(Ka,C);ge.parseParamDoc(Qa.documentElement,r)}}l(h.global,r,Q);l(h.local,r,Q);for(const ja of h.C){let da=ja.role.replace(/^Q{\}/, +"");if(!["href","format","content","parameter-document"].includes(da)){"output-version"===da&&(da="version");let ta=S(ja,C).next().toString();ta="use-character-maps"===da?ge.yf(da,ta,Q):ge.zf(da,ta,K(h,!0));"undefined"!==typeof ta&&(r[da]=ge.qf(da,ta,r[da]))}}const ea=u(h,"Q{}parameter-document");if(null!==ea){const ja=S(ea,C).next().toString(),da=qa.Fb(ja,cd.Ia(h,C));let ta=Nd.Ec(da,C);ge.parseParamDoc(ta.documentElement,r)}const ua=C.fixed.Ib,Ba=u(h,"href"),Fa=null===Ba?"":S(Ba,C).next().toString(); +let Pa;Pa=ua?qa.newURL(Fa,ua):T.ld(Fa)?qa.newURL(Fa):Fa;const Ua=Pa.toString();if(C.fixed.Ib&&Ua===C.fixed.Ib.toString()&&1{fd(C,"XPDY0002","/",h);C=ed(C);if(!T.X(C))throw new G("Context item for '/' must be a node","XPTY0020",h);const Q=T.sc(C);if(9!==Q.nodeType&&11!==Q.nodeType)throw new G("Root node for '/' must be a document node", +"XPDY0050",h);return Pb(T.sc(C))}},sequence:c,slash:function(h){const C=d(h),Q=q(h);return r=>{const O=r.ba(!1);O.focus=Sb(C(r));return O.focus.mapOneToMany(()=>Q(O))}},some:function(h){const C=parseInt(h.slot,10),Q=d(h),r=q(h);return O=>{const R=Q(O);return Xb(R.some(function(ea){O.oa[C]=[ea];return e(r(O))}))}},sort:function(h){const C=Hd.Kj(h);return Q=>{try{return C(Q)}catch(r){if(r instanceof G&&"FOCH0002"===r.code)throw new G(r.message,"XTDE1035",h);if(r instanceof G&&"XPTY0004"===r.code)throw new G(r.message, +"XTDE1030",h);throw r;}}},sourceDoc:N,str:function(h){const C=h.val;return()=>Tb(C)},subscript:function(h){const C=d(h),Q=q(h);return r=>{var O=C(r);r=Q(r).next();if("ADI"===r.code)r=r.value;else if(r.equals(r.round(0)))r=La.XS.integer.R(r).value;else return Ob;return(O=O.lf(r))?Pb(O):Ob}},supplied:function(h){const C=parseInt(h.slot,10);return Q=>Kb(Q.oa[C])},tail:function(h){const C=parseInt(h.start,10)-1;let Q=d(h);return r=>{let O=C;return Q(r).filter(function(){return 0>=O--})}},tailCallLoop:c, +to:function(h){const C=d(h),Q=q(h);return r=>{const O=C(r).next();r=Q(r).next();return null===O||null===r||0r(O).mapOneToOne(function(R){if(Q(R))return R;const ea=n(h.diag);throw new G("Required item type of "+ea.required+" is "+C.toString()+"; supplied value is "+sa.showValue(R),ea.code,h);})},"true":function(){return()=>Xb(!0)},"try":function(h){const C=d(h),Q=v(h,"catch");Q.forEach(r=>{const O=r.errors.split(" ").map(R=> +{if("*"===R)return()=>!0;if(/^\*:/.test(R)){const ua=R.substring(2);return Ba=>Ba.local===ua}if(/}\*$/.test(R)){const ua=R.substring(2,R.length-2);return Ba=>Ba.uri===ua}const ea=ba.QName.fromEQName(R);return ua=>ua.equals(ea)});r.test=1===O.length?O[0]:R=>O.some(ea=>ea(R))});return r=>{try{return Kb(C(r).expand())}catch(O){if(O instanceof G&&!O.Le){r.$e=O;O.xsltLineNr||ra(O,h.C[0]);let R;R=O.code.match("^Q{")?ba.QName.fromEQName(O.code):ba.QName.fromParts("","http://www.w3.org/2005/xqt-errors",O.code); +for(let ea=0;ea{const r=E(h,Q,"function"),O=C.map(R=>R(Q).expand());return A(h,r,O,Q)}},ufRef:function(h){let C=h.name;C=/^[a-z]+:/.test(C)?ca(h,C,!0):/^Q\{/.test(C)?ba.QName.fromEQName(C):ba.QName.fromParts("",Zb.Oa,C);const Q=parseInt(h.arity,10),r=Jd.find("SaxonJS").XPath;return O=>{const R=r.getFnSignature(C,Q,O);if(R&& +R.isUserFunction)return O=new ad.Ff(R,O),Pb(O);sa.la("Named user function "+C+"#"+Q+" not found")}},union:function(h){const C=d(h),Q=q(h);return r=>new Eb(C(r),Q(r),T.rb)},useAS:N,valueOf:N,varRef:function(h){const C=parseInt(h.slot,10);return Q=>Kb(Q.oa[C])},vc:function(h){function C(ea){return null===ea?null:ba.untypedAtomic.matches(ea)?ba.string.R(ea):ea}const Q=h.op,r=h.onEmpty,O=d(h),R=q(h);return ea=>{const ua=O(ea),Ba=R(ea),Fa=C(ua.next()),Pa=C(Ba.next());if(null===Fa||null===Pa)return r?Xb("1"=== +r):Ob;if(null!==ua.next()||null!==Ba.next())throw new G("Value comparison only applicable to single values","XPTY0004",h);if(Fa.isNumeric()&&isNaN(Fa.value)||Pa.isNumeric()&&isNaN(Pa.value))return Xb("ne"===Q);ea=Hd.he(h.comp,ea);return["=","eq","!=","ne"].includes(Q)?Xb(Hd.Th(Q,ea.equals(Fa,Pa))):Xb(Hd.wf(Q,ea.compare(Fa,Pa)))}}};M.prototype={value:null,containsKey:function(h){return"undefined"!==typeof this.value[h]},get:function(h){return fa(this.value[h])},inSituPut:function(){throw new G("inSituPut() not allowed for JSValue", +"SXJS0005");},put:function(){throw new G("put() not allowed for JSValue","SXJS0005");},remove:function(){throw new G("remove() not allowed for JSValue","SXJS0005");},keys:function(){throw new G("keys() not allowed for JSValue","SXJS0005");},forAllPairs:function(){throw new G("forEach() not allowed for JSValue","SXJS0005");},conforms:function(){throw new G("conforms() not allowed for JSValue","SXJS0005");},showValue:function(){return"JSValue "+sa.showValue(this.value)}};W.prototype={value:null,showValue:function(){return"XDMValue "+ +sa.showValue(this.value)}};return{da:u,Ve:t,Tb:I,li:g,Ik:function(){return"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")},Tf:ma,qb:v,ti:ka,Uf:z,sb:w,me:H,ig:E,Fd:e,Sa:d,Wg:q,ib:p,escape:function(h,C){let Q="";Da(h).forEach(function(r){const O=Ea([r]);Q+=C(r,O)?encodeURIComponent(O):O});return Q},evaluate:S,rc:function(h,C){return null===h?Ob:S(h,C)},Ai:function(h, +C,Q,r){const O=ke[h.local];O||b(h.toString()+"()",r);return O(C.map(R=>Kb(R)),Q,r)},Bi:function(h,C,Q,r){return va(h.uri,h.local,C.map(O=>Kb(O)),Q,r)},flatten:Z,hg:oa,Rk:function(h){if("undefined"!==typeof h)return x(h,"module",20)+"#"+x(h,"line",10)},Db:P,Jc:la,isArray:ia,isMap:Y,Jd:V,vh:function(h){return h instanceof me},hj:F,Ef:M,fl:b,Ej:n,Aj:function(h){va=h},pl:aa,Ia:B,xd:U,tg:ca,Xd:K,Xh:function(h){return"AZ"===h.code?ba.double.R(h):h},Oj:D,Ra:fa,Hk:W}}(); // Input 40 abstractNode=Node; -HostPlatform=function(){function a(){Math.trunc=Math.trunc||function(H){return 0>H?Math.ceil(H):Math.floor(H)};Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(H,p){if(null===this||"undefined"==typeof this)throw new TypeError("Array.prototype.findIndex called on null or undefined");if("function"!==typeof H)throw new TypeError("predicate must be a function");let g=Object(this),e=g.length>>>0,k;for(let v=0;vp===H)}});String.prototype.includes||(String.prototype.includes=function(H,p){"number"!==typeof p&&(p=0);return p+H.length>this.length?!1:-1!==this.indexOf(H,p)})}let c=Resources,q;const E={name:"Browser",init:function(){a()}, -inBrowser:function(){return!0},expose:function(H,p){window[p]=H;try{module.exports=H}catch(g){}},getPromise:function(H,p,g,e){return new Promise(function(k,v){let t=new XMLHttpRequest;if(g||e)g?("text"===g?g="text/plain":"json"===g?g="application/json":"xml"===g&&(g="application/xml"),e&&(g=g+";charset="+e),t.overrideMimeType(g)):console.log("Error: cannot specify encoding without a resource type");t.open("GET",H);for(let C in p)p.hasOwnProperty(C)&&t.setRequestHeader(C,p[C]);t.onload=function(){200<= -this.status&&300>this.status?k({responseText:t.responseText,contentType:t.getResponseHeader("Content-Type")}):v(new F(t.statusText+": "+H,"SXJS0006"))};t.onerror=function(){v(new F("Document fetch failed: "+H,"SXJS0006"))};t.send(null)})},asyncGet:function(H,p,g){let e=new XMLHttpRequest;e.open("GET",H,!0);e.setRequestHeader("Accept","application/xml, text/xml;q=0.9, application/xhtml+xml;q=0.8, */*;q=0.7");0!==g&&(e.timeout=g);e.onload=function(){4===e.readyState&&(200===e.status?p({responseText:e.responseText, -contentType:e.getResponseHeader("Content-Type")}):p(new F(e.statusText+": "+H,"SXJS0006")))};e.ontimeout=function(){p(new F("Document fetch timeout: "+H,"SXJS0008"))};e.onabort=function(){p(new F("Document fetch aborted: "+H,"SXJS0008"))};e.onerror=function(){p(new F("Document fetch failed: "+H,"SXJS0006"))};e.send(null);return e},addDoc:function(H,p,g,e,k){function v(t){sa.Ma("Add to response pool "+H,2,k);g[H]=t;p(g)}if(!g[H]||g[H]instanceof F)return E.asyncGet(H,v,e);sa.Ma("Doc already in pool "+ -H,2,k);p(g);return null},addMultipleDocs:function(H,p,g,e,k){function v(m){0>=--t&&g(m)}let t=H.length,C={};for(let m=0;mt.responseText)}return p.catch(e=>Promise.reject(new F("Failed to read "+g+"("+e.message+")","SXJS0006"))).then(e=>{65279===e.codePointAt(0)&&(e=e.substring(1));return Promise.resolve(e)})},resolveUri:function(H,p){try{return(p&&null!==p&&""!==p?H&&""!==H?new URL(H,p):new URL(p):new URL(H)).toString()}catch(g){throw new F("Failed URI resolution: href="+H+" base="+p+" -- "+g,"FODC0005");}},baseURL:function(){return window.document.baseURI},getDefaultDeliverMessage:function(){return function(H){let p= -"";cd.Sb(H).expand().forEach(function(g){p+=(""===p?"":" ")+g.toString()});console.log("xsl:message: "+p)}},isHTMLElement:function(H){return"http://www.w3.org/1999/xhtml"===H.namespaceURI},saxonPrint:function(H){console.log(H)},createDocument:function(){return document.implementation.createDocument("","",null)},setDocURI:function(H,p){H._saxonBaseUri=p;return H},newURL:function(H,p=null){return null!==p?new URL(H,p):new URL(H)},extraProperties:{platform:"Browser"},toUTF8:function(H){return(new TextEncoder).encode(H)}, -fromUTF8:function(H){return(new TextDecoder).decode(H)},globalObject:window};return E}(); +HostPlatform=function(){function a(){Math.trunc=Math.trunc||function(I){return 0>I?Math.ceil(I):Math.floor(I)};Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(I,m){if(null===this||"undefined"==typeof this)throw new TypeError("Array.prototype.findIndex called on null or undefined");if("function"!==typeof I)throw new TypeError("predicate must be a function");let g=Object(this),e=g.length>>>0,k;for(let v=0;vm===I)}});String.prototype.includes||(String.prototype.includes=function(I,m){"number"!==typeof m&&(m=0);return m+I.length>this.length?!1:-1!==this.indexOf(I,m)})}let c=Resources,n;const F={name:"Browser",init:function(){a()}, +inBrowser:function(){return!0},expose:function(I,m){window[m]=I;try{module.exports=I}catch(g){}},getPromise:function(I,m,g,e){return new Promise(function(k,v){let t=new XMLHttpRequest;if(g||e)g?("text"===g?g="text/plain":"json"===g?g="application/json":"xml"===g&&(g="application/xml"),e&&(g=g+";charset="+e),t.overrideMimeType(g)):console.log("Error: cannot specify encoding without a resource type");t.open("GET",I);for(let D in m)m.hasOwnProperty(D)&&t.setRequestHeader(D,m[D]);t.onload=function(){200<= +this.status&&300>this.status?k({responseText:t.responseText,contentType:t.getResponseHeader("Content-Type")}):v(new G(t.statusText+": "+I,"SXJS0006"))};t.onerror=function(){v(new G("Document fetch failed: "+I,"SXJS0006"))};t.send(null)})},asyncGet:function(I,m,g){let e=new XMLHttpRequest;e.open("GET",I,!0);e.setRequestHeader("Accept","application/xml, text/xml;q=0.9, application/xhtml+xml;q=0.8, */*;q=0.7");0!==g&&(e.timeout=g);e.onload=function(){4===e.readyState&&(200===e.status?m({responseText:e.responseText, +contentType:e.getResponseHeader("Content-Type")}):m(new G(e.statusText+": "+I,"SXJS0006")))};e.ontimeout=function(){m(new G("Document fetch timeout: "+I,"SXJS0008"))};e.onabort=function(){m(new G("Document fetch aborted: "+I,"SXJS0008"))};e.onerror=function(){m(new G("Document fetch failed: "+I,"SXJS0006"))};e.send(null);return e},addDoc:function(I,m,g,e,k){function v(t){sa.Ma("Add to response pool "+I,2,k);g[I]=t;m(g)}if(!g[I]||g[I]instanceof G)return F.asyncGet(I,v,e);sa.Ma("Doc already in pool "+ +I,2,k);m(g);return null},addMultipleDocs:function(I,m,g,e,k){function v(l){0>=--t&&g(l)}let t=I.length,D={};for(let l=0;lt.responseText)}return m.catch(e=>Promise.reject(new G("Failed to read "+g+"("+e.message+")","SXJS0006"))).then(e=>{65279===e.codePointAt(0)&&(e=e.substring(1));return Promise.resolve(e)})},resolveUri:function(I,m){try{return(m&&null!==m&&""!==m?I&&""!==I?new URL(I,m):new URL(m):new URL(I)).toString()}catch(g){throw new G("Failed URI resolution: href="+I+" base="+m+" -- "+g,"FODC0005");}},baseURL:function(){return window.document.baseURI},getDefaultDeliverMessage:function(){return function(I){let m= +"";cd.Tb(I).expand().forEach(function(g){m+=(""===m?"":" ")+g.toString()});console.log("xsl:message: "+m)}},isHTMLElement:function(I){return"http://www.w3.org/1999/xhtml"===I.namespaceURI},saxonPrint:function(I){console.log(I)},createDocument:function(){return document.implementation.createDocument("","",null)},setDocURI:function(I,m){I._saxonBaseUri=m;return I},newURL:function(I,m=null){return null!==m?new URL(I,m):new URL(I)},extraProperties:{platform:"Browser"},toUTF8:function(I){return(new TextEncoder).encode(I)}, +fromUTF8:function(I){return(new TextDecoder).decode(I)},globalObject:window};return F}(); // Input 41 // Input 42 -function ed(a){return ee(a)?null:a.focus.current}function fd(a,c,q,E=null){if(ee(a))throw new F("Focus for "+q+" is absent",c,E);}function gd(a){a.ad=null;a.bd=null;a.Bb=null}function ee(a){return!a.focus||!a.focus.current} -class ne{constructor(){this.depth=0;this.masterDocument=this.j=this.ja=this.sa=this.focus=null;this.qa=!1;this.ub=[];this.fixed={yd:null,zd:[],Ta:null};this.Kc=new cc;this.Qb=new cc;this.ab=null;this.gb={};this.Bb=this.bd=this.ad=this.ie=this.$e=null;this.Mb=[];this.Ge=null;this.oa=[];this.uc={};this.g=null}toString(){let a="{";this.Kc.forAllPairs(c=>a+=c.k+":("+c.v+"),");a+="}";return"context: "+ed(this)+" localParams: "+a}ba(a){const c=new ne;c.depth=this.depth+1;c.focus=this.focus;c.sa=this.sa; -c.ja=this.ja;c.masterDocument=this.masterDocument;c.gb=this.gb;c.ab=this.ab;c.$e=this.$e;c.ad=this.ad;c.Mb=this.Mb;c.bd=this.bd;c.fixed=this.fixed;c.qa=this.qa;c.ub=this.ub;c.ie=this.ie;c.Ge=this.Ge;c.uc=this.uc;c.g=this;a?(c.Kc=new cc,c.Qb=new cc,c.oa=[],c.Bb=null):(c.Kc=this.Kc,c.Qb=this.Qb,c.oa=this.oa,c.Bb=this.Bb);return c}createElement(a,c){const q=ac.Gc(this.ja),E=q.documentElement;""===a&&E&&pa.Zb(E)?c=q.createElement(c):"http://www.w3.org/1999/xhtml"===a&&E&&pa.Zb(E)?(a=c.indexOf(":"),c= -q.createElement(-1===a?c:c.substring(a+1))):c=q.createElementNS(a,c);return c}getStackTrace(){let a="";ee(this)||(a=" Processing "+sa.showValue(this.focus.current)+"\n");try{let c=this.sa.actor,q;"mode"===c.N?(q="template rule",c=this.ab.action):q=c.N+" "+c.name;a+=" at "+q+" in "+cd.hg(c,"module")+"#"+cd.hg(c,"line")}catch(c){a=""}this.g&&(a+="\n"+this.g.getStackTrace());return a}}; +function ed(a){return ee(a)?null:a.focus.current}function fd(a,c,n,F=null){if(ee(a))throw new G("Focus for "+n+" is absent",c,F);}function gd(a){a.bd=null;a.cd=null;a.Bb=null}function ee(a){return!a.focus||!a.focus.current} +class ne{constructor(){this.depth=0;this.masterDocument=this.j=this.ja=this.sa=this.focus=null;this.qa=!1;this.ub=[];this.fixed={yd:null,zd:[],Ta:null};this.Lc=new cc;this.Rb=new cc;this.ab=null;this.gb={};this.Bb=this.cd=this.bd=this.je=this.$e=null;this.Nb=[];this.Ge=null;this.oa=[];this.wc={};this.g=null}toString(){let a="{";this.Lc.forAllPairs(c=>a+=c.k+":("+c.v+"),");a+="}";return"context: "+ed(this)+" localParams: "+a}ba(a){const c=new ne;c.depth=this.depth+1;c.focus=this.focus;c.sa=this.sa; +c.ja=this.ja;c.masterDocument=this.masterDocument;c.gb=this.gb;c.ab=this.ab;c.$e=this.$e;c.bd=this.bd;c.Nb=this.Nb;c.cd=this.cd;c.fixed=this.fixed;c.qa=this.qa;c.ub=this.ub;c.je=this.je;c.Ge=this.Ge;c.wc=this.wc;c.g=this;a?(c.Lc=new cc,c.Rb=new cc,c.oa=[],c.Bb=null):(c.Lc=this.Lc,c.Rb=this.Rb,c.oa=this.oa,c.Bb=this.Bb);return c}createElement(a,c){const n=ac.Hc(this.ja),F=n.documentElement;""===a&&F&&qa.$b(F)?c=n.createElement(c):"http://www.w3.org/1999/xhtml"===a&&F&&qa.$b(F)?(a=c.indexOf(":"),c= +n.createElement(-1===a?c:c.substring(a+1))):c=n.createElementNS(a,c);return c}getStackTrace(){let a="";ee(this)||(a=" Processing "+sa.showValue(this.focus.current)+"\n");try{let c=this.sa.actor,n;"mode"===c.N?(n="template rule",c=this.ab.action):n=c.N+" "+c.name;a+=" at "+n+" in "+cd.hg(c,"module")+"#"+cd.hg(c,"line")}catch(c){a=""}this.g&&(a+="\n"+this.g.getStackTrace());return a}}; // Input 43 var oe={},pe={};oe[0]="";oe[1]="|";oe[2]="/";oe[3]="@";oe[48]="~";oe[4]="[";oe[5]="(";oe[6]="=";oe[7]=",";oe[8]="//";oe[9]="or";oe[10]="and";oe[11]=">";oe[12]="<";oe[13]=">=";oe[14]="<=";oe[15]="+";oe[16]="-";oe[299]="-";oe[17]="*";oe[18]="div";oe[19]="mod";oe[20]="is";oe[21]="$";oe[22]="!=";oe[40]="!";oe[30]="||";oe[23]="intersect";oe[24]="except";oe[25]="return";oe[26]="then";oe[27]="else";oe[29]="to";oe[31]="in";oe[32]="some";oe[33]="every";oe[34]="satisfies";oe[35]="(";oe[36]=""; oe[37]="if(";oe[38]="<<";oe[39]=">>";oe[41]="::";oe[42]=":*";oe[44]="#";oe[45]="instance of";oe[46]="cast as";oe[47]="treat as";oe[50]="eq";oe[51]="ne";oe[52]="gt";oe[54]="ge";oe[53]="lt";oe[55]="le";oe[56]="idiv";oe[57]="castable as";oe[58]=":=";oe[71]="as";oe[75]=":";oe[76]="=>";oe[79]="otherwise";oe[80]="andAlso";oe[81]="orElse";oe[201]="";oe[202]="";oe[203]="]";oe[204]=")";oe[205]=".";oe[206]="..";oe[207]="*";oe[208]="";oe[209]="";oe[69]="()"; oe[211]="for";oe[70]="<*:local-name>";oe[213]="?";oe[59]="{";oe[60]=" {";oe[215]="}";oe[216]="let";oe[299]="-";function qe(a,c){pe[a]=c;oe[c]=a}qe("instance of",45);qe("cast as",46);qe("treat as",47);qe("castable as",57); // Input 44 -var re={Nk:function(){return null}};for(const a in Zb)re[a.toUpperCase()]=Zb[a];re.sk=Zb.lc;re.ci=Zb.Wc;function se(a){a=a.charCodeAt(0);return 65<=a&&90>=a||97<=a&&122>=a}var te=Ha.Lb;function ue(a){const c=a.charCodeAt(0);return se(a)||48<=c&&57>=c}function ve(a,c="XPST0003"){return new F(a,c)}function we(a="Illegal Argument"){return new F(a,"XPST0003")}; +var re={Nk:function(){return null}};for(const a in Zb)re[a.toUpperCase()]=Zb[a];re.sk=Zb.mc;re.ci=Zb.Xc;function se(a){a=a.charCodeAt(0);return 65<=a&&90>=a||97<=a&&122>=a}var te=Ha.Mb;function ue(a){const c=a.charCodeAt(0);return se(a)||48<=c&&57>=c}function ve(a,c="XPST0003"){return new G(a,c)}function we(a="Illegal Argument"){return new G(a,"XPST0003")}; // Input 45 function xe(a,c){a.xa=c;0===c?(a.V=-1,a.ta="",a.J=-1):c===ye&&(a.V=204,a.ta=")",a.J=204)} function ze(a){a.V=a.j;a.ta=a.K;a.K=null;for(a.aa=a.g;;){if(a.g>=a.I){a.j=0;break}var c=a.B.charAt(a.g++);switch(c){case "/":if(a.g"===a.B.charAt(a.g)){a.g++;a.j=76;return}a.j=6;return;case "!":if(a.g":if(a.g"===a.B.charAt(a.g)){a.g++;a.j=39;return}a.j=11;return;case ".":if(a.ga.B.charAt(a.g)||"9"=c||127=a.I)break;c=a.B.charAt(a.g++)}a.K=a.B.substring(a.aa,a.g);a.j=209;return;case '"':case "'":for(a.K="";;){a.g=a.B.indexOf(c,a.g);if(0>a.g)throw a.g=a.aa+1,new ve("Unmatched quote in expression");a.K+=a.B.substring(a.aa+1,a.g++); -if(a.gc.charCodeAt(0)&&!se(c))throw new ve("Invalid character '"+c+"' in expression");case "_":q=!1;a:for(;a.gc.charCodeAt(0)&&!ue(c))break a}a.K=a.B.substring(a.aa,a.g);a.j=201;return}}} +a.j=13;return}if(a.g"===a.B.charAt(a.g)){a.g++;a.j=39;return}a.j=11;return;case ".":if(a.ga.B.charAt(a.g)||"9"=c||127=a.I)break;c=a.B.charAt(a.g++)}a.K=a.B.substring(a.aa,a.g);a.j=209;return;case '"':case "'":for(a.K="";;){a.g=a.B.indexOf(c,a.g);if(0>a.g)throw a.g=a.aa+1,new ve("Unmatched quote in expression");a.K+=a.B.substring(a.aa+1,a.g++); +if(a.gc.charCodeAt(0)&&!se(c))throw new ve("Invalid character '"+c+"' in expression");case "_":n=!1;a:for(;a.gc.charCodeAt(0)&&!ue(c))break a}a.K=a.B.substring(a.aa,a.g);a.j=201;return}}} function De(a,c){a.xa=0;a.j=0;a.K=null;a.aa=0;a.g=0;a.B=c;a.lineNumber=0;a.Ca=0;a.I=c.length;ze(a);a.next()}function Ce(a){a={or:9,is:20,to:29,"in":31,eq:50,ne:51,le:55,lt:53,gt:52,ge:54,as:71,and:10,div:18,mod:19,idiv:56,then:26,"else":27,"case":67,where:28,union:1,except:24,"return":25,otherwise:79,orElse:81,"default":212,andAlso:80,intersect:23,satisfies:34}[a];return[81,80].includes(a)?-1:a||-1}function Ae(a,c=-1){a.lineNumber++;a.Ca++;null===a.ra&&(a.ra=[]);a.ra.push(-1===c?a.g-1:c)} -function Be(a,c=null){var q=c?c:a.g;return" at line:"+Ee(a,c)+" col:"+Fe(a,c)+" near '"+a.B.slice(5>q?0:q-5,q+5)+"'"}function Ge(a){a.g>a.I&&(a.g=a.I);return 34>a.g?a.B.substring(0,a.g):Ha.collapse("..."+a.B.substring(a.g-30,a.g)).toString()}function He(a,c){if(null===a.ra)return c;for(var q=a.ra.length-1;0<=q;q--){var E=a.ra[q];if(c>E)return q+1<<16|c-E}return c}function Ee(a,c=null){return c?He(a,c)>>16:a.lineNumber}function Fe(a,c=null){return He(a,c?c:a.je)&32767} -class Ie{constructor(){this.J=this.xa=0;this.T=null;this.j=this.je=0;this.K=null;this.aa=0;this.B=null;this.I=this.g=0;this.Ca=this.lineNumber=1;this.ra=null;this.V=-1;this.ta=""}next(){this.V=this.J;this.ta=this.T;this.J=this.j;this.T=this.K;null===this.T&&(this.T="");this.je=this.aa;this.lineNumber=this.Ca;switch(this.J){case 201:var a=Ce(this.T);-1===a||150>=this.V||213===this.V||(this.J=a);break;case 207:150>=this.V||213===this.V||(this.J=17)}if(215!==this.J&&(a=this.V,ze(this),201===this.J&& +function Be(a,c=null){var n=c?c:a.g;return" at line:"+Ee(a,c)+" col:"+Fe(a,c)+" near '"+a.B.slice(5>n?0:n-5,n+5)+"'"}function Ge(a){a.g>a.I&&(a.g=a.I);return 34>a.g?a.B.substring(0,a.g):Ha.collapse("..."+a.B.substring(a.g-30,a.g)).toString()}function He(a,c){if(null===a.ra)return c;for(var n=a.ra.length-1;0<=n;n--){var F=a.ra[n];if(c>F)return n+1<<16|c-F}return c}function Ee(a,c=null){return c?He(a,c)>>16:a.lineNumber}function Fe(a,c=null){return He(a,c?c:a.ke)&32767} +class Ie{constructor(){this.J=this.xa=0;this.T=null;this.j=this.ke=0;this.K=null;this.aa=0;this.B=null;this.I=this.g=0;this.Ca=this.lineNumber=1;this.ra=null;this.V=-1;this.ta=""}next(){this.V=this.J;this.ta=this.T;this.J=this.j;this.T=this.K;null===this.T&&(this.T="");this.ke=this.aa;this.lineNumber=this.Ca;switch(this.J){case 201:var a=Ce(this.T);-1===a||150>=this.V||213===this.V||(this.J=a);break;case 207:150>=this.V||213===this.V||(this.J=17)}if(215!==this.J&&(a=this.V,ze(this),201===this.J&& this.xa!==Je&&21!==a))switch(this.j){case 5:var c=Ce(this.T);-1===c||150>=a?(this.J=this.gg(this.T),ze(this)):this.J=c;break;case 59:this.xa!==Ke&&(this.J=60,ze(this));break;case 41:ze(this);this.J=36;break;case 44:ze(this);this.J=43;break;case 42:ze(this);this.J=208;break;case 21:"for"===this.T?this.J=211:"some"===this.T?this.J=32:"every"===this.T?this.J=33:"let"===this.T&&(this.J=216);break;case 201:a=this.T+" "+this.K,c=pe[a],null!=c&&(this.J=c,this.T=a,ze(this))}}gg(a){const c={"if":37,array:69, attribute:69,comment:69,"document-node":69,element:69,"empty-sequence":69,"function":69,map:69,item:69,"namespace-node":69,node:69,"processing-instruction":69,"schema-attribute":69,"schema-element":69,"switch":69,otherwise:79,text:69,tuple:69,typeswitch:69,union:69}[a];return c?["tuple","union"].includes(a)?35:c:35}}var Je=1,Ke=2,ye=3; // Input 46 var Le=[!1,!1,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!0,!1];function Me(a){return"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")[a]}var Ne=[1,1,2,1,1,1,1,1,13,1,1,1,1,1],Oe=[4,5,9,9,0,1,10,11,9,3,6,7,12]; function Pe(a){switch(a){case "self":return 12;case "child":return 3;case "parent":return 9;case "ancestor":return 0;case "attribute":return 2;case "following":return 6;case "namespace":return 8;case "preceding":return 10;case "descendant":return 4;case "ancestor-or-self":return 1;case "following-sibling":return 7;case "preceding-sibling":return 11;case "descendant-or-self":return 5}throw new ve("Unknown axis name: "+a);}; // Input 47 -function Qe(a,c,q,E="XPTY0004"){this.kind=a;this.j=c;this.g=q;this.errorCode=E}Qe.prototype={Id:function(){return this.errorCode},save:function(){let a=this.kind+"|"+this.g+"|";a+=("XPTY0004"===this.errorCode?"":this.errorCode)+"|";return a+=this.j}}; +function Qe(a,c,n,F="XPTY0004"){this.kind=a;this.j=c;this.g=n;this.errorCode=F}Qe.prototype={Id:function(){return this.errorCode},save:function(){let a=this.kind+"|"+this.g+"|";a+=("XPTY0004"===this.errorCode?"":this.errorCode)+"|";return a+=this.j}}; // Input 48 -function Re(a,c,q={}){a.start(c,q);c.end()}class Se{constructor(){this.l=dc.Aa}start(a,c={}){a.start(this.O,c);this.role&&a.ud("role",this.role);this.ag&&a.ud("sType",this.l.ha())}$b(){return!Zc(this.l.fa)}G(a){Re(this,a)}}oa=Se.prototype;oa.O="Expression";oa.kind=null;oa.role=null;oa.ag=null;oa.Da=function(a,c="XPTY0004"){return new Qe(this.kind,this.O,a,c)};oa.Ga=function(){throw new ve(sa.Ij(this)+" is not a valid pattern","XTSE0340");};oa.Gd=function(){return this}; -class Te extends Se{constructor(a,c,q){super();this.Va=c;this.ea=a;this.ga=q;if(this.ea.Wa||this.ga.Wa)this.Wa=!0;this.ea.Kb&&this.ga.Kb&&(this.Kb=!0)}G(a){super.start(a,this.Va?{op:oe[this.Va]}:{});this.ea.G(a);this.ga.G(a);a.end()}}Te.prototype.kind=1;class Ue extends Se{constructor(a){super();this.g=a;this.g.Wa&&(this.Wa=!0);this.g.Kb&&(this.Kb=!0)}G(a){super.start(a);this.g.G(a);a.end()}}Ue.prototype.kind=9; +function Re(a,c,n={}){a.start(c,n);c.end()}class Se{constructor(){this.l=dc.Aa}start(a,c={}){a.start(this.O,c);this.role&&a.ud("role",this.role);this.ag&&a.ud("sType",this.l.ha())}ac(){return!Zc(this.l.fa)}G(a){Re(this,a)}}na=Se.prototype;na.O="Expression";na.kind=null;na.role=null;na.ag=null;na.Da=function(a,c="XPTY0004"){return new Qe(this.kind,this.O,a,c)};na.Ga=function(){throw new ve(sa.Ij(this)+" is not a valid pattern","XTSE0340");};na.Gd=function(){return this}; +class Te extends Se{constructor(a,c,n){super();this.Va=c;this.ea=a;this.ga=n;if(this.ea.Wa||this.ga.Wa)this.Wa=!0;this.ea.Lb&&this.ga.Lb&&(this.Lb=!0)}G(a){super.start(a,this.Va?{op:oe[this.Va]}:{});this.ea.G(a);this.ga.G(a);a.end()}}Te.prototype.kind=1;class Ue extends Se{constructor(a){super();this.g=a;this.g.Wa&&(this.Wa=!0);this.g.Lb&&(this.Lb=!0)}G(a){super.start(a);this.g.G(a);a.end()}}Ue.prototype.kind=9; // Input 49 -class Ve extends Se{constructor(){super();this.l=dc.mc}Ga(){return this}G(a){Re(this,a)}}class We extends Ve{}We.prototype.O="p.any";class Xe extends Ve{constructor(a){super();this.message=a;this.role="match";this.l=dc.mc}G(a){Re(this,a,{message:this.message})}}Xe.prototype.O="p.warning";class Ye extends Ve{constructor(a){super();this.g=a;this.l=dc.mc}G(a){super.start(a);this.g.G(a);a.end()}}Ye.prototype.O="p.booleanExp"; +class Ve extends Se{constructor(){super();this.l=dc.nc}Ga(){return this}G(a){Re(this,a)}}class We extends Ve{}We.prototype.O="p.any";class Xe extends Ve{constructor(a){super();this.message=a;this.role="match";this.l=dc.nc}G(a){Re(this,a,{message:this.message})}}Xe.prototype.O="p.warning";class Ye extends Ve{constructor(a){super();this.g=a;this.l=dc.nc}G(a){super.start(a);this.g.G(a);a.end()}}Ye.prototype.O="p.booleanExp"; class Ze extends Ve{constructor(a){super();sa.assert(a instanceof lc);this.test=a;this.l=new gc(a,2)}G(a){Re(this,a,{test:this.test.ha()})}}Ze.prototype.O="p.nodeTest";class $e extends Ve{constructor(a,c){super();this.pattern=a;this.g=c;this.l=a.l;a.code&&(this.code=a.code)}G(a){super.start(a);this.code&&a.ud("code",this.code);this.pattern.G(a);this.g.G(a);a.end()}}$e.prototype.O="p.withPredicate"; class af extends Ve{constructor(a){super();this.g=a;this.l=Vc(a.l,2)}G(a){super.start(a);this.g.G(a);a.end()}}af.prototype.O="p.nodeSet";class bf extends Ve{constructor(a){super();this.g=a;this.l=Vc(a.l,2)}G(a){super.start(a);this.g.G(a);a.end()}}bf.prototype.O="p.genNode";class cf extends Ve{constructor(a,c){super();this.g=c;this.code=a.l.ha();this.l=Vc(a.l,2)}G(a){super.start(a,{test:this.code});this.g.G(a);a.end()}}cf.prototype.O="p.genPos"; -class df extends Ve{constructor(a,c){super();this.code=a.ha();this.Od=c;this.l=Vc(a,2)}G(a){Re(this,a,{test:this.code,pos:this.Od})}}df.prototype.O="p.simPos";class ef extends Ve{constructor(a,c,q){super();this.axis=Oe[a];this.lb=c;this.g=q;this.l=c.l}G(a){super.start(a,{axis:Me(this.axis)});this.lb.G(a);this.g.G(a);a.end()}}ef.prototype.O="p.withUpper"; -class ff extends Ve{constructor(a,c,q,E){super();this.Va=c;this.ea=a;this.ga=q;this.l=Vc(E,2)}G(a){super.start(a,{op:1===this.Va?"union":oe[this.Va]});this.ea.G(a);this.ga.G(a);a.end()}}ff.prototype.O="p.venn";function gf(a){var c=[];a.ea instanceof hf?c=gf(a.ea):c.push(a.ea);a.ga instanceof hf?c=c.concat(gf(a.ga)):c.push(a.ga);return c}class hf extends ff{constructor(a,c,q){super(a,1,c,q)}} +class df extends Ve{constructor(a,c){super();this.code=a.ha();this.Qd=c;this.l=Vc(a,2)}G(a){Re(this,a,{test:this.code,pos:this.Qd})}}df.prototype.O="p.simPos";class ef extends Ve{constructor(a,c,n){super();this.axis=Oe[a];this.lb=c;this.g=n;this.l=c.l}G(a){super.start(a,{axis:Me(this.axis)});this.lb.G(a);this.g.G(a);a.end()}}ef.prototype.O="p.withUpper"; +class ff extends Ve{constructor(a,c,n,F){super();this.Va=c;this.ea=a;this.ga=n;this.l=Vc(F,2)}G(a){super.start(a,{op:1===this.Va?"union":oe[this.Va]});this.ea.G(a);this.ga.G(a);a.end()}}ff.prototype.O="p.venn";function gf(a){var c=[];a.ea instanceof hf?c=gf(a.ea):c.push(a.ea);a.ga instanceof hf?c=c.concat(gf(a.ga)):c.push(a.ga);return c}class hf extends ff{constructor(a,c,n){super(a,1,c,n)}} class jf extends Ve{constructor(a){super();this.g=a;for(var c of this.g)c.ag=!0}G(a){super.start(a);for(var c of this.g)c.G(a);a.end()}}jf.prototype.O="UnionExprP"; // Input 50 function kf(a){return a instanceof lf&&1===a.value.length&&uc.ia()(a.value[0])}function mf(a,c){return new lf(a,c)}function nf(){return new lf([],dc.Ie)} -class lf extends Se{constructor(a,c){super();Array.isArray(a)||sa.la("Literal value must be array");c instanceof gc&&c.U.ha||sa.la("Literal type must be a SequenceType");a&&(this.value=a,c&&(this.l=c));this.role=null}toString(){return this.value.toString()}G(a){function c(q,E){const H=q.code,p={};switch(H){case "AB":break;case "AQ":p.pre=q.prefix;p.uri=q.uri;p.loc=q.local;break;default:p.val=q.toString()}E&&(p.role=E);switch(H){case "AS":a.start("str",p);break;case "AO":a.start("dbl",p);break;case "AB":a.start(q.value? -"true":"false",p);break;case "AD":a.start("dec",p);break;case "ADI":a.start("int",p);break;case "AQ":a.start("qName",p);break;default:p.type=H,a.start("atomic",p)}a.end()}if(0===this.value.length)a.start("empty",this.role?{role:this.role}:{}),a.end();else if(1===this.value.length)c(this.value[0],this.role);else{let q={count:this.value.length};this.role&&(q.role=this.role);a.start("atomic",q);for(const E of this.value)c(E);a.end()}}}lf.prototype.O="literal";lf.prototype.Kb=!0; -class of extends lf{constructor(a){super([La.XS.string.fromString(a)],dc.ec);this.l=dc.ec}}; +class lf extends Se{constructor(a,c){super();Array.isArray(a)||sa.la("Literal value must be array");c instanceof gc&&c.U.ha||sa.la("Literal type must be a SequenceType");a&&(this.value=a,c&&(this.l=c));this.role=null}toString(){return this.value.toString()}G(a){function c(n,F){const I=n.code,m={};switch(I){case "AB":break;case "AQ":m.pre=n.prefix;m.uri=n.uri;m.loc=n.local;break;default:m.val=n.toString()}F&&(m.role=F);switch(I){case "AS":a.start("str",m);break;case "AO":a.start("dbl",m);break;case "AB":a.start(n.value? +"true":"false",m);break;case "AD":a.start("dec",m);break;case "ADI":a.start("int",m);break;case "AQ":a.start("qName",m);break;default:m.type=I,a.start("atomic",m)}a.end()}if(0===this.value.length)a.start("empty",this.role?{role:this.role}:{}),a.end();else if(1===this.value.length)c(this.value[0],this.role);else{let n={count:this.value.length};this.role&&(n.role=this.role);a.start("atomic",n);for(const F of this.value)c(F);a.end()}}}lf.prototype.O="literal";lf.prototype.Lb=!0; +class of extends lf{constructor(a){super([La.XS.string.fromString(a)],dc.fc);this.l=dc.fc}}; // Input 51 -function pf(a,c,q,E,H){var p=qf(a,dc.dc,a.Da(0,"XPTY0004"));p=new rf(p);if(/[lu]/.test(c))p.td={flags:c+(H?"e":""),as:q.toEQName()};else{sa.assert("a"===c);try{if(a instanceof lf&&1===a.value.length&&La.pa(a.value[0])&&"AQ"!==E.$().p){const g=E.Vc.R(a.value[0]);return new lf([g],new gc(E,2))}}catch(g){}p.td={flags:H?"ae":"a",as:E.ha()}}return p}class rf extends Ue{constructor(a){super(a);this.O="cast";this.kind=2;this.td={}}G(a){super.start(a,this.td);this.g.G(a);a.end()}} -function sf(a,c,q,E,H){var p=new tf(a);p=qf(p,dc.dc,p.Da(0,"XPTY0004"));if(/[lu]/.test(c))p.td={flags:c+(H?"e":""),as:q.toEQName()};else{sa.assert("a"===c);if(a instanceof lf&&1===a.value.length&&La.pa(a.value[0])&&"AQ"!==E.$().p)try{return E.Vc.R(a.value[0]),new lf([La.XS.boolean.Xc],dc.cb)}catch(g){return new lf([La.XS.boolean.ae],dc.cb)}p.td={flags:H?"ae":"a",as:E.ha()}}return p} -class tf extends Ue{constructor(a){super(a);this.l=dc.cb;this.O="castable";this.kind=2;this.td={}}G(a){super.start(a,this.td);this.g.G(a);a.end()}}class uf extends Ue{constructor(a,c){super(a);this.j=c;this.l=jd(a.l.U)?dc.Jg:dc.Ad}G(a){super.start(a,{diag:this.j});this.g.G(a);a.end()}}uf.prototype.O="data";class vf extends uf{constructor(a,c,q){super(a,c);this.B=q;jd(a.l.U)?this.l=q?dc.If:dc.Ig:this.l=q?dc.dc:dc.Oe}G(a){super.start(a,{diag:this.j});this.B&&a.ud("card","?");this.g.G(a);a.end()}} -vf.prototype.O="atomSing";class wf extends Se{constructor(a){super();this.name=a.U.name.toEQName();this.l=dc.If}G(a){Re(this,a,{name:this.name})}}wf.prototype.O="attVal";class xf extends Ue{constructor(a,c,q){super(a);this.code=c;this.j=q;this.l=dc.Ad}G(a){super.start(a,{to:this.code,diag:this.j});this.g.G(a);a.end()}}xf.prototype.O="cvUntyped"; -class yf extends Ue{constructor(a,c){super(a);this.type=c;this.flags="";this.l=new gc(c.U,a.l.fa)}G(a){super.start(a,{to:this.type.ha().replace(/^[01?*+]/,""),flags:this.flags});this.g.G(a);a.end()}}yf.prototype.O="convert";class zf extends Ue{constructor(a,c,q){super(a);this.type=c;this.resultType=a.resultType;this.j=q;this.l=c}G(a){super.start(a,{to:this.type.ha().replace(/^[01?*+]/,""),diag:this.j});this.g.G(a);a.end()}}zf.prototype.O="fnCoercer"; +function pf(a,c,n,F,I){var m=qf(a,dc.ec,a.Da(0,"XPTY0004"));m=new rf(m);if(/[lu]/.test(c))m.td={flags:c+(I?"e":""),as:n.toEQName()};else{sa.assert("a"===c);try{if(a instanceof lf&&1===a.value.length&&La.pa(a.value[0])&&"AQ"!==F.$().p){const g=F.Wc.R(a.value[0]);return new lf([g],new gc(F,2))}}catch(g){}m.td={flags:I?"ae":"a",as:F.ha()}}return m}class rf extends Ue{constructor(a){super(a);this.O="cast";this.kind=2;this.td={}}G(a){super.start(a,this.td);this.g.G(a);a.end()}} +function sf(a,c,n,F,I){var m=new tf(a);m=qf(m,dc.ec,m.Da(0,"XPTY0004"));if(/[lu]/.test(c))m.td={flags:c+(I?"e":""),as:n.toEQName()};else{sa.assert("a"===c);if(a instanceof lf&&1===a.value.length&&La.pa(a.value[0])&&"AQ"!==F.$().p)try{return F.Wc.R(a.value[0]),new lf([La.XS.boolean.Yc],dc.cb)}catch(g){return new lf([La.XS.boolean.be],dc.cb)}m.td={flags:I?"ae":"a",as:F.ha()}}return m} +class tf extends Ue{constructor(a){super(a);this.l=dc.cb;this.O="castable";this.kind=2;this.td={}}G(a){super.start(a,this.td);this.g.G(a);a.end()}}class uf extends Ue{constructor(a,c){super(a);this.j=c;this.l=jd(a.l.U)?dc.Kg:dc.Ad}G(a){super.start(a,{diag:this.j});this.g.G(a);a.end()}}uf.prototype.O="data";class vf extends uf{constructor(a,c,n){super(a,c);this.B=n;jd(a.l.U)?this.l=n?dc.If:dc.Jg:this.l=n?dc.ec:dc.Oe}G(a){super.start(a,{diag:this.j});this.B&&a.ud("card","?");this.g.G(a);a.end()}} +vf.prototype.O="atomSing";class wf extends Se{constructor(a){super();this.name=a.U.name.toEQName();this.l=dc.If}G(a){Re(this,a,{name:this.name})}}wf.prototype.O="attVal";class xf extends Ue{constructor(a,c,n){super(a);this.code=c;this.j=n;this.l=dc.Ad}G(a){super.start(a,{to:this.code,diag:this.j});this.g.G(a);a.end()}}xf.prototype.O="cvUntyped"; +class yf extends Ue{constructor(a,c){super(a);this.type=c;this.flags="";this.l=new gc(c.U,a.l.fa)}G(a){super.start(a,{to:this.type.ha().replace(/^[01?*+]/,""),flags:this.flags});this.g.G(a);a.end()}}yf.prototype.O="convert";class zf extends Ue{constructor(a,c,n){super(a);this.type=c;this.resultType=a.resultType;this.j=n;this.l=c}G(a){super.start(a,{to:this.type.ha().replace(/^[01?*+]/,""),diag:this.j});this.g.G(a);a.end()}}zf.prototype.O="fnCoercer"; // Input 52 const Af="array attribute comment document-node element empty-sequence function if item map namespace-node node processing-instruction schema-attribute schema-element switch text typeswitch".split(" ");class Bf{constructor(a,c){if(""===a.prefix&&Af.includes(a.local))throw new ve("The unprefixed function name '"+a.local+"' is reserved","XPST0003");this.name=a;this.arity=c}toEQName(){return this.name.toEQName()}toString(){return this.name.toEQName()+"#"+this.arity}}; // Input 53 -class Cf extends Se{constructor(a,c,q){super();const E=a.name.local;if(a.name.uri===Zb.lc){if("NOTATION"===E)throw new F("No constructor function exists for xs:NOTATION","XPST0017");const p=c[0].l;if(2===p.fa&&p.U.pa()&&p.U.Vc&&E===p.U.Vc.name)a=c[0];else if(["NMTOKENS","ENTITIES","IDREFS"].includes(E))a=pf(c[0],"l",a.name,null,!0);else{var H;"numeric"===E?H=pf(c[0],"u",a.name,null,!0):H=pf(c[0],"a",null,q.U,!0);a=H}return a}this.name=a;this.g=c;this.l=q;switch(E){case "exactly-one":this.l=Vc(c[0].l, -2);break;case "head":this.l=Vc(c[0].l,Xc(c[0].l.fa)?3:2);break;case "tail":case "subsequence":this.l=Vc(c[0].l,7);break;case "ceiling":case "floor":case "reverse":case "snapshot":this.l=c[0].l;break;case "last":case "position":this.Wa=!0;break;case "string-length":case "normalize-space":0===c.length&&this.g.push(Df("string",new Ef));break;case "fold-left":case "fold-right":this.l=c[2].resultType;break;case "for-each":this.l=Vc(c[1].l.U.ff(),7);break;case "filter":this.l=Vc(c[0].l,7);break;case "current":this.Kb= -!0;break;case "boolean":if(c[0].l.equals(dc.cb))return c[0]}}Ga(){return new af(this)}$b(){if(this.name.uri===Zb.Oa)return"doc document element-with-id id innermost key outermost".split(" ").includes(this.name.local)?!0:"filter one-or-more subsequence remove tail trace unordered zero-or-more".split(" ").includes(this.name.local)?this.g[0].$b():!1}G(a){super.start(a,{name:this.name.name.local});for(const c of this.g)c.G(a);a.end()}}Cf.prototype.O="fn"; -class Ff extends Se{constructor(a,c,q){super();this.name=a;this.g=c;this.l=q}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Ff.prototype.O="ifCall";class Gf extends Se{constructor(a,c,q){super();this.name=a;this.g=c;this.l=q;if(a="merge"===a.name.local)a=c[0],a=!(a instanceof lf&&0===a.value.length);a&&(this.l=Vc(c[0].l,2))}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Gf.prototype.O="ifCall"; -class Hf extends Se{constructor(a,c,q){super();this.name=a;this.g=c;this.l=q}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Hf.prototype.O="ifCall";class If extends Ff{}class Jf extends Se{constructor(a,c,q){super();this.name=a;this.g=c;this.l=q}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Jf.prototype.O="ifCall"; -class Kf extends Se{constructor(a,c,q){super();this.name=a;this.g=c;this.l=q}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Kf.prototype.O="ifCall";class Lf extends Kf{constructor(a,c,q){super(a,c,q);const E=new Bf(La.XS.QName.fromParts("ixsl",Zb.nd,"call"),3),H=new Bf(La.XS.QName.fromParts("ixsl",Zb.nd,"window"),0);this.name=E;this.g=[new Kf(H,[],dc.mc),new of(a.name.local),new Mf(c)];this.l=q}} -class Nf extends Se{constructor(a,c,q,E){super();this.name=a;this.g=c;this.l=q;this.j=E}G(a){super.start(a,{name:this.name.toEQName(),coId:this.j});for(const c of this.g)c.G(a);a.end()}}Nf.prototype.O="ufCall";class Of extends Se{constructor(a){super();this.name=a.name.name;this.xb=a.xb;this.arity=a.name.arity;this.l=a.l;this.resultType=a.resultType}G(a){Re(this,a,{name:this.name.toEQName(),arity:this.arity,resultType:this.resultType.ha()})}}Of.prototype.O="fnRef"; +class Cf extends Se{constructor(a,c,n){super();const F=a.name.local;if(a.name.uri===Zb.mc){if("NOTATION"===F)throw new G("No constructor function exists for xs:NOTATION","XPST0017");const m=c[0].l;if(2===m.fa&&m.U.pa()&&m.U.Wc&&F===m.U.Wc.name)a=c[0];else if(["NMTOKENS","ENTITIES","IDREFS"].includes(F))a=pf(c[0],"l",a.name,null,!0);else{var I;"numeric"===F?I=pf(c[0],"u",a.name,null,!0):I=pf(c[0],"a",null,n.U,!0);a=I}return a}this.name=a;this.g=c;this.l=n;switch(F){case "exactly-one":this.l=Vc(c[0].l, +2);break;case "head":this.l=Vc(c[0].l,Xc(c[0].l.fa)?3:2);break;case "tail":case "subsequence":this.l=Vc(c[0].l,7);break;case "ceiling":case "floor":case "reverse":case "snapshot":this.l=c[0].l;break;case "last":case "position":this.Wa=!0;break;case "string-length":case "normalize-space":0===c.length&&this.g.push(Df("string",new Ef));break;case "fold-left":case "fold-right":this.l=c[2].resultType;break;case "for-each":this.l=Vc(c[1].l.U.gf(),7);break;case "filter":this.l=Vc(c[0].l,7);break;case "current":this.Lb= +!0;break;case "boolean":if(c[0].l.equals(dc.cb))return c[0]}}Ga(){return new af(this)}ac(){if(this.name.uri===Zb.Oa)return"doc document element-with-id id innermost key outermost".split(" ").includes(this.name.local)?!0:"filter one-or-more subsequence remove tail trace unordered zero-or-more".split(" ").includes(this.name.local)?this.g[0].ac():!1}G(a){super.start(a,{name:this.name.name.local});for(const c of this.g)c.G(a);a.end()}}Cf.prototype.O="fn"; +class Ff extends Se{constructor(a,c,n){super();this.name=a;this.g=c;this.l=n}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Ff.prototype.O="ifCall";class Gf extends Se{constructor(a,c,n){super();this.name=a;this.g=c;this.l=n;if(a="merge"===a.name.local)a=c[0],a=!(a instanceof lf&&0===a.value.length);a&&(this.l=Vc(c[0].l,2))}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Gf.prototype.O="ifCall"; +class Hf extends Se{constructor(a,c,n){super();this.name=a;this.g=c;this.l=n}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Hf.prototype.O="ifCall";class If extends Ff{}class Jf extends Se{constructor(a,c,n){super();this.name=a;this.g=c;this.l=n}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Jf.prototype.O="ifCall"; +class Kf extends Se{constructor(a,c,n){super();this.name=a;this.g=c;this.l=n}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Kf.prototype.O="ifCall";class Lf extends Kf{constructor(a,c,n){super(a,c,n);const F=new Bf(La.XS.QName.fromParts("ixsl",Zb.nd,"call"),3),I=new Bf(La.XS.QName.fromParts("ixsl",Zb.nd,"window"),0);this.name=F;this.g=[new Kf(I,[],dc.nc),new of(a.name.local),new Mf(c)];this.l=n}} +class Nf extends Se{constructor(a,c,n,F){super();this.name=a;this.g=c;this.l=n;this.j=F}G(a){super.start(a,{name:this.name.toEQName(),coId:this.j});for(const c of this.g)c.G(a);a.end()}}Nf.prototype.O="ufCall";class Of extends Se{constructor(a){super();this.name=a.name.name;this.xb=a.xb;this.arity=a.name.arity;this.l=a.l;this.resultType=a.resultType}G(a){Re(this,a,{name:this.name.toEQName(),arity:this.arity,resultType:this.resultType.ha()})}}Of.prototype.O="fnRef"; class Pf extends Of{constructor(a){super(a);this.g=0}G(a){Re(this,a,{name:this.name.toEQName(),arity:this.arity,resultType:this.resultType.ha(),bSlot:this.g})}}Pf.prototype.O="ufRef";class Qf extends Se{constructor(){super();this.l=dc.Aa}G(a){Re(this,a,{asCode:"*"})}}Qf.prototype.O="null";class Rf extends Se{}Rf.prototype.g={};Rf.prototype.B={};Rf.prototype.j={}; -class Sf extends Se{constructor(){super();this.l=dc.Aa;this.slot=this.$a=this.name=this.bc=null}gd(){return this.name}toString(){return"$"+this.name+" as "+this.l.toString()}G(a){Re(this,a,{name:this.name,asCode:this.l.ha(),slot:this.slot})}}Sf.prototype.O="arg"; -class Tf extends Se{constructor(a,c,q){super();this.params=a;this.resultType=c;const E=[];a.forEach(H=>{E.push(H.l)});q=qf(q,c,this.Da("body"));this.l=kc(new dd(E,c));this.arity=a.length;this.body=q;q.role="body"}G(a){super.start(a,{arity:this.arity,name:this.name,as:this.resultType.ha()});for(const c of this.params)c.G(a);this.body.G(a);a.end()}}oa=Tf.prototype;oa.O="inlineFn";oa.kind=5; -oa.Da=function(a,c="XPTY0004"){return new Qe(this.kind,"("+this.params.map(q=>q.toString()).join(",")+")"+(this.resultType?" as "+this.resultType.toString():""),a,c)};oa.name="inline";oa.ag=!0; -class Uf extends Se{constructor(a,c,q){super();if(a.l&&a.l.U instanceof dd&&a.l.$().a.length!==c.length)throw new F("Partially-applied function requires "+a.arity+" arguments, but "+(c.length{var v=g.a[H];v=p?p:ic(v);k instanceof Qf?k.l=v:k=qf(k,v,this.Da(H));this.g.push(k);e&&(p=v);H++})}else c.forEach(g=>{this.g.push(g)});a.l.U instanceof dd&&(this.l=kc(vd(a.l.U,q)))}G(a){super.start(a);this.j.G(a);this.g.forEach(c=>{c.G(a)});a.end()}}Uf.prototype.O="partialApply";Uf.prototype.kind=5; +class Sf extends Se{constructor(){super();this.l=dc.Aa;this.slot=this.Za=this.name=this.cc=null}hd(){return this.name}toString(){return"$"+this.name+" as "+this.l.toString()}G(a){Re(this,a,{name:this.name,asCode:this.l.ha(),slot:this.slot})}}Sf.prototype.O="arg"; +class Tf extends Se{constructor(a,c,n){super();this.params=a;this.resultType=c;const F=[];a.forEach(I=>{F.push(I.l)});n=qf(n,c,this.Da("body"));this.l=kc(new dd(F,c));this.arity=a.length;this.body=n;n.role="body"}G(a){super.start(a,{arity:this.arity,name:this.name,as:this.resultType.ha()});for(const c of this.params)c.G(a);this.body.G(a);a.end()}}na=Tf.prototype;na.O="inlineFn";na.kind=5; +na.Da=function(a,c="XPTY0004"){return new Qe(this.kind,"("+this.params.map(n=>n.toString()).join(",")+")"+(this.resultType?" as "+this.resultType.toString():""),a,c)};na.name="inline";na.ag=!0; +class Uf extends Se{constructor(a,c,n){super();if(a.l&&a.l.U instanceof dd&&a.l.$().a.length!==c.length)throw new G("Partially-applied function requires "+a.arity+" arguments, but "+(c.length{var v=g.a[I];v=m?m:ic(v);k instanceof Qf?k.l=v:k=qf(k,v,this.Da(I));this.g.push(k);e&&(m=v);I++})}else c.forEach(g=>{this.g.push(g)});a.l.U instanceof dd&&(this.l=kc(vd(a.l.U,n)))}G(a){super.start(a);this.j.G(a);this.g.forEach(c=>{c.G(a)});a.end()}}Uf.prototype.O="partialApply";Uf.prototype.kind=5; class Wf extends Se{constructor(a,c){super();this.key=a;this.value=c;this.l=ec("1FM")}toString(){return"map{"+this.key.toString+" : "+this.value.toString()+"}"}G(a){super.start(a);this.key.G(a);this.value.G(a);a.end()}}Wf.prototype.O="map"; -class Xf extends Se{constructor(a){super();this.entries=a;const c=sd.Md(a.map(H=>H[0].l.U)),q=sd.Md(a.map(H=>H[1].l.U));a=a.map(H=>H[1].l.fa);let E=2;a.some(H=>Xc(H))&&(E+=1);a.some(H=>Zc(H))&&(E+=4);this.l=kc(new td(c,new gc(q,E)))}toString(){let a="map{";this.entries.forEach(c=>{a+=c[0].toString+" : "+c[1].toString()});return a+"}"}G(a){super.start(a);this.entries.forEach(c=>{c[0].G(a);c[1].G(a)});a.end()}}Xf.prototype.O="map"; +class Xf extends Se{constructor(a){super();this.entries=a;const c=sd.Md(a.map(I=>I[0].l.U)),n=sd.Md(a.map(I=>I[1].l.U));a=a.map(I=>I[1].l.fa);let F=2;a.some(I=>Xc(I))&&(F+=1);a.some(I=>Zc(I))&&(F+=4);this.l=kc(new td(c,new gc(n,F)))}toString(){let a="map{";this.entries.forEach(c=>{a+=c[0].toString+" : "+c[1].toString()});return a+"}"}G(a){super.start(a);this.entries.forEach(c=>{c[0].G(a);c[1].G(a)});a.end()}}Xf.prototype.O="map"; // Input 54 -class Yf extends Se{constructor(a,c){super();sa.assert(!c||c instanceof lc);this.axis=a;this.O="axis";c=c||qc;2===a&&c instanceof rc?c=Hc:3===a&&c instanceof rc&&(c=sc);this.g=c;9===a&&c instanceof rc?this.l=dc.ce:c?this.l=new gc(c,7):this.l=dc.be}Cb(){return this.axis}$b(){return[2,3,4,5,6,7,9,12].includes(this.axis)}Ga(){return new Ze(this.g)}G(a){Re(this,a,{name:Me(this.axis),nodeTest:this.l.ha()})}} -class Zf extends Te{constructor(a,c){super(a,2,c);this.ea=a=qf(a,dc.be,this.Da(0,"XPTY0019"));this.l=Wc(c.l,a.l.fa)}$b(){return!0}Ga(){if(this.ga instanceof Cf||this.ga instanceof lf)throw new ve("Not an axis step for a pattern","XTSE0340");return this.Wa||!this.ga.Cb||this.ga instanceof $f?new bf(this):new ef(this.ga.Cb(),this.ga.Ga(),this.ea.Ga())}G(a){super.start(a,this.Va?{op:oe[this.Va]}:{});this.ea.G(a);this.ga.G(a);a.end()}}Zf.prototype.O="slash"; -class ag extends Se{constructor(){super();this.l=dc.ce}Ga(){return new Ze(Ec)}}ag.prototype.O="root"; +class Yf extends Se{constructor(a,c){super();sa.assert(!c||c instanceof lc);this.axis=a;this.O="axis";c=c||qc;2===a&&c instanceof rc?c=Hc:3===a&&c instanceof rc&&(c=sc);this.g=c;9===a&&c instanceof rc?this.l=dc.de:c?this.l=new gc(c,7):this.l=dc.ce}Cb(){return this.axis}ac(){return[2,3,4,5,6,7,9,12].includes(this.axis)}Ga(){return new Ze(this.g)}G(a){Re(this,a,{name:Me(this.axis),nodeTest:this.l.ha()})}} +class Zf extends Te{constructor(a,c){super(a,2,c);this.ea=a=qf(a,dc.ce,this.Da(0,"XPTY0019"));this.l=Wc(c.l,a.l.fa)}ac(){return!0}Ga(){if(this.ga instanceof Cf||this.ga instanceof lf)throw new ve("Not an axis step for a pattern","XTSE0340");return this.Wa||!this.ga.Cb||this.ga instanceof $f?new bf(this):new ef(this.ga.Cb(),this.ga.Ga(),this.ea.Ga())}G(a){super.start(a,this.Va?{op:oe[this.Va]}:{});this.ea.G(a);this.ga.G(a);a.end()}}Zf.prototype.O="slash"; +class ag extends Se{constructor(){super();this.l=dc.de}Ga(){return new Ze(Ec)}}ag.prototype.O="root"; // Input 55 -const bg={ADI:"i",ADIL:"c",ADILI:"i",ADILIS:"i",ADILISB:"i",ADIN:"c",ADINN:"c",ADIP:"c",ADIPP:"c",ADIPL:"c",ADIPLI:"i",ADIPLIS:"i",ADIPLISB:"i",AD:"c",AO:"d",AF:"f",A:"a",AZ:"a",AT:"t",AA:"t",AM:"t",AMP:"t",AH:"t",AI:"t",AJ:"t",AG:"t",AK:"t",ARD:"u",ARY:"u",E:"a"};var cg={19:"%",18:"/",56:"~",15:"+",16:"-",299:"-",17:"*"};function dg(a,c){c=new xf(a,"AO",c.save());c.l=2===a.l.fa?dc.de:dc.Cg;return c} -class eg extends Te{constructor(a,c,q,E){function H(d){return d instanceof nc&&d.Vc.lb?new nc(La.yj(d.Vc)):d}function p(){throw new ve("Cannot evaluate "+k.toString()+" "+oe[c]+" "+v.toString(),"XPTY0004");}super(a,c,q);const g=E.te(),e=a.Wa||q.Wa;g&&(a=fg(a),q=fg(q));a=qf(a,dc.dc,this.Da(0));q=qf(q,dc.dc,this.Da(1));let k=H(a.l.U),v=H(q.l.U);var t=k.$().p,C=v.$().p;g||!/^AS/.test(t)&&!/^AS/.test(C)||p();"AZ"!==t||g||(a=dg(a,this.Da(0,"FORG0001")),k=Mc,t="AO");"AZ"!==C||g||(q=dg(q,this.Da(1,"FORG0001")), -v=Mc,C="AO");var m=bg[t];let f=bg[C];const A=k.isNumeric(),O=v.isNumeric();C=Sc;t=Xc(a.l.fa)||Xc(a.l.fa);m||="a";f||="a";var b;g?(m=f="d",C=Mc):A&&O&&("d"===m||"d"===f?(m=f="d",C=b=Mc):"f"===m||"f"===f?(m=f="f",C=b=Nc):"c"===m||"c"===f?(m=f="c",C=b=Pc):"i"===m&&"i"===f&&18===c?(m=f="c",C=Pc):"i"!==m||"i"!==f||15!==c&&16!==c&&17!==c&&19!==c?"i"===m&&"i"===f&&18===c&&(C=Pc):C=Qc);56===c&&(C=Qc);C.isNumeric()&&b&&(b=new gc(b,3),a=qf(a instanceof gg?a.g:a,b,this.Da(0)),q=qf(q instanceof gg?q.g:q,b,this.Da(1))); -[m,f].includes("a")&&(m=f="a");(k.pa("ARY")&&v.pa("AT")||v.pa("ARY")&&k.pa("AT"))&&p();"t"===m&&"t"===f&&(16===c?C=Rc:p());"u"===m&&"t"===f&&(15===c?C=v:p());"u"===m&&"u"===f&&(17===c&&p(),18===c?C=Pc:C=k);A&&"u"===f&&18===c&&p();"t"!==m||"u"!==f||16!==c&&15!==c?"i"===m&&"u"===f&&17===c?(m="n",C=v):"u"!==m||"d"!==f&&"i"!==f&&"c"!==f?"u"!==f||"d"!==m&&"i"!==m&&"c"!==m||(m="n",C=v):(C=k,f="n"):C=k;m=m+cg[c]+f;if(!E.te()&&"AF"!==C.$().p&&!E.Jc&&(E.ni?0===E.ni:1)&&kf(a)&&kf(q)&&(E=a.value[0],b=q.value[0], -18!==c||0!==b.toNumber()))return a=mb[m](E,b),mf([a],new gc(new nc(La.codes[a.code]),2));this.ea=a;this.ga=q;a.l.equals(q.l)&&(this.l=a.l);C&&(this.l=new gc(C,t?3:2));this.g=m;e&&(this.Wa=!0);g&&(this.O="arith10");this.l||(this.l=dc.Oe)}Ga(){throw new ve("The arithmetic expression "+oe[this.Va]+" is not a patternXTSE0340");}G(a){super.start(a,this.Va?{op:oe[this.Va],calc:this.g}:{});this.ea.G(a);this.ga.G(a);a.end()}}eg.prototype.O="arith"; +const bg={ADI:"i",ADIL:"c",ADILI:"i",ADILIS:"i",ADILISB:"i",ADIN:"c",ADINN:"c",ADIP:"c",ADIPP:"c",ADIPL:"c",ADIPLI:"i",ADIPLIS:"i",ADIPLISB:"i",AD:"c",AO:"d",AF:"f",A:"a",AZ:"a",AT:"t",AA:"t",AM:"t",AMP:"t",AH:"t",AI:"t",AJ:"t",AG:"t",AK:"t",ARD:"u",ARY:"u",E:"a"};var cg={19:"%",18:"/",56:"~",15:"+",16:"-",299:"-",17:"*"};function dg(a,c){c=new xf(a,"AO",c.save());c.l=2===a.l.fa?dc.ee:dc.Dg;return c} +class eg extends Te{constructor(a,c,n,F){function I(b){return b instanceof nc&&b.Wc.lb?new nc(La.yj(b.Wc)):b}function m(){throw new ve("Cannot evaluate "+k.toString()+" "+oe[c]+" "+v.toString(),"XPTY0004");}super(a,c,n);const g=F.te(),e=a.Wa||n.Wa;g&&(a=fg(a),n=fg(n));a=qf(a,dc.ec,this.Da(0));n=qf(n,dc.ec,this.Da(1));let k=I(a.l.U),v=I(n.l.U);var t=k.$().p,D=v.$().p;g||!/^AS/.test(t)&&!/^AS/.test(D)||m();"AZ"!==t||g||(a=dg(a,this.Da(0,"FORG0001")),k=Mc,t="AO");"AZ"!==D||g||(n=dg(n,this.Da(1,"FORG0001")), +v=Mc,D="AO");var l=bg[t];let f=bg[D];const B=k.isNumeric(),L=v.isNumeric();D=Sc;t=Xc(a.l.fa)||Xc(a.l.fa);l||="a";f||="a";var y;g?(l=f="d",D=Mc):B&&L&&("d"===l||"d"===f?(l=f="d",D=y=Mc):"f"===l||"f"===f?(l=f="f",D=y=Nc):"c"===l||"c"===f?(l=f="c",D=y=Pc):"i"===l&&"i"===f&&18===c?(l=f="c",D=Pc):"i"!==l||"i"!==f||15!==c&&16!==c&&17!==c&&19!==c?"i"===l&&"i"===f&&18===c&&(D=Pc):D=Qc);56===c&&(D=Qc);D.isNumeric()&&y&&(y=new gc(y,3),a=qf(a instanceof gg?a.g:a,y,this.Da(0)),n=qf(n instanceof gg?n.g:n,y,this.Da(1))); +[l,f].includes("a")&&(l=f="a");(k.pa("ARY")&&v.pa("AT")||v.pa("ARY")&&k.pa("AT"))&&m();"t"===l&&"t"===f&&(16===c?D=Rc:m());"u"===l&&"t"===f&&(15===c?D=v:m());"u"===l&&"u"===f&&(17===c&&m(),18===c?D=Pc:D=k);B&&"u"===f&&18===c&&m();"t"!==l||"u"!==f||16!==c&&15!==c?"i"===l&&"u"===f&&17===c?(l="n",D=v):"u"!==l||"d"!==f&&"i"!==f&&"c"!==f?"u"!==f||"d"!==l&&"i"!==l&&"c"!==l||(l="n",D=v):(D=k,f="n"):D=k;l=l+cg[c]+f;if(!F.te()&&"AF"!==D.$().p&&!F.Kc&&(F.ni?0===F.ni:1)&&kf(a)&&kf(n)&&(F=a.value[0],y=n.value[0], +18!==c||0!==y.toNumber()))return a=mb[l](F,y),mf([a],new gc(new nc(La.codes[a.code]),2));this.ea=a;this.ga=n;a.l.equals(n.l)&&(this.l=a.l);D&&(this.l=new gc(D,t?3:2));this.g=l;e&&(this.Wa=!0);g&&(this.O="arith10");this.l||(this.l=dc.Oe)}Ga(){throw new ve("The arithmetic expression "+oe[this.Va]+" is not a patternXTSE0340");}G(a){super.start(a,this.Va?{op:oe[this.Va],calc:this.g}:{});this.ea.G(a);this.ga.G(a);a.end()}}eg.prototype.O="arith"; // Input 56 -const hg={6:50,22:51,11:52,12:53,13:54,14:55};function ig(a,c){a=a.$().p;c.$();if("AZ"===a&&c.isNumeric())return!1;if("A"===a&&c.pa())return!0;""===a&&c.pa();return!0}function jg(a){return/^A[BAMT2XQ]/.test(a)}class kg extends Te{constructor(a,c,q,E){super(a,c,q);a=E.Ni();c="GAC";switch(a){case Hd.jg:c="CAC"}a.startsWith(Hd.Mj)&&(c="CAC");q.l===dc.Hg&&(c="EQC");this.Dd=c+"|"+a;this.l=dc.cb}G(a){super.start(a,{op:oe[this.Va],comp:this.Dd});this.ea.G(a);this.ga.G(a);a.end()}} +const hg={6:50,22:51,11:52,12:53,13:54,14:55};function ig(a,c){a=a.$().p;c.$();if("AZ"===a&&c.isNumeric())return!1;if("A"===a&&c.pa())return!0;""===a&&c.pa();return!0}function jg(a){return/^A[BAMT2XQ]/.test(a)}class kg extends Te{constructor(a,c,n,F){super(a,c,n);a=F.Ni();c="GAC";switch(a){case Hd.jg:c="CAC"}a.startsWith(Hd.Mj)&&(c="CAC");n.l===dc.Ig&&(c="EQC");this.Dd=c+"|"+a;this.l=dc.cb}G(a){super.start(a,{op:oe[this.Va],comp:this.Dd});this.ea.G(a);this.ga.G(a);a.end()}} class lg extends kg{G(a){super.start(a,{op:oe[this.Va],comp:this.Dd,card:"1:1"});this.ea.G(a);this.ga.G(a);a.end()}} -class mg extends lg{constructor(a,c,q,E){super(a,c,q,E);a=qf(a,dc.Ad,this.Da(0));q=qf(q,dc.Ad,this.Da(1));c=a.l.$();E=q.l.$();var H=c.p;var p=E.p;H===p||[H,p].includes("AZ")||[H,p].includes("A")?H=!0:(/^A[ODF]/.test(H)&&(H="AO"),/^A[ODF]/.test(p)&&(p="AO"),/^A[SU]/.test(H)&&(H="AS"),/^A[SU]/.test(p)&&(p="AS"),H="E"===H||"E"===p?!0:H===p);if(!H)if(H="Cannot compare items of types "+a.l.U.toString()+" and "+q.l.U.toString(),/[*?]/.test(c.o)||/[*?]/.test(E.o))sa.Ma(H+": the comparison can succeed only if one of the values is an empty sequence", -1,null);else throw new ve(H,"XPTY0004");this.ea=a;this.ga=q}}mg.prototype.O="gc";class ng extends lg{}ng.prototype.O="gc10"; -class og extends kg{constructor(a,c,q,E,H=!0){super(a,c,q,E);var p=a.l.U,g=q.l.U;const e=p.$().p,k=g.$().p;if(!("A"===e&&g.pa()||"A"===k&&p.pa()||""===e||""===k||p.$().p.startsWith("AM")&&g.$().p.startsWith("AM")||(jg(e)||jg(k)?e===k:ig(p,g)||ig(g,p))))throw new ve("Cannot compare "+a.l.toString()+" "+oe[c]+" "+q.l.toString(),"XPTY0004");a=qf(a,dc.dc,this.Da(0));q=qf(q,dc.dc,this.Da(1));if(51!==c&&50!==c&&/^A[QGHIJK]/.test(a.l.U.$().p))throw new ve("Cannot order-compare "+a.l.toString()+" "+oe[c]+ -" "+q.l.toString(),"XPTY0004");if(H){if(kf(q)&&La.XS.integer.matches(q.value[0])&&"ADI"===a.l.$().p)return new pg(a,c,q,E);if(q instanceof of)return new qg(a,c,q,E)}this.ea=a;this.ga=q}}og.prototype.O="vc";class rg extends og{constructor(a,c,q,E){super(a,c,q,E,!1)}G(a){super.start(a,{op:oe[this.Va],val:this.ga.value[0]});this.ea.G(a);a.end()}}class pg extends rg{}pg.prototype.O="compareToInt"; -class qg extends rg{G(a){super.start(a,{op:oe[this.Va],val:this.ga.value[0].toString(),comp:this.Dd});this.ea.G(a);a.end()}}qg.prototype.O="compareToString";class sg extends kg{constructor(a,c,q,E){super(a,c,q,E);a=qf(a,dc.ce,this.Da(0));q=qf(q,dc.ce,this.Da(0));this.ea=a;this.ga=q;this.O=38===c?"precedes":39===c?"follows":"is"}G(a){super.start(a);this.ea.G(a);this.ga.G(a);a.end()}}; +class mg extends lg{constructor(a,c,n,F){super(a,c,n,F);a=qf(a,dc.Ad,this.Da(0));n=qf(n,dc.Ad,this.Da(1));c=a.l.$();F=n.l.$();var I=c.p;var m=F.p;I===m||[I,m].includes("AZ")||[I,m].includes("A")?I=!0:(/^A[ODF]/.test(I)&&(I="AO"),/^A[ODF]/.test(m)&&(m="AO"),/^A[SU]/.test(I)&&(I="AS"),/^A[SU]/.test(m)&&(m="AS"),I="E"===I||"E"===m?!0:I===m);if(!I)if(I="Cannot compare items of types "+a.l.U.toString()+" and "+n.l.U.toString(),/[*?]/.test(c.o)||/[*?]/.test(F.o))sa.Ma(I+": the comparison can succeed only if one of the values is an empty sequence", +1,null);else throw new ve(I,"XPTY0004");this.ea=a;this.ga=n}}mg.prototype.O="gc";class ng extends lg{}ng.prototype.O="gc10"; +class og extends kg{constructor(a,c,n,F,I=!0){super(a,c,n,F);var m=a.l.U,g=n.l.U;const e=m.$().p,k=g.$().p;if(!("A"===e&&g.pa()||"A"===k&&m.pa()||""===e||""===k||m.$().p.startsWith("AM")&&g.$().p.startsWith("AM")||(jg(e)||jg(k)?e===k:ig(m,g)||ig(g,m))))throw new ve("Cannot compare "+a.l.toString()+" "+oe[c]+" "+n.l.toString(),"XPTY0004");a=qf(a,dc.ec,this.Da(0));n=qf(n,dc.ec,this.Da(1));if(51!==c&&50!==c&&/^A[QGHIJK]/.test(a.l.U.$().p))throw new ve("Cannot order-compare "+a.l.toString()+" "+oe[c]+ +" "+n.l.toString(),"XPTY0004");if(I){if(kf(n)&&La.XS.integer.matches(n.value[0])&&"ADI"===a.l.$().p)return new pg(a,c,n,F);if(n instanceof of)return new qg(a,c,n,F)}this.ea=a;this.ga=n}}og.prototype.O="vc";class rg extends og{constructor(a,c,n,F){super(a,c,n,F,!1)}G(a){super.start(a,{op:oe[this.Va],val:this.ga.value[0]});this.ea.G(a);a.end()}}class pg extends rg{}pg.prototype.O="compareToInt"; +class qg extends rg{G(a){super.start(a,{op:oe[this.Va],val:this.ga.value[0].toString(),comp:this.Dd});this.ea.G(a);a.end()}}qg.prototype.O="compareToString";class sg extends kg{constructor(a,c,n,F){super(a,c,n,F);a=qf(a,dc.de,this.Da(0));n=qf(n,dc.de,this.Da(0));this.ea=a;this.ga=n;this.O=38===c?"precedes":39===c?"follows":"is"}G(a){super.start(a);this.ea.G(a);this.ga.G(a);a.end()}}; // Input 57 function tg(a,c){return a instanceof Cf&&a.name.name.uri===Zb.Oa&&a.name.name.local===c}function ug(a,c){return a instanceof og&&a.Va===c&&tg(a.ea,"position")&&tg(a.ga,"last")} -class vg extends Se{constructor(a,c){super();if(c){let E=tg(c,"last")||ug(c,50);if(E)return new wg(a);E=E||ug(c,53);var q=c.Wa||c instanceof eg;const H=c.Kb;if(!q&&H&&c.l.equals(dc.Bd))return new xg(a,c);q||(q=c.l.U.$().p,q="AB"===q||q.startsWith("N")?!1:"A"===q||/^A[ODF]/.test(q));this.g=a;this.l=a.l;c instanceof yg?this.l=Vc(c.type,this.l.fa):c instanceof lf&&1===c.value.length&&uc.ia()(c.value[0])&&(this.l=Vc(this.l,3));q&&(this.Wa=!0);H&&(this.Kb=!0);this.j=E?new zg(50===c.Va?"1":"0"):c}}Cb(){return this.g.Cb()}$b(){return super.$b()|| -this.g.$b()}Ga(){if(!jd(this.l.U)){const a=Df("exists",this);return new Ye(a)}return this.Wa&&this.g instanceof Yf&&!(this.j instanceof zg)?new cf(this.g,this.j):this.Wa?new bf(this.Gd()):new $e(this.g.Ga(),this.j)}Gd(){if(this.g instanceof Ef)return this.j;this.g=this.g instanceof Yf?Ag(new Ef,this.g):this.g.Gd();return this}G(a){super.start(a);let c="";this.Kb&&(c+="i");this.Wa&&(c+="p");""!==c&&a.ud("flags",c);this.g.G(a);this.j.G(a);a.end()}}vg.prototype.O="filter"; +class vg extends Se{constructor(a,c){super();if(c){let F=tg(c,"last")||ug(c,50);if(F)return new wg(a);F=F||ug(c,53);var n=c.Wa||c instanceof eg;const I=c.Lb;if(!n&&I&&c.l.equals(dc.Bd))return new xg(a,c);n||(n=c.l.U.$().p,n="AB"===n||n.startsWith("N")?!1:"A"===n||/^A[ODF]/.test(n));this.g=a;this.l=a.l;c instanceof yg?this.l=Vc(c.type,this.l.fa):c instanceof lf&&1===c.value.length&&uc.ia()(c.value[0])&&(this.l=Vc(this.l,3));n&&(this.Wa=!0);I&&(this.Lb=!0);this.j=F?new zg(50===c.Va?"1":"0"):c}}Cb(){return this.g.Cb()}ac(){return super.ac()|| +this.g.ac()}Ga(){if(!jd(this.l.U)){const a=Df("exists",this);return new Ye(a)}return this.Wa&&this.g instanceof Yf&&!(this.j instanceof zg)?new cf(this.g,this.j):this.Wa?new bf(this.Gd()):new $e(this.g.Ga(),this.j)}Gd(){if(this.g instanceof Ef)return this.j;this.g=this.g instanceof Yf?Ag(new Ef,this.g):this.g.Gd();return this}G(a){super.start(a);let c="";this.Lb&&(c+="i");this.Wa&&(c+="p");""!==c&&a.ud("flags",c);this.g.G(a);this.j.G(a);a.end()}}vg.prototype.O="filter"; class xg extends vg{constructor(a,c){super(a,null);if(kf(c)&&La.XS.integer.matches(c.value[0])&&1===c.value[0].value)return new Bg(a);this.g=a;this.l=Vc(a.l,3);this.j=c;this.Wa=!0}Ga(){return this.g instanceof Ef?new Xe("Numeric predicates other than 1 in PredicatePatterns never match. Value provided:"+this.j.value.value):this.g instanceof Yf?new df(this.g.l,this.j.value[0].value):new bf(this.Gd())}}xg.prototype.O="subscript"; class Bg extends xg{constructor(a){super(a,null);this.g=a;this.Wa=!0;this.l=Vc(a.l,3)}Ga(){return jd(this.l.U)?this.g instanceof Yf?new bf(new Bg(Ag(new Ef,this.g))):new bf(this.Gd()):new Ye(this)}G(a){super.start(a);this.g.G(a);a.end()}}Bg.prototype.O="first"; class wg extends xg{constructor(a){super(a,null);this.g=a;this.Wa=!0;this.l=Vc(a.l,3)}Ga(){if(!(this.g instanceof Yf))return new bf(this.Gd());if(3===this.g.axis){var a=new Yf(7,this.g.g);return new $e(this.g.Ga(),Df("empty",[a]))}return new df(this.g.l,1)}G(a){super.start(a);this.g.G(a);a.end()}}wg.prototype.O="lastOf";class zg extends Se{constructor(a="1"){super();this.test=a;this.l=dc.cb}G(a){Re(this,a,{test:this.test})}}zg.prototype.O="isLast"; // Input 58 -function Cg(a,c){if(a instanceof ag&&c instanceof Yf&&9===c.Cb())return nf();if(a instanceof Zf&&a.ea instanceof ag&&5===a.ga.axis&&c instanceof Yf&&3===c.axis)return Cg(a.ea,new Yf(4,c.g));if(c instanceof Zf||c instanceof Dg&&c.g instanceof Zf){const q=Eg(c);Fg(q.ea)instanceof Yf&&Fg(q.ga)instanceof Yf&&(a=Ag(a,q.ea),c=q.ga)}a=new Zf(a,c);return Gg(a)?a:jd(a.ga.l.U)?(a.ea=Hg(a.ea),a.ga=Hg(a.ga),new Dg(a)):a} -function Gg(a){if(!Zc(a.ea.l.fa))return a.ga.$b();const c=Fg(a.ea);return c instanceof Yf&&3===c.axis&&(a=Fg(a.ga),a instanceof Dg&&(a=a.g),a instanceof Yf&&[3,2,4,5,8].includes(a.axis)||a instanceof Zf&&Gg(a))?!0:!1}function Eg(a){return a instanceof Dg?a.g:a}function Fg(a){return a instanceof vg?Fg(a.g):a instanceof Dg?Fg(a.g):a}var Ag=Cg;function Ig(a){return a.$b()?a:new Dg(a)}var Hg=Eg; +function Cg(a,c){if(a instanceof ag&&c instanceof Yf&&9===c.Cb())return nf();if(a instanceof Zf&&a.ea instanceof ag&&5===a.ga.axis&&c instanceof Yf&&3===c.axis)return Cg(a.ea,new Yf(4,c.g));if(c instanceof Zf||c instanceof Dg&&c.g instanceof Zf){const n=Eg(c);Fg(n.ea)instanceof Yf&&Fg(n.ga)instanceof Yf&&(a=Ag(a,n.ea),c=n.ga)}a=new Zf(a,c);return Gg(a)?a:jd(a.ga.l.U)?(a.ea=Hg(a.ea),a.ga=Hg(a.ga),new Dg(a)):a} +function Gg(a){if(!Zc(a.ea.l.fa))return a.ga.ac();const c=Fg(a.ea);return c instanceof Yf&&3===c.axis&&(a=Fg(a.ga),a instanceof Dg&&(a=a.g),a instanceof Yf&&[3,2,4,5,8].includes(a.axis)||a instanceof Zf&&Gg(a))?!0:!1}function Eg(a){return a instanceof Dg?a.g:a}function Fg(a){return a instanceof vg?Fg(a.g):a instanceof Dg?Fg(a.g):a}var Ag=Cg;function Ig(a){return a.ac()?a:new Dg(a)}var Hg=Eg; // Input 59 -function Jg(a,c,q,E,H={}){sa.assert(c);sa.assert(c instanceof gc);sa.assert(a.l);sa.assert(a.l instanceof gc);var p=c.$(),g=a,e;const k=c.U,v=c.fa,t=Zc(v);var C=null,m=-1;let f=7===v;f||(m=a.l.fa,f=(v|m)===v);p=""===p.p;1===v&&(p=!0);p||(C=a.l.U,m=a.l.fa,p=sd.Nb(k,C),p===sd.cc&&(p=C===oc?sd.nc:k===oc?sd.Rb:p),p=p===sd.yb||p===sd.Rb);if(p&&f)return g;if(H.Tb&&!t&&(Zc(m)&&(g=e=new Bg(g),m=3,f=(v|m)===v),!p)){if(k.pa("AS")){try{e=Jg(g,dc.Hf,q,E)}catch(A){throw A;}g=Df("string",e);C=Oc;m=2;g.l=dc.ec; -f=(v|m)===v;p=!0}if(kd(k)||k.pa("AO")){try{e=Jg(g,dc.Hf,q,E)}catch(A){throw A;}g=Df("number",e);C=Mc;m=2;g.l=dc.de;f=(v|m)===v;p=!0}}if(!p)if(k.pa()){if(!C.pa()&&1!==m){if(!C.$i)throw c=new F("An atomic value is required for the "+q.getMessage()+", but the supplied value (type "+C.toString()+") cannot be atomized","error()"===C.name?"FOER0000":"FOTY0013",a),c;C=!Zc(m);m=!Zc(v);C?(e=Xc(v),g=g instanceof Yf&&2===g.axis&&g.l.U instanceof nd?new wf(g.l):new vf(g,E,e)):g=g instanceof Yf&&2===g.axis&&g.l.U instanceof -nd?new wf(g.l):new uf(g,E);e=g;m&&!C&&(e=Kg(e,v,E));g=e;C=g.l.U;m=g.l.fa;f=(v|m)===v}C.pa("AZ")&&(kd(k)||!k.pa("AZ")&&"A"!==k.$().p)&&(g=e=Lg(g,k,E),p=!0,C=k);"A"!==C.ha()||["A","AZ"].includes(k.ha())||(g=e=Lg(g,k,E),C=g.l.U);k.pa()&&(k.pa("AO")&&sd.Nb(C,uc)!==sd.cc?(g=e=new yf(g,dc.de),C=Mc,m=-1):k.pa("AF")&&sd.Nb(C,uc)!==sd.cc&&!sd.fj(C,Mc)&&(g=e=new yf(g,dc.Gg),C=Nc,m=-1),k.pa("AS")&&C.pa("AU")&&(p=!0,g=e=new yf(g,dc.ec),C=Oc))}else k.Jd()&&"F"===k.$().p&&(C.Jd()||(g=new Mg(g,wc,E),C=wc),k instanceof -xc||(p=C.$(),("FM"===p.p||"FA"===p.p)&&1===k.j.length)||(g=new zf(g,kc(k),E)),p=!0);if(p&&f)return g;-1===m&&(m=g.l.fa,f||=(v|m)===v);if(f&&1===m)return g;if(1===m&&!Xc(v))throw c=new F("An empty sequence is not allowed as the "+q.getMessage(),q.Id()),c;p=p?sd.nc:sd.Nb(C,k);p===sd.cc&&(p=C===oc?sd.Rb:k===oc?sd.nc:p);1===v&&(p=sd.yb);if(p===sd.cc)if(Xc(m)&&Xc(v))1!==m&&(e=q.Vf(k,C),sa.Ma(e+". The expression can succeed only if the supplied value is an empty sequence.",1,null));else throw e=q.Vf(k, -C),c=new F(e,"error()"===C.name?"FOER0000":q.Id()),c;if(p!==sd.yb&&p!==sd.nc){if(g.bj){E=La.XS.string.fromString(g.getAttribute("val"));if(k.pa()&&c.matches(E))return g;e=q.Vf(k,C);c=new F(e,q.Id());throw c;}g=e=Ng(g,new gc(k,v),E);f=!0}if(!f){if(g.bj)throw c=new F("Required cardinality of "+q.getMessage()+" is "+Yc(v)+"; supplied value has cardinality "+Yc(m),q.Id()),c;g=e=Kg(g,v,E)}return g}function Lg(a,c,q){c=kd(c)?"AO":c.$().p;return new xf(a,c,q)}; +function Jg(a,c,n,F,I={}){sa.assert(c);sa.assert(c instanceof gc);sa.assert(a.l);sa.assert(a.l instanceof gc);var m=c.$(),g=a,e;const k=c.U,v=c.fa,t=Zc(v);var D=null,l=-1;let f=7===v;f||(l=a.l.fa,f=(v|l)===v);m=""===m.p;1===v&&(m=!0);m||(D=a.l.U,l=a.l.fa,m=sd.Ob(k,D),m===sd.dc&&(m=D===oc?sd.oc:k===oc?sd.Sb:m),m=m===sd.yb||m===sd.Sb);if(m&&f)return g;if(I.Ub&&!t&&(Zc(l)&&(g=e=new Bg(g),l=3,f=(v|l)===v),!m)){if(k.pa("AS")){try{e=Jg(g,dc.Hf,n,F)}catch(B){throw B;}g=Df("string",e);D=Oc;l=2;g.l=dc.fc; +f=(v|l)===v;m=!0}if(kd(k)||k.pa("AO")){try{e=Jg(g,dc.Hf,n,F)}catch(B){throw B;}g=Df("number",e);D=Mc;l=2;g.l=dc.ee;f=(v|l)===v;m=!0}}if(!m)if(k.pa()){if(!D.pa()&&1!==l){if(!D.$i)throw c=new G("An atomic value is required for the "+n.getMessage()+", but the supplied value (type "+D.toString()+") cannot be atomized","error()"===D.name?"FOER0000":"FOTY0013",a),c;D=!Zc(l);l=!Zc(v);D?(e=Xc(v),g=g instanceof Yf&&2===g.axis&&g.l.U instanceof nd?new wf(g.l):new vf(g,F,e)):g=g instanceof Yf&&2===g.axis&&g.l.U instanceof +nd?new wf(g.l):new uf(g,F);e=g;l&&!D&&(e=Kg(e,v,F));g=e;D=g.l.U;l=g.l.fa;f=(v|l)===v}D.pa("AZ")&&(kd(k)||!k.pa("AZ")&&"A"!==k.$().p)&&(g=e=Lg(g,k,F),m=!0,D=k);"A"!==D.ha()||["A","AZ"].includes(k.ha())||(g=e=Lg(g,k,F),D=g.l.U);k.pa()&&(k.pa("AO")&&sd.Ob(D,uc)!==sd.dc?(g=e=new yf(g,dc.ee),D=Mc,l=-1):k.pa("AF")&&sd.Ob(D,uc)!==sd.dc&&!sd.fj(D,Mc)&&(g=e=new yf(g,dc.Hg),D=Nc,l=-1),k.pa("AS")&&D.pa("AU")&&(m=!0,g=e=new yf(g,dc.fc),D=Oc))}else k.Jd()&&"F"===k.$().p&&(D.Jd()||(g=new Mg(g,wc,F),D=wc),k instanceof +xc||(m=D.$(),("FM"===m.p||"FA"===m.p)&&1===k.j.length)||(g=new zf(g,kc(k),F)),m=!0);if(m&&f)return g;-1===l&&(l=g.l.fa,f||=(v|l)===v);if(f&&1===l)return g;if(1===l&&!Xc(v))throw c=new G("An empty sequence is not allowed as the "+n.getMessage(),n.Id()),c;m=m?sd.oc:sd.Ob(D,k);m===sd.dc&&(m=D===oc?sd.Sb:k===oc?sd.oc:m);1===v&&(m=sd.yb);if(m===sd.dc)if(Xc(l)&&Xc(v))1!==l&&(e=n.Vf(k,D),sa.Ma(e+". The expression can succeed only if the supplied value is an empty sequence.",1,null));else throw e=n.Vf(k, +D),c=new G(e,"error()"===D.name?"FOER0000":n.Id()),c;if(m!==sd.yb&&m!==sd.oc){if(g.bj){F=La.XS.string.fromString(g.getAttribute("val"));if(k.pa()&&c.matches(F))return g;e=n.Vf(k,D);c=new G(e,n.Id());throw c;}g=e=Ng(g,new gc(k,v),F);f=!0}if(!f){if(g.bj)throw c=new G("Required cardinality of "+n.getMessage()+" is "+Yc(v)+"; supplied value has cardinality "+Yc(l),n.Id()),c;g=e=Kg(g,v,F)}return g}function Lg(a,c,n){c=kd(c)?"AO":c.$().p;return new xf(a,c,n)}; // Input 60 -function Df(a,c){a=new La.XS.QName.fromParts("fn",Zb.Oa,a);c=Array.isArray(c)?c:[c];a=new Bf(a,c.length);return new Cf(a,c,dc.Aa)}function qf(a,c,q){const E=Og(q.errorCode?q.errorCode:"XPTY0004",q.save());return Jg(a,c,E,q.save())}function fg(a){return Zc(a.l.fa)?new Bg(a):a} -class Pg extends Se{constructor(a){super();this.value=a;0===a.length?this.l=dc.Ie:this.l=new gc(sd.Md(a.map(q=>q.l.U)),7);let c=!0;a.forEach(q=>{c=c&&q instanceof lf});c&&(this.g=!0)}G(a){super.start(a);this.g&&a.ud("literal",!0);for(const c of this.value)c.G(a);a.end()}}Pg.prototype.O="sequence"; -class Mf extends Se{constructor(a){super();this.value=a;if(0===a.length)this.l=kc(Ac);else{const c=sd.Md(a.map(E=>E.l.U));let q=0;a.forEach(E=>q|=E.l.fa);this.l=kc(new ud(new gc(c,q)))}}G(a){super.start(a);for(const c of this.value)c.G(a);a.end()}}Mf.prototype.O="arrayBlock"; -class Qg extends Se{constructor(a,c){super();this.Va=a;this.O=oe[a];this.$a=c;this.action=this.Ob=void 0;this.slot=0;this.bc=this.value=null;this.l=dc.cb}gd(){return this.$a}G(a){super.start(a,{"var":this.$a.toEQName(),slot:this.slot});this.value.G(a);this.action.G(a);a.end()}} -class $f extends Te{constructor(a,c,q,E=!1){super(a,c,q);this.O=1===c?"union":oe[c];E=E?"XTSE0340":"XPTY0004";a=qf(a,dc.be,this.Da(0,E));q=qf(q,dc.be,this.Da(1,E));a=Ig(a);q=Ig(q);this.ea=a;this.ga=q;sa.assert(a.l);sa.assert(q.l);switch(c){case 24:this.l=a.l;break;case 23:c=a.l.fa&q.l.fa|3;this.l=new gc(sd.Ui([a,q].map(H=>H.l.U)),c);break;case 1:this.l=new gc(sd.Md([a,q].map(H=>H.l.U)),Dd(a.l.fa,q.l.fa))}}$b(){return!0}Cb(){return this.ea.Cb&&this.ga.Cb&&this.ea.Cb()===this.ga.Cb()?this.ea.Cb():-1}Ga(){if(1=== -this.Va)return new hf(this.ea.Ga(),this.ga.Ga(),this.l);const a=this.Cb();return 3===a||2===a||this.ea.Kb||this.ga.Kb?new ff(this.ea.Ga(),this.Va,this.ga.Ga(),this.l):new bf(this)}}class Ef extends Se{constructor(a=dc.mc){super();this.l=a}G(a){Re(this,a)}Ga(){return new We}}Ef.prototype.O="dot";function Rg(a){return""===a.l.$().p?new Sg(a):a}class Sg extends Ue{constructor(a){super(a);this.l=a.l}}Sg.prototype.O="homCheck";function Tg(a){return a.global?new Ug(a):new Vg(a)} -class Wg extends Se{constructor(){super();this.g=null;this.l=dc.Aa}}Wg.prototype.O="varRef";Wg.prototype.Kb=!0;class Vg extends Wg{constructor(a){super();this.g=a;this.l=a.bc||dc.Aa}gd(){return this.g.$a}G(a){Re(this,a,{name:this.g.$a.toEQName(),slot:this.g.slot})}}Vg.prototype.O="varRef";class Ug extends Wg{constructor(a){super();this.g=a;this.l=a.bc}gd(){return this.g.$a}Ga(){return new af(this)}G(a){Re(this,a,{name:this.g.$a.toEQName(),bSlot:"?"})}}Ug.prototype.O="gVarRef"; +function Df(a,c){a=new La.XS.QName.fromParts("fn",Zb.Oa,a);c=Array.isArray(c)?c:[c];a=new Bf(a,c.length);return new Cf(a,c,dc.Aa)}function qf(a,c,n){const F=Og(n.errorCode?n.errorCode:"XPTY0004",n.save());return Jg(a,c,F,n.save())}function fg(a){return Zc(a.l.fa)?new Bg(a):a} +class Pg extends Se{constructor(a){super();this.value=a;0===a.length?this.l=dc.Ie:this.l=new gc(sd.Md(a.map(n=>n.l.U)),7);let c=!0;a.forEach(n=>{c=c&&n instanceof lf});c&&(this.g=!0)}G(a){super.start(a);this.g&&a.ud("literal",!0);for(const c of this.value)c.G(a);a.end()}}Pg.prototype.O="sequence"; +class Mf extends Se{constructor(a){super();this.value=a;if(0===a.length)this.l=kc(Ac);else{const c=sd.Md(a.map(F=>F.l.U));let n=0;a.forEach(F=>n|=F.l.fa);this.l=kc(new ud(new gc(c,n)))}}G(a){super.start(a);for(const c of this.value)c.G(a);a.end()}}Mf.prototype.O="arrayBlock"; +class Qg extends Se{constructor(a,c){super();this.Va=a;this.O=oe[a];this.Za=c;this.action=this.Pb=void 0;this.slot=0;this.cc=this.value=null;this.l=dc.cb}hd(){return this.Za}G(a){super.start(a,{"var":this.Za.toEQName(),slot:this.slot});this.value.G(a);this.action.G(a);a.end()}} +class $f extends Te{constructor(a,c,n,F=!1){super(a,c,n);this.O=1===c?"union":oe[c];F=F?"XTSE0340":"XPTY0004";a=qf(a,dc.ce,this.Da(0,F));n=qf(n,dc.ce,this.Da(1,F));a=Ig(a);n=Ig(n);this.ea=a;this.ga=n;sa.assert(a.l);sa.assert(n.l);switch(c){case 24:this.l=a.l;break;case 23:c=a.l.fa&n.l.fa|3;this.l=new gc(sd.Ui([a,n].map(I=>I.l.U)),c);break;case 1:this.l=new gc(sd.Md([a,n].map(I=>I.l.U)),Dd(a.l.fa,n.l.fa))}}ac(){return!0}Cb(){return this.ea.Cb&&this.ga.Cb&&this.ea.Cb()===this.ga.Cb()?this.ea.Cb():-1}Ga(){if(1=== +this.Va)return new hf(this.ea.Ga(),this.ga.Ga(),this.l);const a=this.Cb();return 3===a||2===a||this.ea.Lb||this.ga.Lb?new ff(this.ea.Ga(),this.Va,this.ga.Ga(),this.l):new bf(this)}}class Ef extends Se{constructor(a=dc.nc){super();this.l=a}G(a){Re(this,a)}Ga(){return new We}}Ef.prototype.O="dot";function Rg(a){return""===a.l.$().p?new Sg(a):a}class Sg extends Ue{constructor(a){super(a);this.l=a.l}}Sg.prototype.O="homCheck";function Tg(a){return a.global?new Ug(a):new Vg(a)} +class Wg extends Se{constructor(){super();this.g=null;this.l=dc.Aa}}Wg.prototype.O="varRef";Wg.prototype.Lb=!0;class Vg extends Wg{constructor(a){super();this.g=a;this.l=a.cc||dc.Aa}hd(){return this.g.Za}G(a){Re(this,a,{name:this.g.Za.toEQName(),slot:this.g.slot})}}Vg.prototype.O="varRef";class Ug extends Wg{constructor(a){super();this.g=a;this.l=a.cc}hd(){return this.g.Za}Ga(){return new af(this)}G(a){Re(this,a,{name:this.g.Za.toEQName(),bSlot:"?"})}}Ug.prototype.O="gVarRef"; class Xg extends Te{constructor(a,c){super(a,213,c);this.ea=a=qf(a,dc.Df,this.Da(0));a.l&&a.l.U&&a.l.U.resultType&&(this.l=a.l.U.resultType)}}Xg.prototype.O="lookup";class Yg extends Se{constructor(a){super();this.ea=a=qf(a,dc.Df,this.Da(0))}G(a){super.start(a);this.ea.G(a);a.end()}}Yg.prototype.O="lookupAll";class Zg extends Se{constructor(){super();this.l=dc.Aa}}Zg.prototype.O="currentGroup";class $g extends Se{constructor(){super();this.l=dc.Ad}}$g.prototype.O="currentGroupingKey"; -class Dg extends Ue{constructor(a){super(a);this.l=a.l}$b(){return!0}Ga(){return this.g.Ga()}}Dg.prototype.O="docOrder";class ah extends Ue{constructor(a){super(a);this.l=a.l}G(a){super.start(a,{flags:this.flags});this.g.G(a);a.end()}}ah.prototype.O="copyOf";ah.prototype.flags="cm";class yg extends Se{constructor(a,c){super();sa.assert(c instanceof gc);this.ea=a;this.type=c;this.l=dc.cb}G(a){super.start(a,{of:this.type.ha()});this.ea.G(a);a.end()}}yg.prototype.O="instance"; -function Ng(a,c,q=null){q||(q=new Qe(2,"treat as",0),q.errorCode="XPDY0050",q=q.save());return new Mg(Kg(a,c.fa,q),c.U,q)}class gg extends Ue{constructor(a,c,q){super(a);this.l=new gc(a.l.U,c);this.j=c;this.B=q}G(a){super.start(a,{card:2===this.j?"1":Yc(this.j),diag:this.B});this.g.G(a);a.end()}}gg.prototype.O="check";function Kg(a,c,q){return 7===c?a:a instanceof lf&&(c|2)===c?a:new gg(a,c,q)} -class Mg extends Ue{constructor(a,c,q){super(a);this.l=a.l;this.B=c;this.j=q}G(a){super.start(a,{as:this.B.ha(),diag:this.j});this.g.G(a);a.end()}}Mg.prototype.O="treat"; +class Dg extends Ue{constructor(a){super(a);this.l=a.l}ac(){return!0}Ga(){return this.g.Ga()}}Dg.prototype.O="docOrder";class ah extends Ue{constructor(a){super(a);this.l=a.l}G(a){super.start(a,{flags:this.flags});this.g.G(a);a.end()}}ah.prototype.O="copyOf";ah.prototype.flags="cm";class yg extends Se{constructor(a,c){super();sa.assert(c instanceof gc);this.ea=a;this.type=c;this.l=dc.cb}G(a){super.start(a,{of:this.type.ha()});this.ea.G(a);a.end()}}yg.prototype.O="instance"; +function Ng(a,c,n=null){n||(n=new Qe(2,"treat as",0),n.errorCode="XPDY0050",n=n.save());return new Mg(Kg(a,c.fa,n),c.U,n)}class gg extends Ue{constructor(a,c,n){super(a);this.l=new gc(a.l.U,c);this.j=c;this.B=n}G(a){super.start(a,{card:2===this.j?"1":Yc(this.j),diag:this.B});this.g.G(a);a.end()}}gg.prototype.O="check";function Kg(a,c,n){return 7===c?a:a instanceof lf&&(c|2)===c?a:new gg(a,c,n)} +class Mg extends Ue{constructor(a,c,n){super(a);this.l=a.l;this.B=c;this.j=n}G(a){super.start(a,{as:this.B.ha(),diag:this.j});this.g.G(a);a.end()}}Mg.prototype.O="treat"; // Input 61 -function bh(a,c,q){a=[a,mf([La.XS.boolean.Xc],dc.cb)];return new ch(a,[c,q])}class ch extends Se{constructor(a,c){super();this.g=a;this.actions=c;this.Wa=c.some(q=>q.Wa);a=sd.Md(c.map(q=>q.l.U));c=Cd(c.map(q=>q.l.fa));this.l=new gc(a,c)}G(a){super.start(a);let c=0;for(const q of this.g)q.G(a),this.actions[c++].G(a);a.end()}}ch.prototype.O="choose"; +function bh(a,c,n){a=[a,mf([La.XS.boolean.Yc],dc.cb)];return new ch(a,[c,n])}class ch extends Se{constructor(a,c){super();this.g=a;this.actions=c;this.Wa=c.some(n=>n.Wa);a=sd.Md(c.map(n=>n.l.U));c=Cd(c.map(n=>n.l.fa));this.l=new gc(a,c)}G(a){super.start(a);let c=0;for(const n of this.g)n.G(a),this.actions[c++].G(a);a.end()}}ch.prototype.O="choose"; // Input 62 -class dh extends Se{constructor(){super();this.action=this.value=this.bc=this.$a=null;this.slot=0}gd(){return this.$a}g(a){this.action=a;this.l=a.l}j(a){this.value=a;this.bc=a.l}G(a){super.start(a,{name:this.$a.toEQName(),slot:this.slot});this.value.G(a);this.action.G(a);a.end()}}class eh extends dh{j(a){this.value=a;this.bc=Vc(a.l,2);this.action&&(this.l=Wc(this.action.l,a.l.fa))}g(a){this.action=a;this.value&&(this.l=Wc(a.l,this.value.l.fa))}}eh.prototype.O="for";class fh extends dh{} +class dh extends Se{constructor(){super();this.action=this.value=this.cc=this.Za=null;this.slot=0}hd(){return this.Za}g(a){this.action=a;this.l=a.l}j(a){this.value=a;this.cc=a.l}G(a){super.start(a,{name:this.Za.toEQName(),slot:this.slot});this.value.G(a);this.action.G(a);a.end()}}class eh extends dh{j(a){this.value=a;this.cc=Vc(a.l,2);this.action&&(this.l=Wc(this.action.l,a.l.fa))}g(a){this.action=a;this.value&&(this.l=Wc(a.l,this.value.l.fa))}}eh.prototype.O="for";class fh extends dh{} fh.prototype.O="let"; // Input 63 class gh extends Te{constructor(a,c){super(a,null,c);this.l=dc.cb}}class hh extends gh{}hh.prototype.O="and";class ih extends gh{}ih.prototype.O="or"; // Input 64 -function jh(a){return kf(a)&&La.XS.integer.matches(a.value[0])&&1E7>a.value[0].value}class kh extends Te{constructor(a,c,q=!1){super(a,null,c);q&&(a=fg(a),c=fg(c));this.ea=qf(a,dc.Gf,this.Da(0));this.ga=qf(c,dc.Gf,this.Da(1));this.l=dc.Ke}}kh.prototype.O="to";class lh extends Se{constructor(a,c){super();this.g=a;this.j=c;this.l=dc.Ke}G(a){Re(this,a,{from:this.g.value,to:this.j.value})}}lh.prototype.O="range"; +function jh(a){return kf(a)&&La.XS.integer.matches(a.value[0])&&1E7>a.value[0].value}class kh extends Te{constructor(a,c,n=!1){super(a,null,c);n&&(a=fg(a),c=fg(c));this.ea=qf(a,dc.Gf,this.Da(0));this.ga=qf(c,dc.Gf,this.Da(1));this.l=dc.Ke}}kh.prototype.O="to";class lh extends Se{constructor(a,c){super();this.g=a;this.j=c;this.l=dc.Ke}G(a){Re(this,a,{from:this.g.value,to:this.j.value})}}lh.prototype.O="range"; class mh extends Se{constructor(a,c){super();this.g=a;this.next=c;this.l=Wc(c.l,a.l.fa)}G(a){super.start(a);this.g.G(a);this.next.G(a);a.end()}}mh.prototype.O="forEach"; // Input 65 // Input 66 -var nh={array:"http://www.w3.org/2005/xpath-functions/array",fn:"http://www.w3.org/2005/xpath-functions",map:"http://www.w3.org/2005/xpath-functions/map",math:"http://www.w3.org/2005/xpath-functions/math",saxon:"http://saxon.sf.net/",xml:"http://www.w3.org/XML/1998/namespace",xs:"http://www.w3.org/2001/XMLSchema",xsl:"http://www.w3.org/1999/XSL/Transform"},oh={},ph;for(ph in nh)oh[nh[ph]]=ph; +var nh={array:"http://www.w3.org/2005/xpath-functions/array",fn:"http://www.w3.org/2005/xpath-functions",ixsl:"http://saxonica.com/ns/interactiveXSLT",map:"http://www.w3.org/2005/xpath-functions/map",math:"http://www.w3.org/2005/xpath-functions/math",saxon:"http://saxon.sf.net/",xml:"http://www.w3.org/XML/1998/namespace",xs:"http://www.w3.org/2001/XMLSchema",xsl:"http://www.w3.org/1999/XSL/Transform"},oh={},ph;for(ph in nh)oh[nh[ph]]=ph; // Input 67 -function qh(a,c){var q=new Bf(a.name,a.arity),E=dc.Aa;switch(a.uri){case Zb.map:E=dc.Jf;switch(a.name.local){case "get":E=c[0].l.valueType;break;case "merge":E=dc.Jf;break;case "entry":E=kc(new td(c[0].l,c[1].l))}return new Gf(q,c,E);case Zb.Ue:switch(a.name.local){case "_from-sequence":E=kc(new ud(c[0].l))}return new Hf(q,c,E);case Zb.wb:switch(a.name.local){case "apply":a=c[0].l,a=a.U?a.U:a,E=a.resultType?a.resultType:dc.Aa}return new Jf(q,c,E)}} -class rh extends Se{constructor(a,c,q){var E=dc.Aa;super();this.name=La.XS.QName.fromParts(oh[q],q,a);this.arity=c;this.uri=q;this.l=dc.Qe;this.resultType=E}}rh.prototype.O="function";class sh{}sh.prototype.uri=Zb.Oa;class th extends sh{constructor(){super()}}th.prototype.uri=Zb.map;var uh=new th;class vh extends sh{constructor(){super()}}vh.prototype.uri=Zb.Ue;var wh=new vh;class xh extends sh{constructor(){super()}}xh.prototype.uri=Zb.wb;class yh extends xh{}var zh=new yh; +function qh(a,c){var n=new Bf(a.name,a.arity),F=dc.Aa;switch(a.uri){case Zb.map:F=dc.Jf;switch(a.name.local){case "get":F=c[0].l.valueType;break;case "merge":F=dc.Jf;break;case "entry":F=kc(new td(c[0].l,c[1].l))}return new Gf(n,c,F);case Zb.Ue:switch(a.name.local){case "_from-sequence":F=kc(new ud(c[0].l))}return new Hf(n,c,F);case Zb.wb:switch(a.name.local){case "apply":a=c[0].l,a=a.U?a.U:a,F=a.resultType?a.resultType:dc.Aa}return new Jf(n,c,F)}} +class rh extends Se{constructor(a,c,n){var F=dc.Aa;super();this.name=La.XS.QName.fromParts(oh[n],n,a);this.arity=c;this.uri=n;this.l=dc.Qe;this.resultType=F}}rh.prototype.O="function";class sh{}sh.prototype.uri=Zb.Oa;class th extends sh{constructor(){super()}}th.prototype.uri=Zb.map;var uh=new th;class vh extends sh{constructor(){super()}}vh.prototype.uri=Zb.Ue;var wh=new vh;class xh extends sh{constructor(){super()}}xh.prototype.uri=Zb.wb;class yh extends xh{}var zh=new yh; // Input 68 -const Ah={FUNCTION:0,Tj:1,Ak:2,Gk:3,gk:4,ak:5,nk:6,zk:7,rk:8,Dk:9,Ek:10,fk:11,EVALUATE_RESULT:12,Vj:13,Rj:14,mk:15,Uj:16,Wj:17},Bh=["doc","id","element-with-id","key","root"];function Ch(a,c,q,E){return Ah[a]+"|"+c+"|"+q+"|"+E}function Dh(a,c,q,E){return{getMessage:function(){return c},Vf:E,Id:function(){return a},save:function(){return q}}}function Og(a,c){const q=cd.Ej(c).required;return Dh(a,q,c,function(E,H){return"Required type of "+q+" is "+E.toString()+": actual type is "+H.toString()})} -class Vf{constructor(a,c){var q=null;this.name=a;this.arity=a.arity;if(c){this.xb=c;q=c.alphaTree;const E=[];let H;c.variadic&&(H=ic(q.a[0]));for(c=0;c""){return La.XS.QName.fromString(J,ba=>""===ba?ka():X(ba))}function E(){const J=oe[u.J];return 201===u.J?'name "'+u.T+'"':-1===u.J?"(unknown token)":u.T&&u.T!==oe[u.J]?`${J} ("${u.T}")`:/^[a-z]+$/.test(J)?`"${J}"`:J}function H(J,X="XPST0003"){Ge(u);throw new ve(J,X);}function p(J){const X=Ge(u);console.log((J.startsWith("...")? -"near":"in")+" "+X+":\n "+J)}function g(){try{u.next()}catch(J){H(J.message)}}function e(J){u.J!==J&&H('expected "'+oe[J]+'", found '+E())}function k(J=!1){J=v(J);let X=null;for(;7===u.J;){null==X&&(X=[],X.push(J));g();const ka=v();X.push(ka)}null!=X&&(J=new Pg(X));return J}function v(J=!1){switch(u.J){case 0:if(J)return nf();H("Expected an expression, but reached the end of the input");break;case 211:case 216:J=0;var X=u.J,ka=null,ba=null;do{g();e(21);g();e(201);var ta=u.T,Ca=void 0;211===X?Ca= -new eh:Ca=new fh;J++;ta=va(ta,"");Ca.$a=ta;g();e(216===X?58:31);g();ia.push(null);Ca.j(v());ia.pop();da(Ca);null==ba?ka=Ca:ba.g(Ca);ba=Ca}while(7===u.J);e(25);g();ba.g(v());for(Ca=0;Ca=X;){const Qa=u.J;var ka=t();switch(Qa){case 45:case 47:g();var ba=B();a:switch(Qa){case 45:J=new yg(J,ba);break a;case 47:J=Ng(J,ba);break a;default:throw new we(oe[Qa]);}t()>=ka&&H("Left operand of '"+oe[u.J]+"' needs parentheses");break;case 46:case 57:g();var ta=void 0;if(69===u.J&&"union"===u.T)throw new F("Saxon union types not supported");e(201);if(u.T)a:{try{var Ca=q(u.T,P.vb, -P.hc);break a}catch(Xa){H(Xa.message,Xa.code)}Ca=void 0}else Ca=H("Parser tokenization error NAME");ba=Ca;ba.uri!==Zb.lc&&H("Unknown simple type "+u.T+" in cast (SaxonJS is not schema-aware)");g();var Ka=213===u.J;Ka&&(u.J=204,g());const ib={numeric:"u",ENTITIES:"l",NMTOKENS:"l",IDREFS:"l"}[ba.local]||"a";if("a"===ib){["anyType","anyAtomicType","NOTATION"].includes(ba.local)&&H("Casting to xs:"+ba.local+" is not possible (it's an abstract type)","XPST0080");ta=La.type[ba.local];if(!ta)throw new F("Cannot find type "+ -ba.toEQName());ta=new nc(ta)}J=(57===Qa?sf:pf)(J,ib,ba,ta,Ka);t()>=ka&&H("Left operand of '"+oe[u.J]+"' needs parentheses");break;case 76:J=L(J);break;default:Ka=40===Qa;g();Ka&&ua.push(Vc(J.l,2));ba=A();for(Ka&&ua.pop();t()>ka;)ba=m(ba,t());if(!(ka=t()!==ka))a:switch(u.J){case 50:case 51:case 55:case 53:case 54:case 52:case 6:case 22:case 14:case 12:case 13:case 11:case 20:case 38:case 39:case 29:ka=!1;break a;default:ka=!0}ka||H("Left operand of '"+oe[u.J]+"' needs parentheses");J=f(J,Qa,ba)}}return J} -function f(J,X,ka){switch(X){case 9:return new ih(J,ka);case 10:return new hh(J,ka);case 50:case 51:case 55:case 53:case 54:case 52:return new og(J,X,ka,P);case 6:case 22:case 14:case 12:case 13:case 11:if(P.te())X=new ng(J,X,ka,P);else{var ba=P;ka=new mg(J,X,ka,ba);if(J=2===ka.ea.l.fa&&2===ka.ga.l.fa&&hg[X]){J=ka.ea.l.U;var ta=ka.ga.l.U;const Ca=J.$().p,Ka=ta.$().p;J=jg(Ca)||jg(Ka)?Ca===Ka:J.isNumeric()&&ta.isNumeric()?!0:/^A[SZU]/.test(Ca)&&/^A[SZU]/.test(Ka)}X=J?new og(ka.ea,hg[X],ka.ga,ba):ka}return X; -case 20:case 38:case 39:return new sg(J,X,ka,P);case 29:return ba=new kh(J,ka,P.te()),jh(ba.ea)&&jh(ba.ga)?(X=ba.ea.value[0],ba=ba.ga.value[0],X=X.value>ba.value?nf():X.value===ba.value?new lf([X],dc.Ke):new lh(X,ba)):X=ba,X;case 30:X=[];if(J instanceof Cf&&"concat"===J.name.name.local&&J.name.name.uri===Zb.Oa)for(ba of J.g)X.push(ba);else ba=Ch("BINARY_OP",0,"","concat"),ta=Og("FOTY0013",ba),J=Jg(J,dc.dc,ta,ba,P),X.push(J);ba=Ch("BINARY_OP",1,"","concat");ta=Og("FOTY0013",ba);ka=Jg(ka,dc.dc,ta,ba, -P);X.push(ka);X=Df("concat",X);X.l=dc.ec;return X;case 15:case 16:case 17:case 18:case 56:case 19:return new eg(J,X,ka,P);case 79:return X=ka,ka=La.XS.QName.fromParts("vv",Zb.yg,"otherwise"),ba=new fh,ba.$a=ka,ba.j(J),da(ba),ka=Tg(ba),J=[Df("exists",[ka]),mf([La.XS.boolean.Xc],dc.cb)],ba.g(new ch(J,[ka,X])),ba;case 1:case 23:case 24:return new $f(J,X,ka,1===Ba);case 81:return ka=Df("boolean",ka),bh(J,mf([La.XS.boolean.Xc],dc.cb),ka);case 80:return ka=Df("boolean",ka),bh(J,ka,mf([La.XS.boolean.ae], -dc.cb));default:throw new we(oe[X]);}}function A(){switch(u.J){case 16:g();var J=A();J=O(299,J);break;case 15:g();J=A();J=O(15,J);break;default:for(J=d();40===u.J;){g();ua.push(Vc(J.l,2));const X=d();ua.pop();J=new mh(J,X)}}return J}function O(J,X){if(kf(X)){const ka=X.value[0];return 299===J?mf([ka.nf()],X.l):X}return new eg(mf([La.XS.integer.fromNumber(0)],dc.Bd),J,X,P)}function b(){switch(u.J){case 36:case 3:case 201:case 208:case 70:case 207:case 69:case 205:case 206:case 35:case 202:case 209:case 5:case 21:case 43:return!0; -case 60:return["ordered","unordered"].includes(u.T);default:return!1}}function d(){var J=u.je;switch(u.J){case 2:return g(),J=new ag,b()?l(J):J;case 8:g();J=new ag;var X=new Yf(5,null);J=Ag(J,X);return l(J);default:201===u.J&&["true","false"].includes(u.T)&&p("The expression is looking for a child element named '"+u.T+"' - perhaps "+u.T+"() was intended? To avoid this warning, use child::"+u.T+" or ./"+u.T+".");201===u.J&&-1!==Ce(u.T)&&1!==Ba&&(0'");return null}function aa(J){function X(ba){return ba instanceof -Ef||ba instanceof vg&&X(ba.g)}switch(u.J){case 21:return R();case 5:var ka=z();J&&X(ka)&&H("Predicate pattern cannot be parenthesized","XTSE0340");return ka;case 4:return K();case 202:return I(!0);case 209:return D(!0);case 35:return ka=u.T,0===Pa&&1===Ba&&(P.ng=!0,J?Bh.includes(ka)||ka.includes(":")||H("Function "+ka+"() is not permitted at first position in pattern","XTSE0340"):H("Function call not at first position in pattern","XTSE0340")),ka=ha(null),P.ng=!1,ka;case 213:return ca(new Ef);case 205:return g(), -new Ef(ua[ua.length-1]);case 206:return g(),new Yf(9,null);case 69:if("function"===u.T)return ja();case 201:case 208:case 70:case 207:return ka=3,69===u.J&&["attribute","schema-attribute"].includes(u.T)?ka=2:69===u.J&&"namespace-node"===u.T?ka=8:J&&69===u.J&&"document-node"===u.T&&(ka=12),J=V(1),new Yf(ka,J);case 3:g();switch(u.J){case 201:case 208:case 70:case 207:case 69:return ka=V(2),new Yf(2,ka);default:H("@ must be followed by a NodeTest")}break;case 36:try{ka=Pe(u.T)}catch(ba){H(ba.message), -ka=3}J=Ne[ka];g();switch(u.J){case 201:case 208:case 70:case 207:case 69:J=V(J);let ba=null;if(2===ka){const ta=sd.Nb(J,new Fc(2));ta===sd.cc?ba="attribute axis can never yield nodes of type "+J:ta===sd.Rb&&(J=new Fc(2))}3===ka&&9===J.kind&&(ba=J.name+" nodes can never be children");2!==J.kind||[2,12].includes(ka)||(ba="axis "+Me(ka)+" can never yield attribute nodes");if(ba){if(1===Ba)return new Xe(ba);p(ba);return nf()}return new Yf(ka,J);default:H("Unexpected token "+E()+" after axis name")}break; -case 60:switch(u.T){case "map":return x();case "array":return U();case ".":return Y();case "_":H("Underscore functions not yet implemented")}break;case 43:return S();default:H("Unexpected token "+E()+" at start of expression")}}function z(){g();if(204===u.J)return g(),nf();const J=k();e(204);g();return J}function D(){const J=u.T?y(u.T):H("Parser tokenization error NUMBER");isNaN(J)&&H("Invalid numeric literal ("+u.T+")");g();return mf([J],"AO"===J.code?dc.de:"AD"===J.code?dc.Fg:dc.Bd)}function y(J){try{return 0<= -J.indexOf("e")||0<=J.indexOf("E")?La.XS.double.fromString(J):0<=J.indexOf(".")?La.XS.mb.fromString(J):La.XS.integer.fromString(J)}catch(X){return NaN}}function I(){var J=new of(u.T);g();return J}function R(){g();e(201);var J=u.T;g();const X=va(J,"");J=fa(X);if(null!=J)var ka=Tg(J);else if(X.uri===Zb.zi&&0""));if(7===u.J){g();e(201);ta=!1;const Ka=q(u.T,P.vb,P.hc);Ka.uri===Zb.lc?1===ba?["untyped","anyType"].includes(Ka.local)||(["untypedAtomic","anyAtomicType"].includes(Ka.local)?ta=!0:H("Unsupported type annotation "+u.T+" (SaxonJS is not schema-aware, so all nodes are untyped)")):["untypedAtomic", -"anyAtomicType"].includes(Ka.local)||H("Unsupported type annotation "+u.T+" (SaxonJS is not schema-aware, so all nodes are untyped)"):H("Unsupported type annotation "+u.T+" (SaxonJS is not schema-aware, so only built-in types are recognized)");g();213===u.J&&g();e(204);g();if(ta)return Cc;if("*"===Ca)return ld(ba);Ca=q(Ca,P.vb,1===ba?P.hc:()=>"");return new nd(ba,Ca)}H("Expected ')' or ',' in SequenceType");return null;case "schema-attribute":case "schema-element":return H("Type "+X+"() not allowed: SaxonJS is not schema-aware"), -null;default:return H("Unknown node kind "+X),null}}function x(){var J=[];g();var X=[];let ka=!0;if(215!==u.J)for(;;){var ba=v();e(75);g();const ta=v(),Ca=Ch("FUNCTION",0,"","map:entry"),Ka=Og("XPTY0004",Ca);ba=Jg(ba,dc.Oe,Ka,Ca,P);!ka||ba instanceof lf?-1===X.indexOf(ba)?X.push(ba):ka=!1:ka=!1;ba=new Wf(ba,ta);J.push(ba);if(215===u.J)break;else e(7),g()}ze(u);g();if(0===J.length)return qh(new rh("_new",1,uh.uri),[]);if(1===J.length)return J[0];if(ka){const ta=[];J.forEach(Ca=>{ta.push([Ca.key,Ca.value])}); -return new Xf(ta)}J=new Pg(J);X=[];X=new Xf([[new of("duplicates"),new of("reject")],[new of("duplicates-error-code"),new of("XQDY0137")]]);return qh(new rh("merge",2,uh.uri),[J,X])}function K(){const J=[];g();if(203===u.J)return g(),new Mf(J);for(;;){const X=v();J.push(X);if(7===u.J)g();else{if(203===u.J){g();break}H("Expected ',' or ']', found "+oe[u.J])}}return new Mf(J)}function U(){g();const J=new rh("_from-sequence",1,wh.uri);if(215===u.J)return ze(u),g(),qh(J,[nf()]);const X=k();e(215);ze(u); -g();return qh(J,[X])}function ha(J){function X(){if(209===u.J)return D(!0);if(202===u.J)return I(u.T);if(21===u.J)return R();H("The arguments to a function call in a pattern must be literals or variable references","XTSE0340")}var ka=u.T,ba=u.je;const ta=[];null!=J&&ta.push(J);J=w(ka);ka=null;1===Ba&&J.uri===Zb.Oa&&["current-group","current-grouping-key","current-merge-group","current-merge-key"].includes(J.local)&&H(J.local+"() is not permitted in a pattern","XTSE1060");g();if(204!==u.J){for(;;){var Ca= -P.ng?X():Z();if(null==Ca||Ca instanceof Qf)null==ka&&(ka=[]),ka.push(ta.length);ta.push(Ca);if(7===u.J)g();else break}e(204)}g();Ca=new Bf(J,ta.length);if(null!=ka)return ba=P.ef().fg(Ca,P),null==ba&&H("No function "+J.toString()+"#"+ta.length+" is known for partial application","XPST0017"),new Uf(ba,ta,ka);ka=[];Ca=P.ef().bind(Ca,ta,P,ka);return null==Ca?T(P,ba,J,ta,ka):Ca}function T(J,X,ka,ba,ta){let Ca="Cannot find a "+ba.length+"-argument function named "+ka.toEQName()+"()";for(var Ka of ta)Ca+= -". "+Ka;ta=!1;for(Ka=0;KaJ.value||J.value>Number.MAX_SAFE_INTEGER)&&H("Number following '#' is out of range","FOAR0002");J=J.value;g();let ta=null;try{ta=q(X,ba.vb,ba.ph)}catch(Ka){H(Ka.message,Ka.code)}X=ba.ef();const Ca=new Bf(ta,J);ba=X.fg(Ca,ba);null==ba&&H("Function "+ta.toEQName()+"#"+J+" not found","XPST0017",ka);return ba.xb.wh&&!ta.hasURI(re.ci)?new Pf(ba):new Of(ba)}function da(J){J.slot=ia.length;ia.push(J)}function fa(J){for(let X=ia.length-1;0<=X;X--){const ka=ia[X];if(ka&& -ka.gd().equals(J))return ka}}function na(J,X){return q(J,P.vb,()=>X)}function va(J,X){try{return na(J,X)}catch(ka){H(ka.message,ka.code)}}function h(J,X){if(X.startsWith("Q{"))return new pd(J,X.substring(2,X.length-2));try{const ka=q(X+":dummy",P.vb,()=>"");return new pd(J,ka.getURI())}catch(ka){return H(ka.message,ka.code),null}}function G(J,X){te(X)||H("Local name ["+X+"] contains invalid characters");return new od(J,X)}function Q(J,X,ka,ba=!1){this.global=ba;this.$a=this.name=J;this.bc=X;this.slot= -ka}let u,N,P={},ia=[],ua=[],Ba=0,Fa=0,Pa=0;const Ua=[],Na={fg:function(J,X){X=X.getContext();return(X=Eh.getFnSignature(J.name,J.arity,X))?new Vf(J,X):null},bind:function(J,X,ka){var ba=ka.getContext(),ta=Eh.getFnSignature(J.name,J.arity,ba);if(ta){if(J.name.uri===Zb.Oa)switch(J.name.local){case "false":return mf([La.XS.boolean.ae],dc.cb);case "true":return mf([La.XS.boolean.Xc],dc.cb);case "normalize-unicode":1===X.length&&X.push(new of("NFC"));break;case "copy-of":return new ah(X[0]?X[0]:new Ef(ua[ua.length- -1]));case "current-group":return new Zg;case "current-grouping-key":return new $g;default:ta.defaultToDot&&0===J.arity&&ta.arity.includes(0)&&(X.push(new Ef(ua[ua.length-1])),J.arity++)}else if(ta.isIdempotent&&1===X.length)return X[0];ba=[];var Ca;const Qa=ta.alphaTree;Qa&&"F"===Qa.p&&!Qa.r&&(Qa.r={p:"",o:"*"});Qa&&"F"===Qa.p&&Qa.a&&Qa.r||sa.la("Bad function signature for "+J.name.local);ta.variadic&&(Ca=Qa.a[0]);const ib=ta.collation||-1;for(let Xa=0;XaX.length-1&&ba.push(new of(ka.Ub));X=ic(Qa.r);if(ta.isUserFunction)return new Nf(J,ba,X,ta.componentBinding);switch(J.name.uri){case Zb.Oa:case Zb.lc:switch(J.name.local){case "current":ua[0]&&(X=ua[0]);break;case "accumulator-before":case "accumulator-after":if(ba[0]instanceof -of){ta=q(ba[0].value[0].value,ka.vb,()=>"").toEQName();ka=ka.Gb[ta];if(!ka)throw new F("Unknown accumulator "+ta,"XTDE3340");X=ec(ka);ba[0]=new of(ta)}}return new Cf(J,ba,X);case Zb.map:return new Gf(J,ba,X);case Zb.Ue:return new Hf(J,ba,X);case Zb.yh:return new If(J,ba,X);case Zb.wb:return new Jf(J,ba,X);case Zb.nd:return new Kf(J,ba,X);case Zb.xh:return new Lf(J,ba,X);default:return ta.wh?new Nf(J,ba,X,ta.Jk):new Jf(J,ba,X)}}else{if(ta=Eh.getFnSignature(J.name,null,ba))if(ta&&!ta.alphaTree&&(ta.alphaTree= -rb(ta.sig)),ba=X.length,Ca=ta.alphaTree.a.length,ba!==Ca&&(ta.variadic?X.length"",Ub:"http://www.w3.org/2005/xpath-functions/collation/codepoint",qe:!1,fb:{},Gb:{},bb:!1,Jc:!1,dg:!1,Tb:!1, -Fj:function(){P.hc=()=>"";P.Ub="http://www.w3.org/2005/xpath-functions/collation/codepoint";P.fb={};P.Gb={};P.bb=!1;P.Jc=!1;P.dg=!1;P.Tb=!1},getContext:function(){return{bb:P.bb,Wk:1===Ba,fb:P.fb}},Ni:function(){return P.Ub},ph:function(){return Zb.Oa},ef:function(){return Na},Qk:function(){return null},Vk:function(){return!1},te:function(){return P.Tb},bl:function(){return null}};let Wa={};Q.prototype.gd=function(){return this.name};return{process:function(J,X,ka,ba,ta=!1,Ca=!1,Ka=!1){a();N=J;Ba= -X?1:0;J=[];Wa={};P.Fj();P.vb=c;X&&(P.bb=!0);Ka&&(P.dg=!0);if(ba){Fa=ba.hf?1:0;ba.Jc&&(P.Jc=!0);for(var Qa in ba.namespaces)Wa[Qa]=ba.namespaces[Qa];for(var ib in ba.Hc){Qa=q(ib,P.vb,()=>"");const pb=ba.Hc[ib],Kh=ec(pb.getAttribute("sType"));J.push(new Q(Qa,Kh,pb,!0))}for(var Xa in ba.ac)ib=q(Xa,P.vb,()=>""),J.push(new Q(ib,ba.wd[Xa],ba.ac[Xa]));ia=J;P.Gb=ba.Gb;ba.qe&&(P.qe=ba.qe);ba.Ub&&(P.Ub=ba.Ub);ba.fb&&(P.fb=ba.fb);ba.bb&&(P.bb=ba.bb);ba.Tb&&(P.Tb=ba.Tb);ba.ye&&(ua=[Vc(ba.ye,2)]);ba.xpathDefaultNamespace&& -(P.hc=()=>ba.xpathDefaultNamespace);P.Ia=ba.Ia?ba.Ia:null}Xa="";for(const pb in Wa)J=Wa[pb],J=J===Zb.withPrefix[pb]?"~":J,Xa+=pb+"="+J+" ";De(u,N);let ob;try{ob=k(Ca)}catch(pb){throw pb instanceof F&&ba&&ba.Lj&&(pb.code=ba.Lj,pb.message="Invalid XPath expression supplied to xsl:evaluate {"+N+"}: "+pb.message),pb;}0!==u.J&&H("Found "+E()+" beyond end of expression");X?(ob=ob.Ga(),ob instanceof hf&&ka&&(ob=new jf(gf(ob)))):ba&&ba.De&&(X=Ch("EVALUATE_RESULT",0,"",null),ka=Og("XPTY0004",X),ob=Jg(ob,ba.De, -ka,X));X=ta?new Fh:new Gh;ob.G(X);X=X.current;ta?(X=X.documentElement,ob.l&&X.setAttribute("sType",ob.l.ha()),""!==Xa&&X.setAttribute("ns",Xa),ba&&ba.Ia&&X.setAttribute("baseUri",ba.Ia)):(X=X.C[0],""!==Xa&&(X.gl=Xa),ba&&ba.Ia&&(X.pb=ba.Ia),Ka&&0pb.$a.toEQName())));return X},parseSequenceType:function(J,X,ka){a();P.vb=X;P.hc=ka;Ba=0;Wa={};De(u,J);J=B();0!==u.J&&H("Unexpected "+E()+" after SequenceType");return J},getTokenizer:function(){return u}}}(); -function Gh(){this.g=[];this.current={C:[]}}Gh.prototype={start:function(a,c={}){a={N:a,C:[]};for(const q in c)a[q]=c[q];this.current.C.push(a);this.g.push(this.current);this.current=a},ud:function(a,c){this.current[a]=c},end:function(){this.current=this.g.pop()}};function Fh(){this.j=Jd.find("SaxonJS").getPlatform().createDocument();this.g=[];this.current=this.j} -Fh.prototype={start:function(a,c={}){a=this.j.createElement(a);for(const q in c)a.setAttribute(q,c[q]);this.current.appendChild(a);this.g.push(this.current);this.current=a},ud:function(a,c){this.current.setAttribute(a,c)},end:function(){this.current=this.g.pop()}}; +const Ah={FUNCTION:0,Tj:1,Ak:2,Gk:3,gk:4,ak:5,nk:6,zk:7,rk:8,Dk:9,Ek:10,fk:11,EVALUATE_RESULT:12,Vj:13,Rj:14,mk:15,Uj:16,Wj:17},Bh=["doc","id","element-with-id","key","root"];function Ch(a,c,n,F){return Ah[a]+"|"+c+"|"+n+"|"+F}function Dh(a,c,n,F){return{getMessage:function(){return c},Vf:F,Id:function(){return a},save:function(){return n}}}function Og(a,c){const n=cd.Ej(c).required;return Dh(a,n,c,function(F,I){return"Required type of "+n+" is "+F.toString()+": actual type is "+I.toString()})} +class Vf{constructor(a,c){var n=null;this.name=a;this.arity=a.arity;if(c){this.xb=c;n=c.alphaTree;const F=[];let I;c.variadic&&(I=ic(n.a[0]));for(c=0;c""){return La.XS.QName.fromString(J,da=>""===da?ja():X(da))}function F(){const J=oe[r.J];return 201===r.J?'name "'+r.T+'"':-1===r.J?"(unknown token)":r.T&&r.T!==oe[r.J]?`${J} ("${r.T}")`:/^[a-z]+$/.test(J)?`"${J}"`:J}function I(J,X="XPST0003"){Ge(r);throw new ve(J,X);}function m(J){const X=Ge(r);console.log((J.startsWith("...")? +"near":"in")+" "+X+":\n "+J)}function g(){try{r.next()}catch(J){I(J.message)}}function e(J){r.J!==J&&I('expected "'+oe[J]+'", found '+F())}function k(J=!1){J=v(J);let X=null;for(;7===r.J;){null==X&&(X=[],X.push(J));g();const ja=v();X.push(ja)}null!=X&&(J=new Pg(X));return J}function v(J=!1){switch(r.J){case 0:if(J)return nf();I("Expected an expression, but reached the end of the input");break;case 211:case 216:J=0;var X=r.J,ja=null,da=null;do{g();e(21);g();e(201);var ta=r.T,Ca=void 0;211===X?Ca= +new eh:Ca=new fh;J++;ta=pa(ta,"");Ca.Za=ta;g();e(216===X?58:31);g();ea.push(null);Ca.j(v());ea.pop();ha(Ca);null==da?ja=Ca:da.g(Ca);da=Ca}while(7===r.J);e(25);g();da.g(v());for(Ca=0;Ca=X;){const Qa=r.J;var ja=t();switch(Qa){case 45:case 47:g();var da=u();a:switch(Qa){case 45:J=new yg(J,da);break a;case 47:J=Ng(J,da);break a;default:throw new we(oe[Qa]);}t()>=ja&&I("Left operand of '"+oe[r.J]+"' needs parentheses");break;case 46:case 57:g();var ta=void 0;if(69===r.J&&"union"===r.T)throw new G("Saxon union types not supported");e(201);if(r.T)a:{try{var Ca=n(r.T,R.vb, +R.ic);break a}catch(Xa){I(Xa.message,Xa.code)}Ca=void 0}else Ca=I("Parser tokenization error NAME");da=Ca;da.uri!==Zb.mc&&I("Unknown simple type "+r.T+" in cast (SaxonJS is not schema-aware)");g();var Ka=213===r.J;Ka&&(r.J=204,g());const ib={numeric:"u",ENTITIES:"l",NMTOKENS:"l",IDREFS:"l"}[da.local]||"a";if("a"===ib){["anyType","anyAtomicType","NOTATION"].includes(da.local)&&I("Casting to xs:"+da.local+" is not possible (it's an abstract type)","XPST0080");ta=La.type[da.local];if(!ta)throw new G("Cannot find type "+ +da.toEQName());ta=new nc(ta)}J=(57===Qa?sf:pf)(J,ib,da,ta,Ka);t()>=ja&&I("Left operand of '"+oe[r.J]+"' needs parentheses");break;case 76:J=K(J);break;default:Ka=40===Qa;g();Ka&&ua.push(Vc(J.l,2));da=B();for(Ka&&ua.pop();t()>ja;)da=l(da,t());if(!(ja=t()!==ja))a:switch(r.J){case 50:case 51:case 55:case 53:case 54:case 52:case 6:case 22:case 14:case 12:case 13:case 11:case 20:case 38:case 39:case 29:ja=!1;break a;default:ja=!0}ja||I("Left operand of '"+oe[r.J]+"' needs parentheses");J=f(J,Qa,da)}}return J} +function f(J,X,ja){switch(X){case 9:return new ih(J,ja);case 10:return new hh(J,ja);case 50:case 51:case 55:case 53:case 54:case 52:return new og(J,X,ja,R);case 6:case 22:case 14:case 12:case 13:case 11:if(R.te())X=new ng(J,X,ja,R);else{var da=R;ja=new mg(J,X,ja,da);if(J=2===ja.ea.l.fa&&2===ja.ga.l.fa&&hg[X]){J=ja.ea.l.U;var ta=ja.ga.l.U;const Ca=J.$().p,Ka=ta.$().p;J=jg(Ca)||jg(Ka)?Ca===Ka:J.isNumeric()&&ta.isNumeric()?!0:/^A[SZU]/.test(Ca)&&/^A[SZU]/.test(Ka)}X=J?new og(ja.ea,hg[X],ja.ga,da):ja}return X; +case 20:case 38:case 39:return new sg(J,X,ja,R);case 29:return da=new kh(J,ja,R.te()),jh(da.ea)&&jh(da.ga)?(X=da.ea.value[0],da=da.ga.value[0],X=X.value>da.value?nf():X.value===da.value?new lf([X],dc.Ke):new lh(X,da)):X=da,X;case 30:X=[];if(J instanceof Cf&&"concat"===J.name.name.local&&J.name.name.uri===Zb.Oa)for(da of J.g)X.push(da);else da=Ch("BINARY_OP",0,"","concat"),ta=Og("FOTY0013",da),J=Jg(J,dc.ec,ta,da,R),X.push(J);da=Ch("BINARY_OP",1,"","concat");ta=Og("FOTY0013",da);ja=Jg(ja,dc.ec,ta,da, +R);X.push(ja);X=Df("concat",X);X.l=dc.fc;return X;case 15:case 16:case 17:case 18:case 56:case 19:return new eg(J,X,ja,R);case 79:return X=ja,ja=La.XS.QName.fromParts("vv",Zb.zg,"otherwise"),da=new fh,da.Za=ja,da.j(J),ha(da),ja=Tg(da),J=[Df("exists",[ja]),mf([La.XS.boolean.Yc],dc.cb)],da.g(new ch(J,[ja,X])),da;case 1:case 23:case 24:return new $f(J,X,ja,1===Ba);case 81:return ja=Df("boolean",ja),bh(J,mf([La.XS.boolean.Yc],dc.cb),ja);case 80:return ja=Df("boolean",ja),bh(J,ja,mf([La.XS.boolean.be], +dc.cb));default:throw new we(oe[X]);}}function B(){switch(r.J){case 16:g();var J=B();J=L(299,J);break;case 15:g();J=B();J=L(15,J);break;default:for(J=b();40===r.J;){g();ua.push(Vc(J.l,2));const X=b();ua.pop();J=new mh(J,X)}}return J}function L(J,X){if(kf(X)){const ja=X.value[0];return 299===J?mf([ja.pf()],X.l):X}return new eg(mf([La.XS.integer.fromNumber(0)],dc.Bd),J,X,R)}function y(){switch(r.J){case 36:case 3:case 201:case 208:case 70:case 207:case 69:case 205:case 206:case 35:case 202:case 209:case 5:case 21:case 43:case 4:return!0; +case 60:return["ordered","unordered","map","array"].includes(r.T);default:return!1}}function b(){var J=r.ke;switch(r.J){case 2:return g(),J=new ag,y()?d(J):J;case 8:g();J=new ag;var X=new Yf(5,null);J=Ag(J,X);return d(J);default:201===r.J&&["true","false"].includes(r.T)&&m("The expression is looking for a child element named '"+r.T+"' - perhaps "+r.T+"() was intended? To avoid this warning, use child::"+r.T+" or ./"+r.T+".");201===r.J&&-1!==Ce(r.T)&&1!==Ba&&(0'");return null}function ca(J){function X(da){return da instanceof Ef||da instanceof vg&&X(da.g)}switch(r.J){case 21:return S();case 5:var ja=x();J&&X(ja)&&I("Predicate pattern cannot be parenthesized","XTSE0340");return ja;case 4:return M();case 202:return H(!0);case 209:return E(!0);case 35:return ja=r.T,0===Pa&&1===Ba&&(R.og=!0,J?Bh.includes(ja)||ja.includes(":")||I("Function "+ja+"() is not permitted at first position in pattern","XTSE0340"):I("Function call not at first position in pattern", +"XTSE0340")),ja=fa(null),R.og=!1,ja;case 213:return aa(new Ef);case 205:return g(),new Ef(ua[ua.length-1]);case 206:return g(),new Yf(9,null);case 69:if("function"===r.T)return ia();case 201:case 208:case 70:case 207:return ja=3,69===r.J&&["attribute","schema-attribute"].includes(r.T)?ja=2:69===r.J&&"namespace-node"===r.T?ja=8:J&&69===r.J&&"document-node"===r.T&&(ja=12),J=V(1),new Yf(ja,J);case 3:g();switch(r.J){case 201:case 208:case 70:case 207:case 69:return ja=V(2),new Yf(2,ja);default:I("@ must be followed by a NodeTest")}break; +case 36:try{ja=Pe(r.T)}catch(da){I(da.message),ja=3}J=Ne[ja];g();switch(r.J){case 201:case 208:case 70:case 207:case 69:J=V(J);let da=null;if(2===ja){const ta=sd.Ob(J,new Fc(2));ta===sd.dc?da="attribute axis can never yield nodes of type "+J:ta===sd.Sb&&(J=new Fc(2))}3===ja&&9===J.kind&&(da=J.name+" nodes can never be children");2!==J.kind||[2,12].includes(ja)||(da="axis "+Me(ja)+" can never yield attribute nodes");if(da){if(1===Ba)return new Xe(da);m(da);return nf()}return new Yf(ja,J);default:I("Unexpected token "+ +F()+" after axis name")}break;case 60:switch(r.T){case "map":return z();case "array":return W();case ".":return Y();case "_":I("Underscore functions not yet implemented")}break;case 43:return T();default:I("Unexpected token "+F()+" at start of expression")}}function x(){g();if(204===r.J)return g(),nf();const J=k();e(204);g();return J}function E(){const J=r.T?A(r.T):I("Parser tokenization error NUMBER");isNaN(J)&&I("Invalid numeric literal ("+r.T+")");g();return mf([J],"AO"===J.code?dc.ee:"AD"===J.code? +dc.Gg:dc.Bd)}function A(J){try{return 0<=J.indexOf("e")||0<=J.indexOf("E")?La.XS.double.fromString(J):0<=J.indexOf(".")?La.XS.mb.fromString(J):La.XS.integer.fromString(J)}catch(X){return NaN}}function H(){var J=new of(r.T);g();return J}function S(){g();e(201);var J=r.T;g();const X=pa(J,"");J=ba(X);if(null!=J)var ja=Tg(J);else if(X.uri===Zb.zi&&0""));if(7===r.J){g();e(201);ta=!1;const Ka=n(r.T,R.vb,R.ic);Ka.uri===Zb.mc?1===da?["untyped","anyType"].includes(Ka.local)||(["untypedAtomic","anyAtomicType"].includes(Ka.local)?ta=!0:I("Unsupported type annotation "+r.T+" (SaxonJS is not schema-aware, so all nodes are untyped)")):["untypedAtomic", +"anyAtomicType"].includes(Ka.local)||I("Unsupported type annotation "+r.T+" (SaxonJS is not schema-aware, so all nodes are untyped)"):I("Unsupported type annotation "+r.T+" (SaxonJS is not schema-aware, so only built-in types are recognized)");g();213===r.J&&g();e(204);g();if(ta)return Cc;if("*"===Ca)return ld(da);Ca=n(Ca,R.vb,1===da?R.ic:()=>"");return new nd(da,Ca)}I("Expected ')' or ',' in SequenceType");return null;case "schema-attribute":case "schema-element":return I("Type "+X+"() not allowed: SaxonJS is not schema-aware"), +null;default:return I("Unknown node kind "+X),null}}function z(){var J=[];g();var X=[];let ja=!0;if(215!==r.J)for(;;){var da=v();e(75);g();const ta=v(),Ca=Ch("FUNCTION",0,"","map:entry"),Ka=Og("XPTY0004",Ca);da=Jg(da,dc.Oe,Ka,Ca,R);!ja||da instanceof lf?-1===X.indexOf(da)?X.push(da):ja=!1:ja=!1;da=new Wf(da,ta);J.push(da);if(215===r.J)break;else e(7),g()}ze(r);g();if(0===J.length)return qh(new rh("_new",1,uh.uri),[]);if(1===J.length)return J[0];if(ja){const ta=[];J.forEach(Ca=>{ta.push([Ca.key,Ca.value])}); +return new Xf(ta)}J=new Pg(J);X=[];X=new Xf([[new of("duplicates"),new of("reject")],[new of("duplicates-error-code"),new of("XQDY0137")]]);return qh(new rh("merge",2,uh.uri),[J,X])}function M(){const J=[];g();if(203===r.J)return g(),new Mf(J);for(;;){const X=v();J.push(X);if(7===r.J)g();else{if(203===r.J){g();break}I("Expected ',' or ']', found "+oe[r.J])}}return new Mf(J)}function W(){g();const J=new rh("_from-sequence",1,wh.uri);if(215===r.J)return ze(r),g(),qh(J,[nf()]);const X=k();e(215);ze(r); +g();return qh(J,[X])}function fa(J){function X(){if(209===r.J)return E(!0);if(202===r.J)return H(r.T);if(21===r.J)return S();I("The arguments to a function call in a pattern must be literals or variable references","XTSE0340")}var ja=r.T,da=r.ke;const ta=[];null!=J&&ta.push(J);J=w(ja);ja=null;1===Ba&&J.uri===Zb.Oa&&["current-group","current-grouping-key","current-merge-group","current-merge-key"].includes(J.local)&&I(J.local+"() is not permitted in a pattern","XTSE1060");g();if(204!==r.J){for(;;){var Ca= +R.og?X():Z();if(null==Ca||Ca instanceof Qf)null==ja&&(ja=[]),ja.push(ta.length);ta.push(Ca);if(7===r.J)g();else break}e(204)}g();Ca=new Bf(J,ta.length);if(null!=ja)return da=R.ff().fg(Ca,R),null==da&&I("No function "+J.toString()+"#"+ta.length+" is known for partial application","XPST0017"),new Uf(da,ta,ja);ja=[];Ca=R.ff().bind(Ca,ta,R,ja);return null==Ca?U(R,da,J,ta,ja):Ca}function U(J,X,ja,da,ta){let Ca="Cannot find a "+da.length+"-argument function named "+ja.toEQName()+"()";for(var Ka of ta)Ca+= +". "+Ka;ta=!1;for(Ka=0;KaJ.value||J.value>Number.MAX_SAFE_INTEGER)&&I("Number following '#' is out of range","FOAR0002");J=J.value;g();let ta=null;try{ta=n(X,da.vb,da.qh)}catch(Ka){I(Ka.message,Ka.code)}X=da.ff();const Ca=new Bf(ta,J);da=X.fg(Ca,da);null==da&&I("Function "+ta.toEQName()+"#"+J+" not found","XPST0017",ja);return da.xb.wh&&!ta.hasURI(re.ci)?new Pf(da):new Of(da)}function ha(J){J.slot=ea.length;ea.push(J)}function ba(J){for(let X=ea.length-1;0<=X;X--){const ja=ea[X];if(ja&& +ja.hd().equals(J))return ja}}function va(J,X){return n(J,R.vb,()=>X)}function pa(J,X){try{return va(J,X)}catch(ja){I(ja.message,ja.code)}}function h(J,X){if(X.startsWith("Q{"))return new pd(J,X.substring(2,X.length-2));try{const ja=n(X+":dummy",R.vb,()=>"");return new pd(J,ja.getURI())}catch(ja){return I(ja.message,ja.code),null}}function C(J,X){te(X)||I("Local name ["+X+"] contains invalid characters");return new od(J,X)}function Q(J,X,ja,da=!1){this.global=da;this.Za=this.name=J;this.cc=X;this.slot= +ja}let r,O,R={},ea=[],ua=[],Ba=0,Fa=0,Pa=0;const Ua=[],Na={fg:function(J,X){X=X.getContext();return(X=Eh.getFnSignature(J.name,J.arity,X))?new Vf(J,X):null},bind:function(J,X,ja){var da=ja.getContext(),ta=Eh.getFnSignature(J.name,J.arity,da);if(ta){if(J.name.uri===Zb.Oa)switch(J.name.local){case "false":return mf([La.XS.boolean.be],dc.cb);case "true":return mf([La.XS.boolean.Yc],dc.cb);case "normalize-unicode":1===X.length&&X.push(new of("NFC"));break;case "copy-of":return new ah(X[0]?X[0]:new Ef(ua[ua.length- +1]));case "current-group":return new Zg;case "current-grouping-key":return new $g;default:ta.defaultToDot&&0===J.arity&&ta.arity.includes(0)&&(X.push(new Ef(ua[ua.length-1])),J.arity++)}else if(ta.isIdempotent&&1===X.length)return X[0];da=[];var Ca;const Qa=ta.alphaTree;Qa&&"F"===Qa.p&&!Qa.r&&(Qa.r={p:"",o:"*"});Qa&&"F"===Qa.p&&Qa.a&&Qa.r||sa.la("Bad function signature for "+J.name.local);ta.variadic&&(Ca=Qa.a[0]);const ib=ta.collation||-1;for(let Xa=0;XaX.length-1&&da.push(new of(ja.Vb));X=ic(Qa.r);if(ta.isUserFunction)return new Nf(J,da,X,ta.componentBinding);switch(J.name.uri){case Zb.Oa:case Zb.mc:switch(J.name.local){case "current":ua[0]&&(X=ua[0]);break;case "accumulator-before":case "accumulator-after":if(da[0]instanceof +of){ta=n(da[0].value[0].value,ja.vb,()=>"").toEQName();ja=ja.Gb[ta];if(!ja)throw new G("Unknown accumulator "+ta,"XTDE3340");X=ec(ja);da[0]=new of(ta)}}return new Cf(J,da,X);case Zb.map:return new Gf(J,da,X);case Zb.Ue:return new Hf(J,da,X);case Zb.yh:return new If(J,da,X);case Zb.wb:return new Jf(J,da,X);case Zb.nd:return new Kf(J,da,X);case Zb.xh:return new Lf(J,da,X);default:return ta.wh?new Nf(J,da,X,ta.Jk):new Jf(J,da,X)}}else{if(ta=Eh.getFnSignature(J.name,null,da))if(ta&&!ta.alphaTree&&(ta.alphaTree= +rb(ta.sig)),da=X.length,Ca=ta.alphaTree.a.length,da!==Ca&&(ta.variadic?X.length"",Vb:"http://www.w3.org/2005/xpath-functions/collation/codepoint",qe:!1,fb:{},Gb:{},bb:!1,Kc:!1,dg:!1,Ub:!1, +Fj:function(){R.ic=()=>"";R.Vb="http://www.w3.org/2005/xpath-functions/collation/codepoint";R.fb={};R.Gb={};R.bb=!1;R.Kc=!1;R.dg=!1;R.Ub=!1},getContext:function(){return{bb:R.bb,Wk:1===Ba,fb:R.fb}},Ni:function(){return R.Vb},qh:function(){return Zb.Oa},ff:function(){return Na},Qk:function(){return null},Vk:function(){return!1},te:function(){return R.Ub},bl:function(){return null}};let Wa={};Q.prototype.hd=function(){return this.name};return{process:function(J,X,ja,da,ta=!1,Ca=!1,Ka=!1){a();O=J;Ba= +X?1:0;J=[];Wa={};R.Fj();R.vb=c;X&&(R.bb=!0);Ka&&(R.dg=!0);if(da){Fa=da.jf?1:0;da.Kc&&(R.Kc=!0);for(var Qa in da.namespaces)Wa[Qa]=da.namespaces[Qa];for(var ib in da.Ic){Qa=n(ib,R.vb,()=>"");const qb=da.Ic[ib],Kh=ec(qb.getAttribute("sType"));J.push(new Q(Qa,Kh,qb,!0))}for(var Xa in da.bc)ib=n(Xa,R.vb,()=>""),J.push(new Q(ib,da.wd[Xa],da.bc[Xa]));ea=J;R.Gb=da.Gb;da.qe&&(R.qe=da.qe);da.Vb&&(R.Vb=da.Vb);da.fb&&(R.fb=da.fb);da.bb&&(R.bb=da.bb);da.Ub&&(R.Ub=da.Ub);da.xe&&(ua=[Vc(da.xe,2)]);da.xpathDefaultNamespace&& +(R.ic=()=>da.xpathDefaultNamespace);R.Ia=da.Ia?da.Ia:null}Xa="";for(const qb in Wa)J=Wa[qb],J=J===Zb.withPrefix[qb]?"~":J,Xa+=qb+"="+J+" ";De(r,O);let pb;try{pb=k(Ca)}catch(qb){throw qb instanceof G&&da&&da.Lj&&(qb.code=da.Lj,qb.message="Invalid XPath expression supplied to xsl:evaluate {"+O+"}: "+qb.message),qb;}0!==r.J&&I("Found "+F()+" beyond end of expression");X?(pb=pb.Ga(),pb instanceof hf&&ja&&(pb=new jf(gf(pb)))):da&&da.Ce&&(X=Ch("EVALUATE_RESULT",0,"",null),ja=Og("XPTY0004",X),pb=Jg(pb,da.Ce, +ja,X));X=ta?new Fh:new Gh;pb.G(X);X=X.current;ta?(X=X.documentElement,pb.l&&X.setAttribute("sType",pb.l.ha()),""!==Xa&&X.setAttribute("ns",Xa),da&&da.Ia&&X.setAttribute("baseUri",da.Ia)):(X=X.C[0],""!==Xa&&(X.gl=Xa),da&&da.Ia&&(X.pb=da.Ia),Ka&&0qb.Za.toEQName())));return X},parseSequenceType:function(J,X,ja){a();R.vb=X;R.ic=ja;Ba=0;Wa={};De(r,J);J=u();0!==r.J&&I("Unexpected "+F()+" after SequenceType");return J},getTokenizer:function(){return r}}}(); +function Gh(){this.g=[];this.current={C:[]}}Gh.prototype={start:function(a,c={}){a={N:a,C:[]};for(const n in c)a[n]=c[n];this.current.C.push(a);this.g.push(this.current);this.current=a},ud:function(a,c){this.current[a]=c},end:function(){this.current=this.g.pop()}};function Fh(){this.j=Jd.find("SaxonJS").getPlatform().createDocument();this.g=[];this.current=this.j} +Fh.prototype={start:function(a,c={}){a=this.j.createElement(a);for(const n in c)a.setAttribute(n,c[n]);this.current.appendChild(a);this.g.push(this.current);this.current=a},ud:function(a,c){this.current.setAttribute(a,c)},end:function(){this.current=this.g.pop()}}; // Input 69 const Ih={ul:{QuantifiedExpr:"1AB",OrExpr:"1AB",AndExpr:"1AB",ComparisonExpr:"1AB",StringConcatExpr:"1AS",RangeExpr:"*ADI",AdditiveExpr:"?A",MultiplicativeExpr:"?A",IntersectExceptExpr:"*N",InstanceOfExpr:"1AB",CastableExpr:"1AB",UnaryExpr:"?A m[UO,UD,UF]",StringLiteral:"1AS",IntegerLiteral:"1ADI",DecimalLiteral:"1AD",DoubleLiteral:"1AO",NamedFunctionRef:"1F",InlineFunctionExpr:"1F",MapExpr:"1FM",Root:"1ND"},Qj:{"http://www.w3.org/2005/xpath-functions":{QName:{sig:"1F r[1AQ] a[?AS,1AS]"},abs:{sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF]]"}, "accumulator-after":{XSLTonly:!0,sig:"1F a[1AS] r[*]"},"accumulator-before":{XSLTonly:!0,sig:"1F a[1AS] r[*]"},"adjust-date-to-timezone":{arity:[1,2],sig:"1F r[?AA] a[?AA,?ARD]"},"adjust-dateTime-to-timezone":{arity:[1,2],sig:"1F r[?AM] a[?AM,?ARD]"},"adjust-time-to-timezone":{arity:[1,2],sig:"1F r[?AT] a[?AT,?ARD]"},"analyze-string":{arity:[2,3],sig:"1F r[1NE nQ{http://www.w3.org/2005/xpath-functions}analyze-string-result] a[?AS,1AS,1AS]"},apply:{sig:"1F a[1F,1FA] r[*]"},"available-environment-variables":{sig:"1F r[*AS] a[]"}, @@ -4919,124 +4574,125 @@ asin:{sig:"1F r[?AO] a[?AO]"},atan:{sig:"1F r[?AO] a[?AO]"},atan2:{sig:"1F r[1AO // Input 70 var Jh=function(){const a={};a[Zb.wb]={apply:{sig:"1F r[*] a[1F,1FA]"},"column-number":{arity:[0,1],sig:"1F r[1ADI] a[1N]"},"compile-XPath":{arity:[1,2,3],sig:"1F r[1ND] a[1AS,?,?]"},"compile-GlobalContext":{sig:"1F r[1] a[1FM,1FM,1FM]"},"discard-document":{sig:"1F r[1ND] a[1ND]"},"has-uniform-namespaces":{sig:"1F r[1AB] a[1N]"},"line-number":{arity:[0,1],sig:"1F r[1ADI] a[1N]"},"marshal-type":{sig:"1F r[1FM] a[1AS]"},"message-count":{sig:"1F r[1ADI] a[?AQ]"},"parse-sequence-type":{arity:[2,3],sig:"1F r[1FM] a[1AS,1NE,?AS]"}, "parse-XPath":{arity:[1,2,3],sig:"1F r[1ND] a[1AS,?AS,?]"},permute:{sig:"1F r[*] a[*]"},"system-id":{sig:"1F r[*AU] a[]"},timestamp:{sig:"1F r[1AMP] a[]"}};a[Zb.nd]={apply:{sig:"1F r[*] a[1F,1FA]"},call:{sig:"1F r[*] a[1,1AS,1FA]"},contains:{sig:"1F r[1AB] a[1,1AS]"},eval:{sig:"1F r[*] a[1AS]"},event:{sig:"1F r[?] a[]"},get:{sig:"1F r[*] a[1,1AS]"},location:{sig:"1F r[1AS] a[]"},page:{sig:"1F r[1N] a[]"},"query-params":{sig:"1F r[1FM] a[]"},source:{sig:"1F r[?N] a[]"},style:{sig:"1F r[1FM] a[?N]"}, -window:{sig:"1F r[1] a[]"}};a["http://exslt.org/common"]={"node-set":{sig:"1F r[?N] a[?N]",isIdempotent:!0}};return{Ri:function(c){return a[c]},Nf:function(c){const q=c.namespace;c=c.signatures;let E=a[q];E||(E={},a[q]=E);Object.entries(c).forEach(H=>{E[H[0]]=H[1]})}}}(); +window:{sig:"1F r[1] a[]"}};a["http://exslt.org/common"]={"node-set":{sig:"1F r[?N] a[?N]",isIdempotent:!0}};return{Ri:function(c){return a[c]},Nf:function(c){const n=c.namespace;c=c.signatures;let F=a[n];F||(F={},a[n]=F);Object.entries(c).forEach(I=>{F[I[0]]=I[1]})}}}(); // Input 71 -var Lh=function(){function a(b){var d;var l={};for(d in b){var r=b[d];l[d]=r}return l}function c(){}function q(b){const d={};if(b){b=b.split(" ");for(let r=0;rB?qa:B;r.qd=B+1}r.Gj(b);if(b=d.slotTypes)for(W in b)r.wd[W]=ic(b[W]);for(ma in l)r.namespaces[ma]=l[ma];r.namespaces[""]="";if(l=d.staticTyping)r.vf=l;if(l=d.xpathDefaultNamespace)r.xpathDefaultNamespace= -l;if(l=d.defaultCollation)r.Ub=l;if(l=d.staticBaseURI)r.staticBaseURI=l;(l=d.contextType)?r.type=new gc(jc(l),2):r.type=r.bb?null:dc.mc;r.ye=r.type;if(d=d.requiredType)r.De=ec(d);return r}function p(b){const d=new c;d.type=dc.mc;d.aa(b.params,b.inputConvert);["xs","map","array","math","saxon"].forEach(n=>d.namespaces[n]=nh[n]);for(var l in b.namespaceContext)d.namespaces[l]=b.namespaceContext[l];b.xpathDefaultNamespace&&(d.xpathDefaultNamespace=b.xpathDefaultNamespace);let r;if(b=b.slotMap){l=-1; -let n;for(r in b)n=b[r],d.ac[r]=n,l=n>l?n:l;d.qd=l+1}return d}function g(b,d,l){b=Hh.process(b,"pattern"===d.type,d.splitPattern,l,"XSLT"===d.language,d.allowEmpty,d.freeVariables);return Pb(b)}function e(b,d=!1){const l={"function":{},globalVariable:{},globalParam:{}};for(const n in b){if("PRIVATE"===b[n].visibility)continue;var r=b[n].actor;const B=ac.X(r)?r.nodeName:r.N,W=ac.X(r)?r.getAttribute("name"):r.name;switch(B){case "function":if(d&&"PUBLIC"!==b[n].visibility&&"FINAL"!==b[n].visibility)break; -r=(ac.X(r)?ac.Ec(r,"arg"):E(r)).length;l[B][W+"#"+r]=b[n];break;case "globalVariable":case "globalParam":l[B][W]=b[n]}}return l}function k(b,d=!0){const l={N:b.nodeName};var r=b.attributes,n;for(n=0;nparseInt(r,10)),actor:d,C:[d]};return d.parentNode=b}function C(b){if(!ac.X(b))return[];let d=[];b.childNodes.forEach(l=>d=d.concat(C(l)));return d}function m(b,d){"ufRef"===b.nodeName?b.setAttribute("bSlot",d[b.getAttribute("name")]):b.hasChildNodes()&&b.childNodes.forEach(l=>m(l,d))}function f(b,d,l){var r=Jd.find("SaxonJS");const n=r.XError,B=r.convertResult;var W=r.getPlatform(),ma=W.inBrowser();l||={};l.params||(l.params={});if(b.freeV){const y= -l.params;let I={};b.freeV.forEach(R=>{const M=R.startsWith("Q{}")?y[R.substring(3)]:y[R];if(!M)throw new n("A value for parameter "+R+" is required","SXJS9999");I[R]=M});l.params=I}r=l.inputConvert||"strong";const qa=p(l);let L=b.C[0];L.parentNode=b;const aa={name:"evaluate",Za:b,hb:{}};b=new ne;b.ja=W.createDocument();b.fixed={Rd:{},tb:{},kc:{},vd:{},Lf:0,Jb:new Date,hb:{"Q{}":b.ja.createElement("decimal-format")},rd:{evaluate:aa},staticBaseURI:ma?window.location.href:null,ka:cd};l.staticBaseURI&& -(b.fixed.staticBaseURI=l.staticBaseURI);let z,D;if(l.namedDecimalFormats)for(const y in l.namedDecimalFormats){W=l.namedDecimalFormats[y];ma=b.ja.createElement("decimal-format");for(z in W)D=W[z],ma.setAttribute(z,["infinity","NaN"].includes(z)?D:Da(D)[0]);aa.hb[/^Q\{/.test(y)?y:"Q{}"+y]=k(ma)}if(l.defaultDecimalFormat){W=l.defaultDecimalFormat;ma=b.ja.createElement("decimal-format");for(z in W)D=W[z],ma.setAttribute(z,["infinity","NaN"].includes(z)?D:Da(D)[0]);aa.hb["Q{}"]=k(ma)}b.oa=qa.xc;if(d)if(d instanceof -vb)b.focus=d;else{if(Array.isArray(d)&&1{W.params[ma]="dummy"});d=p(W);n=g(b,W,d).next()}const B={N:"package",name:"evaluate",C:[n]};r&&(B.freeV=r);return l?B:function(W,ma={}){return f(B,W,{params:ma})}},evaluateOnly:f,compileGlobalContext:function(b,d,l){var r=new c;r.j(); -r.Hc=b;r.V=d;r.Gb=l;b={};l=0;for(let B in d){var n=d[B];const W=ac.X(n);n=W?n.parentNode:n.parent;const ma=W?n.parentNode:n.parent;b[l++]={actor:n,Za:ma,id:parseInt(W?ma.getAttribute("id"):ma.id,10)}}r.fb=e(b);return Pb(r)},evaluateXDM:function(b,d,l,r){function n(ea=""){return ma[ea]}var B;const W=Jd.find("SaxonJS").getPlatform();let ma;const qa=H(r.params,r,r.namespaces);qa.La=l.fixed.La;qa.staticBaseURI||(qa.staticBaseURI=l.fixed.staticBaseURI);const L=l.fixed.La;qa.fb=e(l.fixed.La,r.dynamicEval); -b=g(b,r,qa).next();const aa={N:"package",name:"evaluate"};var z={name:"evaluate",Za:aa,hb:{}};b.parentNode=aa;let D=!1;var y=C(b);if(0{const la=t(ea,k(V),"");V=V.getAttribute("name")+"#"+V.getAttribute("arity");la.parentNode=aa;qa.fb["function"][V]={actor:la,Za:null,id:ea};Y[V]=M++;L[ea]=la;ea++;ja.push(la)});m(b,Y);b=k(b);I=t(1E3,b,I.join(" "));I.parentNode=aa;L[1E3]=I;ja.unshift(I); -aa.C=ja}else ac.X(b)?b=k(b):v(b),aa.C=[t(1E3,b,"")],b.parentNode=aa;R=cd.ke(l.sa.actor,l);for(B in R.hb)z.hb[B]=R.hb[B];y=new ne;y.fixed={Rd:{},tb:{},vd:{},kc:{},Lf:0,Jb:new Date,hb:{},La:l.fixed.La,ka:cd,options:l.fixed.options,Ib:l.fixed.Ib,staticBaseURI:l.fixed.staticBaseURI,Ee:null,rd:{evaluate:z}};y.fixed.rd[R.name]=R;r.staticBaseURI&&(y.fixed.staticBaseURI=r.staticBaseURI);if(R=r.staticContext){var ca=R.decimalFormats;if(ca)for(B in ca)z.hb[B]=k(ca[B]);if(z=R.resources)for(B in z)if(ca=z[B], -ca.hasOwnProperty("err")){let ea=ca.err;ea=ea.replace(/Q{http:\/\/www\.w3\.org\/2005\/xqt-errors\}/,"");y.fixed.kc[B]=new F(ea+" "+ca.description,ea)}else y.fixed.kc[B]=ca;if(z=R.sources)for(B in z)if("."!==B)try{const ea=z[B];let ja;if("string"==typeof ea){let Y=W.readFile(ea);Y=Nd.Rg(Nd.Qg(Y));ja=ac.wc(W.parseXmlFromString(Y));ja._saxonBaseUri=ea;ja._saxonDocUri=ea}else ja=ea;y.fixed.tb[B]=ja}catch(ea){y.fixed.tb[B]=ea}if(B=R.collectionFinder)ma=B,y.fixed.options.Tg=n;B=R.staticBaseURI;"undefined"!= -typeof B&&(y.fixed.staticBaseURI="#UNDEFINED"===B?null:B)}r.staticBaseURI&&(y.fixed.staticBaseURI=r.staticBaseURI);y.masterDocument=l.masterDocument;y.ja=W.createDocument();if(null!=d){r=d.next();if(null!=d.next())throw new F("Context item is a sequence of more than one item","XTTE3210");y.oa=[];for(d=0;dqa.as).join(",")+"] r["+ma.as+ -"]");return ma.sig}var n=null,B=Ih.Qj[b.uri];B&&(n=B[b.local]);if(n&&!l.bb&&n.XSLTonly)return null;n||b.uri!==Zb.lc||(La.type[b.local]?n={sig:"1F a[?A] r[?"+La.type[b.local].code+"]"}:Bd[b.local]&&(n={sig:"1F a[1AS] r[*"+Bd[b.local]+"]"}));if(!n&&l.fb&&l.fb["function"]){var W=b.toEQName();if(l=l.fb["function"][W+"#"+d])b=W,n=l.actor,ac.X(n)?(ac.Ec(n,"arg"),n={sig:n.getAttribute("sig")}):(E(n),n={sig:r(n)}),n.isUserFunction=!0,n.componentBinding=l.id}else if(!n&&l.fixed&&l.fixed.La)if(B=`{${b.uri}}${b.local}`, -B in l.fixed.Rd)n=l.fixed.Rd[B];else{const ma=b.toEQName();for(W in l.fixed.La){const qa=l.fixed.La[W].actor;if("function"===qa.N&&qa.name===ma&&E(qa).length===d){n={sig:r(qa),isUserFunction:!0,componentBinding:W};l.fixed.Rd[B]=n;break}}}if(!n&&((l=Jh.Ri(b.uri))&&(n=l[b.local]),b.uri===Zb.xh)){b=0u?oa:u;q.qd=u+1}q.Gj(y);if(y=b.slotTypes)for(P in y)q.wd[P]=ic(y[P]);for(la in d)q.namespaces[la]=d[la];q.namespaces[""]="";if(d=b.staticTyping)q.vf=d;if(d=b.xpathDefaultNamespace)q.xpathDefaultNamespace= +d;if(d=b.defaultCollation)q.Vb=d;if(d=b.staticBaseURI)q.staticBaseURI=d;(d=b.contextType)?q.type=new gc(jc(d),2):q.type=q.bb?null:dc.nc;q.xe=q.type;if(b=b.requiredType)q.Ce=ec(b);return q}function m(y){const b=new c;b.type=dc.nc;b.aa(y.params,y.inputConvert);"fn xs map array math saxon ixsl".split(" ").forEach(p=>b.namespaces[p]=nh[p]);for(var d in y.namespaceContext)b.namespaces[d]=y.namespaceContext[d];y.xpathDefaultNamespace&&(b.xpathDefaultNamespace=y.xpathDefaultNamespace);let q;if(y=y.slotMap){d= +-1;let p;for(q in y)p=y[q],b.bc[q]=p,d=p>d?p:d;b.qd=d+1}return b}function g(y,b,d){y=Hh.process(y,"pattern"===b.type,b.splitPattern,d,"XSLT"===b.language,b.allowEmpty,b.freeVariables);return Pb(y)}function e(y,b=!1){const d={"function":{},globalVariable:{},globalParam:{}};for(const p in y){if("PRIVATE"===y[p].visibility)continue;var q=y[p].actor;const u=ac.X(q)?q.nodeName:q.N,P=ac.X(q)?q.getAttribute("name"):q.name;switch(u){case "function":if(b&&"PUBLIC"!==y[p].visibility&&"FINAL"!==y[p].visibility)break; +q=(ac.X(q)?ac.Fc(q,"arg"):F(q)).length;d[u][P+"#"+q]=y[p];break;case "globalVariable":case "globalParam":d[u][P]=y[p]}}return d}function k(y,b=!0){const d={N:y.nodeName};var q=y.attributes,p;for(p=0;pparseInt(q,10)),actor:b,C:[b]};return b.parentNode=y}function D(y){if(!ac.X(y))return[];let b=[];y.childNodes.forEach(d=>b=b.concat(D(d)));return b}function l(y,b){"ufRef"===y.nodeName?y.setAttribute("bSlot",b[y.getAttribute("name")]):y.hasChildNodes()&&y.childNodes.forEach(d=>l(d,b))}function f(y,b,d){var q=Jd.find("SaxonJS");const p=q.XError,u=q.convertResult;var P=q.getPlatform(),la=P.inBrowser();d||={};d.params||(d.params={});if(y.freeV){const A= +d.params;let H={};y.freeV.forEach(S=>{const N=S.startsWith("Q{}")?A[S.substring(3)]:A[S];if(!N)throw new p("A value for parameter "+S+" is required","SXJS9999");H[S]=N});d.params=H}q=d.inputConvert||"strong";const oa=m(d);let K=y.C[0];K.parentNode=y;const ca={name:"evaluate",Ya:y,hb:{}};y=new ne;y.ja=P.createDocument();y.fixed={Sd:{},tb:{},lc:{},vd:{},Lf:0,Jb:new Date,hb:{"Q{}":y.ja.createElement("decimal-format")},rd:{evaluate:ca},staticBaseURI:la?window.location.href:null,ka:cd};d.staticBaseURI&& +(y.fixed.staticBaseURI=d.staticBaseURI);let x,E;if(d.namedDecimalFormats)for(const A in d.namedDecimalFormats){P=d.namedDecimalFormats[A];la=y.ja.createElement("decimal-format");for(x in P)E=P[x],la.setAttribute(x,["infinity","NaN"].includes(x)?E:Da(E)[0]);ca.hb[/^Q\{/.test(A)?A:"Q{}"+A]=k(la)}if(d.defaultDecimalFormat){P=d.defaultDecimalFormat;la=y.ja.createElement("decimal-format");for(x in P)E=P[x],la.setAttribute(x,["infinity","NaN"].includes(x)?E:Da(E)[0]);ca.hb["Q{}"]=k(la)}y.oa=oa.yc;if(b)if(b instanceof +vb)y.focus=b;else{if(Array.isArray(b)&&1{P.params[la]="dummy"});b=m(P);p=g(y,P,b).next()}const u={N:"package",name:"evaluate",C:[p]};q&&(u.freeV=q);return d?u:function(P,la={}){return f(u,P,{params:la})}},evaluateOnly:f,compileGlobalContext:function(y,b,d){var q=new c;q.j();q.Ic=y;q.V=b;q.Gb=d;y={};d=0;for(let u in b){var p= +b[u];const P=ac.X(p);p=P?p.parentNode:p.parent;const la=P?p.parentNode:p.parent;y[d++]={actor:p,Ya:la,id:parseInt(P?la.getAttribute("id"):la.id,10)}}q.fb=e(y);return Pb(q)},evaluateXDM:function(y,b,d,q){function p(ma=""){return la[ma]}var u;const P=Jd.find("SaxonJS").getPlatform();let la;const oa=I(q.params,q,q.namespaces);oa.La=d.fixed.La;oa.staticBaseURI||(oa.staticBaseURI=d.fixed.staticBaseURI);const K=d.fixed.La;oa.fb=e(d.fixed.La,q.dynamicEval);y=g(y,q,oa).next();const ca={N:"package",name:"evaluate"}; +var x={name:"evaluate",Ya:ca,hb:{}};y.parentNode=ca;let E=!1;var A=D(y);if(0{const ka=t(ma,k(V),"");V=V.getAttribute("name")+"#"+V.getAttribute("arity");ka.parentNode=ca;oa.fb["function"][V]={actor:ka,Ya:null,id:ma};Y[V]=N++;K[ma]=ka;ma++;ia.push(ka)});l(y,Y);y=k(y);H=t(1E3,y,H.join(" "));H.parentNode=ca;K[1E3]=H;ia.unshift(H);ca.C=ia}else ac.X(y)?y=k(y):v(y),ca.C=[t(1E3,y,"")],y.parentNode= +ca;S=cd.me(d.sa.actor,d);for(u in S.hb)x.hb[u]=S.hb[u];A=new ne;A.fixed={Sd:{},tb:{},vd:{},lc:{},Lf:0,Jb:new Date,hb:{},La:d.fixed.La,ka:cd,options:d.fixed.options,Ib:d.fixed.Ib,staticBaseURI:d.fixed.staticBaseURI,Ee:null,rd:{evaluate:x}};A.fixed.rd[S.name]=S;q.staticBaseURI&&(A.fixed.staticBaseURI=q.staticBaseURI);if(S=q.staticContext){var aa=S.decimalFormats;if(aa)for(u in aa)x.hb[u]=k(aa[u]);if(x=S.resources)for(u in x)if(aa=x[u],aa.hasOwnProperty("err")){let ma=aa.err;ma=ma.replace(/Q{http:\/\/www\.w3\.org\/2005\/xqt-errors\}/, +"");A.fixed.lc[u]=new G(ma+" "+aa.description,ma)}else A.fixed.lc[u]=aa;if(x=S.sources)for(u in x)if("."!==u)try{const ma=x[u];let ia;if("string"==typeof ma){let Y=P.readFile(ma);Y=Nd.Sg(Nd.Rg(Y));ia=ac.xc(P.parseXmlFromString(Y));ia._saxonBaseUri=ma;ia._saxonDocUri=ma}else ia=ma;A.fixed.tb[u]=ia}catch(ma){A.fixed.tb[u]=ma}if(u=S.collectionFinder)la=u,A.fixed.options.Ug=p;u=S.staticBaseURI;"undefined"!=typeof u&&(A.fixed.staticBaseURI="#UNDEFINED"===u?null:u)}q.staticBaseURI&&(A.fixed.staticBaseURI= +q.staticBaseURI);A.masterDocument=d.masterDocument;A.ja=P.createDocument();if(null!=b){q=b.next();if(null!=b.next())throw new G("Context item is a sequence of more than one item","XTTE3210");A.oa=[];for(b=0;boa.as).join(",")+"] r["+la.as+"]");return la.sig}var p=null,u=Ih.Qj[y.uri];u&&(p=u[y.local]);if(p&&!d.bb&&p.XSLTonly)return null;p||y.uri!==Zb.mc||(La.type[y.local]?p={sig:"1F a[?A] r[?"+ +La.type[y.local].code+"]"}:Bd[y.local]&&(p={sig:"1F a[1AS] r[*"+Bd[y.local]+"]"}));if(!p&&d.fb&&d.fb["function"]){var P=y.toEQName();if(d=d.fb["function"][P+"#"+b])y=P,p=d.actor,ac.X(p)?(ac.Fc(p,"arg"),p={sig:p.getAttribute("sig")}):(F(p),p={sig:q(p)}),p.isUserFunction=!0,p.componentBinding=d.id}else if(!p&&d.fixed&&d.fixed.La)if(u=`{${y.uri}}${y.local}#${b}`,u in d.fixed.Sd)p=d.fixed.Sd[u];else{const la=y.toEQName();for(P in d.fixed.La){const oa=d.fixed.La[P].actor;if("function"===oa.N&&oa.name=== +la&&F(oa).length===b){p={sig:q(oa),isUserFunction:!0,componentBinding:P};d.fixed.Sd[u]=p;break}}}if(!p&&((d=Jh.Ri(y.uri))&&(p=d[y.local]),y.uri===Zb.xh)){y=0d.indexOf("`"))return d.split(".");let l=[""],r=0,n=0,B=!0;for(;nb||b>d)throw new F("Array index ("+b+") out of bounds (1 to "+d+")","FOAY0001",t);}function m(b){return b[0].next().value} -function f(b){return Pb(new $c(b))}function A(b,d,l,r){const n=d.fixed.ka;let B=b[1].expand();const W=b[2].expand()[0],ma=Object.keys(d.oa).length;if(W instanceof ad.XdmFunction)b=m(b),r||(b=b.reverse()),b.forEach(qa=>{B=W.evaluate(r?[B,qa]:[qa,B],d,l).expand()});else{let qa;"function"!==W.N&&(qa=W);b[0].forEachItem(function(L){const aa=d.ba(!0);qa&&(aa.sa=qa);gd(aa);aa.qa="function";aa.gb={};aa.ab=null;aa.focus=null;r?(aa.oa[ma]=B,aa.oa[ma+1]=[L]):(aa.oa[ma]=[L],aa.oa[ma+1]=B);B=n.evaluate(void 0, -aa).expand()})}return Kb(B)}const O={append:function(b){return f(m(b).concat([b[1].expand()]))},filter:function(b,d,l){const r=b[1].expand()[0];Object.keys(d.oa);b=m(b);if(r.evaluate){const n=[];b.forEach(function(B){const W=r.evaluate([B],d,l).expand();if(Array.isArray(W)&&1!==W.length||!p.boolean.matches(W[0]))throw new F("Wrong type for function result in filter(). Expecting xs:boolean, supplied value is "+sa.showValue(W),"XPTY0004",l);W[0].toBoolean()&&n.push(B)});return f(n)}throw new F("Argument supplied to array:filter is not a function", -"XPTY0004",l);},flatten:function(b){return cd.flatten(b[0])},"fold-left":function(b,d,l){return A(b,d,l,!0)},"fold-right":function(b,d,l){return A(b,d,l,!1)},"for-each":function(b,d,l){const r=b[1].expand()[0];b=m(b);Object.keys(d.oa);if(r.evaluate){const n=[];b.forEach(function(B){n.push(r.evaluate([B],d,l).expand())});return f(n)}},"for-each-pair":function(b,d,l){let r=b[2].expand();if(1!==r.length)throw new F("for-each-pair() must have exactly one function item as the third argument. Supplied length "+ -r.length,"XPTY0004",l);r=r[0];Object.keys(d.oa);const n=[],B=b[0].next().value[Symbol.iterator]();b=b[1].next().value[Symbol.iterator]();let W=B.next().value,ma=b.next().value;if(r instanceof ad.XdmFunction)for(;W&&ma;)n.push(r.evaluate([W,ma],d,l).expand()),W=B.next().value,ma=b.next().value;return f(n)},"_from-sequence":function(b){const d=[];b[0].forEachItem(function(l){d.push([l])});return f(d)},get:function(b){const d=m(b);b=b[1].next().toNumber();C(b,d.length);return Kb(d[b-1])},head:function(b){b= -m(b);C(1,b.length);return Kb(b[0])},"insert-before":function(b){const d=m(b),l=b[1].next().toNumber();C(l,d.length+1);b=b[2].expand();return f(d.slice(0,l-1).concat([b]).concat(d.slice(l-1)))},join:function(b){const d=[];b[0].forEachItem(function(l){l.value.forEach(function(r){d.push(r)})});return f(d)},put:function(b){const d=m(b),l=b[1].next().toNumber();C(l,d.length);b=b[2].expand();return f(d.slice(0,l-1).concat([b]).concat(d.slice(l)))},remove:function(b){const d=m(b),l=[];b[1].forEachItem(function(r){r= -r.toNumber();C(r,d.length);l.push(r-1)});return f(d.filter(function(r,n){return 0>l.indexOf(n)}))},reverse:function(b){return f(m(b).slice().reverse())},size:function(b){return Ub(b[0].next().size())},sort:function(b,d,l){const r=Hd.df(l,b[1],d);let n=cd.Sb;if(b[2]){const B=b[2].next();n=function(W){return B.evaluate([[W]],d,l)}}return f(m(b).slice().sort(function(B,W){return b[1]?Id(Kb(B).mapOneToMany(n),Kb(W).mapOneToMany(n),r):Id(Kb(B).mapOneToMany(n),Kb(W).mapOneToMany(n))}))},subarray:function(b){const d= -m(b),l=b[1].next().toNumber();C(l,d.length+1);b=b[2]?b[2].next().toNumber():d.length-l+1;if(0>b)throw new F("Length is negative","FOAY0002");C(l+b,d.length+1);return f(d.slice(l-1,l+b-1))},tail:function(b){b=m(b);C(1,b.length);return f(b.slice(1))},"_to-sequence":function(b){const d=[];m(b).forEach(function(l){l.forEach(function(r){d.push(r)})});return Kb(d)}};if(!O[e])throw new F("Unknown array function: "+e,"SXJS0003",t);return O[e](k,v,t)}function E(e,k,v,t){const C={contains:function(m){const f= -m[0].next();m=m[1].next();return Xb(f.containsKey(m))},create:function(m){const f=new cc;m[0].forEachItem(function(A){A.forAllPairs(function(O){f.inSituPut(O.k,O.v)})});return Pb(f)},entry:function(m){const f=new cc;f.inSituPut(m[0].next(),m[1].expand());return Pb(f)},find:function(m){function f(d){cd.isArray(d)?d.value.forEach(A):cd.isMap(d)&&(d.containsKey(b)&&O.push(d.get(b)),d.keys().forEach(function(l){A(d.get(l))}))}function A(d){d.forEach(f)}const O=[],b=m[1].next();A(m[0].expand());return Pb(new $c(O))}, -"for-each":function(m,f,A){const O=m[0].next(),b=O.keys(),d=m[1].expand()[0];if(d.evaluate){let l=[];b.forEach(function(r){l=l.concat(d.evaluate([[r],O.get(r)],f,A).expand())});return Kb(l)}throw new F("Argument to map:for-each is not a function","XPTY0004",A);},get:function(m){const f=m[0].next();m=m[1].next();return Kb(f.get(m))},keys:function(m){m=m[0].next();return Kb(m.keys())},merge:function(m){const f=new cc,A=m[1]?m[1].next():null,O=p.string.fromString("duplicates"),b=A&&A.containsKey(O)? -A.get(O).toString():"use-first";m[0].forEachItem(function(d){d.forAllPairs(function(l){if(!f.containsKey(l.k)||["use-last","unspecified","use-any"].includes(b))f.inSituPut(l.k,l.v);else{if("reject"===b){var r=p.string.fromString("duplicates-error-code");r=A.containsKey(r)?A.get(r).toString():"FOJS0003";throw new F("Duplicate key value '"+l.k.toString()+"'",r,t);}if("combine"===b){let n=[];f.get(l.k).forEach(function(B){n.push(B)});l.v.forEach(function(B){n.push(B)});f.inSituPut(l.k,n)}}})});return Pb(f)}, -_new:function(m){const f=new cc;m[0]&&m[0].forEachItem(function(A){A.forAllPairs(function(O){if(f.containsKey(O.k))throw new F("Duplicate key value '"+O.k.toString()+"'","XSLT"===v.fixed.options.language?"XTDE3365":"XQDY0137",t);f.inSituPut(O.k,O.v)})});return Pb(f)},put:function(m){const f=m[0].next(),A=m[1].next();m=m[2].expand();return Pb(f.put(A,m))},remove:function(m){let f=m[0].next();m[1].forEachItem(function(A){f=f.remove(A)});return Pb(f)},size:function(m){let f=0;m[0].next().forAllPairs(function(){f++}); -return Ub(f)},"untyped-contains":function(m){const f=m[0].next();m=m[1].next();return Xb(f.containsKey(m))}};if(!C[e])throw new F("Unknown map function: "+e,"SXJS0003",t);return C[e](k,v,t)}function H(e,k,v,t){function C(b){return null===b?(A=!0,Number.NaN):b.toNumber()}function m(){const b=k[0].next();return C(b?b:cd.Sa(t)(v).next())}function f(){const b=k[1].next();return C(b?b:cd.Vg(t)(v).next())}let A=!1;const O=function(){switch(e){case "pi":return Math.PI;case "exp":return Math.exp(m());case "exp10":return Math.pow(10, -m());case "log":return Math.log(m());case "log10":return Math.log(m())/Math.LN10;case "pow":const b=m(),d=f();return-1===b&&(Infinity===d||-Infinity===d)||1===b?1:Math.pow(b,d);case "sqrt":return Math.sqrt(m());case "sin":return Math.sin(m());case "cos":return Math.cos(m());case "tan":return Math.tan(m());case "asin":return Math.asin(m());case "acos":return Math.acos(m());case "atan":return Math.atan(m());case "atan2":return Math.atan2(m(),f());default:throw new F("Unknown math function "+t.name, -"XPST0017",t);}}();return A?Ob:Vb(O)}const p=La.XS,g={};g[Zb.wb]={apply:ke.apply,"compile-XPath":function(e,k,v){const t=e[0].next().toString();let C,m;1t[C]}else e=t=>v.lookupNamespaceURI(t);k=Hh.parseSequenceType(k,e,()=>{let t=v;for(;t&&1===t.nodeType;){if(ac.ca(t).uri===Zb.Wc&&t.hasAttributeNS("","xpath-default-namespace"))return t.getAttributeNS("","xpath-default-namespace"); -if(t.hasAttributeNS(Zb.Wc,"xpath-default-namespace"))return t.getAttributeNS(Zb.Wc,"xpath-default-namespace");t=ac.Xa(t)}});return Pb(cd.xd(cd.Ra(k.$()))[0])},"parse-XPath":function(e){const k=e[0].next().toString();let v="parse";1k.push({key:Math.random(),Nj:v}));k=k.sort(function(v,t){return v.key-t.key});e=k.map(v=>v.Nj);return Kb(e)},"system-id":function(e, -k){e=ed(k);e=ac.X(e)?ac.baseURI(e):null;return Pb(null===e?null:p.anyURI.fromString(e))},timestamp:function(e,k){return Pb(p.Ed.fromDate(new Date,-k.fixed.Jb.getTimezoneOffset()))}};g["http://exslt.org/common"]={"node-set":function(e){return e[0]}};cd.Aj(a);return{evaluate:a,Nf:function(e){const k=e.namespace;e=e.signatures;let v=g[k];v||=g[k]={};Object.entries(e).forEach(t=>{v[t[0]]=t[1].impl})}}}(); +const Mh=function(){function a(e,k,v,t,D){switch(e){case Zb.Oa+"/math":return I(k,v,t,D);case Zb.Oa+"/map":return F(k,v,t,D);case Zb.Oa+"/array":return n(k,v,t,D);case Zb.nd:return c(k,v,t,D);default:const l=(g[e]||{})[k];if(!l)throw new G("Unknown function "+(g[e]?"local name "+k:"namespace "+e),"SXJS0003",D);return l(v,t,D)}}function c(e,k,v,t){function D(b,d){for(let q=0;qb.indexOf("`"))return b.split(".");let d=[""],q=0,p=0,u=!0;for(;py||y>b)throw new G("Array index ("+y+") out of bounds (1 to "+b+")","FOAY0001",t);}function l(y){return y[0].next().value}function f(y){return Pb(new $c(y))}function B(y,b,d,q){const p=b.fixed.ka;let u= +y[1].expand();const P=y[2].expand()[0],la=Object.keys(b.oa).length;if(P instanceof ad.XdmFunction)y=l(y),q||(y=y.reverse()),y.forEach(oa=>{u=P.evaluate(q?[u,oa]:[oa,u],b,d).expand()});else{let oa;"function"!==P.N&&(oa=P);y[0].forEachItem(function(K){const ca=b.ba(!0);oa&&(ca.sa=oa);gd(ca);ca.qa="function";ca.gb={};ca.ab=null;ca.focus=null;q?(ca.oa[la]=u,ca.oa[la+1]=[K]):(ca.oa[la]=[K],ca.oa[la+1]=u);u=p.evaluate(void 0,ca).expand()})}return Kb(u)}const L={append:function(y){return f(l(y).concat([y[1].expand()]))}, +filter:function(y,b,d){const q=y[1].expand()[0];Object.keys(b.oa);y=l(y);if(q.evaluate){const p=[];y.forEach(function(u){const P=q.evaluate([u],b,d).expand();if(Array.isArray(P)&&1!==P.length||!m.boolean.matches(P[0]))throw new G("Wrong type for function result in filter(). Expecting xs:boolean, supplied value is "+sa.showValue(P),"XPTY0004",d);P[0].toBoolean()&&p.push(u)});return f(p)}throw new G("Argument supplied to array:filter is not a function","XPTY0004",d);},flatten:function(y){return cd.flatten(y[0])}, +"fold-left":function(y,b,d){return B(y,b,d,!0)},"fold-right":function(y,b,d){return B(y,b,d,!1)},"for-each":function(y,b,d){const q=y[1].expand()[0];y=l(y);Object.keys(b.oa);if(q.evaluate){const p=[];y.forEach(function(u){p.push(q.evaluate([u],b,d).expand())});return f(p)}},"for-each-pair":function(y,b,d){let q=y[2].expand();if(1!==q.length)throw new G("for-each-pair() must have exactly one function item as the third argument. Supplied length "+q.length,"XPTY0004",d);q=q[0];Object.keys(b.oa);const p= +[],u=y[0].next().value[Symbol.iterator]();y=y[1].next().value[Symbol.iterator]();let P=u.next().value,la=y.next().value;if(q instanceof ad.XdmFunction)for(;P&&la;)p.push(q.evaluate([P,la],b,d).expand()),P=u.next().value,la=y.next().value;return f(p)},"_from-sequence":function(y){const b=[];y[0].forEachItem(function(d){b.push([d])});return f(b)},get:function(y){const b=l(y);y=y[1].next().toNumber();D(y,b.length);return Kb(b[y-1])},head:function(y){y=l(y);D(1,y.length);return Kb(y[0])},"insert-before":function(y){const b= +l(y),d=y[1].next().toNumber();D(d,b.length+1);y=y[2].expand();return f(b.slice(0,d-1).concat([y]).concat(b.slice(d-1)))},join:function(y){const b=[];y[0].forEachItem(function(d){d.value.forEach(function(q){b.push(q)})});return f(b)},put:function(y){const b=l(y),d=y[1].next().toNumber();D(d,b.length);y=y[2].expand();return f(b.slice(0,d-1).concat([y]).concat(b.slice(d)))},remove:function(y){const b=l(y),d=[];y[1].forEachItem(function(q){q=q.toNumber();D(q,b.length);d.push(q-1)});return f(b.filter(function(q, +p){return 0>d.indexOf(p)}))},reverse:function(y){return f(l(y).slice().reverse())},size:function(y){return Ub(y[0].next().size())},sort:function(y,b,d){const q=Hd.ef(d,y[1],b);let p=cd.Tb;if(y[2]){const u=y[2].next();p=function(P){return u.evaluate([[P]],b,d)}}return f(l(y).slice().sort(function(u,P){return y[1]?Id(Kb(u).mapOneToMany(p),Kb(P).mapOneToMany(p),q):Id(Kb(u).mapOneToMany(p),Kb(P).mapOneToMany(p))}))},subarray:function(y){const b=l(y),d=y[1].next().toNumber();D(d,b.length+1);y=y[2]?y[2].next().toNumber(): +b.length-d+1;if(0>y)throw new G("Length is negative","FOAY0002");D(d+y,b.length+1);return f(b.slice(d-1,d+y-1))},tail:function(y){y=l(y);D(1,y.length);return f(y.slice(1))},"_to-sequence":function(y){const b=[];l(y).forEach(function(d){d.forEach(function(q){b.push(q)})});return Kb(b)}};if(!L[e])throw new G("Unknown array function: "+e,"SXJS0003",t);return L[e](k,v,t)}function F(e,k,v,t){const D={contains:function(l){const f=l[0].next();l=l[1].next();return Xb(f.containsKey(l))},create:function(l){const f= +new cc;l[0].forEachItem(function(B){B.forAllPairs(function(L){f.inSituPut(L.k,L.v)})});return Pb(f)},entry:function(l){const f=new cc;f.inSituPut(l[0].next(),l[1].expand());return Pb(f)},find:function(l){function f(b){cd.isArray(b)?b.value.forEach(B):cd.isMap(b)&&(b.containsKey(y)&&L.push(b.get(y)),b.keys().forEach(function(d){B(b.get(d))}))}function B(b){b.forEach(f)}const L=[],y=l[1].next();B(l[0].expand());return Pb(new $c(L))},"for-each":function(l,f,B){const L=l[0].next(),y=L.keys(),b=l[1].expand()[0]; +if(b.evaluate){let d=[];y.forEach(function(q){d=d.concat(b.evaluate([[q],L.get(q)],f,B).expand())});return Kb(d)}throw new G("Argument to map:for-each is not a function","XPTY0004",B);},get:function(l){const f=l[0].next();l=l[1].next();return Kb(f.get(l))},keys:function(l){l=l[0].next();return Kb(l.keys())},merge:function(l){const f=new cc,B=l[1]?l[1].next():null,L=m.string.fromString("duplicates"),y=B&&B.containsKey(L)?B.get(L).toString():"use-first";l[0].forEachItem(function(b){b.forAllPairs(function(d){if(!f.containsKey(d.k)|| +["use-last","unspecified","use-any"].includes(y))f.inSituPut(d.k,d.v);else{if("reject"===y){var q=m.string.fromString("duplicates-error-code");q=B.containsKey(q)?B.get(q).toString():"FOJS0003";throw new G("Duplicate key value '"+d.k.toString()+"'",q,t);}if("combine"===y){let p=[];f.get(d.k).forEach(function(u){p.push(u)});d.v.forEach(function(u){p.push(u)});f.inSituPut(d.k,p)}}})});return Pb(f)},_new:function(l){const f=new cc;l[0]&&l[0].forEachItem(function(B){B.forAllPairs(function(L){if(f.containsKey(L.k))throw new G("Duplicate key value '"+ +L.k.toString()+"'","XSLT"===v.fixed.options.language?"XTDE3365":"XQDY0137",t);f.inSituPut(L.k,L.v)})});return Pb(f)},put:function(l){const f=l[0].next(),B=l[1].next();l=l[2].expand();return Pb(f.put(B,l))},remove:function(l){let f=l[0].next();l[1].forEachItem(function(B){f=f.remove(B)});return Pb(f)},size:function(l){let f=0;l[0].next().forAllPairs(function(){f++});return Ub(f)},"untyped-contains":function(l){const f=l[0].next();l=l[1].next();return Xb(f.containsKey(l))}};if(!D[e])throw new G("Unknown map function: "+ +e,"SXJS0003",t);return D[e](k,v,t)}function I(e,k,v,t){function D(y){return null===y?(B=!0,Number.NaN):y.toNumber()}function l(){const y=k[0].next();return D(y?y:cd.Sa(t)(v).next())}function f(){const y=k[1].next();return D(y?y:cd.Wg(t)(v).next())}let B=!1;const L=function(){switch(e){case "pi":return Math.PI;case "exp":return Math.exp(l());case "exp10":return Math.pow(10,l());case "log":return Math.log(l());case "log10":return Math.log(l())/Math.LN10;case "pow":const y=l(),b=f();return-1===y&&(Infinity=== +b||-Infinity===b)||1===y?1:Math.pow(y,b);case "sqrt":return Math.sqrt(l());case "sin":return Math.sin(l());case "cos":return Math.cos(l());case "tan":return Math.tan(l());case "asin":return Math.asin(l());case "acos":return Math.acos(l());case "atan":return Math.atan(l());case "atan2":return Math.atan2(l(),f());default:throw new G("Unknown math function "+t.name,"XPST0017",t);}}();return B?Ob:Vb(L)}const m=La.XS,g={};g[Zb.wb]={apply:ke.apply,"compile-XPath":function(e,k,v){const t=e[0].next().toString(); +let D,l;1t[D]}else e=t=>v.lookupNamespaceURI(t);k=Hh.parseSequenceType(k,e,()=>{let t=v;for(;t&&1===t.nodeType;){if(ac.ca(t).uri===Zb.Xc&&t.hasAttributeNS("","xpath-default-namespace"))return t.getAttributeNS("","xpath-default-namespace");if(t.hasAttributeNS(Zb.Xc,"xpath-default-namespace"))return t.getAttributeNS(Zb.Xc,"xpath-default-namespace");t=ac.$a(t)}});return Pb(cd.xd(cd.Ra(k.$()))[0])},"parse-XPath":function(e){const k= +e[0].next().toString();let v="parse";1k.push({key:Math.random(),Nj:v}));k=k.sort(function(v,t){return v.key-t.key});e=k.map(v=>v.Nj);return Kb(e)},"system-id":function(e,k){e=ed(k);e=ac.X(e)?ac.baseURI(e):null;return Pb(null===e?null:m.anyURI.fromString(e))},timestamp:function(e,k){return Pb(m.Ed.fromDate(new Date,-k.fixed.Jb.getTimezoneOffset()))}}; +g["http://exslt.org/common"]={"node-set":function(e){return e[0]}};cd.Aj(a);return{evaluate:a,Nf:function(e){const k=e.namespace;e=e.signatures;let v=g[k];v||=g[k]={};Object.entries(e).forEach(t=>{v[t[0]]=t[1].impl})}}}(); // Input 76 var Nh={forceBaseURI:Lh.forceBaseURI}; // Input 77 -const Oh=function(){function a(e,k){return e.Eb===k.Eb?e.Qc===k.Qc?e.Sd===k.Sd?k.Hh-e.Hh:e.Sd-k.Sd:e.Qc-k.Qc:e.Eb-k.Eb}function c(e,k){return e.Eb===k.Eb?e.Qc===k.Qc?0:e.Qc-k.Qc:e.Eb-k.Eb}function q(e,k){function v(t){return t.n?[t.n.replace(/^(\*:|Q\{.*\})/,"")]:t.u?v(t.u[0]).concat(v(t.u[1])):[]}this.Re=e;this.Ch=e.onNo;this.Bh=k.Db(e,"t");k.Db(e,"F")&&(this.Zf=!0);this.Kg=(e.C||[]).map(function(t){return{Qd:t,Eb:parseInt(t.prec,10),Qc:parseFloat(t.prio),Sd:parseInt(t.seq,10),nj:parseInt(t.minImp, -10),Hh:parseInt(t.rank,10),pattern:Kd.od(k.da(t,"match")),matches:fc(t.matches||"1"),action:k.da(t,"action")}}).sort(a).reverse();this.fc={};this.Kg.forEach(t=>{const C=t.matches.$();let m,f=[];/^N[EAP]/.test(C.p)?(m=C.p,C.n&&!/}\*$/.test(C.n)?(m+=" "+C.n.replace(/^(\*:|Q\{.*\})/,""),f=[m]):f=C.u?[...(new Set(v(C)))].map(A=>m+" "+A):[m]):f=["."];f.forEach(A=>{let O=this.fc[A];O||(this.fc[A]=O=[]);O.push(t)})})}const E=La.XS,H=ac.Ja,p={TC:function(e,k,v,t){if(ac.X(e))switch(e.nodeType){case 9:case 11:case 1:v= -v.ba(!1);v.focus=Sb(H.Ka(e));k.Hb(v,t);break;case 3:case 4:t.append(e);break;case 2:t.text(e.value)}else if(E.Qf.matches(e))t.text(e.toString());else if(cd.isArray(e)){let C=[];e.value.forEach(m=>{C=C.concat(m)});e=v.ba(!1);e.focus=Sb(Kb(C));k.Hb(e,t)}},SC:function(e,k,v,t){return Zd.rg(e,v,"c",function(){const C=v.ba(!1);C.focus=Sb(H.Ha(e));k.Hb(C,t);C.focus=Sb(H.Ka(e));k.Hb(C,t)},t)},DC:function(e,k,v,t){ac.X(e)&&(t.pb=ac.baseURI(e));t.append(e)},DS:function(e,k,v,t){if(ac.X(e))switch(e.nodeType){case 9:case 11:v= -v.ba(!1),v.focus=Sb(H.Ka(e)),k.Hb(v,t)}},SS:function(e,k,v,t){if(ac.X(e))switch(e.nodeType){case 9:case 11:case 1:v=v.ba(!1),v.focus=Sb(H.Ha(e)),k.Hb(v,t),v.focus=Sb(H.Ka(e)),k.Hb(v,t)}else if(cd.isArray(e)){let C=[];e.value.forEach(m=>{C=C.concat(m)});e=v.ba(!1);e.focus=Sb(Kb(C));k.Hb(e,t)}},bubble:function(e,k,v,t){ac.X(e)?1===e.nodeType&&(v=v.ba(!1),v.focus=Sb(H.parent(e)),k.Hb(v,t)):t.append(e)}};p.TO=p.TC;const g={1:"NE",2:"NA",3:"NT",7:"NP",8:"NC",9:"ND",11:"ND",13:"NN"};q.prototype={Re:null, -Kg:null,Ch:"TC",Bh:!1,Zf:!1,Hb:function(e,k,v){if(v){let t=!0;e.focus.forEachItem(C=>{t?t=!1:k.text(v.value,{});this.Se(C,e,k)})}else e.focus.forEachItem(t=>this.Se(t,e,k))},ki:function(e,k){const v=e.ab;if(!v)throw new F("No current template rule","XTDE0560");return this.Se(ed(e),e,k,function(t){return t.Eb>=v.nj&&t.Eba(t,v)})},Gi:function(e,k,v){let t=null, -C=null;const m=this.Zf;var f=[];if(ac.X(e)){const O=g[e.nodeType];var A=ac.ca(e);if(A=A?A.local:null)A=O+" "+A,this.fc[A]&&f.push(this.fc[A]);this.fc[O]&&f.push(this.fc[O]);this.fc.N&&f.push(this.fc.N)}this.fc["."]&&f.push(this.fc["."]);(function(O){O.forEach(b=>{b.forEach(function(d){if(!v||v(d))if(!t||0{const D=t.matches.$();let l,f=[];/^N[EAP]/.test(D.p)?(l=D.p,D.n&&!/}\*$/.test(D.n)?(l+=" "+D.n.replace(/^(\*:|Q\{.*\})/,""),f=[l]):f=D.u?[...(new Set(v(D)))].map(B=>l+" "+B):[l]):f=["."];f.forEach(B=>{let L=this.hc[B];L||(this.hc[B]=L=[]);L.push(t)})})}const F=La.XS,I=ac.Ja,m={TC:function(e,k,v,t){if(ac.X(e))switch(e.nodeType){case 9:case 11:case 1:v= +v.ba(!1);v.focus=Sb(I.Ka(e));k.Hb(v,t);break;case 3:case 4:t.append(e);break;case 2:t.text(e.value)}else if(F.Qf.matches(e))t.text(e.toString());else if(cd.isArray(e)){let D=[];e.value.forEach(l=>{D=D.concat(l)});e=v.ba(!1);e.focus=Sb(Kb(D));k.Hb(e,t)}},SC:function(e,k,v,t){return Zd.sg(e,v,"c",function(){const D=v.ba(!1);D.focus=Sb(I.Ha(e));k.Hb(D,t);D.focus=Sb(I.Ka(e));k.Hb(D,t)},t)},DC:function(e,k,v,t){ac.X(e)&&(t.pb=ac.baseURI(e));t.append(e)},DS:function(e,k,v,t){if(ac.X(e))switch(e.nodeType){case 9:case 11:v= +v.ba(!1),v.focus=Sb(I.Ka(e)),k.Hb(v,t)}},SS:function(e,k,v,t){if(ac.X(e))switch(e.nodeType){case 9:case 11:case 1:v=v.ba(!1),v.focus=Sb(I.Ha(e)),k.Hb(v,t),v.focus=Sb(I.Ka(e)),k.Hb(v,t)}else if(cd.isArray(e)){let D=[];e.value.forEach(l=>{D=D.concat(l)});e=v.ba(!1);e.focus=Sb(Kb(D));k.Hb(e,t)}},bubble:function(e,k,v,t){ac.X(e)?1===e.nodeType&&(v=v.ba(!1),v.focus=Sb(I.parent(e)),k.Hb(v,t)):t.append(e)}};m.TO=m.TC;const g={1:"NE",2:"NA",3:"NT",7:"NP",8:"NC",9:"ND",11:"ND",13:"NN"};n.prototype={Re:null, +Lg:null,Ch:"TC",Bh:!1,Zf:!1,Hb:function(e,k,v){if(v){let t=!0;e.focus.forEachItem(D=>{t?t=!1:k.text(v.value,{});this.Se(D,e,k)})}else e.focus.forEachItem(t=>this.Se(t,e,k))},ki:function(e,k){const v=e.ab;if(!v)throw new G("No current template rule","XTDE0560");return this.Se(ed(e),e,k,function(t){return t.Eb>=v.nj&&t.Eba(t,v)})},Gi:function(e,k,v){let t=null, +D=null;const l=this.Zf;var f=[];if(ac.X(e)){const L=g[e.nodeType];var B=ac.ca(e);if(B=B?B.local:null)B=L+" "+B,this.hc[B]&&f.push(this.hc[B]);this.hc[L]&&f.push(this.hc[L]);this.hc.N&&f.push(this.hc.N)}this.hc["."]&&f.push(this.hc["."]);(function(L){L.forEach(y=>{y.forEach(function(b){if(!v||v(b))if(!t||0!0;else if("strip.none"===z.N)y=()=>!1;else{let I={},R={},M={},ca={},ea={},ja=function(V,la,x){V[la]?parseInt(x.Eb,10)>parseInt(V[la].Eb,10)&&(V[la]=x):V[la]=x};(z.C||[]).forEach(V=>{const la=fc(V.test);la instanceof nd?(V.PREC=parseInt(V.prec,10),V.PRIO=2,ja(I,la.name.toEQName(),V)):la instanceof pd?(V.PREC=parseInt(V.prec,10),V.PRIO=1,ja(R,la.uri,V)):la instanceof od?(V.PREC=parseInt(V.prec,10),V.PRIO=1,ja(M,la.localName,V)):la instanceof Fc? -(V.PREC=parseInt(V.prec,10),V.PRIO=0,ja(ca,"*",V)):sa.la("Unrecognised strip-space "+V.test)});const Y=(V,la)=>{const x=[],K=I["Q{"+V+"}"+la];K&&x.push(K);(V=R[V])&&x.push(V);(la=M[la])&&x.push(la);ca["*"]&&x.push(ca["*"]);x.sort((U,ha)=>{const T=U.PREC,w=ha.PREC;return T===w?ha.PRIO-U.PRIO:w-T});return 0{const x="Q{"+V+"}"+la,K=ea[x];if(K)return"s"===K;V=Y(V,la);ea[x]=V?"s":"p";return V}}else y=()=>!1;return function(I){D(I);return I}}function q(z,D,y){function I(S){S= -new Ud(S);Y.fixed.Ji=S;return new Zd.Fc(S)}function R(){}function M(){W&&!y.lg&&m(Y)}var ca=cd.qb(z,"strip")[0]||cd.qb(z,"strip.all")[0];let ea=null;if(ca||W)ea=c(ca),D&&ea&&(D=ea(D));y.Vh&&y.Vh(z);y.ql=null;const ja=y.async,Y=A(z,D,y);Y.fixed.wl=Y.fixed.yd.Za.version;O(Y,function(S){return"globalParam"===S.N&&S.flags&&-1!==S.flags.indexOf("r")}).map(function(S){return S.name}).map(function(S){if("undefined"===typeof Y.fixed.options.Sh.get(La.XS.QName.fromEQName(S)))throw new F("No value has been provided for required stylesheet parameter '"+ -S+"'","XTDE0050");});Y.fixed.Ee=ea;D&&(ac.wc(D),Y.fixed.tb[D._saxonBaseUri]=D);const V=y.destination||"application",la=y.resultForm||"default";if(y.dd){let S=y.dd("testURI");["document","serialized","raw"].includes(S.destination)&&!S.save&&(y.dd=function(){return new je(S.destination,y.resultDocuments)})}y.dd||(y.dd=W?function(){return new ie("html-page",function(S,da){y.resultDocuments[S.toString()]=da})}:ja?function(){return new ie("file",function(S,da,fa){da=B.writeFileAsync(S,da,fa);sa.Ma("Promising to write to "+ -S,2,Y.fixed.Ta);Y.fixed.zd.push(da)})}:function(){return new ie("file",function(S,da,fa){sa.Ma("Writing to "+S,2,Y.fixed.Ta);B.writeFileSync(S,da,fa)})});let x;const K={};ca=Y.fixed.yd;var U=ca.mg["#unnamed"];if(U){U=U.C;var ha,T;for(var w=0;wU.indexOf("Q{")&&(U="Q{}"+U);ca=d(Y,U);if(!ca)throw new F("Unknown initial mode "+U,"XTDE0045");w="Q{"+Zb.Wc+"}initial-template"; -D||ha||T||l(Y,w)&&(T=w);let Z=y.Wi;if(Z){D=y.ih?y.ih:[];ha=D.length;T=r(Y,Z.toString(),ha);if(!T)throw new F("Unknown initial function "+Z+"#"+ha,"XTDE0041");if("PUBLIC"!==T.Za.vis&&"FINAL"!==T.Za.vis)throw new F("Uninvocable initial function "+Z+"#"+ha+" with visibility "+T.Za.vis,"XTDE0041");const S=T.Za.C[0];Y.focus={};Y.sa=T;gd(Y);Y.qa="function";Y.gb=ca;Y.ab=null;let da=0;Y.oa=D.map(function(fa){var na=S.C[da++].as;na=ec(na||"*");return cd.Uf(cd.Ra(fa),na,()=>"function parameter for "+Z)});D= -R();Zd.push(cd.da(S,"body"),Y,D);D.close()}else if(T){ha=l(Y,T);if(!ha)throw new F("Unknown initial template "+T,"XTDE0040");T=ha.actor;Y.fixed.hd?Y.focus=Rb(D):(Y.focus=Sb(Ob),Y.focus.next());cd.Tf(T,Y);Y.sa=ha;Y.gb=ca;E(y,Y);D=R();Zd.push(T.C[0],Y,D);D.close()}else{Array.isArray(ha)&&ea&&ha.filter(ac.X).map(function(S){return ac.jf(S)?S:S.ownerDocument}).map(function(S){return ea(S)});if("PRIVATE"===ca.visibility&&U!==z.defaultMode&&""!==U)throw new F("Uninvokable initial mode "+U+" with visibility "+ -ca.Za.vis,"XTDE0045");if(!D&&!ha)throw new F("No source input supplied for apply-templates invocation","XTDE0044");T=ca.mode;Y.sa=ca;Y.focus=Sb(ha?Kb(Array.isArray(ha)?ha:[ha]):Pb(D));D=T.Re.useAcc;null!=D&&"#all"!==D&&(Y.Ge=D.split(/\s+/));E(y,Y);D=R();T.Hb(Y,D);D.close()}M();if(ja){function S(){const da=Y.fixed.zd;Y.fixed.zd=[];return Promise.all(da).then(()=>{if(0{throw fa;}).then(()=>Promise.resolve(new he(y.principalResult,y.resultDocuments,z,y.masterDocument)))} -y.Dj=S()}}function E(z,D){z.Fe&&(sa.assert(z.Fe instanceof cc,"options?templateParams must be an instance of HashTrie. Supplied:"+z.Fe),D.Kc=z.Fe);z.Qb&&(sa.assert(z.Fe instanceof cc,"options?tunnelParams must be an instance of HashTrie. Supplied:"+z.Qb),D.Qb=z.Qb)}function H(z){let D="";for(const y in z)z.hasOwnProperty(y)&&z[y]&&(D+=y+"="+z[y].toString().substring(0,30)+"("+typeof y+"), ");return D}function p(z){let D=z.stylesheetInternal||null;if(!D){if(z.Pb)var y=B.readFile(z.Pb);else if(z.tg)y= -z.tg;else if(z.jc){if(W)throw new F("Cannot supply stylesheetFileName in browser","SXJS0006");y=B.readFile(z.jc)}else throw new F("No stylesheet supplied","SXJS0006");try{D=JSON.parse(y)}catch(R){throw new F("Supplied SEF is not in JSON format","SXJS0006");}}t(D,z);D.PRIMED||(C(D),g(D),D.PRIMED=!0);"true"===D.relocatable&&(z.md=!0);y=z.tf||null;let I;y&&(I=z.tf.baseURI||z.Ud)&&(y._saxonBaseUri=I);if(!y){let R;if(z.Uc)I=z.Uc,R=B.readFile(I);else if(z.uf)I=z.Ud,R=z.uf;else if(z.Tc){if(W)throw new F("Cannot supply sourceFileName in browser", -"SXJS0006");I=z.Tc;R=B.readFile(I)}R&&("json"===z.Ph?y=Md.ze(R,null):(y=B.parseXmlFromString(R),I&&(y._saxonBaseUri=y._saxonDocUri=I)))}q(D,y,z);return new he(z.principalResult,z.resultDocuments,D,z.masterDocument)}function g(z){z.C&&z.C.forEach(function(D){D.parentNode=z;g(D)})}function e(z){if(z instanceof cc)return z;const D=new cc;z&&Object.keys(z).forEach(y=>D.inSituPut(La.XS.QName.fromEQName(y),cd.Ra(z[y])));return D}function k(z){const D={};for(let [y,I]of Object.entries(z))D[y]="use-character-maps"=== -y?I:ge.pf(y,I,null);return D}function v(z){const D=(y,I)=>{let R=null;for(let M of I)if(y[M]){if(R)throw new F("The following transform options are mutually exclusive: "+I.toString(),"SXJS0006");R=M}return R};D(z,["stylesheetText","stylesheetInternal","stylesheetLocation","stylesheetFileName"]);D(z,["sourceNode","sourceText","sourceLocation","sourceFileName"]);return{tg:z.stylesheetText,stylesheetInternal:z.stylesheetInternal,Pb:z.stylesheetLocation,jc:z.stylesheetFileName,Vd:z.stylesheetBaseURI, -Sh:e(z.stylesheetParams),tf:z.sourceNode,uf:z.sourceText,Uc:z.sourceLocation,Tc:z.sourceFileName,Ph:z.sourceType||"xml",Ud:z.sourceBaseURI,masterDocument:z.masterDocument,Zi:z.initialTemplate,Wi:z.initialFunction,ih:z.functionParams,Fe:e(z.templateParams),Qb:e(z.tunnelParams),Xi:z.initialMode,tb:z.documentPool,kc:z.textResourcePool,destination:z.destination,Ib:z.baseOutputURI||(z.masterDocument?z.masterDocument._saxonBaseUri:void 0),Pa:z.outputProperties,principalResult:void 0,Xf:z.deliverMessage, -dd:z.deliverResultDocument,Ac:z.collations,Tg:z.collectionFinder,Ta:z.logLevel,Vh:z.traceInjector,hd:z.globalContextItem,Yi:z.initialSelection,se:z.isDynamicStylesheet,md:z.isRelocatableStylesheet,language:z.language,zh:z.messages,resultDocuments:{},resultForm:z.resultForm,Mk:z.extraOptions,lg:z.nonInteractive,mi:z.attachEventsTo,async:z.async}}function t(z,D){if("package"===z.N){const y=z.target||"not specified",I=z.targetVersion||"",R=z.saxonProduct;let M=z.saxonVersion||"9.8.0.5";R&&!/Saxon/.test(M)&& -(M=R+" "+M);sa.Ma("SEF generated by "+M+" at "+(z.buildDateTime||"2000-01-01"),2,D.Ta);if("JS"!==y||"2"!==I)throw new F("Supplied SEF is not customized for use with SaxonJS. The option -target:JS should be set when generating the export. target is: "+y,"SXJS0006");if("9"===M.charAt(0))throw new F("For use with SaxonJS 2.x, SEF must be generated by SaxonJ-EE 10.0 or later. Supplied SEF is generated by SaxonJ-EE version "+M,"SXJS0006");if(z.expiry&&0>ma.cd.fromString(z.expiry).compareTo(ma.cd.fromDate(new Date, -0)))throw new F("Development license for supplied stylesheet has expired","SXJS0006");}else throw new F("Supplied SEF does not have correct format","SXJS0006");}function C(z){function D(ea,ja){ja<<=8;for(let Y=0;YR?4294967295+R+1:R).toString(16);if(ca!==z){if("unspecified"===z)throw new F("No checksum found in SEF","SXJS0006");throw new F("Invalid checksum in SEF "+z+" != "+ca,"SXJS0006");}}function m(z,D=null){function y(R,M){function ca(ja){const Y=ja.target;var V=z.ba(!0);V.qa=!1;V.ie=ja;V.focus=Sb(Pb(cd.Ra(Y)[0]));V.sa= -R;ja=Vd(z);ja=new Zd.Fc(ja);(V=ea.Hb(V,ja))&&V.expand()}const ea=R.mode;-1==="httpabort afterprint beforeprint beforeunload hashchange languagechange message offline online pagehide pageshow popstate storage unhandledrejection unload resize".split(" ").indexOf(M)?D?D.addEventListener(M,ca,!1):window.document.addEventListener(M,ca,!1):window.addEventListener(M,ca,!1)}const I=z.fixed.La;Object.keys(I).forEach(function(R){R=I[R];R.mode&&R.mode.th()&&(R.name.split("}on")[1]?y(R,R.name.split("}on")[1]): -console.log("Invalid event handler name:",R.name))})}function f(z,D){return z.C?z.C.filter(function(y){return y.N===D}):[]}function A(z,D,y){function I(Y,V){R(z,Y,V)}function R(Y,V,la){Y.N===V&&la(Y);Y.C&&Y.C.forEach(function(x){R(x,V,la)})}function M(Y){return(Y=Y.name)?/^Q\{/.test(Y)?Y:"Q{}"+Y:null}function ca(Y,V){function la(x){x=f(x,"co");for(let K=0;K{const la=Y[V];if(ac.jf(la))ja.fixed.tb[V]=la;else throw new F("Supplied value for "+V+" is not a document node");})}if(y.kc){const Y=y.kc;Object.keys(Y).forEach(V=> -{ja.fixed.kc[V]=Y[V].toString()})}y.Ac||(y.Ac={});y.Ac[Hd.$c]=Hd.Sg();y.Ac[Hd.gh]=Hd.Ze();y.Ac[Hd.jg]=Hd.Mg();y.Ac[Hd.Zh]=Hd.Ze();I("package",function(Y){const V={name:Y.name,Za:Y,Gb:{},Og:{},hb:{},mg:{},keys:{},Wh:null};ja.fixed.rd[V.name]=V;ja.fixed.yd||(ja.fixed.yd=V);ca(Y,function(la){const x=parseInt(la.id,10);ja.fixed.La[x]={id:x,visibility:la.vis,Za:la,Dh:V,actor:null,We:la.binds.split(" ").map(function(K){return parseInt(K,10)})}})});I("package",function(Y){const V=ja.fixed.rd[Y.name];ca(Y, -function(T){const w=ja.fixed.La[parseInt(T.id,10)];T=w.actor=ea(T,ja);null!==T&&(w.name=M(T),"globalVariable"===T.N||"globalParam"===T.N?w.value=null:"mode"===T.N&&(w.mode=new Oh(T,cd),null===M(T)&&(V.Wh=w.mode)),"ABSTRACT"===T.parentNode.vis&&(w.visibility="ABSTRACT"))});if(0T.max&&(T.max=Z);T.ya[Z]=w.s}),55296{ea=JSON.parse(V)}).catch(V=>Promise.reject(new F("Failed to read JSON input "+I.jc+": "+V,"SXJS0006"))),z.push(M)):I.Pb?(M=B.resourcePromise({location:I.Pb, -encoding:"utf-8",type:"json"}).then(V=>{ea=JSON.parse(V)}).catch(V=>Promise.reject(new F("Failed to read JSON input "+I.Pb+": "+V,"SXJS0006"))),z.push(M)):z.push(Promise.reject(new F("No stylesheet supplied","SXJS0006")));ja=I.tf||null;Y=I.Ph||"xml";ja&&(M=I.tf.baseURI||I.Ud)&&(ja._saxonBaseUri=M);if(!ja){M=(la,x)=>{la=Nd.Rg(Nd.Qg(la));la=B.parseXmlFromString(la);x&&(la._saxonBaseUri=la._saxonDocUri=x);return la};ca=la=>Md.ze(la,null);const V="xml"===Y?M:ca;I.uf?ja=V(I.uf,I.Ud):I.Tc?(M=B.resourcePromise({file:I.Tc}).then(la=> -ja=V(la,I.Tc)).catch(la=>Promise.reject(new F(`Failed to read ${Y.toUpperCase()} source input (${la.message})`,"SXJS0006"))),z.push(M)):I.Uc&&(M=B.resourcePromise({location:I.Uc}).then(la=>{ja=V(la,I.Uc)}).catch(la=>Promise.reject(new F(`Failed to read ${Y.toUpperCase()} source input (${la.message})`,"SXJS0006"))),z.push(M))}return Promise.all(z).then(()=>{var V=ea,la=ja,x=I;if(!V)throw new F("No stylesheet supplied","SXJS0006");try{t(V,x);V.PRIMED||(C(V),g(V),V.PRIMED=!0);"true"===V.relocatable&& -(x.md=!0);q(V,la,x);var K=x.Dj}catch(U){throw console.log("Transformation failure: "+(U.getMessage?U.getMessage():U)),U;}return K})},Serializer:ge,serialize:function(z,D){const y={"iso-8859-1":"latin1","iso-646":"ascii"};z=ge.serialize(z,D);return D&&D.encoding?(D=D.encoding,D=y[D]||D,pa.makeBuffer(z,D)):z},StringWriter:ge.StringWriter,getProcessorInfo:function(){return{version:3,vendor:"Saxonica",vendorURL:"https://www.saxonica.com/",productName:"SaxonJS",productVersion:"2.6",isSchemaAware:!1, -supportsSerialization:!0,supportsBackwardsCompatibility:!0,supportsNamespaceAxis:!0,supportsStreaming:!1,supportsDynamicEvaluation:!0,supportsHigherOrderFunctions:!0,xPathVersion:3.1,xsdVersion:1.1,releaseDate:"2023-10-13"}},getResource:function(z){const D=z.type||"text";let y;if(z.file){var I=B.resourcePromise(z);y=B.fileURL(z.file)}else if(z.location)if(I=z.location,I instanceof URL||(I=B.newURL(I,B.baseURL()),z.location=I.toString()),y=I.href,"file:"===I.protocol)I=B.resourcePromise(z);else if(["http:", -"https:"].includes(I.protocol))I=B.resourcePromise(z);else return Promise.reject(new F("Unsupported URL protocol "+I.protocol,"SXJS0006"));else if(z.text)I=Promise.resolve(z.text),z.baseURI&&(y=z.baseURI);else return Promise.reject(new F("No resource supplied","SXJS0006"));"xml"===D?I=I.then(R=>{try{const M=ac.wc(B.parseXmlFromString(R));M._saxonBaseUri=M._saxonDocUri=y;return Promise.resolve(M)}catch(M){return Promise.reject(new F("Failed parsing XML in "+y+": "+M.message,M.code))}}):"json"===D&& -(I=I.then(R=>{try{return Promise.resolve(Md.ze(R,new cc,new ne))}catch(M){return Promise.reject(new F("Failed parsing JSON in "+y+": "+M.message,M.code))}}));return I},setLogLevel:sa.setLogLevel,getLogLevel:sa.getLogLevel,setPlatform:a,getPlatform:function(){return B},getNavigator:function(){return window.navigator.userAgent},timeStamp:W&&window.performance&&window.performance.now?window.performance.now:function(){return Date.now().valueOf()},internalTransform:q,checkOptions:v,convertResult:n,makeAtomicValue:function(z, -D){return La.type[z].fromString(D)},registerExtensionFunctions:function(z){Jh.Nf(z);Mh.Nf(z)},getItemDetails:function(z){if(La.pa(z)){const D={variety:"atomic",type:z.type,value:z.toString()};"AQ"===z.code&&(D.prefix=z.prefix,D.uri=z.uri,D.local=z.local);return D}return ac.X(z)?{variety:"node",type:z.nodeType()}:{variety:z instanceof $c?"array":"map"}},getConfigurationProperties:function(){const z={};Object.keys(L).forEach(D=>{z[D]=L[D]});return z},getConfigurationProperty:function(z){if(z in L)return L[z]}, -setConfigurationProperties:function(z){const D={};Object.keys(L).forEach(y=>{D[y]=L[y]});Object.keys(z).forEach(y=>{"autoResetIndexes"==y?L[y]=!!z[y]:sa.Ma("The configuration property "+y+" is unrecognized")});return D},setConfigurationProperty:function(z,D){if("autoResetIndexes"==z){let y=L[z];L[z]=!!D;return y}sa.Ma("The configuration property "+z+" is unrecognized")},resetIndexes:function(z){W&&!z&&(z=window.document);return z&&"_saxonIndexes"in z?(delete z._saxonIndexes,delete z._saxonIndexesBC, -!0):!1},XdmArray:$c,XdmAtomicValue:Ja,XdmAttributeNode:$b,XdmFunction:ad,XdmMap:cc,XError:F,XPath:Eh,XS:ma};W||"undefined"!==typeof HostPlatform?(HostPlatform.entryPoint=aa,a(HostPlatform),B.expose(aa,"SaxonJS")):console.log("Platform binding delayed");aa.Developer=Nh;La.Kf();Ha.Kf();mc();Jd.register("SaxonJS",aa);return aa})();}).call(this); +(function(){function a(x){u=x;u.init();qa.setPlatform(x)}function c(x){function E(H){switch(H.nodeType){case 9:H.documentElement&&E(H.documentElement);break;case 11:case 1:var S=ac.ca(H),N=ac.Oi(H,"xml:space");S=11!==H.nodeType&&A(S.uri,S.local)&&!(N&&"preserve"===N);N=H.childNodes;let aa=0;for(;aa!0;else if("strip.none"===x.N)A=()=>!1;else{let H={},S={},N={},aa={},ma={},ia=function(V,ka,z){V[ka]?parseInt(z.Eb,10)>parseInt(V[ka].Eb,10)&&(V[ka]=z):V[ka]=z};(x.C||[]).forEach(V=>{const ka=fc(V.test);ka instanceof nd?(V.PREC=parseInt(V.prec,10),V.PRIO=2,ia(H,ka.name.toEQName(),V)):ka instanceof pd?(V.PREC=parseInt(V.prec,10),V.PRIO=1,ia(S,ka.uri,V)):ka instanceof od?(V.PREC=parseInt(V.prec,10),V.PRIO=1,ia(N,ka.localName,V)):ka instanceof Fc? +(V.PREC=parseInt(V.prec,10),V.PRIO=0,ia(aa,"*",V)):sa.la("Unrecognised strip-space "+V.test)});const Y=(V,ka)=>{const z=[],M=H["Q{"+V+"}"+ka];M&&z.push(M);(V=S[V])&&z.push(V);(ka=N[ka])&&z.push(ka);aa["*"]&&z.push(aa["*"]);z.sort((W,fa)=>{const U=W.PREC,w=fa.PREC;return U===w?fa.PRIO-W.PRIO:w-U});return 0{const z="Q{"+V+"}"+ka,M=ma[z];if(M)return"s"===M;V=Y(V,ka);ma[z]=V?"s":"p";return V}}else A=()=>!1;return function(H){E(H);return H}}function n(x,E,A){function H(T){T= +new Ud(T);Y.fixed.Ji=T;return new Zd.Gc(T)}function S(){}function N(){P&&!A.mg&&l(Y)}var aa=cd.qb(x,"strip")[0]||cd.qb(x,"strip.all")[0];let ma=null;if(aa||P)ma=c(aa),E&&ma&&(E=ma(E));A.Vh&&A.Vh(x);A.ql=null;const ia=A.async,Y=B(x,E,A);Y.fixed.wl=Y.fixed.yd.Ya.version;L(Y,function(T){return"globalParam"===T.N&&T.flags&&-1!==T.flags.indexOf("r")}).map(function(T){return T.name}).map(function(T){if("undefined"===typeof Y.fixed.options.Sh.get(La.XS.QName.fromEQName(T)))throw new G("No value has been provided for required stylesheet parameter '"+ +T+"'","XTDE0050");});Y.fixed.Ee=ma;E&&(ac.xc(E),Y.fixed.tb[E._saxonBaseUri]=E);const V=A.destination||"application",ka=A.resultForm||"default";if(A.ed){let T=A.ed("testURI");["document","serialized","raw"].includes(T.destination)&&!T.save&&(A.ed=function(){return new je(T.destination,A.resultDocuments)})}A.ed||(A.ed=P?function(){return new ie("html-page",function(T,ha){A.resultDocuments[T.toString()]=ha})}:ia?function(){return new ie("file",function(T,ha,ba){ha=u.writeFileAsync(T,ha,ba);sa.Ma("Promising to write to "+ +T,2,Y.fixed.Ta);Y.fixed.zd.push(ha)})}:function(){return new ie("file",function(T,ha,ba){sa.Ma("Writing to "+T,2,Y.fixed.Ta);u.writeFileSync(T,ha,ba)})});let z;const M={};aa=Y.fixed.yd;var W=aa.ng["#unnamed"];if(W){W=W.C;var fa,U;for(var w=0;wW.indexOf("Q{")&&(W="Q{}"+W);aa=b(Y,W);if(!aa)throw new G("Unknown initial mode "+W,"XTDE0045");w="Q{"+Zb.Xc+"}initial-template"; +E||fa||U||d(Y,w)&&(U=w);let Z=A.Wi;if(Z){E=A.jh?A.jh:[];fa=E.length;U=q(Y,Z.toString(),fa);if(!U)throw new G("Unknown initial function "+Z+"#"+fa,"XTDE0041");if("PUBLIC"!==U.Ya.vis&&"FINAL"!==U.Ya.vis)throw new G("Uninvocable initial function "+Z+"#"+fa+" with visibility "+U.Ya.vis,"XTDE0041");const T=U.Ya.C[0];Y.focus={};Y.sa=U;gd(Y);Y.qa="function";Y.gb=aa;Y.ab=null;let ha=0;Y.oa=E.map(function(ba){var va=T.C[ha++].as;va=ec(va||"*");return cd.Uf(cd.Ra(ba),va,()=>"function parameter for "+Z)});E= +S();Zd.push(cd.da(T,"body"),Y,E);E.close()}else if(U){fa=d(Y,U);if(!fa)throw new G("Unknown initial template "+U,"XTDE0040");U=fa.actor;Y.fixed.jd?Y.focus=Rb(E):(Y.focus=Sb(Ob),Y.focus.next());cd.Tf(U,Y);Y.sa=fa;Y.gb=aa;F(A,Y);E=S();Zd.push(U.C[0],Y,E);E.close()}else{Array.isArray(fa)&&ma&&fa.filter(ac.X).map(function(T){return ac.kf(T)?T:T.ownerDocument}).map(function(T){return ma(T)});if("PRIVATE"===aa.visibility&&W!==x.defaultMode&&""!==W)throw new G("Uninvokable initial mode "+W+" with visibility "+ +aa.Ya.vis,"XTDE0045");if(!E&&!fa)throw new G("No source input supplied for apply-templates invocation","XTDE0044");U=aa.mode;Y.sa=aa;Y.focus=Sb(fa?Kb(Array.isArray(fa)?fa:[fa]):Pb(E));E=U.Re.useAcc;null!=E&&"#all"!==E&&(Y.Ge=E.split(/\s+/));F(A,Y);E=S();U.Hb(Y,E);E.close()}N();if(ia){function T(){const ha=Y.fixed.zd;Y.fixed.zd=[];return Promise.all(ha).then(()=>{if(0{throw ba;}).then(()=>Promise.resolve(new he(A.principalResult,A.resultDocuments,x,A.masterDocument)))} +A.Dj=T()}}function F(x,E){x.Fe&&(sa.assert(x.Fe instanceof cc,"options?templateParams must be an instance of HashTrie. Supplied:"+x.Fe),E.Lc=x.Fe);x.Rb&&(sa.assert(x.Fe instanceof cc,"options?tunnelParams must be an instance of HashTrie. Supplied:"+x.Rb),E.Rb=x.Rb)}function I(x){let E="";for(const A in x)x.hasOwnProperty(A)&&x[A]&&(E+=A+"="+x[A].toString().substring(0,30)+"("+typeof A+"), ");return E}function m(x){let E=x.stylesheetInternal||null;if(!E){if(x.Qb)var A=u.readFile(x.Qb);else if(x.ug)A= +x.ug;else if(x.kc){if(P)throw new G("Cannot supply stylesheetFileName in browser","SXJS0006");A=u.readFile(x.kc)}else throw new G("No stylesheet supplied","SXJS0006");try{E=JSON.parse(A)}catch(S){throw new G("Supplied SEF is not in JSON format","SXJS0006");}}t(E,x);E.PRIMED||(D(E),g(E),E.PRIMED=!0);"true"===E.relocatable&&(x.md=!0);A=x.uf||null;let H;A&&(H=x.uf.baseURI||x.Vd)&&(A._saxonBaseUri=H);if(!A){let S;if(x.Vc)H=x.Vc,S=u.readFile(H);else if(x.De)H=x.Vd,S=x.De;else if(x.Uc){if(P)throw new G("Cannot supply sourceFileName in browser", +"SXJS0006");H=x.Uc;S=u.readFile(H)}if(S)if("json"===x.Ph)A=Md.ye(S,null);else{if("string"!==typeof S)throw new G("Supplied sourceText is not a string","SXJS0006");A=u.parseXmlFromString(S);H&&(A._saxonBaseUri=A._saxonDocUri=H)}}n(E,A,x);return new he(x.principalResult,x.resultDocuments,E,x.masterDocument)}function g(x){x.C&&x.C.forEach(function(E){E.parentNode=x;g(E)})}function e(x){if(x instanceof cc)return x;const E=new cc;x&&Object.keys(x).forEach(A=>E.inSituPut(La.XS.QName.fromEQName(A),cd.Ra(x[A]))); +return E}function k(x){const E={};for(let [A,H]of Object.entries(x))E[A]="use-character-maps"===A?H:ge.qf(A,H,null);return E}function v(x){const E=(A,H)=>{let S=null;for(let N of H)if(A[N]){if(S)throw new G("The following transform options are mutually exclusive: "+H.toString(),"SXJS0006");S=N}return S};E(x,["stylesheetText","stylesheetInternal","stylesheetLocation","stylesheetFileName"]);E(x,["sourceNode","sourceText","sourceLocation","sourceFileName"]);return{ug:x.stylesheetText,stylesheetInternal:x.stylesheetInternal, +Qb:x.stylesheetLocation,kc:x.stylesheetFileName,Wd:x.stylesheetBaseURI,Sh:e(x.stylesheetParams),uf:x.sourceNode,De:x.sourceText,Vc:x.sourceLocation,Uc:x.sourceFileName,Ph:x.sourceType||"xml",Vd:x.sourceBaseURI,masterDocument:x.masterDocument,Zi:x.initialTemplate,Wi:x.initialFunction,jh:x.functionParams,Fe:e(x.templateParams),Rb:e(x.tunnelParams),Xi:x.initialMode,tb:x.documentPool,lc:x.textResourcePool,destination:x.destination,Ib:x.baseOutputURI||(x.masterDocument?x.masterDocument._saxonBaseUri:void 0), +Pa:x.outputProperties,principalResult:void 0,Xf:x.deliverMessage,ed:x.deliverResultDocument,Bc:x.collations,Ug:x.collectionFinder,Ta:x.logLevel,Vh:x.traceInjector,jd:x.globalContextItem,Yi:x.initialSelection,se:x.isDynamicStylesheet,md:x.isRelocatableStylesheet,language:x.language,zh:x.messages,resultDocuments:{},resultForm:x.resultForm,Mk:x.extraOptions,mg:x.nonInteractive,mi:x.attachEventsTo,async:x.async}}function t(x,E){if("package"===x.N){const A=x.target||"not specified",H=x.targetVersion|| +"",S=x.saxonProduct;let N=x.saxonVersion||"9.8.0.5";S&&!/Saxon/.test(N)&&(N=S+" "+N);sa.Ma("SEF generated by "+N+" at "+(x.buildDateTime||"2000-01-01"),2,E.Ta);if("JS"!==A||"2"!==H)throw new G("Supplied SEF is not customized for use with SaxonJS. The option -target:JS should be set when generating the export. target is: "+A,"SXJS0006");if("9"===N.charAt(0))throw new G("For use with SaxonJS 2.x, SEF must be generated by SaxonJ-EE 10.0 or later. Supplied SEF is generated by SaxonJ-EE version "+N,"SXJS0006"); +if(x.expiry&&0>la.dd.fromString(x.expiry).compareTo(la.dd.fromDate(new Date,0)))throw new G("Development license for supplied stylesheet has expired","SXJS0006");}else throw new G("Supplied SEF does not have correct format","SXJS0006");}function D(x){function E(ma,ia){ia<<=8;for(let Y=0;YS?4294967295+S+1:S).toString(16);if(aa!==x){if("unspecified"===x)throw new G("No checksum found in SEF","SXJS0006");throw new G("Invalid checksum in SEF "+x+" != "+aa,"SXJS0006");}}function l(x,E=null){function A(S,N){function aa(ia){const Y= +ia.target;var V=x.ba(!0);V.qa=!1;V.je=ia;V.focus=Sb(Pb(cd.Ra(Y)[0]));V.sa=S;ia=Vd(x);ia=new Zd.Gc(ia);(V=ma.Hb(V,ia))&&V.expand()}const ma=S.mode;-1==="httpabort afterprint beforeprint beforeunload hashchange languagechange message offline online pagehide pageshow popstate storage unhandledrejection unload resize".split(" ").indexOf(N)?E?E.addEventListener(N,aa,!1):window.document.addEventListener(N,aa,!1):window.addEventListener(N,aa,!1)}const H=x.fixed.La;Object.keys(H).forEach(function(S){S=H[S]; +S.mode&&S.mode.th()&&(S.name.split("}on")[1]?A(S,S.name.split("}on")[1]):console.log("Invalid event handler name:",S.name))})}function f(x,E){return x.C?x.C.filter(function(A){return A.N===E}):[]}function B(x,E,A){function H(Y,V){S(x,Y,V)}function S(Y,V,ka){Y.N===V&&ka(Y);Y.C&&Y.C.forEach(function(z){S(z,V,ka)})}function N(Y){return(Y=Y.name)?/^Q\{/.test(Y)?Y:"Q{}"+Y:null}function aa(Y,V){function ka(z){z=f(z,"co");for(let M=0;M{const ka=Y[V];if(ac.kf(ka))ia.fixed.tb[V]=ka;else throw new G("Supplied value for "+V+" is not a document node"); +})}if(A.lc){const Y=A.lc;Object.keys(Y).forEach(V=>{ia.fixed.lc[V]=Y[V].toString()})}A.Bc||(A.Bc={});A.Bc[Hd.ad]=Hd.Tg();A.Bc[Hd.hh]=Hd.Ze();A.Bc[Hd.jg]=Hd.Ng();A.Bc[Hd.Zh]=Hd.Ze();H("package",function(Y){const V={name:Y.name,Ya:Y,Gb:{},Pg:{},hb:{},ng:{},keys:{},Wh:null};ia.fixed.rd[V.name]=V;ia.fixed.yd||(ia.fixed.yd=V);aa(Y,function(ka){const z=parseInt(ka.id,10);ia.fixed.La[z]={id:z,visibility:ka.vis,Ya:ka,Dh:V,actor:null,We:ka.binds.split(" ").map(function(M){return parseInt(M,10)})}})});H("package", +function(Y){const V=ia.fixed.rd[Y.name];aa(Y,function(U){const w=ia.fixed.La[parseInt(U.id,10)];U=w.actor=ma(U,ia);null!==U&&(w.name=N(U),"globalVariable"===U.N||"globalParam"===U.N?w.value=null:"mode"===U.N&&(w.mode=new Oh(U,cd),null===N(U)&&(V.Wh=w.mode)),"ABSTRACT"===U.parentNode.vis&&(w.visibility="ABSTRACT"))});if(0U.max&&(U.max=Z);U.ya[Z]=w.s}),55296{ma=JSON.parse(V)}).catch(V=>Promise.reject(new G("Failed to read JSON input "+H.kc+": "+V,"SXJS0006"))), +x.push(N)):H.Qb?(N=u.resourcePromise({location:H.Qb,encoding:"utf-8",type:"json"}).then(V=>{ma=JSON.parse(V)}).catch(V=>Promise.reject(new G("Failed to read JSON input "+H.Qb+": "+V,"SXJS0006"))),x.push(N)):x.push(Promise.reject(new G("No stylesheet supplied","SXJS0006")));ia=H.uf||null;Y=H.Ph||"xml";ia&&(N=H.uf.baseURI||H.Vd)&&(ia._saxonBaseUri=N);if(!ia){N=(ka,z)=>{ka=Nd.Sg(Nd.Rg(ka));ka=u.parseXmlFromString(ka);z&&(ka._saxonBaseUri=ka._saxonDocUri=z);return ka};aa=ka=>Md.ye(ka,null);const V="xml"=== +Y?N:aa;H.De?"string"!==typeof H.De?x.push(Promise.reject(new G("Supplied sourceText is not a string","SXJS0006"))):ia=V(H.De,H.Vd):H.Uc?(N=u.resourcePromise({file:H.Uc}).then(ka=>ia=V(ka,H.Uc)).catch(ka=>Promise.reject(new G(`Failed to read ${Y.toUpperCase()} source input (${ka.message})`,"SXJS0006"))),x.push(N)):H.Vc&&(N=u.resourcePromise({location:H.Vc}).then(ka=>{ia=V(ka,H.Vc)}).catch(ka=>Promise.reject(new G(`Failed to read ${Y.toUpperCase()} source input (${ka.message})`,"SXJS0006"))),x.push(N))}return Promise.all(x).then(()=> +{var V=ma,ka=ia,z=H;if(!V)throw new G("No stylesheet supplied","SXJS0006");try{t(V,z);V.PRIMED||(D(V),g(V),V.PRIMED=!0);"true"===V.relocatable&&(z.md=!0);n(V,ka,z);var M=z.Dj}catch(W){throw console.log("Transformation failure: "+(W.getMessage?W.getMessage():W)),W;}return M})},Serializer:ge,serialize:function(x,E){const A={"iso-8859-1":"latin1","iso-646":"ascii"};x=ge.serialize(x,E);return E&&E.encoding?(E=E.encoding,E=A[E]||E,qa.makeBuffer(x,E)):x},StringWriter:ge.StringWriter,getProcessorInfo:function(){return{version:3, +vendor:"Saxonica",vendorURL:"https://www.saxonica.com/",productName:"SaxonJS",productVersion:"2.7",isSchemaAware:!1,supportsSerialization:!0,supportsBackwardsCompatibility:!0,supportsNamespaceAxis:!0,supportsStreaming:!1,supportsDynamicEvaluation:!0,supportsHigherOrderFunctions:!0,xPathVersion:3.1,xsdVersion:1.1,releaseDate:"2024-10-17"}},getResource:function(x){const E=x.type||"text";let A;if(x.file){var H=u.resourcePromise(x);A=u.fileURL(x.file)}else if(x.location)if(H=x.location, +H instanceof URL||(H=u.newURL(H,u.baseURL()),x.location=H.toString()),A=H.href,"file:"===H.protocol)H=u.resourcePromise(x);else if(["http:","https:"].includes(H.protocol))H=u.resourcePromise(x);else return Promise.reject(new G("Unsupported URL protocol "+H.protocol,"SXJS0006"));else if(x.text)H=Promise.resolve(x.text),x.baseURI&&(A=x.baseURI);else return Promise.reject(new G("No resource supplied","SXJS0006"));"xml"===E?H=H.then(S=>{try{const N=ac.xc(u.parseXmlFromString(S));N._saxonBaseUri=N._saxonDocUri= +A;return Promise.resolve(N)}catch(N){return Promise.reject(new G("Failed parsing XML in "+A+": "+N.message,N.code))}}):"json"===E&&(H=H.then(S=>{try{return Promise.resolve(Md.ye(S,new cc,new ne))}catch(N){return Promise.reject(new G("Failed parsing JSON in "+A+": "+N.message,N.code))}}));return H},setLogLevel:sa.setLogLevel,getLogLevel:sa.getLogLevel,setPlatform:a,getPlatform:function(){return u},getNavigator:function(){return window.navigator.userAgent},timeStamp:P&&window.performance&&window.performance.now? +window.performance.now:function(){return Date.now().valueOf()},internalTransform:n,checkOptions:v,convertResult:p,makeAtomicValue:function(x,E){return La.type[x].fromString(E)},registerExtensionFunctions:function(x){Jh.Nf(x);Mh.Nf(x)},getItemDetails:function(x){if(La.pa(x)){const E={variety:"atomic",type:x.type,value:x.toString()};"AQ"===x.code&&(E.prefix=x.prefix,E.uri=x.uri,E.local=x.local);return E}return ac.X(x)?{variety:"node",type:x.nodeType()}:{variety:x instanceof $c?"array":"map"}},getConfigurationProperties:function(){const x= +{};Object.keys(K).forEach(E=>{x[E]=K[E]});return x},getConfigurationProperty:function(x){if(x in K)return K[x]},setConfigurationProperties:function(x){const E={};Object.keys(K).forEach(A=>{E[A]=K[A]});Object.keys(x).forEach(A=>{"autoResetIndexes"==A||"nativeGetElementById"==A?K[A]=!!x[A]:sa.Ma("The configuration property "+A+" is unrecognized")});return E},setConfigurationProperty:function(x,E){if("autoResetIndexes"==x||"nativeGetElementById"==x){let A=K[x];K[x]=!!E;return A}sa.Ma("The configuration property "+ +x+" is unrecognized")},resetIndexes:function(x){P&&!x&&(x=window.document);return x&&"_saxonIndexes"in x?(delete x._saxonIndexes,delete x._saxonIndexesBC,delete x._saxonXmlIdIndex,!0):!1},XdmArray:$c,XdmAtomicValue:Ja,XdmAttributeNode:$b,XdmFunction:ad,XdmMap:cc,XError:G,XPath:Eh,XS:la};P||"undefined"!==typeof HostPlatform?(HostPlatform.entryPoint=ca,a(HostPlatform),u.expose(ca,"SaxonJS")):console.log("Platform binding delayed");ca.Developer=Nh;La.Kf();Ha.Kf();mc();Jd.register("SaxonJS",ca);return ca})();}).call(this); diff --git a/src/saxon-js/SaxonJS2.rt.js b/src/saxon-js/SaxonJS2.rt.js index fc36b82..2c3b414 100644 --- a/src/saxon-js/SaxonJS2.rt.js +++ b/src/saxon-js/SaxonJS2.rt.js @@ -1,7 +1,7 @@ (function(){// Input 0 -var oa; +var na; // Input 1 -window.Resources={regexCategories:{IsBasicLatin:[["0000","007F"]],"IsLatin-1Supplement":[["0080","00FF"]],"IsLatinExtended-A":[["0100","017F"]],"IsLatinExtended-B":[["0180","024F"]],IsIPAExtensions:[["0250","02AF"]],IsSpacingModifierLetters:[["02B0","02FF"]],IsCombiningDiacriticalMarks:[["0300","036F"]],IsGreek:[["0370","03FF"]],IsGreekandCoptic:[["0370","03FF"]],IsCyrillic:[["0400","04FF"]],IsCyrillicSupplementary:[["0500","052F"]],IsCyrillicSupplement:[["0500","052F"]],IsArmenian:[["0530","058F"]],IsHebrew:[["0590", +Resources={regexCategories:{IsBasicLatin:[["0000","007F"]],"IsLatin-1Supplement":[["0080","00FF"]],"IsLatinExtended-A":[["0100","017F"]],"IsLatinExtended-B":[["0180","024F"]],IsIPAExtensions:[["0250","02AF"]],IsSpacingModifierLetters:[["02B0","02FF"]],IsCombiningDiacriticalMarks:[["0300","036F"]],IsGreek:[["0370","03FF"]],IsGreekandCoptic:[["0370","03FF"]],IsCyrillic:[["0400","04FF"]],IsCyrillicSupplementary:[["0500","052F"]],IsCyrillicSupplement:[["0500","052F"]],IsArmenian:[["0530","058F"]],IsHebrew:[["0590", "05FF"]],IsArabic:[["0600","06FF"]],IsSyriac:[["0700","074F"]],IsArabicSupplement:[["0750","077F"]],IsThaana:[["0780","07BF"]],IsNKo:[["07C0","07FF"]],IsSamaritan:[["0800","083F"]],IsMandaic:[["0840","085F"]],IsDevanagari:[["0900","097F"]],IsBengali:[["0980","09FF"]],IsGurmukhi:[["0A00","0A7F"]],IsGujarati:[["0A80","0AFF"]],IsOriya:[["0B00","0B7F"]],IsTamil:[["0B80","0BFF"]],IsTelugu:[["0C00","0C7F"]],IsKannada:[["0C80","0CFF"]],IsMalayalam:[["0D00","0D7F"]],IsSinhala:[["0D80","0DFF"]],IsThai:[["0E00", "0E7F"]],IsLao:[["0E80","0EFF"]],IsTibetan:[["0F00","0FFF"]],IsMyanmar:[["1000","109F"]],IsGeorgian:[["10A0","10FF"]],IsHangulJamo:[["1100","11FF"]],IsEthiopic:[["1200","137F"]],IsEthiopicSupplement:[["1380","139F"]],IsCherokee:[["13A0","13FF"]],IsUnifiedCanadianAboriginalSyllabics:[["1400","167F"]],IsOgham:[["1680","169F"]],IsRunic:[["16A0","16FF"]],IsTagalog:[["1700","171F"]],IsHanunoo:[["1720","173F"]],IsBuhid:[["1740","175F"]],IsTagbanwa:[["1760","177F"]],IsKhmer:[["1780","17FF"]],IsMongolian:[["1800", "18AF"]],IsUnifiedCanadianAboriginalSyllabicsExtended:[["18B0","18FF"]],IsLimbu:[["1900","194F"]],IsTaiLe:[["1950","197F"]],IsNewTaiLue:[["1980","19DF"]],IsKhmerSymbols:[["19E0","19FF"]],IsBuginese:[["1A00","1A1F"]],IsTaiTham:[["1A20","1AAF"]],IsBalinese:[["1B00","1B7F"]],IsSundanese:[["1B80","1BBF"]],IsBatak:[["1BC0","1BFF"]],IsLepcha:[["1C00","1C4F"]],IsOlChiki:[["1C50","1C7F"]],IsVedicExtensions:[["1CD0","1CFF"]],IsPhoneticExtensions:[["1D00","1D7F"]],IsPhoneticExtensionsSupplement:[["1D80","1DBF"]], @@ -134,845 +134,846 @@ positiveInteger:[1],unsignedLong:[1],unsignedInt:[1],unsignedShort:[1],unsignedB "merge-action":{},"merge-key":{},"merge-source":{},message:{},mode:{},namespace:{},"namespace-alias":{},"next-iteration":{},"next-match":{},"non-matching-substring":{},number:{},"on-completion":{},"on-empty":{},"on-non-empty":{},otherwise:{},output:{},"output-character":{},override:{},"package":{},param:{},"perform-sort":{},"preserve-space":{},"processing-instruction":{},"result-document":{},sequence:{},sort:{},"source-document":{},"strip-space":{},stylesheet:{},template:{},text:{},transform:{},"try":{}, "use-package":{},"value-of":{},variable:{},when:{},"where-populated":{},"with-param":{}},compiler:{}}; // Input 2 -var pa=function(){var a;return{getPlatform:function(){return a},setPlatform:function(c){a=c},hi:function(c,q,E,H,p){return a.addMultipleDocs(c,q,E,H,p)},createDocument:function(){return a.createDocument()},oh:function(){return a.getDefaultDeliverMessage()},jd:function(){return a.inBrowser()},Zb:function(c){return a.isHTMLElement(c)},$k:function(c,q){return a.makeBuffer(c,q)},lj:function(c,q,E,H){return a.makeHttpRequest(c,q,E,H)},parseXmlFromString:function(c,q,E){return a.parseXmlFromString(c,q, -E)},readFile:function(c,q){return a.readFile(c,q)},rf:function(c){return a.resource(c)},nl:function(c){return a.resourcePromise(c)},Fb:function(c,q){return a.resolveUri(c,q)},Ma:function(c){return a.saxonPrint(c)},newURL:function(c,q){return a.newURL(c,q)},fileURL:function(c){return a.fileURL(c)},baseURL:function(){return a.baseURL()},tl:function(){return{version:"3.0",vendor:"Saxonica","vendor-url":"http://www.saxonica.com/","product-name":"SaxonJS","product-version":"2.6","is-schema-aware":"no", +var qa=function(){var a;return{getPlatform:function(){return a},setPlatform:function(c){a=c},hi:function(c,n,F,I,m){return a.addMultipleDocs(c,n,F,I,m)},createDocument:function(){return a.createDocument()},ph:function(){return a.getDefaultDeliverMessage()},Kb:function(){return a.inBrowser()},$b:function(c){return a.isHTMLElement(c)},$k:function(c,n){return a.makeBuffer(c,n)},lj:function(c,n,F,I){return a.makeHttpRequest(c,n,F,I)},parseXmlFromString:function(c,n,F){return a.parseXmlFromString(c,n, +F)},readFile:function(c,n){return a.readFile(c,n)},sf:function(c){return a.resource(c)},nl:function(c){return a.resourcePromise(c)},Fb:function(c,n){return a.resolveUri(c,n)},Ma:function(c){return a.saxonPrint(c)},newURL:function(c,n){return a.newURL(c,n)},fileURL:function(c){return a.fileURL(c)},baseURL:function(){return a.baseURL()},tl:function(){return{version:"3.0",vendor:"Saxonica","vendor-url":"http://www.saxonica.com/","product-name":"SaxonJS","product-version":"2.7","is-schema-aware":"no", "supports-serialization":"yes","supports-backwards-compatibility":"yes","supports-namespace-axis":"yes","supports-streaming":"no","supports-dynamic-evaluation":"yes","supports-higher-order-functions":"yes","xpath-version":"3.1","xsd-version":"1.1"}},Di:function(){return a.extraProperties},Uh:function(c){return a.toUTF8(c)},Ok:function(c){return a.fromUTF8(c)},Si:function(){return a.globalObject}}}(); // Input 3 -function ra(a,c){function q(E,H){for(;E;){if(E[H])return E[H];E=E.parentNode}return null}a.xsltLineNr=q(c,"line");a.xsltModule=q(c,"module")} -class F extends Error{constructor(a="SaxonJS run-time error",c="FORG0001",q=null){super();this.name="XError";this.message=a;this.code=c;q&&ra(this,q)}toString(){return this.name+":"+this.message+"; code:"+this.code}getStackTrace(){return null.getStackTrace()}getMessage(){let a="Error "+this.code;null!=this.xsltLineNr&&(a+=" at "+this.xsltModule+"#"+this.xsltLineNr);return a+="\n "+this.message}Id(){return this.code}}oa=F.prototype;oa.code=null;oa.errorObject=null;oa.xsltLineNr=null; -oa.xsltModule=null;oa.Le=!1; +function ra(a,c){function n(F,I){for(;F;){if(F[I])return F[I];F=F.parentNode}return null}a.xsltLineNr=n(c,"line");a.xsltModule=n(c,"module")} +class G extends Error{constructor(a="SaxonJS run-time error",c="FORG0001",n=null){super();this.name="XError";this.message=a;this.code=c;n&&ra(this,n)}toString(){return this.name+":"+this.message+"; code:"+this.code}getStackTrace(){return null.getStackTrace()}getMessage(){let a="Error "+this.code;null!=this.xsltLineNr&&(a+=" at "+this.xsltModule+"#"+this.xsltLineNr);return a+="\n "+this.message}Id(){return this.code}}na=G.prototype;na.code=null;na.errorObject=null;na.xsltLineNr=null; +na.xsltModule=null;na.Le=!1; // Input 4 -const sa=function(){function a(e){H("Internal error: "+e+"\n"+Error().stack);throw new F("Internal error: "+e,"SXJS0004");}function c(e){if(null===e)return"#null";if("undefined"===typeof e)return"#undefined";let k;if(e.showValue)return e.showValue();if(e.N)return"expression "+e.N;if(p&&p.X(e)){if(p.re(e))return"attribute @"+e.name+"='"+e.value+"'";if(p.Kd(e))return"ns:"+e.prefix+"="+e.uri;k={1:"element <"+e.tagName+">",2:"attribute @"+e.name,3:"text:"+(e.nodeValue?e.nodeValue.substring(0,8):"''"), +const sa=function(){function a(e){I("Internal error: "+e+"\n"+Error().stack);throw new G("Internal error: "+e,"SXJS0004");}function c(e){if(null===e)return"#null";if("undefined"===typeof e)return"#undefined";let k;if(e.showValue)return e.showValue();if(e.N)return"expression "+e.N;if(m&&m.X(e)){if(m.re(e))return"attribute @"+e.name+"='"+e.value+"'";if(m.Kd(e))return"ns:"+e.prefix+"="+e.uri;k={1:"element <"+e.tagName+">",2:"attribute @"+e.name,3:"text:"+(e.nodeValue?e.nodeValue.substring(0,8):"''"), 7:"pi: "+e.target+"("+e.tagName+")",8:"comment ("+e.nodeValue+")",9:"document "+(e._saxonDocumentNumber?"#"+e._saxonDocumentNumber:"(No nr / #0)"),11:"docFrag"}[e.nodeType];if("9"===e.nodeType||"11"===e.nodeType){var v;for(v=0;v"+c(e.childNodes[v])}return k}if(e.code)return"atomic:"+e.code+"('"+e.toString()+"')";if("object"===typeof e&&"length"in e){if(1===e.length)return c(e[0]);k="(";for(v=0;vv;v++)0!==v&&(k+=","),k+=c(e[v]);4<=e.length&&(k+=",...("+e.length+ -")");return k+")"}return"function"===typeof e?e.toString():"("+typeof e+") "+e}function q(e){return"{'N':'"+e.N+"','C':["+(e.C||[]).map(k=>q(k)).join(",")+"]}"}function E(e,k){for(;e;){if(e[k])return e[k];e=e.parentNode}return null}function H(e,k=1,v){let t=g;v&&(t=v);k<=t&&pa.getPlatform().saxonPrint(e)}let p,g=1;Error.stackTraceLimit=100;return{assert:function(e,k="assertion failed"){e||a(k)},la:a,location:function(e){return E(e,"module")+"#"+E(e,"line")},zj:function(e){p=e},Ma:H,showValue:c,Nh:function(e){return e.showValue? -e.showValue():p&&p.X(e)?c(e):e.code?"atomic:"+e.code+"('"+e.toString()+"')":e.Li?e.toString():"("+typeof e+") "+e},Ij:function(e){if(!e)return"null expr";let k=e.N||"?";for(let v in e)e.hasOwnProperty(v)&&!["C","N","parentNode","ELAB","PUSH"].includes(v)&&(k+=" "+v+"="+e[v]);e.C&&(k+=" ("+e.C.map(v=>v.N).join(",")+")");return k+=" at "+this.location(e)},rl:q,getLogLevel:function(){return g},setLogLevel:function(e){"number"==typeof e&&(g=e)}}}(); +")");return k+")"}return"function"===typeof e?e.toString():"("+typeof e+") "+e}function n(e){return"{'N':'"+e.N+"','C':["+(e.C||[]).map(k=>n(k)).join(",")+"]}"}function F(e,k){for(;e;){if(e[k])return e[k];e=e.parentNode}return null}function I(e,k=1,v){let t=g;v&&(t=v);k<=t&&qa.getPlatform().saxonPrint(e)}let m,g=1;Error.stackTraceLimit=100;return{assert:function(e,k="assertion failed"){e||a(k)},la:a,location:function(e){return F(e,"module")+"#"+F(e,"line")},zj:function(e){m=e},Ma:I,showValue:c,Nh:function(e){return e.showValue? +e.showValue():m&&m.X(e)?c(e):e.code?"atomic:"+e.code+"('"+e.toString()+"')":e.Li?e.toString():"("+typeof e+") "+e},Ij:function(e){if(!e)return"null expr";let k=e.N||"?";for(let v in e)e.hasOwnProperty(v)&&!["C","N","parentNode","ELAB","PUSH"].includes(v)&&(k+=" "+v+"="+e[v]);e.C&&(k+=" ("+e.C.map(v=>v.N).join(",")+")");return k+=" at "+this.location(e)},rl:n,getLogLevel:function(){return g},setLogLevel:function(e){"number"==typeof e&&(g=e)}}}(); // Input 5 -var wa=function(){function a(){function g(e){if(!(this instanceof g))return void 0===e?a():new g(e);if(e instanceof g)this.ma=e.ma,this.e=e.e,this.c=e.c.slice();else{var k,v,t;0===e&&0>1/e?e="-0":p.test(e=""+e)||E(NaN);this.ma="-"==e.charAt(0)?(e=e.slice(1),-1):1;-1<(k=e.indexOf("."))&&(e=e.replace(".",""));0<(v=e.search(/e/i))?(0>k&&(k=v),k+=+e.slice(v+1),e=e.substring(0,v)):0>k&&(k=e.length);for(v=0;"0"==e.charAt(v);v++);if(v==(t=e.length))this.c=[this.e=0];else{for(;"0"==e.charAt(--t););this.e= -k-v-1;this.c=[];for(k=0;v<=t;this.c[k++]=+e.charAt(v++));}}this.constructor=g}g.prototype=H;g.Zd=20;g.Ne=1;g.$d=-7;g.Je=21;return g}function c(g,e,k){var v=g.constructor,t=e-(g=new v(g)).e,C=g.c;C.length>++e&&q(g,t,v.Ne);C[0]?k?t=e:(C=g.c,t=g.e+t+1):++t;for(;C.lengthg.ma&&C[0]?"-":"")+(1t?"e":"e+")+t:g.toString()}function q(g,e,k,v=!1){var t=g.c,C=g.e+e+1;1===k?v=5<=t[C]:2===k?v=5C||void 0!==t[C+1]||t[C-1]&1):3===k?v=v||void 0!==t[C]||0>C:(v=!1,0!==k&&E("!Big.RM!"));if(1>C||!t[0])v?(g.e=-e,g.c=[1]):g.c=[g.e=0];else{t.length=C--;if(v)for(;9<++t[C];)t[C]=0,C--||(++g.e,t.unshift(1));for(C=t.length;!t[--C];t.pop());}return g}function E(g){g=Error(g);g.name="BigError";throw g;}var H={},p=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;H.abs=function(){var g=new this.constructor(this);g.ma=1;return g};H.cmp=function(g){var e=this.c,k=(g=new this.constructor(g)).c,v=this.ma,t=g.ma, -C=this.e,m=g.e;if(!e[0]||!k[0])return e[0]?v:k[0]?-t:0;if(v!=t)return v;g=0>v;if(C!=m)return C>m^g?1:-1;v=-1;for(t=(C=e.length)<(m=k.length)?C:m;++vk[v]^g?1:-1;return C==m?0:C>m^g?1:-1};H.Vb=function(g,e,k){var v=this.constructor,t=this.c,C=(g=new v(g)).c,m=this.ma===g.ma?1:-1;e="undefined"!==typeof e?e:v.Zd;k="undefined"!==typeof k?k:v.Ne;(e!==~~e||0>e||1E6W?0:W;for(A.unshift(0);l++f;f++){if(v!=(l=d.length))var ma=v>l?1:-1;else{var qa=-1;for(ma=0;++qad[qa]?1:-1;break}}if(0>ma){for(g=l==v?C:A;l;){if(d[--l]W&&q(r,e,k,void 0!==d[0]);return r};H.xi=function(){var g=wa(0);return!this.cmp(g)};H.j=function(g){return 0this.cmp(g)};H.I=function(g){return 1>this.cmp(g)};H.sub=H.we=function(g){var e=this.constructor;var k=this.ma,v=(g=new e(g)).ma;if(k!=v)return g.ma=-v,this.Be(g);var t=this.c.slice();var C=this.e;var m=g.c,f=g.e;if(!t[0]||!m[0])return m[0]?(g.ma=-v,g):new e(t[0]?this:0);if(k=C-f){(e=0> -k)?(k=-k,C=t):(f=C,C=m);C.reverse();for(v=k;v--;C.push(0));C.reverse()}else for(C=((e=t.lengthk;){if(t[--C]t.length-m.length&&(e=m,m=t,t=e);k=m.length;for(v=0;k;)v=(t[--k]=t[k]+m[k]+v)/10|0,t[k]%=10;v&&(t.unshift(v), -++C);for(k=t.length;0===t[--k];t.pop());g.c=t;g.e=C;return g};H.pow=function(g){var e=this,k=new e.constructor(1),v=k,t=0>g;(g!==~~g||-1E6>g||1E6>=1;if(!g)break;e=e.zc(e)}return t?k.Vb(v):v};H.round=function(g,e){var k=this,v=k.constructor;null==g?g=0:(g!==~~g||0>g||1E6k&&E(NaN);k=Math.sqrt(this.toString());0===k||k===1/0?(k=e.join(""),k.length+v&1||(k+="0"),e=new g(Math.sqrt(k).toString()),e.e=((v+1)/2|0)-(0>v||v&1)):e=new g(k.toString());k=e.e+(g.Zd+=4);do v=e,e=t.zc(v.Be(this.Vb(v)));while(v.c.slice(0,k).join("")!==e.c.slice(0,k).join(""));q(e,g.Zd-=4,g.Ne);return e};H.K=H.zc=function(g){var e=this.constructor;var k=this.c,v=(g=new e(g)).c,t=k.length,C=v.length,m=this.e,f=g.e;g.ma=this.ma==g.ma?1:-1;if(!k[0]||!v[0])return new e(0*g.ma);g.e=m+f;tm;)C=e[f]+v[m]*k[f-m-1]+C,e[f--]=C%10,C=C/10|0;e[f]=(e[f]+C)%10}C&&++g.e;e[0]||e.shift();for(m=e.length;!e[--m];e.pop());g.c=e;return g};H.toString=H.valueOf=H.toJSON=function(){var g=this.constructor,e=this.e,k=this.c.join(""),v=k.length;if(e<=g.$d||e>=g.Je)k=k.charAt(0)+(1e?"e":"e+")+e;else if(0>e){for(;++e;k="0"+k);k="0."+k}else if(0v)for(e-=v;e--;k+="0");else ethis.ma&&this.c[0]?"-"+k:k};H.g=function(g){null==g?g=this.c.length-1:(g!==~~g||0>g||1E6=g&&(t=c(this,this.e+g),0>this.ma&&this.c[0]&&0>t.indexOf("-")&&(t="-"+t));e.$d=k;e.Je=v;t||E("!toFix!");return t};H.toPrecision=function(g){if(null==g)return this.toString();(g!== -~~g||1>g||1E61/e?e="-0":m.test(e=""+e)||F(NaN);this.ma="-"==e.charAt(0)?(e=e.slice(1),-1):1;-1<(k=e.indexOf("."))&&(e=e.replace(".",""));0<(v=e.search(/e/i))?(0>k&&(k=v),k+=+e.slice(v+1),e=e.substring(0,v)):0>k&&(k=e.length);for(v=0;"0"==e.charAt(v);v++);if(v==(t=e.length))this.c=[this.e=0];else{for(;"0"==e.charAt(--t););this.e= +k-v-1;this.c=[];for(k=0;v<=t;this.c[k++]=+e.charAt(v++));}}this.constructor=g}g.prototype=I;g.$d=20;g.Ne=1;g.ae=-7;g.Je=21;return g}function c(g,e,k){var v=g.constructor,t=e-(g=new v(g)).e,D=g.c;D.length>++e&&n(g,t,v.Ne);D[0]?k?t=e:(D=g.c,t=g.e+t+1):++t;for(;D.lengthg.ma&&D[0]?"-":"")+(1t?"e":"e+")+t:g.toString()}function n(g,e,k,v=!1){var t=g.c,D=g.e+e+1;1===k?v=5<=t[D]:2===k?v=5D||void 0!==t[D+1]||t[D-1]&1):3===k?v=v||void 0!==t[D]||0>D:(v=!1,0!==k&&F("!Big.RM!"));if(1>D||!t[0])v?(g.e=-e,g.c=[1]):g.c=[g.e=0];else{t.length=D--;if(v)for(;9<++t[D];)t[D]=0,D--||(++g.e,t.unshift(1));for(D=t.length;!t[--D];t.pop());}return g}function F(g){g=Error(g);g.name="BigError";throw g;}var I={},m=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;I.abs=function(){var g=new this.constructor(this);g.ma=1;return g};I.cmp=function(g){var e=this.c,k=(g=new this.constructor(g)).c,v=this.ma,t=g.ma, +D=this.e,l=g.e;if(!e[0]||!k[0])return e[0]?v:k[0]?-t:0;if(v!=t)return v;g=0>v;if(D!=l)return D>l^g?1:-1;v=-1;for(t=(D=e.length)<(l=k.length)?D:l;++vk[v]^g?1:-1;return D==l?0:D>l^g?1:-1};I.Wb=function(g,e,k){var v=this.constructor,t=this.c,D=(g=new v(g)).c,l=this.ma===g.ma?1:-1;e="undefined"!==typeof e?e:v.$d;k="undefined"!==typeof k?k:v.Ne;(e!==~~e||0>e||1E6P?0:P;for(B.unshift(0);d++f;f++){if(v!=(d=b.length))var la=v>d?1:-1;else{var oa=-1;for(la=0;++oab[oa]?1:-1;break}}if(0>la){for(g=d==v?D:B;d;){if(b[--d]P&&n(q,e,k,void 0!==b[0]);return q};I.xi=function(){var g=wa(0);return!this.cmp(g)};I.j=function(g){return 0this.cmp(g)};I.I=function(g){return 1>this.cmp(g)};I.sub=I.we=function(g){var e=this.constructor;var k=this.ma,v=(g=new e(g)).ma;if(k!=v)return g.ma=-v,this.Ae(g);var t=this.c.slice();var D=this.e;var l=g.c,f=g.e;if(!t[0]||!l[0])return l[0]?(g.ma=-v,g):new e(t[0]?this:0);if(k=D-f){(e=0> +k)?(k=-k,D=t):(f=D,D=l);D.reverse();for(v=k;v--;D.push(0));D.reverse()}else for(D=((e=t.lengthk;){if(t[--D]t.length-l.length&&(e=l,l=t,t=e);k=l.length;for(v=0;k;)v=(t[--k]=t[k]+l[k]+v)/10|0,t[k]%=10;v&&(t.unshift(v), +++D);for(k=t.length;0===t[--k];t.pop());g.c=t;g.e=D;return g};I.pow=function(g){var e=this,k=new e.constructor(1),v=k,t=0>g;(g!==~~g||-1E6>g||1E6>=1;if(!g)break;e=e.Ac(e)}return t?k.Wb(v):v};I.round=function(g,e){var k=this,v=k.constructor;null==g?g=0:(g!==~~g||0>g||1E6k&&F(NaN);k=Math.sqrt(this.toString());0===k||k===1/0?(k=e.join(""),k.length+v&1||(k+="0"),e=new g(Math.sqrt(k).toString()),e.e=((v+1)/2|0)-(0>v||v&1)):e=new g(k.toString());k=e.e+(g.$d+=4);do v=e,e=t.Ac(v.Ae(this.Wb(v)));while(v.c.slice(0,k).join("")!==e.c.slice(0,k).join(""));n(e,g.$d-=4,g.Ne);return e};I.K=I.Ac=function(g){var e=this.constructor;var k=this.c,v=(g=new e(g)).c,t=k.length,D=v.length,l=this.e,f=g.e;g.ma=this.ma==g.ma?1:-1;if(!k[0]||!v[0])return new e(0*g.ma);g.e=l+f;tl;)D=e[f]+v[l]*k[f-l-1]+D,e[f--]=D%10,D=D/10|0;e[f]=(e[f]+D)%10}D&&++g.e;e[0]||e.shift();for(l=e.length;!e[--l];e.pop());g.c=e;return g};I.toString=I.valueOf=I.toJSON=function(){var g=this.constructor,e=this.e,k=this.c.join(""),v=k.length;if(e<=g.ae||e>=g.Je)k=k.charAt(0)+(1e?"e":"e+")+e;else if(0>e){for(;++e;k="0"+k);k="0."+k}else if(0v)for(e-=v;e--;k+="0");else ethis.ma&&this.c[0]?"-"+k:k};I.g=function(g){null==g?g=this.c.length-1:(g!==~~g||0>g||1E6=g&&(t=c(this,this.e+g),0>this.ma&&this.c[0]&&0>t.indexOf("-")&&(t="-"+t));e.ae=k;e.Je=v;t||F("!toFix!");return t};I.toPrecision=function(g){if(null==g)return this.toString();(g!== +~~g||1>g||1E6a&&![9,10,13].includes(a)||55295a||65533a||1114111a?-1:0===a?0:1}return aa&&![9,10,13].includes(a)||55295a||65533a||1114111a?-1:0===a?0:1}return a65535c.codePointAt(0))}function Ea(a){return String.fromCodePoint(...a.map(ya))}class Ga{}; // Input 7 -var Ha=function(){function a(){null===q&&(q=pa.rf("regexCategories"));return q}function c(g,e,k=null,v=null){function t(z,D){function y(V){for(V=V.toString(16);4>V.length;)V="0"+V;return"\\u"+(E&&4=U&&V.push([U,ha])}x=x[x.length-1][1];(E||65535>x)&&V.push([x+1,E?1114111:65535])}x="";for(K=0;KV[K][1])x+=y(V[K][0]),V[K][1]> -V[K][0]&&(x+="-"+y(V[K][1]));V=x;la||(V="["+V+"]");return V}function R(V){return V.sort(function(la,x){return la[0]-x[0]})}function M(V,la,x,K){var U=[];Array.isArray(V)||m("Ranges must be array");V.forEach(function(ha){U.push([parseInt(ha[0],16),parseInt(ha[1],16)])});x&&K&&R(U);return I(U,la,x)}var ca=z.charAt(D+1);0>"nrt\\|.-^?*+{}()[]pPsSiIcCdDwW$".indexOf(ca)&&(0!==n||!/[0-9]/.test(ca))&&m("\\"+ca+" is not allowed in XPath regular expressions");switch(ca){case "p":case "P":var ea=z.indexOf("}", -D);z=z.substring(D+3,ea);C("x")&&(z=z.replace(/[ \n\r\t]+/g,""));var ja=a();(D=ja[z])||m("Unknown category "+z);if(1===z.length){var Y=[];D.split("|").forEach(function(x){Y=Y.concat(ja[x])})}else Y=D;A+=M(Y,0=r&&/[0-9]/.test(z.charAt(D+2))&&(A+="(?:)"),D++):(A+="\\"+ca,D++)}return{vj:A,i:D}}function C(z){return 0<=e.indexOf(z)}function m(z){throw new F("Invalid XPath regular expression: "+z,"FORX0002");}let f=0;e=e?e.toString():"";if(!E&&k&&Aa(k))throw new F("Cannot handle non-BMP characters with regular expressions in this browser", -"SXJS0002");k=(C("i")?"i":"")+(C("m")?"m":"")+(C("g")?"g":"")+(E?"u":"");if(C("j"))return new RegExp(g,e.replace("j",""));if(C("q"))return new RegExp(g.replace(/[\[\]\/\{\}\(\)\*\+\?\.\\^$|]/g,"\\$&"),k);let A="";const O=[[58,58],[65,90],[95,95],[97,122],[192,214],[216,246],[248,767],[880,893],[895,8191],[8204,8205],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],b=[[45,46],[48,58],[65,90],[95,95],[97,122],[183,183],[192,214],[216,246],[248,893],[895,8191],[8204, -8205],[8255,8256],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],d=[],l=[];let r=1,n=0,B=!1;var W=!1;for(var ma=0;maW||!/^[0-9]+(,[0-9]*)?$/.test(g.substring(ma+1,W)))&&m("Invalid quantifier {"+g.substring(ma+1,W+1)),W=!1);A+=z;break;case " ":case "\n":case "\r":case "\t":if(!C("x")||0V.length;)V="0"+V;return"\\u"+(F&&4=W&&V.push([W,fa])}z=z[z.length-1][1];(F||65535>z)&&V.push([z+1,F?1114111:65535])}z="";for(M=0;MV[M][1])z+=A(V[M][0]),V[M][1]> +V[M][0]&&(z+="-"+A(V[M][1]));V=z;ka||(V="["+V+"]");return V}function S(V){return V.sort(function(ka,z){return ka[0]-z[0]})}function N(V,ka,z,M){var W=[];Array.isArray(V)||l("Ranges must be array");V.forEach(function(fa){W.push([parseInt(fa[0],16),parseInt(fa[1],16)])});z&&M&&S(W);return H(W,ka,z)}var aa=x.charAt(E+1);0>"nrt\\|.-^?*+{}()[]pPsSiIcCdDwW$".indexOf(aa)&&(0!==p||!/[0-9]/.test(aa))&&l("\\"+aa+" is not allowed in XPath regular expressions");switch(aa){case "p":case "P":var ma=x.indexOf("}", +E);x=x.substring(E+3,ma);D("x")&&(x=x.replace(/[ \n\r\t]+/g,""));var ia=a();(E=ia[x])||l("Unknown category "+x);if(1===x.length){var Y=[];E.split("|").forEach(function(z){Y=Y.concat(ia[z])})}else Y=E;B+=N(Y,0=q&&/[0-9]/.test(x.charAt(E+2))&&(B+="(?:)"),E++):(B+="\\"+aa,E++)}return{vj:B,i:E}}function D(x){return 0<=e.indexOf(x)}function l(x){throw new G("Invalid XPath regular expression: "+x,"FORX0002");}let f=0;e=e?e.toString():"";if(!F&&k&&Aa(k))throw new G("Cannot handle non-BMP characters with regular expressions in this browser", +"SXJS0002");k=(D("i")?"i":"")+(D("m")?"m":"")+(D("g")?"g":"")+(F?"u":"");if(D("j"))return new RegExp(g,e.replace("j",""));if(D("q"))return new RegExp(g.replace(/[\[\]\/\{\}\(\)\*\+\?\.\\^$|]/g,"\\$&"),k);let B="";const L=[[58,58],[65,90],[95,95],[97,122],[192,214],[216,246],[248,767],[880,893],[895,8191],[8204,8205],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],y=[[45,46],[48,58],[65,90],[95,95],[97,122],[183,183],[192,214],[216,246],[248,893],[895,8191],[8204, +8205],[8255,8256],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],b=[],d=[];let q=1,p=0,u=!1;var P=!1;for(var la=0;laP||!/^[0-9]+(,[0-9]*)?$/.test(g.substring(la+1,P)))&&l("Invalid quantifier {"+g.substring(la+1,P+1)),P=!1);B+=x;break;case " ":case "\n":case "\r":case "\t":if(!D("x")||0=this.value.length)return this.value;let a=this.j;const c=this.value.length;if(0===a&&0c+q.toString(16).padStart(2,"0"),"").toUpperCase()} -class Ya extends Ja{constructor(a,c="AX"){super(c);if(!(a instanceof Uint8Array))throw new F("Uint8Array expected");this.value=a}g(){return/^A[X2]$/}toString(){if("AX"===this.code)var a=Va(this.value);else{{a=this.value;var c=0;let g=0,e=[];if(0===a.length)a="";else{do{var q=a[c++];var E=a[c++];var H=a[c++];var p=q<<16|E<<8|H;q=p>>18&63;E=p>>12&63;H=p>>6&63;p&=63;e[g++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(q)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(E)+ -"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(H)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(p)}while(cq===c[E])}return Sa(this.code, +class Ra extends Ja{constructor(a,c="AS"){super(c);this.value=a||"";"string"!==typeof a&&sa.la("bad input to string constructor "+sa.showValue(a));this.j=0}g(){return/^A(S|Z$|U$)/}toString(){return this.value}compareTo(a){return a instanceof Ra?za(this.value,a.value):Sa(this.code,a.code)}equals(a){return 0===this.compareTo(a)}hashCode(){if(6>=this.value.length)return this.value;let a=this.j;const c=this.value.length;if(0===a&&0c+n.toString(16).padStart(2,"0"),"").toUpperCase()} +class Ya extends Ja{constructor(a,c="AX"){super(c);if(!(a instanceof Uint8Array))throw new G("Uint8Array expected");this.value=a}g(){return/^A[X2]$/}toString(){if("AX"===this.code)var a=Va(this.value);else{{a=this.value;var c=0;let g=0,e=[];if(0===a.length)a="";else{do{var n=a[c++];var F=a[c++];var I=a[c++];var m=n<<16|F<<8|I;n=m>>18&63;F=m>>12&63;I=m>>6&63;m&=63;e[g++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(n)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(F)+ +"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(I)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(m)}while(cn===c[F])}return Sa(this.code, a.code)}hashCode(){return(new Ra(Va(this.value.slice(0,8)))).hashCode()}matchKey(){return("AX"===this.code?"h":"i")+this.toString()}} -class Oa extends Ma{constructor(a,c="AO"){super(c);this.value=a;"number"!==typeof a&&sa.la("type of value supplied to XdmDouble is not number: "+typeof a)}g(){return/^A[OF]$/}toString(){if(0===this.value)return 0>1/this.value?"-0":"0";if(this.value===Number.POSITIVE_INFINITY)return"INF";if(this.value===Number.NEGATIVE_INFINITY)return"-INF";var a=this.value,c=Math.abs(a);if(1E6<=c||1E-6>c){c=a.toExponential();const q=c.indexOf("e");a=c.substring(0,q);c=c.substring(q+1);"AF"===this.code&&(a=parseFloat(a), -a=(0>a?a-5E-8:a+5E-8).toString(),a=a.substring(0,a.indexOf(".")+8),a=a.replace(/\.?0+$/,""));a.includes(".")||(a+=".0");return a+"E"+c.replace("+","")}return"AF"===this.code&&0!==a%1?(c=(0>a?a-5E-8:a+5E-8).toString(),c=c.substring(0,c.indexOf(".")+6),c.replace(/0+$/,"")):a.toString()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a.isNumeric()?(a=a.toNumber(),"AF"===this.code&&Math.fround&&(a=Math.fround(a)),this.valuethis.value?"-INF":"INF"}matchKey(){return"n"+this.hashCode()}toNumber(){return this.value}toDouble(){return this}abs(){return new Oa(Math.abs(this.value),this.code)}nf(){return new Oa(-this.value,this.code)}Rf(){return new Oa(Math.ceil(this.value),this.code)}floor(){return new Oa(Math.floor(this.value), -this.code)}round(a){0===a?a=Math.round(this.value):(a=Math.pow(10,-a),a*=Math.round(this.value/a));return new Oa(a,this.code)}sf(a){return isFinite(this.value)?(a=(new $a(wa(this.value))).sf(a),0===a.toNumber()&&0>this.value&&(a=La.XS.double.fromString("-0")),La.codes[this.code].R(a)):this}} -class Za extends Ma{constructor(a){super("ADI");"number"!==typeof a&&sa.la("type of value supplied to XdmInteger is not number: "+typeof a);this.value=a}g(){return/^ADI/}toString(){return this.value.toString()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a.isNumeric()?this.value-a.toNumber():Sa(this.code,a.code)}hashCode(){return Ta(this.value)}qg(a){return a instanceof Oa||a instanceof Za?this.value===a.value:a instanceof $a?La.XS.mb.R(this).equals(a):!1}matchKey(){return"n"+this.hashCode()}toDouble(){return new Oa(this.value)}toNumber(){return this.value}toBig(){return new wa(this.value)}abs(){return new Za(Math.abs(this.value))}nf(){return new Za(-this.value)}Rf(){return this}floor(){return this}round(a){return 0> -a?(a=Math.pow(10,-a),new Za(Math.round(this.value/a)*a)):this}sf(a){return 0>a?(a=Math.pow(10,-a),new Za(parseInt(wa(this.value).Vb(a,100,2).round(0,2).zc(a),10))):this}} -class $a extends Ma{constructor(a,c="AD"){super(c);this.value=new wa(a)}g(){return/^AD/}toString(){return this.value.toFixed()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a instanceof $a?this.value.cmp(a.value):/^AD/.test(a.code)?this.value.cmp(a.toBig()):a.isNumeric()?this.value.cmp(new wa(a.toDouble())):Sa(this.code,a.code)}hashCode(){const a=this.value;return a.mf(wa(1)).xi()&&a.abs().ij()?this.toNumber().toString(36):this.toString().substring(0,8)}qg(a){return a instanceof Oa|| -a instanceof Za?0===this.compareTo(La.XS.mb.R(a)):a instanceof $a?0===this.compareTo(a):!1}matchKey(){return"n"+this.hashCode()}toBig(){return this.value}toDouble(){return new Oa(parseFloat(this.value.toFixed()))}toNumber(){return parseFloat(this.value.toFixed())}abs(){return new $a(this.value.abs(),this.code)}nf(){var a=wa(this.value);a.ma=-a.ma;return new $a(a,"AD"===this.code?"AD":"ADI")}Rf(){return new $a(this.value.round(0,0>this.value.ma?0:3),this.code)}floor(){return new $a(this.value.round(0, -0>this.value.ma?3:0),this.code)}round(a){function c(p,g){p=new wa(p);p.e+=g;return p}let q=this.value,E=0;0>a&&(E=a,a=0,q=c(q,E));const H=0a?(a=wa(10).pow(-a),a=this.value.Vb(a,100,2).round(0,2).zc(a)):a=this.value.round(a,2);return new $a(a,"AD"===this.code?"AD":"ADI")}} +class Oa extends Ma{constructor(a,c="AO"){super(c);this.value=a;"number"!==typeof a&&sa.la("type of value supplied to XdmDouble is not number: "+typeof a)}g(){return/^A[OF]$/}toString(){if(0===this.value)return 0>1/this.value?"-0":"0";if(this.value===Number.POSITIVE_INFINITY)return"INF";if(this.value===Number.NEGATIVE_INFINITY)return"-INF";var a=this.value,c=Math.abs(a);if(1E6<=c||1E-6>c){c=a.toExponential();const n=c.indexOf("e");a=c.substring(0,n);c=c.substring(n+1);"AF"===this.code&&(a=parseFloat(a), +a=(0>a?a-5E-8:a+5E-8).toString(),a=a.substring(0,a.indexOf(".")+8),a=a.replace(/\.?0+$/,""));a.includes(".")||(a+=".0");return a+"E"+c.replace("+","")}return"AF"===this.code&&0!==a%1?(c=(0>a?a-5E-8:a+5E-8).toString(),c=c.substring(0,c.indexOf(".")+6),c.replace(/0+$/,"")):a.toString()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a.isNumeric()?(a=a.toNumber(),"AF"===this.code&&Math.fround&&(a=Math.fround(a)),this.valuethis.value?"-INF":"INF"}matchKey(){return"n"+this.hashCode()}toNumber(){return this.value}toDouble(){return this}abs(){return new Oa(Math.abs(this.value),this.code)}pf(){return new Oa(-this.value,this.code)}Rf(){return new Oa(Math.ceil(this.value),this.code)}floor(){return new Oa(Math.floor(this.value), +this.code)}round(a){0===a?a=Math.round(this.value):(a=Math.pow(10,-a),a*=Math.round(this.value/a));return new Oa(a,this.code)}tf(a){return isFinite(this.value)?(a=(new $a(wa(this.value))).tf(a),0===a.toNumber()&&0>this.value&&(a=La.XS.double.fromString("-0")),La.codes[this.code].R(a)):this}} +class Za extends Ma{constructor(a){super("ADI");"number"!==typeof a&&sa.la("type of value supplied to XdmInteger is not number: "+typeof a);this.value=a}g(){return/^ADI/}toString(){return this.value.toString()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a.isNumeric()?this.value-a.toNumber():Sa(this.code,a.code)}hashCode(){return Ta(this.value)}rg(a){return a instanceof Oa||a instanceof Za?this.value===a.value:a instanceof $a?La.XS.mb.R(this).equals(a):!1}matchKey(){return"n"+this.hashCode()}toDouble(){return new Oa(this.value)}toNumber(){return this.value}toBig(){return new wa(this.value)}abs(){return new Za(Math.abs(this.value))}pf(){return new Za(-this.value)}Rf(){return this}floor(){return this}round(a){return 0> +a?(a=Math.pow(10,-a),new Za(Math.round(this.value/a)*a)):this}tf(a){return 0>a?(a=Math.pow(10,-a),new Za(parseInt(wa(this.value).Wb(a,100,2).round(0,2).Ac(a),10))):this}} +class $a extends Ma{constructor(a,c="AD"){super(c);this.value=new wa(a)}g(){return/^AD/}toString(){return this.value.toFixed()}equals(a){return 0===this.compareTo(a)}compareTo(a){return a instanceof $a?this.value.cmp(a.value):/^AD/.test(a.code)?this.value.cmp(a.toBig()):a.isNumeric()?this.value.cmp(new wa(a.toDouble())):Sa(this.code,a.code)}hashCode(){const a=this.value;return a.nf(wa(1)).xi()&&a.abs().ij()?this.toNumber().toString(36):this.toString().substring(0,8)}rg(a){return a instanceof Oa|| +a instanceof Za?0===this.compareTo(La.XS.mb.R(a)):a instanceof $a?0===this.compareTo(a):!1}matchKey(){return"n"+this.hashCode()}toBig(){return this.value}toDouble(){return new Oa(parseFloat(this.value.toFixed()))}toNumber(){return parseFloat(this.value.toFixed())}abs(){return new $a(this.value.abs(),this.code)}pf(){var a=wa(this.value);a.ma=-a.ma;return new $a(a,"AD"===this.code?"AD":"ADI")}Rf(){return new $a(this.value.round(0,0>this.value.ma?0:3),this.code)}floor(){return new $a(this.value.round(0, +0>this.value.ma?3:0),this.code)}round(a){function c(m,g){m=new wa(m);m.e+=g;return m}let n=this.value,F=0;0>a&&(F=a,a=0,n=c(n,F));const I=0a?(a=wa(10).pow(-a),a=this.value.Wb(a,100,2).round(0,2).Ac(a)):a=this.value.round(a,2);return new $a(a,"AD"===this.code?"AD":"ADI")}} class ab extends Ja{constructor(a){super("AB");"boolean"!==typeof a&&sa.la("type of value supplied to XdmBoolean is not boolean: "+typeof a);this.value=a}g(){return/^AB$/}toString(){return this.value.toString()}toBoolean(){return this.value}compareTo(a){return a instanceof ab?(this.value?1:0)-(a.value?1:0):Sa(this.code,a.code)}equals(a){return 0===this.compareTo(a)}hashCode(){return this.value.toString()}matchKey(){return"b"+this.toString()}} -class bb extends Ja{constructor(a,c,q){super("AQ");this.prefix=a=a?a:"";this.uri=c?c:"";this.local=q;if(""!==a&&!Ha.Lb(a))throw new F("Invalid prefix: '"+a+"'","FORG0001");if(!Ha.Lb(q))throw new F("Invalid local name: '"+q+"' (prefix='"+a+"', uri='"+c+"')","FORG0001");}g(){return/^AQ$/}toEQName(){return"Q{"+this.uri+"}"+this.local}toString(){return(0a?"-":"+")+(100+Math.floor(c/60)).toString().substring(1)+":"+(100+c%60).toString().substring(1)}return 0===a?"Z":""} function eb(a,c){if(c instanceof fb&&(c.code.startsWith(a.code)||a.code.startsWith(c.code)))return+a.Na.getTime()-c.Na.getTime();Sa(a.code,c.code)}function gb(a,c){return La.XS.dateTime.fromDate(new Date(a.Na.getTime()+6E4*c),a.Fa)} -function hb(a,c){let q=a.toString(),E=parseInt(q.substring(5,7),10),H=parseInt(q.substring(8,10),10),p=parseInt(q.substring(0,4),10)+Math.floor((E+c-1)/12),g=0>p;c=(E+c-1)%12+1;for(0>=c&&(c+=12);!La.gj([p,c,H,0,0,0]);)--H;return La.codes[a.code].fromString((g?"-"+(1E4+-p).toString().substring(1):(1E4+p).toString().substring(1))+"-"+(100+c).toString().substring(1)+"-"+(100+H).toString().substring(1)+q.substring(10))} -class fb extends Ja{constructor(a,c,q="AM"){super(q);this.Na=a;this.Fa=c;a instanceof Date||sa.la("type of UTCdate supplied to XdmDateTime is not Date");c&&"number"!==typeof c&&sa.la("type of value for timezone offset supplied to XdmDateTime is not number: "+typeof c)}g(){return/^A([AGHIJKMT]|MP)$/}proxy(){var a=new Date;return new Date(this.Na.getTime()+6E4*(this.Fa||0===this.Fa?this.Fa:-a.getTimezoneOffset()))}toString(){const a=cb(this,this.proxy().toISOString()),c="-"===a.charAt(0)?1:0;return function(q){switch(q){case "AM":case "AMP":return a; -case "AA":return a.substring(0,10+c);case "AT":return a.substring(11+c);case "AH":return a.substring(0,7+c);case "AG":return a.substring(0,4+c);case "AJ":return"-"+a.substring(4+c,10+c);case "AI":return"-"+a.substring(4+c,7+c);case "AK":return"--"+a.substring(7+c,10+c);default:throw"type not recognised "+q;}}(this.code)+db(this)}compareTo(a){(/^A[GHIJK]/.test(this.code)||/^A[GHIJK]/.test(a.code))&&Sa(this.code,a.code);return eb(this,a)}equals(a){return 0===eb(this,a)}hashCode(){return Ta(this.Na.getTime()- -1454346732296)}matchKey(){return"t"+this.hashCode()}}function jb(a){function c(E,H){H.forEach(function(p){1E3!==p?(q.push(Math.floor(E/p)),E%=p):q.push(E/p)})}let q=[];c(Math.abs(a.Ua),[12,1]);c(Math.abs(a.Qa),[864E5,36E5,6E4,1E3]);return q}function kb(a){a=a.Ua+a.Qa;return 0>a?-1:0c||0>a&&0c?"-P":"P",jb(this).forEach(function(q,E){3===E&&(a+="T");0!==q&&(6===E?a+=q/1E3+"S":a+=q+"YMDHMS".split("")[E])}), -a=a.replace(/T$/,""));return a}compareTo(a){if(a instanceof lb){if(La.XS.yearMonthDuration.matches(this)&&La.XS.yearMonthDuration.matches(a))return this.Ua-a.Ua;if(La.XS.dayTimeDuration.matches(this)&&La.XS.dayTimeDuration.matches(a))return this.Qa-a.Qa;throw new F("Cannot compare durations that mix months and seconds","XPTY0004");}return Sa(this.code,a.code)}equals(a){a instanceof lb||Sa(this.code,a.code);return a instanceof lb&&this.Ua===a.Ua&&this.Qa===a.Qa}hashCode(){return this.Ua.toString()+ -":"+this.Qa.toString()}matchKey(){return"d"+this.hashCode()}}function Ta(a){return Number.isInteger(a)&&Math.abs(a)m;c=(F+c-1)%12+1;for(0>=c&&(c+=12);!La.gj([m,c,I,0,0,0]);)--I;return La.codes[a.code].fromString((g?"-"+(1E4+-m).toString().substring(1):(1E4+m).toString().substring(1))+"-"+(100+c).toString().substring(1)+"-"+(100+I).toString().substring(1)+n.substring(10))} +class fb extends Ja{constructor(a,c,n="AM"){super(n);this.Na=a;this.Fa=c;a instanceof Date||sa.la("type of UTCdate supplied to XdmDateTime is not Date");c&&"number"!==typeof c&&sa.la("type of value for timezone offset supplied to XdmDateTime is not number: "+typeof c)}g(){return/^A([AGHIJKMT]|MP)$/}proxy(){var a=new Date;return new Date(this.Na.getTime()+6E4*(this.Fa||0===this.Fa?this.Fa:-a.getTimezoneOffset()))}toString(){const a=cb(this,this.proxy().toISOString()),c="-"===a.charAt(0)?1:0;return function(n){switch(n){case "AM":case "AMP":return a; +case "AA":return a.substring(0,10+c);case "AT":return a.substring(11+c);case "AH":return a.substring(0,7+c);case "AG":return a.substring(0,4+c);case "AJ":return"-"+a.substring(4+c,10+c);case "AI":return"-"+a.substring(4+c,7+c);case "AK":return"--"+a.substring(7+c,10+c);default:throw"type not recognised "+n;}}(this.code)+db(this)}compareTo(a){(/^A[GHIJK]/.test(this.code)||/^A[GHIJK]/.test(a.code))&&Sa(this.code,a.code);return eb(this,a)}equals(a){return 0===eb(this,a)}hashCode(){return Ta(this.Na.getTime()- +1454346732296)}matchKey(){return"t"+this.hashCode()}}function jb(a){function c(F,I){I.forEach(function(m){1E3!==m?(n.push(Math.floor(F/m)),F%=m):n.push(F/m)})}let n=[];c(Math.abs(a.Ua),[12,1]);c(Math.abs(a.Qa),[864E5,36E5,6E4,1E3]);return n}function kb(a){a=a.Ua+a.Qa;return 0>a?-1:0c||0>a&&0c?"-P":"P",jb(this).forEach(function(n,F){3===F&&(a+="T");0!==n&&(6===F?a+=n/1E3+"S":a+=n+"YMDHMS".split("")[F])}), +a=a.replace(/T$/,""));return a}compareTo(a){if(a instanceof lb){if(La.XS.yearMonthDuration.matches(this)&&La.XS.yearMonthDuration.matches(a))return this.Ua-a.Ua;if(La.XS.dayTimeDuration.matches(this)&&La.XS.dayTimeDuration.matches(a))return this.Qa-a.Qa;throw new G("Cannot compare durations that mix months and seconds","XPTY0004");}return Sa(this.code,a.code)}equals(a){a instanceof lb||Sa(this.code,a.code);return a instanceof lb&&this.Ua===a.Ua&&this.Qa===a.Qa}hashCode(){return this.Ua.toString()+ +":"+this.Qa.toString()}matchKey(){return"d"+this.hashCode()}}function Ta(a){return Number.isInteger(a)&&Math.abs(a)P instanceof Ja&&P.code.startsWith(h),pc:function(P){Q(P)||g(P.toString(),h);P.code=h;return P},fromString:function(P){return N.pc(u.fromString(P))},R:function(P){return N.pc(u.R(P))}}}function Z(va,h,G){const Q=h.replace(/.$/,"");w(va,h,Q,G);const u=V[va],N=la[Q];u.fromString=function(P){/INF|NaN/.test(P)&&g(P,h,null,"FOCA0002");return u.pc(N.fromString(P))};u.fromNumber=function(P){P= -N.fromNumber(P);const ia=P.toNumber();isFinite(ia)||g(P.toString(),h,null,"FOCA0002");G(P)||g(P.toString(),h);P.code=h;return P}}function S(va,h,G,Q){const u=h.replace(/.$/,"");w(va,h,u,G);const N=la[h],P=la[u];N.pc=function(ia){ia=Q(ia.toString());G(ia)||g(ia,h);return new Ra(ia,h)};N.fromString=function(ia){return N.pc(P.fromString(Q(ia)))}}function da(va,h,G){w(va,h,"AR",G);const Q=V[va];Q.pc=function(u){if(u instanceof lb)return new lb("ARY"===h?u.Ua:0,"ARD"===h?u.Qa:0,h);G(u)||g(u.toString(), -h);u.code=h;return u};Q.Wb=function(u,N){return Q.pc(ea.Wb(u,N))};Q.R=function(u){return ea.matches(u)?Q.pc(u):T.string.matches(u)||T.untypedAtomic.matches(u)?b(u.toString(),h):Q.pc(ea.R(u))}}function fa(va,h){return function(G){G=G.toNumber();return G>=va&&G<=h}}for(var na in V){const va=V[na];la[va.code]=va}t("gYear","AG");t("gYearMonth","AH");t("gMonth","AI");t("gMonthDay","AJ");t("gDay","AK");Z("nonPositiveInteger","ADIN",va=>0>=va.toNumber());Z("negativeInteger","ADINN",va=>0>va.toNumber()); -Z("long","ADIL",function(va){va=va.toBig();return 0<=va.cmp(wa("-9223372036854775808"))&&0>=va.cmp(wa("9223372036854775807"))});Z("int","ADILI",fa(-2147483648,2147483647));Z("short","ADILIS",fa(-32768,32767));Z("byte","ADILISB",fa(-128,127));Z("nonNegativeInteger","ADIP",va=>0<=va.toNumber());Z("positiveInteger","ADIPP",va=>0=va.toBig().cmp(wa("18446744073709551615"))});Z("unsignedInt","ADIPLI",function(va){return 0<= -va.toNumber()&&0>=va.toBig().cmp(wa("4294967295"))});Z("unsignedShort","ADIPLIS",fa(0,65535));Z("unsignedByte","ADIPLISB",fa(0,255));na=()=>!0;S("normalizedString","ASN",na,va=>va.replace(/[ \r\t\n]/g," "));S("token","ASNT",na,xa);S("language","ASNTL",va=>/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/.test(va),xa);S("NMTOKEN","ASNTK",Ha.cj,xa);S("Name","ASNTN",Ha.dj,xa);S("NCName","ASNTNC",Ha.Lb,xa);S("ID","ASNTNCI",Ha.Lb,xa);S("IDREF","ASNTNCR",Ha.Lb,xa);S("ENTITY","ASNTNCE",Ha.Lb,xa);da("yearMonthDuration", -"ARY",va=>0===va.Qa);da("dayTimeDuration","ARD",va=>0===va.Ua);V.dayTimeDuration.hh=function(va){return new lb(0,6E4*va,"ARD")};T.language=V.language;T.Ag=V.NCName;T.dayTimeDuration=V.dayTimeDuration;T.yearMonthDuration=V.yearMonthDuration;T.nh=V.gYearMonth;T.mh=V.gYear;T.lh=V.gMonthDay;T.kh=V.gMonth;T.jh=V.gDay;a=function(){}}function c(w,Z){return Z?-w:w}function q(w,Z){return Z*(void 0===w?0:Math.round(1E3*parseFloat(w)))}function E(w,Z){return Z*(void 0===w?0:parseInt(w,10))}function H(w){return w.lb&& -!["ADI","ARY","ARD"].includes(w.code)?H(w.lb):w}function p(w,Z){throw new F(`Casting from ${d(w.code)} to ${d(Z)} is not allowed`,"XPTY0004");}function g(w,Z,S=null,da="FORG0001"){throw new F(`Supplied value "${w}" is not a valid ${d(Z)}${S?` (${S})`:""}`,da);}function e(w,Z){w=Ha.trim(w);/.\.$/.test(w)&&(w+="0");if(/^[-+]?([0-9]+(\.[0-9]*)?|\.[0-9]+)([Ee][-+]?[0-9]+)?$/.test(w))return parseFloat(w);if(/^NaN$/.test(w))return NaN;if(/^-INF$/.test(w))return-Infinity;if(/^(\+)?INF$/.test(w))return Infinity; -Z&&g(w,"AO");return NaN}function k(w){w=w.replace(/\s/g,"");/^(....)*$/.test(w)||g(w,"A2","length must be a multiple of 4");/^[A-Za-z0-9+/]*=?=?$/.test(w)||g(w,"A2","only [A-Za-z0-9+/] allowed, or '=' at the end");/^([^=]*|.*[AQgw]==|.*[AEIMQUYcgkosw048]=)$/.test(w)||g(w,"A2","invalid characters before '='");let Z,S,da=0,fa=[];if(0===w.length)return new Uint8Array(0);do{var na="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(w.charAt(da++));var va="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(w.charAt(da++)); -Z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(w.charAt(da++));S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(w.charAt(da++));var h=na<<18|va<<12|Z<<6|S;na=h>>16&255;va=h>>8&255;h&=255;64===Z?fa.push(na):64===S?fa.push(na,va):fa.push(na,va,h)}while(daparseInt(Z,16))):new Uint8Array(0)} -function t(w,Z){V[w]=la[Z]={name:w,code:Z,matches:S=>S instanceof fb&&S.code.startsWith(Z),fromString:S=>A(S,Z),fromDate:(S,da)=>new fb(S,da,Z),R:S=>{if(S instanceof fb&&S.code.startsWith(Z))return S;if(T.dateTime.matches(S)||T.cd.matches(S)){const da=la[Z];return da.fromString(da.fromDate(S.Na,S.Fa).toString())}if(/^A[SZ]/.test(S.code))return A(S.value,Z);p(S,Z)}}}function C(w){if(-1!==w.indexOf(".",w.length-4)){w=w.split(".");let Z=w[1];for(;3>Z.length;)Z+="0";w=w[0]+"."+Z}return w}function m(w){const Z= -w[0],S=w[1],da=w[2],fa=w[3],na=w[4];w=w[5];return!(1>S||12da||da>[31,0!==Z%4||0===Z%100&&0!==Z%400?28:29,31,30,31,30,31,31,30,31,30,31][S-1]||24<=fa||60<=na||60<=w)}function f(w,Z){w=w.split(/[\-T:]/).map(function(da){return parseFloat(da)});const S=w[0];if(-9999>S||9999w[0]&&fa.setUTCFullYear(na);fa=""===da?new Date(fa.getTime()+6E4*(new Date).getTimezoneOffset()):new Date(fa.getTime()-6E4*O(da));return new fb(fa,O(S[2]?S[2]:""),Z)}function O(w){if(""=== -w)return null;if("Z"===w)return 0;var Z=w.split(":");const S=/^-.*/.test(Z[0]),da=Math.abs(parseInt(Z[0],10));Z=parseInt(Z[1],10);if(14Number.MAX_SAFE_INTEGER?new $a(new wa(w),"ADI"):new Za(w)},nb:function(w){return new $a(w,"ADI")},valid:function(w){return 0===w.value.mf(1)},R:function(w){switch(w.code.substring(0,2)){case "AS":case "AZ":return T.integer.fromString(w.toString());case "AF":case "AO":return T.integer.fromNumber(w.toNumber());case "AD":return T.integer.nb(w.toBig().round(0, -0));case "AB":return T.integer.fromNumber(w.toBoolean()?1:0);default:p(w,"AB")}},Kk:function(w){return"number"===typeof w?T.integer.fromNumber(w):"boolean"===typeof w?T.integer.fromNumber(w?1:0):"string"===typeof w?T.integer.fromString(w):T.integer.fromString(w.toString())}},z={name:"numeric",code:"Anumeric",cl:["double","decimal","float"],matches:function(w){return w instanceof Oa||w instanceof Za||w instanceof $a},R:function(w){if(T.string.matches(w)||T.untypedAtomic.matches(w))return T.double.fromString(w.toString()); -if(T.numeric.matches(w))return w;if(T.boolean.matches(w))return T.double.fromNumber(w.toBoolean()?1:0);p(w,"Anumeric")},xe:function(w){const Z=T.double;if(null===w)return Z.fromNumber(Number.NaN);if(T.boolean.matches(w))return Z.fromNumber(w.toBoolean()?1:0);if(T.numeric.matches(w))return Z.R(w);if(T.string.matches(w)||T.untypedAtomic.matches(w))try{return Z.fromString(w.toString())}catch(S){return Z.fromNumber(Number.NaN)}else return Z.fromNumber(Number.NaN)}},D={name:"QName",code:"AQ",matches:function(w){return w instanceof -bb},fromParts:function(w,Z,S){return new bb(w,Z,S)},fromString:function(w,Z){w=Ha.trim(w);if("Q{"===w.substring(0,2))return T.QName.fromEQName(w);Ha.uh(w)||g(w,"AQ");w=w.split(":");if(1===w.length)return T.QName.fromParts("",Z(""),w[0]);Z=Z(w[0]);if(null===Z)throw new F("Undeclared prefix: "+w[0],"FONS0004");return T.QName.fromParts(w[0],Z,w[1])},fromEQName:function(w){var Z=w.indexOf("{");const S=w.indexOf("}");if(!(-1===Z&&-1===S||-1R instanceof Ja&&R.code.startsWith(h),qc:function(R){Q(R)||g(R.toString(),h);R.code=h;return R},fromString:function(R){return O.qc(r.fromString(R))},R:function(R){return O.qc(r.R(R))}}}function Z(pa,h,C){const Q=h.replace(/.$/,"");w(pa,h,Q,C);const r=V[pa],O=ka[Q];r.fromString=function(R){/INF|NaN/.test(R)&&g(R,h,null,"FOCA0002");return r.qc(O.fromString(R))};r.fromNumber=function(R){R= +O.fromNumber(R);const ea=R.toNumber();isFinite(ea)||g(R.toString(),h,null,"FOCA0002");C(R)||g(R.toString(),h);R.code=h;return R}}function T(pa,h,C,Q){const r=h.replace(/.$/,"");w(pa,h,r,C);const O=ka[h],R=ka[r];O.qc=function(ea){ea=Q(ea.toString());C(ea)||g(ea,h);return new Ra(ea,h)};O.fromString=function(ea){return O.qc(R.fromString(Q(ea)))}}function ha(pa,h,C){w(pa,h,"AR",C);const Q=V[pa];Q.qc=function(r){if(r instanceof lb)return new lb("ARY"===h?r.Ua:0,"ARD"===h?r.Qa:0,h);C(r)||g(r.toString(), +h);r.code=h;return r};Q.Xb=function(r,O){return Q.qc(ma.Xb(r,O))};Q.R=function(r){return ma.matches(r)?Q.qc(r):U.string.matches(r)||U.untypedAtomic.matches(r)?y(r.toString(),h):Q.qc(ma.R(r))}}function ba(pa,h){return function(C){C=C.toNumber();return C>=pa&&C<=h}}for(var va in V){const pa=V[va];ka[pa.code]=pa}t("gYear","AG");t("gYearMonth","AH");t("gMonth","AI");t("gMonthDay","AJ");t("gDay","AK");Z("nonPositiveInteger","ADIN",pa=>0>=pa.toNumber());Z("negativeInteger","ADINN",pa=>0>pa.toNumber()); +Z("long","ADIL",function(pa){pa=pa.toBig();return 0<=pa.cmp(wa("-9223372036854775808"))&&0>=pa.cmp(wa("9223372036854775807"))});Z("int","ADILI",ba(-2147483648,2147483647));Z("short","ADILIS",ba(-32768,32767));Z("byte","ADILISB",ba(-128,127));Z("nonNegativeInteger","ADIP",pa=>0<=pa.toNumber());Z("positiveInteger","ADIPP",pa=>0=pa.toBig().cmp(wa("18446744073709551615"))});Z("unsignedInt","ADIPLI",function(pa){return 0<= +pa.toNumber()&&0>=pa.toBig().cmp(wa("4294967295"))});Z("unsignedShort","ADIPLIS",ba(0,65535));Z("unsignedByte","ADIPLISB",ba(0,255));va=()=>!0;T("normalizedString","ASN",va,pa=>pa.replace(/[ \r\t\n]/g," "));T("token","ASNT",va,xa);T("language","ASNTL",pa=>/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/.test(pa),xa);T("NMTOKEN","ASNTK",Ha.cj,xa);T("Name","ASNTN",Ha.dj,xa);T("NCName","ASNTNC",Ha.Mb,xa);T("ID","ASNTNCI",Ha.Mb,xa);T("IDREF","ASNTNCR",Ha.Mb,xa);T("ENTITY","ASNTNCE",Ha.Mb,xa);ha("yearMonthDuration", +"ARY",pa=>0===pa.Qa);ha("dayTimeDuration","ARD",pa=>0===pa.Ua);V.dayTimeDuration.ih=function(pa){return new lb(0,6E4*pa,"ARD")};U.language=V.language;U.Bg=V.NCName;U.dayTimeDuration=V.dayTimeDuration;U.yearMonthDuration=V.yearMonthDuration;U.oh=V.gYearMonth;U.nh=V.gYear;U.mh=V.gMonthDay;U.lh=V.gMonth;U.kh=V.gDay;a=function(){}}function c(w,Z){return Z?-w:w}function n(w,Z){return Z*(void 0===w?0:Math.round(1E3*parseFloat(w)))}function F(w,Z){return Z*(void 0===w?0:parseInt(w,10))}function I(w){return w.lb&& +!["ADI","ARY","ARD"].includes(w.code)?I(w.lb):w}function m(w,Z){throw new G(`Casting from ${b(w.code)} to ${b(Z)} is not allowed`,"XPTY0004");}function g(w,Z,T=null,ha="FORG0001"){throw new G(`Supplied value "${w}" is not a valid ${b(Z)}${T?` (${T})`:""}`,ha);}function e(w,Z){w=Ha.trim(w);/.\.$/.test(w)&&(w+="0");if(/^[-+]?([0-9]+(\.[0-9]*)?|\.[0-9]+)([Ee][-+]?[0-9]+)?$/.test(w))return parseFloat(w);if(/^NaN$/.test(w))return NaN;if(/^-INF$/.test(w))return-Infinity;if(/^(\+)?INF$/.test(w))return Infinity; +Z&&g(w,"AO");return NaN}function k(w){w=w.replace(/\s/g,"");/^(....)*$/.test(w)||g(w,"A2","length must be a multiple of 4");/^[A-Za-z0-9+/]*=?=?$/.test(w)||g(w,"A2","only [A-Za-z0-9+/] allowed, or '=' at the end");/^([^=]*|.*[AQgw]==|.*[AEIMQUYcgkosw048]=)$/.test(w)||g(w,"A2","invalid characters before '='");let Z,T,ha=0,ba=[];if(0===w.length)return new Uint8Array(0);do{var va="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(w.charAt(ha++));var pa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(w.charAt(ha++)); +Z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(w.charAt(ha++));T="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(w.charAt(ha++));var h=va<<18|pa<<12|Z<<6|T;va=h>>16&255;pa=h>>8&255;h&=255;64===Z?ba.push(va):64===T?ba.push(va,pa):ba.push(va,pa,h)}while(haparseInt(Z,16))):new Uint8Array(0)} +function t(w,Z){V[w]=ka[Z]={name:w,code:Z,matches:T=>T instanceof fb&&T.code.startsWith(Z),fromString:T=>B(T,Z),fromDate:(T,ha)=>new fb(T,ha,Z),R:T=>{if(T instanceof fb&&T.code.startsWith(Z))return T;if(U.dateTime.matches(T)||U.dd.matches(T)){const ha=ka[Z];return ha.fromString(ha.fromDate(T.Na,T.Fa).toString())}if(/^A[SZ]/.test(T.code))return B(T.value,Z);m(T,Z)}}}function D(w){if(-1!==w.indexOf(".",w.length-4)){w=w.split(".");let Z=w[1];for(;3>Z.length;)Z+="0";w=w[0]+"."+Z}return w}function l(w){const Z= +w[0],T=w[1],ha=w[2],ba=w[3],va=w[4];w=w[5];return!(1>T||12ha||ha>[31,0!==Z%4||0===Z%100&&0!==Z%400?28:29,31,30,31,30,31,31,30,31,30,31][T-1]||24<=ba||60<=va||60<=w)}function f(w,Z){w=w.split(/[\-T:]/).map(function(ha){return parseFloat(ha)});const T=w[0];if(-9999>T||9999w[0]&&ba.setUTCFullYear(va);ba=""===ha?new Date(ba.getTime()+6E4*(new Date).getTimezoneOffset()):new Date(ba.getTime()-6E4*L(ha));return new fb(ba,L(T[2]?T[2]:""),Z)}function L(w){if(""=== +w)return null;if("Z"===w)return 0;var Z=w.split(":");const T=/^-.*/.test(Z[0]),ha=Math.abs(parseInt(Z[0],10));Z=parseInt(Z[1],10);if(14Number.MAX_SAFE_INTEGER?new $a(new wa(w),"ADI"):new Za(w)},nb:function(w){return new $a(w,"ADI")},valid:function(w){return 0===w.value.nf(1)},R:function(w){switch(w.code.substring(0,2)){case "AS":case "AZ":return U.integer.fromString(w.toString());case "AF":case "AO":return U.integer.fromNumber(w.toNumber());case "AD":return U.integer.nb(w.toBig().round(0, +0));case "AB":return U.integer.fromNumber(w.toBoolean()?1:0);default:m(w,"AB")}},Kk:function(w){return"number"===typeof w?U.integer.fromNumber(w):"boolean"===typeof w?U.integer.fromNumber(w?1:0):"string"===typeof w?U.integer.fromString(w):U.integer.fromString(w.toString())}},x={name:"numeric",code:"Anumeric",cl:["double","decimal","float"],matches:function(w){return w instanceof Oa||w instanceof Za||w instanceof $a},R:function(w){if(U.string.matches(w)||U.untypedAtomic.matches(w))return U.double.fromString(w.toString()); +if(U.numeric.matches(w))return w;if(U.boolean.matches(w))return U.double.fromNumber(w.toBoolean()?1:0);m(w,"Anumeric")},Od:function(w){const Z=U.double;if(null===w)return Z.fromNumber(Number.NaN);if(U.boolean.matches(w))return Z.fromNumber(w.toBoolean()?1:0);if(U.numeric.matches(w))return Z.R(w);if(U.string.matches(w)||U.untypedAtomic.matches(w))try{return Z.fromString(w.toString())}catch(T){return Z.fromNumber(Number.NaN)}else return Z.fromNumber(Number.NaN)}},E={name:"QName",code:"AQ",matches:function(w){return w instanceof +bb},fromParts:function(w,Z,T){return new bb(w,Z,T)},fromString:function(w,Z){w=Ha.trim(w);if("Q{"===w.substring(0,2))return U.QName.fromEQName(w);Ha.uh(w)||g(w,"AQ");w=w.split(":");if(1===w.length)return U.QName.fromParts("",Z(""),w[0]);Z=Z(w[0]);if(null===Z)throw new G("Undeclared prefix: "+w[0],"FONS0004");return U.QName.fromParts(w[0],Z,w[1])},fromEQName:function(w){var Z=w.indexOf("{");const T=w.indexOf("}");if(!(-1===Z&&-1===T||-1A+O,(A,O)=>A.Be(O))},"i-i":function(m,f){return La.kg(m,f,(A,O)=>A-O,(A,O)=>A.we(O))},"i*i":function(m,f){return La.kg(m,f,(A,O)=>A*O,(A,O)=>A.zc(O))},"i/i":function(m,f){f.equals(La.XS.integer.fromNumber(0))&&q();m=m.toBig();f=f.toBig();return k.nb(m.Vb(f))},"i%i":function(m, -f){var A=m.toNumber();const O=f.toNumber();if(!isFinite(A)||isNaN(O)||0===O)return 0===O&&q(),v.fromNumber(NaN);if(!isFinite(O)||0===A)return m;A=m.toNumber()%f.toNumber();isFinite(A)||q();return a(A)?v.fromNumber(A):v.nb(wa(m.toBig().mf(f.toBig())))},"i~i":function(m,f){const A=m.toNumber()/f.toNumber();isFinite(A)||q();return a(A)?v.fromNumber(Math.trunc(A)):v.nb(wa(m.toBig().Vb(f.toBig())).round(0,0))},"c+c":function(m,f){const A=m.toBig(),O=f.toBig();return c(m,f).nb(A.Be(O))},"c-c":function(m, -f){const A=m.toBig(),O=f.toBig();return c(m,f).nb(A.we(O))},"c*c":function(m,f){const A=m.toBig(),O=f.toBig();return c(m,f).nb(A.zc(O))},"c/c":function(m,f){try{const A=m.toBig(),O=f.toBig();return k.nb(A.Vb(O))}catch(A){q()}},"c%c":function(m,f){try{const A=m.toBig(),O=f.toBig();return k.nb(A.mf(O))}catch(A){q()}},"c~c":function(m,f){try{const A=m.toBig(),O=f.toBig(),b=A.Vb(O).round(0,0);return v.nb(b)}catch(A){q()}},"a+a":function(m,f){return p(m,f,"+")},"a-a":function(m,f){return p(m,f,"-")},"a*a":function(m, -f){return p(m,f,"*")},"a/a":function(m,f){return p(m,f,"/")},"a%a":function(m,f){return p(m,f,"%")},"a~a":function(m,f){return p(m,f,"~")},"u+u":function(m,f){const A=g.dayTimeDuration,O=g.yearMonthDuration;A.matches(m)&&A.matches(f)||O.matches(m)&&O.matches(f)||H(m,f,"+");return O.matches(m)?O.Wb(m.Ua+f.Ua,0):A.Wb(0,m.Qa+f.Qa)},"u-u":function(m,f){const A=g.dayTimeDuration,O=g.yearMonthDuration;A.matches(m)&&A.matches(f)||O.matches(m)&&O.matches(f)||H(m,f,"-");return O.matches(m)?O.Wb(m.Ua-f.Ua, -0):A.Wb(0,m.Qa-f.Qa)},"u*n":function(m,f){const A=g.dayTimeDuration,O=g.yearMonthDuration;A.matches(m)||O.matches(m)||H(m,f,"*");f=f.toNumber();if(!isFinite(f))throw new F("Cannot multiply duration by "+isNaN(f)?"NaN":"+/-INF",isNaN(f)?"FOCA0005":"FODT0002");return O.matches(m)?O.Wb(Math.round(m.Ua*f),0):A.Wb(0,Math.round(m.Qa*f))},"n*u":function(m,f){return mb["u*n"](f,m)},"u/n":function(m,f){const A=g.dayTimeDuration,O=g.yearMonthDuration;A.matches(m)||O.matches(m)||H(m,f,"/");f=f.toNumber();0=== -f&&q("FODT0002");if(isNaN(f))throw new F("Cannot divide duration by NaN","FOCA0005");f=O.matches(m)?m.Ua/f:m.Qa/f;isFinite(f)||E("FODT0002");return O.matches(m)?O.Wb(Math.round(f),0):A.Wb(0,Math.round(f))},"u/u":function(m,f){var A=g.dayTimeDuration;const O=g.yearMonthDuration;A.matches(m)&&A.matches(f)||O.matches(m)&&O.matches(f)||H(m,f,"/");A=new wa(0);m=new wa(O.matches(m)?m.Ua:m.Qa);f=new wa(O.matches(f)?f.Ua:f.Qa);0===f.cmp(A)&&q();try{return k.nb(m.Vb(f))}catch(b){E()}},"t+u":function(m,f){const A= -g.dayTimeDuration,O=g.yearMonthDuration;A.matches(f)||O.matches(f)||H(m,f,"+");return A.matches(f)?La.codes[m.code].fromDate(new Date(m.Na.getTime()+f.Qa),m.Fa):hb(m,f.Ua)},"u+t":function(m,f){return mb["t+u"](f,m)},"t-u":function(m,f){const A=g.dayTimeDuration,O=g.yearMonthDuration;A.matches(f)||O.matches(f)||H(m,f,"-");return A.matches(f)?La.codes[m.code].fromDate(new Date(m.Na.getTime()-f.Qa),m.Fa):hb(m,-f.Ua)},"t-t":function(m,f){return g.dayTimeDuration.Wb(0,m.Na.getTime()-f.Na.getTime())}}; -return C}(); +const mb=function(){function a(l){return Math.abs(l)B+L,(B,L)=>B.Ae(L))},"i-i":function(l,f){return La.kg(l,f,(B,L)=>B-L,(B,L)=>B.we(L))},"i*i":function(l,f){return La.kg(l,f,(B,L)=>B*L,(B,L)=>B.Ac(L))},"i/i":function(l,f){f.equals(La.XS.integer.fromNumber(0))&&n();l=l.toBig();f=f.toBig();return k.nb(l.Wb(f))},"i%i":function(l, +f){var B=l.toNumber();const L=f.toNumber();if(!isFinite(B)||isNaN(L)||0===L)return 0===L&&n(),v.fromNumber(NaN);if(!isFinite(L)||0===B)return l;B=l.toNumber()%f.toNumber();isFinite(B)||n();return a(B)?v.fromNumber(B):v.nb(wa(l.toBig().nf(f.toBig())))},"i~i":function(l,f){const B=l.toNumber()/f.toNumber();isFinite(B)||n();return a(B)?v.fromNumber(Math.trunc(B)):v.nb(wa(l.toBig().Wb(f.toBig())).round(0,0))},"c+c":function(l,f){const B=l.toBig(),L=f.toBig();return c(l,f).nb(B.Ae(L))},"c-c":function(l, +f){const B=l.toBig(),L=f.toBig();return c(l,f).nb(B.we(L))},"c*c":function(l,f){const B=l.toBig(),L=f.toBig();return c(l,f).nb(B.Ac(L))},"c/c":function(l,f){try{const B=l.toBig(),L=f.toBig();return k.nb(B.Wb(L))}catch(B){n()}},"c%c":function(l,f){try{const B=l.toBig(),L=f.toBig();return k.nb(B.nf(L))}catch(B){n()}},"c~c":function(l,f){try{const B=l.toBig(),L=f.toBig(),y=B.Wb(L).round(0,0);return v.nb(y)}catch(B){n()}},"a+a":function(l,f){return m(l,f,"+")},"a-a":function(l,f){return m(l,f,"-")},"a*a":function(l, +f){return m(l,f,"*")},"a/a":function(l,f){return m(l,f,"/")},"a%a":function(l,f){return m(l,f,"%")},"a~a":function(l,f){return m(l,f,"~")},"u+u":function(l,f){const B=g.dayTimeDuration,L=g.yearMonthDuration;B.matches(l)&&B.matches(f)||L.matches(l)&&L.matches(f)||I(l,f,"+");return L.matches(l)?L.Xb(l.Ua+f.Ua,0):B.Xb(0,l.Qa+f.Qa)},"u-u":function(l,f){const B=g.dayTimeDuration,L=g.yearMonthDuration;B.matches(l)&&B.matches(f)||L.matches(l)&&L.matches(f)||I(l,f,"-");return L.matches(l)?L.Xb(l.Ua-f.Ua, +0):B.Xb(0,l.Qa-f.Qa)},"u*n":function(l,f){const B=g.dayTimeDuration,L=g.yearMonthDuration;B.matches(l)||L.matches(l)||I(l,f,"*");f=f.toNumber();if(!isFinite(f))throw new G("Cannot multiply duration by "+isNaN(f)?"NaN":"+/-INF",isNaN(f)?"FOCA0005":"FODT0002");return L.matches(l)?L.Xb(Math.round(l.Ua*f),0):B.Xb(0,Math.round(l.Qa*f))},"n*u":function(l,f){return mb["u*n"](f,l)},"u/n":function(l,f){const B=g.dayTimeDuration,L=g.yearMonthDuration;B.matches(l)||L.matches(l)||I(l,f,"/");f=f.toNumber();0=== +f&&n("FODT0002");if(isNaN(f))throw new G("Cannot divide duration by NaN","FOCA0005");f=L.matches(l)?l.Ua/f:l.Qa/f;isFinite(f)||F("FODT0002");return L.matches(l)?L.Xb(Math.round(f),0):B.Xb(0,Math.round(f))},"u/u":function(l,f){var B=g.dayTimeDuration;const L=g.yearMonthDuration;B.matches(l)&&B.matches(f)||L.matches(l)&&L.matches(f)||I(l,f,"/");B=new wa(0);l=new wa(L.matches(l)?l.Ua:l.Qa);f=new wa(L.matches(f)?f.Ua:f.Qa);0===f.cmp(B)&&n();try{return k.nb(l.Wb(f))}catch(y){F()}},"t+u":function(l,f){const B= +g.dayTimeDuration,L=g.yearMonthDuration;B.matches(f)||L.matches(f)||I(l,f,"+");return B.matches(f)?La.codes[l.code].fromDate(new Date(l.Na.getTime()+f.Qa),l.Fa):hb(l,f.Ua)},"u+t":function(l,f){return mb["t+u"](f,l)},"t-u":function(l,f){const B=g.dayTimeDuration,L=g.yearMonthDuration;B.matches(f)||L.matches(f)||I(l,f,"-");return B.matches(f)?La.codes[l.code].fromDate(new Date(l.Na.getTime()-f.Qa),l.Fa):hb(l,-f.Ua)},"t-t":function(l,f){return g.dayTimeDuration.Xb(0,l.Na.getTime()-f.Na.getTime())}}; +return D}(); // Input 11 -function nb(a){function c(){function p(C){throw new F("In alphaCode '"+a+"' @ "+E+": "+C);}function g(C){const m=E>=a.length?-1:a.charAt(E++);m!==C&&p("Expected '"+C+"', found '"+m+"'")}function e(){let C=0,m=E;for(;E=a.length?-1:a.charAt(F++);l!==D&&m("Expected '"+D+"', found '"+l+"'")}function e(){let D=0,l=F;for(;Fa?this.current=this.g.next():0q)this.g.next(),a=this.g.ua();else if(0c)return this.current=this.g.next();0a?this.current=this.g.next():0n)this.g.next(),a=this.g.ua();else if(0c)return this.current=this.g.next();0this.j)if(this.g instanceof Kb)this.j=this.g.expand().length;else{const a=[];let c;for(;null!==(c=this.g.next());)a.push(c);this.j=this.position+a.length;this.g=Kb(a)}return this.j}showValue(){return"Tracker of "+this.g.showValue()}} -class Lb extends vb{constructor(a){super();this.current=a;this.position=1}next(){return null}last(){return 1}}class Mb extends vb{constructor(a){super();this.g=a}next(){const a=this.g.next();return a.done?null:a.value}}class Nb extends vb{constructor(a,c,q){super();this.g=a;this.j=q;for(this.B=1;!(this.B++>=c);)if(null==this.g.next()){this.j=Number.NEGATIVE_INFINITY;break}}next(){return this.B++<=this.j?this.g.next():null}}const Ob=new Ab;function Pb(a){return new zb(a)} +class Lb extends vb{constructor(a){super();this.current=a;this.position=1}next(){return null}last(){return 1}}class Mb extends vb{constructor(a){super();this.g=a}next(){const a=this.g.next();return a.done?null:a.value}}class Nb extends vb{constructor(a,c,n){super();this.g=a;this.j=n;for(this.B=1;!(this.B++>=c);)if(null==this.g.next()){this.j=Number.NEGATIVE_INFINITY;break}}next(){return this.B++<=this.j?this.g.next():null}}const Ob=new Ab;function Pb(a){return new zb(a)} function Qb(a){return new Db(a)}function Rb(a){return new Lb(a)}function Sb(a){return new Jb(a)}function Kb(a){return new Bb(a)}function Tb(a){return new zb(ub.string.fromString(a))}function Ub(a){return new zb(ub.integer.fromNumber(a))}function Vb(a){return new zb(ub.double.fromNumber(a))}function Wb(a){return new zb(ub.mb.nb(a))}function Xb(a){return new zb(ub.boolean.fromBoolean(a))}var Yb={};Yb.Sj=vb;Yb.Yj=Hb;Yb.Zj=Ob;Yb.$j=Ab;Yb.bk=wb;Yb.ck=Kb;Yb.dk=Bb;Yb.ek=Mb;Yb.hk=Gb;Yb.ik=Qb;Yb.jk=Db; Yb.kk=Ib;Yb.pk=yb;Yb.qk=xb;Yb.tk=Pb;Yb.uk=zb;Yb.vk=Rb;Yb.wk=Lb;Yb.xk=Cb;Yb.yk=Nb;Yb.Bk=Sb;Yb.Ck=Jb;Yb.Fk=Eb;Yb.hl=Xb;Yb.il=Wb;Yb.jl=Vb;Yb.kl=function(a){return new zb(ub.float.fromNumber(a))};Yb.ll=Ub;Yb.ml=Tb; // Input 13 // Input 14 -var Zb={Wc:"http://www.w3.org/1999/XSL/Transform",Oa:"http://www.w3.org/2005/xpath-functions",yh:"http://www.w3.org/2005/xpath-functions/math",map:"http://www.w3.org/2005/xpath-functions/map",Ue:"http://www.w3.org/2005/xpath-functions/array",xml:"http://www.w3.org/XML/1998/namespace",lc:"http://www.w3.org/2001/XMLSchema",vl:"http://www.w3.org/2001/XMLSchema-instance",zi:"http://www.w3.org/2005/xqt-errors",nd:"http://saxonica.com/ns/interactiveXSLT",xh:"http://saxonica.com/ns/globalJS",wb:"http://saxon.sf.net/", +var Zb={Xc:"http://www.w3.org/1999/XSL/Transform",Oa:"http://www.w3.org/2005/xpath-functions",yh:"http://www.w3.org/2005/xpath-functions/math",map:"http://www.w3.org/2005/xpath-functions/map",Ue:"http://www.w3.org/2005/xpath-functions/array",xml:"http://www.w3.org/XML/1998/namespace",mc:"http://www.w3.org/2001/XMLSchema",vl:"http://www.w3.org/2001/XMLSchema-instance",zi:"http://www.w3.org/2005/xqt-errors",nd:"http://saxonica.com/ns/interactiveXSLT",xh:"http://saxonica.com/ns/globalJS",wb:"http://saxon.sf.net/", Ci:"http://ns.saxonica.com/xslt/export",withPrefix:{xsl:"http://www.w3.org/1999/XSL/Transform",fn:"http://www.w3.org/2005/xpath-functions",math:"http://www.w3.org/2005/xpath-functions/math",map:"http://www.w3.org/2005/xpath-functions/map",array:"http://www.w3.org/2005/xpath-functions/array",xml:"http://www.w3.org/XML/1998/namespace",xs:"http://www.w3.org/2001/XMLSchema",xsi:"http://www.w3.org/2001/XMLSchema-instance",err:"http://www.w3.org/2005/xqt-errors",ixsl:"http://saxonica.com/ns/interactiveXSLT", -js:"http://saxonica.com/ns/globalJS",saxon:"http://saxon.sf.net/",ex:"http://ns.saxonica.com/xslt/export"},yg:"http://ns.saxonica.com/anonymous-type"}; +js:"http://saxonica.com/ns/globalJS",saxon:"http://saxon.sf.net/",ex:"http://ns.saxonica.com/xslt/export"},zg:"http://ns.saxonica.com/anonymous-type"}; // Input 15 -var ac=function(){function a(p){return p?9===p.nodeType?p:a(p.ownerDocument):null}const c=La.XS;let q=1;const E={Zc:function(p){switch(p.nodeType){case 9:case 11:return Ob;case 2:return p.parent?new Cb(p.parent,g=>g.parentNode):Ob;default:return(p=p.parentNode)?new Cb(p,g=>g.parentNode):Ob}},Ya:function(p){return Qb([Pb(p),E.Zc(p)])},Ha:function(p){if(1===p.nodeType){const g=p.attributes,e=p.ownerDocument.documentElement&&pa.Zb(p.ownerDocument.documentElement),k=[];for(let v=0;vk.nextSibling)}if(null===p)return Ob;switch(p.nodeType){case 9:return g(p).filter(function(e){return!(7===e.nodeType&&"xml"=== -e.target||3===e.nodeType||4===e.nodeType)});case 11:case 1:return g(p);default:return Ob}},me:function(p){return E.Ka(p).mapOneToMany(function(g){return E.oe(g)})},oe:function(p){return Qb([Pb(p),E.me(p)])},eh:function(p){switch(p.nodeType){case 9:case 11:return Ob;case 2:case 13:return p=ac.Xa(p),null===p?Ob:Qb([E.me(p),E.eh(p)]);default:return E.Ya(p).mapOneToMany(function(g){return E.fh(g).mapOneToMany(E.oe)})}},fh:function(p){switch(p.nodeType){case 9:case 11:case 2:case 13:return Ob;default:return new Cb(p.nextSibling, -g=>g.nextSibling)}},ob:function(p){return 1===p.nodeType?Kb(ac.Ic(p).map(function(g){return new bc(g.prefix,g.uri,p)})):Ob},parent:function(p){return Pb(ac.Xa(p))},og:function(p){return E.Ya(p).mapOneToMany(function(g){return E.Oc(g).mapOneToMany(function(e){return Kb(E.oe(e).expand().reverse())})})},Oc:function(p){switch(p.nodeType){case 9:case 11:case 2:case 13:return Ob;default:return new Cb(p.previousSibling,g=>g.previousSibling)}},self:function(p){return Pb(p)}},H={Ja:E,Ng:{ancestor:E.Zc,"ancestor-or-self":E.Ya, -attribute:E.Ha,child:E.Ka,descendant:E.me,"descendant-or-self":E.oe,following:E.eh,"following-sibling":E.fh,namespace:E.ob,parent:E.parent,preceding:E.og,"preceding-sibling":E.Oc,self:E.self},Gc:a,rc:function(p){return E.Ya(p).expand().pop()},wc:function(p){p._saxonDocumentNumber||(p._saxonDocumentNumber=q++);return p},ui:function(p){return ac.wc(p)._saxonDocumentNumber},ca:function(p){if(!p||!p.nodeType)return null;switch(p.nodeType){case 1:return c.QName.fromParts(p.prefix,p.namespaceURI,p.localName); -case 2:if("xml"===p.prefix)return c.QName.fromParts(p.prefix,Zb.xml,p.localName);if(!p.yc)throw new F("ATTRIBUTE_NODE not local","SXJS0004");return p.yc;case 7:return c.QName.fromParts("","",p.target);case 13:return p.prefix?c.QName.fromParts("","",p.prefix):null;default:return null}},Tk:function(p,g){if(!p||!p.nodeType)return!1;switch(p.nodeType){case 1:case 2:return p.localName===g;case 7:return p.target===g;case 13:return p.prefix===g;default:return!1}},hasURI:function(p,g){if(!p||!p.nodeType)return!1; -switch(p.nodeType){case 1:return(p.namespaceURI||"")===g;case 2:return"xml"===p.prefix?Zb.xml===g:p.namespaceURI===g;default:return""===g}},Ec:function(p,g){let e=[];for(p=p.firstChild;null!==p;)1!==p.nodeType||g&&g!==p.tagName||e.push(p),p=p.nextSibling;return e},firstElementChild:function(p,g){for(p=p.firstChild;null!==p;){if(1===p.nodeType&&(!g||g===p.tagName))return p;p=p.nextSibling}return null},kd:function(p){const g=p.expand();if(1{ac.X(t)?(v=!1,ac.Xa(t)? -e=!1:t._saxonDocumentNumber?e=!1:ac.wc(t)):k=!1});if(!k&&!v)throw new F("Cannot sort a sequence including both nodes and non-nodes","XPTY0018");e||v||g.sort(ac.rb);return Kb(g).mapOneToOne(function(t,C){return 0t?ac.rb(e,g):ac.rb(p,k)}},Xa:function(p){return ac.re(p)?p.parent:p.parentNode},bf:function(p,g,e){p.setAttributeNS("http://www.w3.org/2000/xmlns/",""===g?"xmlns":"xmlns:"+g,e)},Ic:function(p,g=E.Ya){let e=[{prefix:"xml",uri:Zb.xml}],k={xml:!0};for(p=g(p);null!==(g=p.next());)if(1===g.nodeType){var v=ac.ca(g);""===v.prefix&&""===v.uri&&(k[""]=!0);g=g.attributes;for(v=0;vg.parentNode):Ob;default:return(m=m.parentNode)?new Cb(m,g=>g.parentNode):Ob}},Xa:function(m){return Qb([Pb(m),F.$c(m)])},Ha:function(m){if(1===m.nodeType){const g=m.attributes,e=m.ownerDocument.documentElement&&qa.$b(m.ownerDocument.documentElement),k=[];for(let v=0;vk.nextSibling)}if(null===m)return Ob;switch(m.nodeType){case 9:return g(m).filter(function(e){return!(7===e.nodeType&&"xml"=== +e.target||3===e.nodeType||4===e.nodeType)});case 11:case 1:return g(m);default:return Ob}},cf:function(m){return F.Ka(m).mapOneToMany(function(g){return F.oe(g)})},oe:function(m){return Qb([Pb(m),F.cf(m)])},fh:function(m){switch(m.nodeType){case 9:case 11:return Ob;case 2:case 13:return m=ac.$a(m),null===m?Ob:Qb([F.cf(m),F.fh(m)]);default:return F.Xa(m).mapOneToMany(function(g){return F.gh(g).mapOneToMany(F.oe)})}},gh:function(m){switch(m.nodeType){case 9:case 11:case 2:case 13:return Ob;default:return new Cb(m.nextSibling, +g=>g.nextSibling)}},ob:function(m){return 1===m.nodeType?Kb(ac.Jc(m).map(function(g){return new bc(g.prefix,g.uri,m)})):Ob},parent:function(m){return Pb(ac.$a(m))},pg:function(m){return F.Xa(m).mapOneToMany(function(g){return F.Qc(g).mapOneToMany(function(e){return Kb(F.oe(e).expand().reverse())})})},Qc:function(m){switch(m.nodeType){case 9:case 11:case 2:case 13:return Ob;default:return new Cb(m.previousSibling,g=>g.previousSibling)}},self:function(m){return Pb(m)}},I={Ja:F,Og:{ancestor:F.$c,"ancestor-or-self":F.Xa, +attribute:F.Ha,child:F.Ka,descendant:F.cf,"descendant-or-self":F.oe,following:F.fh,"following-sibling":F.gh,namespace:F.ob,parent:F.parent,preceding:F.pg,"preceding-sibling":F.Qc,self:F.self},Hc:a,sc:function(m){return F.Xa(m).expand().pop()},xc:function(m){m._saxonDocumentNumber||(m._saxonDocumentNumber=n++);return m},ui:function(m){return ac.xc(m)._saxonDocumentNumber},ca:function(m){if(!m||!m.nodeType)return null;switch(m.nodeType){case 1:return c.QName.fromParts(m.prefix,m.namespaceURI,m.localName); +case 2:if("xml"===m.prefix)return c.QName.fromParts(m.prefix,Zb.xml,m.localName);if(!m.zc)throw new G("ATTRIBUTE_NODE not local","SXJS0004");return m.zc;case 7:return c.QName.fromParts("","",m.target);case 13:return m.prefix?c.QName.fromParts("","",m.prefix):null;default:return null}},Tk:function(m,g){if(!m||!m.nodeType)return!1;switch(m.nodeType){case 1:case 2:return m.localName===g;case 7:return m.target===g;case 13:return m.prefix===g;default:return!1}},hasURI:function(m,g){if(!m||!m.nodeType)return!1; +switch(m.nodeType){case 1:return(m.namespaceURI||"")===g;case 2:return"xml"===m.prefix?Zb.xml===g:m.namespaceURI===g;default:return""===g}},Fc:function(m,g){let e=[];for(m=m.firstChild;null!==m;)1!==m.nodeType||g&&g!==m.tagName||e.push(m),m=m.nextSibling;return e},firstElementChild:function(m,g){for(m=m.firstChild;null!==m;){if(1===m.nodeType&&(!g||g===m.tagName))return m;m=m.nextSibling}return null},kd:function(m){const g=m.expand();if(1{ac.X(t)?(v=!1,ac.$a(t)? +e=!1:t._saxonDocumentNumber?e=!1:ac.xc(t)):k=!1});if(!k&&!v)throw new G("Cannot sort a sequence including both nodes and non-nodes","XPTY0018");e||v||g.sort(ac.rb);return Kb(g).mapOneToOne(function(t,D){return 0t?ac.rb(e,g):ac.rb(m,k)}},$a:function(m){return ac.re(m)?m.parent:m.parentNode},bf:function(m,g,e){m.setAttributeNS("http://www.w3.org/2000/xmlns/",""===g?"xmlns":"xmlns:"+g,e)},Jc:function(m,g=F.Xa){let e=[{prefix:"xml",uri:Zb.xml}],k={xml:!0};for(m=g(m);null!==(g=m.next());)if(1===g.nodeType){var v=ac.ca(g);""===v.prefix&&""===v.uri&&(k[""]=!0);g=g.attributes;for(v=0;vq(E))}toString(){return this.U instanceof Dc&&1===this.fa?"empty-sequence()": +const dc={Aa:null,nc:null,Hf:null,Oe:null,ec:null,Ad:null,fc:null,Jg:null,If:null,Kg:null,Eg:null,cb:null,bi:null,Bd:null,Gg:null,Gf:null,ee:null,Dg:null,Hg:null,Cg:null,Ig:null,de:null,ce:null,Ke:null,Qe:null,Jf:null,Df:null,Ie:null};function ec(a){if(/^[01?+*]/.test(a)){var c=a.charAt(0);var n=a.substring(1)}else c="1",n=a;n=fc(n);c=new gc(n,hc(c));c.g=a;return c}function ic(a){const c=jc(a);return new gc(c,hc(a.o))}function kc(a){sa.assert(a instanceof lc);return new gc(a,2)} +function mc(){function a(n,F){return new gc(n,F)}function c(n,F){return a(new nc(La.codes[n]),hc(F))}oc=new pc;qc=new rc;sc=new tc;uc=new vc;wc=new xc;yc=new zc;Ac=new Bc;Cc=new Dc;Ec=new Fc(9);Gc=new Fc(1);Hc=new Fc(2);Ic=new Fc(3);Jc=new Fc(8);Kc=new Fc(7);Lc=new Fc(13);Mc=new nc(La.XS.double);Nc=new nc(La.XS.float);Oc=new nc(La.XS.string);Pc=new nc(La.XS.mb);Qc=new nc(La.XS.integer);Rc=new nc(La.XS.dayTimeDuration);Sc=new nc(La.XS.Qf);Tc.NMTOKENS=La.type.NMTOKEN;Tc.IDREFS=La.type.IDREF;Tc.ENTITIES= +La.type.ENTITY;Object.assign(dc,{Aa:a(Uc,7),nc:a(Uc,2),Hf:a(Uc,3),Oe:c("A","1"),ec:c("A","?"),Ad:c("A","*"),fc:c("AS","1"),Jg:c("AZ","1"),If:c("AZ","?"),Kg:c("AZ","*"),Eg:c("AS","?"),cb:c("AB","1"),bi:c("AB","?"),Bd:c("ADI","1"),Gg:c("AD","1"),Gf:c("ADI","?"),ee:c("AO","1"),Dg:c("AO","?"),Hg:c("AF","1"),Cg:c("AU","?"),Ig:c("AQ","1"),de:a(qc,3),ce:a(qc,7),Ke:c("ADI","*"),Qe:a(wc,2),Jf:a(yc,2),Df:a(wc,7),Ie:a(Cc,1)})}function Vc(a,c){return new gc(a.U,c)} +function Wc(a,c){var n=a.fa;return new gc(a.U,1===n||1===c?1:2===c?n:2===n?c:Xc(n)||Xc(c)?7:6===n&&6===c?6:7)} +class gc{constructor(a,c){this.U=a;this.fa=c;this.j=this.g=null}$(){if(!this.j)if(this.g)this.j=rb(this.g);else{const a=Object.assign(this.U.$()||{});a.o=Yc(this.fa);this.j=a}return this.j}ha(){this.g||(this.g=this.j?sb(this.j):(Yc(this.fa)||"1")+this.U.ha());return this.g}matches(a){let c;switch(a.length){case 0:c=Xc(this.fa);break;case 1:c=1!==this.fa;break;default:c=Zc(this.fa)}if(!c)return!1;const n=this.U.ia();return a.every(F=>n(F))}toString(){return this.U instanceof Dc&&1===this.fa?"empty-sequence()": this.U.toString()+Yc(this.fa)}equals(a){return this.ha()===a.ha()}}; // Input 18 -class $c{constructor(a){Array.isArray(a)||sa.la("XdmArray value must be an array. Supplied:"+a);this.value=a}get(a){if("number"!=typeof a)throw new F("Array subscript is not numeric","XPTY0004");if(1>a||a>this.value.length)throw new F("Array index ("+a+") out of bounds (1 to "+this.value.length+")","FOAY0001");return this.value[a-1]}evaluate(a){return Kb(this.value[a[0][0]-1])}size(){return this.value.length}showValue(){let a="[";for(let c=0;cc;c++)0!==c&&(a+=","),a+=sa.showValue(this.value[c]); -4<=this.value.length&&(a+=",...("+this.value.length+")");return a+"]"}flatten(a){for(let c=0;ca||a>this.value.length)throw new G("Array index ("+a+") out of bounds (1 to "+this.value.length+")","FOAY0001");return this.value[a-1]}evaluate(a){return Kb(this.value[a[0][0]-1])}size(){return this.value.length}showValue(){let a="[";for(let c=0;cc;c++)0!==c&&(a+=","),a+=sa.showValue(this.value[c]); +4<=this.value.length&&(a+=",...("+this.value.length+")");return a+"]"}flatten(a){for(let c=0;c"dynamic call of "+this.sc());return v}convertResult(k){return Kb(cd.Uf(k,this.resultType,()=>"result of dynamic call of "+this.sc()))}gg(){return new dd(this.j,this.resultType)}}class c extends a{constructor(k,v,t,C,m){super(k,t);this.name=v;this.ka=[Zb.yh, -Zb.map,Zb.Ue,Zb.wb,Zb.nd].includes(v.uri)?cd.Bi:cd.Ai;this.K=C;if(k.defaultToDot&&0===t||["accumulator-after","accumulator-before","lang"].includes(v.local))this.I=ed(m)}ic(){return this.name}evaluate(k,v,t){var C=this.ic().local;if("current"===C)throw new F("current() function cannot be evaluated dynamically","XTDE1360");if("current-output-uri"===C)return Ob;if("regex-group"===C)return Tb("");let m=v;this.I&&(m=v.ba(),m.focus=Rb(this.I));v=["string-length","normalize-space"].includes(C);const f= -this.xb.defaultToDot;C="number"===C;if((v||f||C)&&0===k.length){fd(m,"XPDY0002",". (dot)");t=ed(m);if(v||C)t=cd.Sb(t).next();v&&(t=La.XS.string.R(t));k.push([t])}else k=this.g(k,t);return this.ka(this.ic(),k,m,this.K)}}const q={NMTOKENS:"NMTOKEN",IDREFS:"IDREF",ENTITIES:"ENTITY"};class E extends a{constructor(k,v,t){super(k,1);this.name=v;if(k=q[v.local]){const C=La.type[k].fromString;sa.assert(C);this.evaluate=m=>{m=this.g(m,t)[0][0].toString();m=xa(m).split(" ");return Kb(m.map(C))}}else if("QName"=== -v.local){const C=cd.Wd(t,!0);this.evaluate=m=>{m=this.g(m,t)[0][0].toString();return Pb(La.XS.QName.fromString(m,C))}}else{const C=La.type[v.local].R;sa.assert(C);this.evaluate=m=>Pb(C(this.g(m,t)[0][0]))}}ic(){return this.name}}class H extends a{constructor(k,v){super(k,k.alphaTree.a.length);this.K=k.componentBinding;this.I=v.fixed.La[this.K];this.body=cd.da(this.I.actor,"body");this.name=La.XS.QName.fromEQName(this.I.actor.name)}ic(){return this.name}evaluate(k,v,t){k=this.g(k,t);v=v.ba(!0);gd(v); -v.qa="function";v.gb={};v.ab=null;v.focus=null;v.sa=this.I;for(t=0;t"dynamic call of "+this.tc());return v}convertResult(k){return Kb(cd.Uf(k,this.resultType,()=>"result of dynamic call of "+this.tc()))}gg(){return new dd(this.j,this.resultType)}}class c extends a{constructor(k,v,t,D,l){super(k,t);this.name=v;this.ka=[Zb.yh, +Zb.map,Zb.Ue,Zb.wb,Zb.nd].includes(v.uri)?cd.Bi:cd.Ai;this.K=D;if(k.defaultToDot&&0===t||["accumulator-after","accumulator-before","lang"].includes(v.local))this.I=ed(l)}jc(){return this.name}evaluate(k,v,t){var D=this.jc().local;if("current"===D)throw new G("current() function cannot be evaluated dynamically","XTDE1360");if("current-output-uri"===D)return Ob;if("regex-group"===D)return Tb("");let l=v;this.I&&(l=v.ba(),l.focus=Rb(this.I));v=["string-length","normalize-space"].includes(D);const f= +this.xb.defaultToDot;D="number"===D;if((v||f||D)&&0===k.length){fd(l,"XPDY0002",". (dot)");t=ed(l);if(v||D)t=cd.Tb(t).next();v&&(t=La.XS.string.R(t));k.push([t])}else k=this.g(k,t);return this.ka(this.jc(),k,l,this.K)}}const n={NMTOKENS:"NMTOKEN",IDREFS:"IDREF",ENTITIES:"ENTITY"};class F extends a{constructor(k,v,t){super(k,1);this.name=v;if(k=n[v.local]){const D=La.type[k].fromString;sa.assert(D);this.evaluate=l=>{l=this.g(l,t)[0][0].toString();l=xa(l).split(" ");return Kb(l.map(D))}}else if("QName"=== +v.local){const D=cd.Xd(t,!0);this.evaluate=l=>{l=this.g(l,t)[0][0].toString();return Pb(La.XS.QName.fromString(l,D))}}else{const D=La.type[v.local].R;sa.assert(D);this.evaluate=l=>Pb(D(this.g(l,t)[0][0]))}}jc(){return this.name}}class I extends a{constructor(k,v){super(k,k.alphaTree.a.length);this.K=k.componentBinding;this.I=v.fixed.La[this.K];this.body=cd.da(this.I.actor,"body");this.name=La.XS.QName.fromEQName(this.I.actor.name)}jc(){return this.name}evaluate(k,v,t){k=this.g(k,t);v=v.ba(!0);gd(v); +v.qa="function";v.gb={};v.ab=null;v.focus=null;v.sa=this.I;for(t=0;t!0}$(){if(!this.g)if(this.K)this.g=rb(this.K);else return null;return this.g}ha(){if(!this.K)if(this.g)id(this,sb(this.g));else return null;return this.K}pa(a="A"){return this.$().p.startsWith(a)}isNumeric(){return kd(this)||/^A[ODF]/.test(this.$().p.substring(0))}Jd(){return/^F/.test(this.$().p)}$i(){return!0}B(){return null}I(){return null}aa(){return null}toString(){return this.ha()}equals(a){return this.ha()===a.ha()}} class pc extends lc{constructor(){super();id(this,"");this.g={p:""}}ia(){return()=>!0}toString(){return"item()"}}var oc;const Uc=new pc;class rc extends lc{constructor(){super();id(this,"N");this.g={p:"N"}}ia(){return a=>ac.X(a)}toString(){return"node()"}}var qc;class tc extends lc{constructor(){super();id(this,"N u[NT,NP,NC,NE]");this.g={p:"N",u:[{p:"NT"},{p:"NP"},{p:"NC"},{p:"NE"}]}}ia(){return a=>ac.X(a)&&[1,3,4,8,7].includes(a.nodeType)}toString(){return"node()"}}var sc; -function ld(a){switch(a){case 9:return Ec;case 1:return Gc;case 2:return Hc;case 8:return Jc;case 3:case 4:return Ic;case 7:return Kc;case 13:return Lc;default:throw new F("Unknown node kind "+a);}}function md(a){switch(a){case 1:return"NE";case 3:return"NT";case 2:return"NA";case 9:return"ND";case 8:return"NC";case 4:return"NT";case 7:return"NP";case 13:return"NN";case 0:return"N";default:throw new F("Unknown node kind "+a+" in NodeKindTest");}} +function ld(a){switch(a){case 9:return Ec;case 1:return Gc;case 2:return Hc;case 8:return Jc;case 3:case 4:return Ic;case 7:return Kc;case 13:return Lc;default:throw new G("Unknown node kind "+a);}}function md(a){switch(a){case 1:return"NE";case 3:return"NT";case 2:return"NA";case 9:return"ND";case 8:return"NC";case 4:return"NT";case 7:return"NP";case 13:return"NN";case 0:return"N";default:throw new G("Unknown node kind "+a+" in NodeKindTest");}} class Fc extends lc{constructor(a){super();this.kind=a;a=md(a);id(this,a);this.g={p:a}}ia(){switch(this.kind){case 9:return a=>ac.X(a)&&(9===a.nodeType||11===a.nodeType);case 3:case 4:return a=>ac.X(a)&&(3===a.nodeType||4===a.nodeType);default:return a=>ac.X(a)&&a.nodeType===this.kind}}toString(){switch(this.kind){case 9:return"document-node()";case 1:return"element(*)";case 2:return"attribute(*)";case 8:return"comment()";case 3:case 4:return"text()";case 7:return"processing-instruction()";case 13:return"namespace-node()"; -case 0:return"node()";default:throw new F("Unknown node kind "+this.kind+" in NodeKindTest");}}}var Ec,Gc,Hc,Jc,Ic,Kc,Lc;class nd extends Fc{constructor(a,c){super(a);this.name=c;a=md(a);id(this,a+" n"+c.toEQName());this.g={p:a,n:c.toEQName()}}ia(){const a=this.name;return c=>{var q;if(q=ac.X(c)&&c.nodeType===this.kind)q=(c=ac.ca(c))&&a.equals(c);return q}}toString(){return super.toString().replace(/\(\*?\)/,"("+this.$().n+")")}} +case 0:return"node()";default:throw new G("Unknown node kind "+this.kind+" in NodeKindTest");}}}var Ec,Gc,Hc,Jc,Ic,Kc,Lc;class nd extends Fc{constructor(a,c){super(a);this.name=c;a=md(a);id(this,a+" n"+c.toEQName());this.g={p:a,n:c.toEQName()}}ia(){const a=this.name;return c=>{var n;if(n=ac.X(c)&&c.nodeType===this.kind)n=(c=ac.ca(c))&&a.equals(c);return n}}toString(){return super.toString().replace(/\(\*?\)/,"("+this.$().n+")")}} class od extends Fc{constructor(a,c){super(a);this.localName=c;a=md(a);id(this,a+" n*:"+c);this.g={p:a,n:"*:"+c}}ia(){return a=>ac.X(a)&&a.nodeType===this.kind&&ac.ca(a).local===this.localName}toString(){return super.toString().replace(/\(\*?\)/,"(*:"+this.localName+")")}} class pd extends Fc{constructor(a,c){super(a);this.uri=c;a=md(a);id(this,a+" nQ{"+c+"}*");this.g={p:a,n:"Q{"+c+"}*"}}ia(){return a=>ac.X(a)&&a.nodeType===this.kind&&ac.ca(a).uri===this.uri}toString(){return super.toString().replace(/\(\*?\)/,"Q{"+this.uri+"}*)")}} -class qd extends Fc{constructor(a){super(9);this.j=a;id(this,"ND e["+a.ha()+"]");this.g={p:"ND",e:a.$()}}ia(){return a=>ac.X(a)&&(9===a.nodeType||11===a.nodeType)&&this.j.ia()(a.firstChild)}toString(){return"document-node("+this.j.toString()+")"}}class nc extends lc{constructor(a){super();this.Vc=a;id(this,a.code);this.g={p:a.code}}ia(){return a=>this.Vc.matches(a)}toString(){return"xs:"+this.Vc.name}} +class qd extends Fc{constructor(a){super(9);this.j=a;id(this,"ND e["+a.ha()+"]");this.g={p:"ND",e:a.$()}}ia(){return a=>ac.X(a)&&(9===a.nodeType||11===a.nodeType)&&this.j.ia()(a.firstChild)}toString(){return"document-node("+this.j.toString()+")"}}class nc extends lc{constructor(a){super();this.Wc=a;id(this,a.code);this.g={p:a.code}}ia(){return a=>this.Wc.matches(a)}toString(){return"xs:"+this.Wc.name}} class vc extends lc{constructor(){super();id(this,"A m[AO,AD,AF]");this.g={p:"A",m:[{p:"AO"},{p:"AD"},{p:"AF"}]}}ia(){return a=>/^A[ODF]/.test(a.code)}toString(){return"xs:numeric"}}var uc;class Dc extends lc{ha(){return"E"}$(){return{p:"E"}}ia(){return()=>!1}toString(){return"xs:error"}}var Cc; -class rd extends lc{constructor(){super();this.j=[];this.resultType=null}Nb(a){if(!(a instanceof rd))return sd.cc;if(a instanceof zc||a instanceof Bc)return sd.Rb;if(!(a instanceof dd||a instanceof td||a instanceof ud))return sd.nc;if(this.j.length!==a.j.length)return sd.cc;const c=function(E,H,p){return E.map((g,e)=>p(g,H[e]))}(this.j,a.j,sd.Lh),q=sd.Lh(this.resultType,a.resultType);return c.every(E=>E===sd.yb)&&q===sd.yb?sd.yb:c.every(E=>[sd.yb,sd.nc].includes(E)&&[sd.yb,sd.Rb].includes(q))?sd.Rb: -c.every(E=>[sd.yb,sd.Rb].includes(E)&&[sd.yb,sd.nc].includes(q))?sd.nc:sd.Eg}ff(){return dc.Aa}}class xc extends rd{constructor(){super();id(this,"F");this.g={p:"F"}}ia(){return a=>a instanceof ad.XdmFunction||a instanceof $c||a instanceof cc||a instanceof cd.Ef}Nb(a){return a instanceof xc?sd.yb:/^F/.test(a.$().p)?sd.Rb:sd.cc}toString(){return"function(*)"}}var wc;function vd(a,c){let q=[];c.forEach(E=>{q.push(a.j[E])});return new dd(q,a.resultType)} -class dd extends rd{constructor(a,c){super();sa.assert(c instanceof gc);sa.assert(a.every(q=>q instanceof gc));this.j=a;this.resultType=c;id(this,"F a["+a.map(q=>q.ha()).join(",")+"] r["+c.ha()+"]");hd(this,{p:"F",a:a.map(q=>q.$()),r:c.$()})}ia(){const a=this;return function(c){return c instanceof $c?1===a.j.length&&2===a.j[0].fa&&c.conforms(a.j[0].U.ia(),a.resultType.U.ia(),wd(a.resultType.fa)):c instanceof cc?1===a.j.length&&2===a.j[0].fa&&a.j[0].U instanceof nc&&c.conforms(()=>!0,a.resultType.U.ia(), -wd(a.resultType.fa)):c instanceof ad.XdmFunction?(c=a.Nb(c.gg()),[sd.yb,sd.Rb].includes(c)):!1}}ff(){return this.resultType}toString(){return"(function("+this.j.map(a=>a.toString()).join(",")+") as "+this.resultType.toString()+")"}}class zc extends rd{constructor(){super();id(this,"FM");this.g={p:"FM"}}I(){return Sc}aa(){return dc.Aa}ia(){return a=>a instanceof cc||a instanceof cd.Ef}toString(){return"map(*)"}}var yc; -class td extends rd{constructor(a,c){super();sa.assert(a instanceof lc);sa.assert(c instanceof gc);this.V=a;this.valueType=c;id(this,"FM k["+a.ha()+"] v["+c.ha()+"]");this.g={p:"FM",k:a.$(),v:c.$()}}ia(){return a=>a instanceof cc&&a.conforms(this.V.ia(),this.valueType.U.ia(),wd(this.valueType.fa))}toString(){return"map("+this.V.toString()+","+this.valueType.toString()+")"}I(){return this.V}aa(){return this.valueType}ff(){return this.valueType}} -class Bc extends rd{constructor(){super();id(this,"FA");this.g={p:"FA"}}ia(){return a=>a instanceof $c}toString(){return"array(*)"}B(){return dc.Aa}}var Ac;class ud extends rd{constructor(a){super();sa.assert(a instanceof gc);this.V=a;id(this,"FA v["+a.ha()+"]");this.g={p:"FA",v:a.$()}}ia(){return a=>a instanceof $c&&a.value.every(c=>this.V.matches(c))}toString(){return"array("+this.V.toString()+")"}B(){return this.V}ff(){return this.V}} -class xd extends lc{constructor(a,c){super();this.j=a;this.V=c;var q=a.$();const E=c.$();q=tb(q.p,E.p);id(this,q+" u["+a.ha()+","+c.ha()+"]");this.g={p:q,u:[a.$(),c.$()]}}ia(){const a=this.j.ia(),c=this.V.ia();return q=>a(q)||c(q)}I(){const a=this.j.I(),c=this.V.I();return new xd(a,c)}B(){const a=this.j.B(),c=this.V.B(),q=a.fa;return q===c.fa?new gc(new xd(a.U,c.U),q):dc.Aa}} -class yd extends lc{constructor(a,c){super();this.j=a;this.V=c;var q=a.$();const E=c.$();q=q.p.startsWith(E.p)?q.p:E.p.startsWith(q.p)?E.p:q.p.charAt(0)===E.p.charAt(0)?q.p.charAt(0):"";id(this,q+" i["+a.ha()+","+c.ha()+"]");this.g={p:q,i:[a.$(),c.$()]}}ia(){const a=this.j.ia(),c=this.V.ia();return q=>a(q)&&c(q)}} -class zd extends lc{constructor(a,c){super();this.j=a;this.V=c;var q=a.$();const E=c.$();q=q.p.startsWith(E.p)?q.p:E.p.startsWith(q.p)?E.p:q.p.charAt(0)===E.p.charAt(0)?q.p.charAt(0):"";id(this,q+" d["+a.ha()+","+c.ha()+"]");this.g={p:q,d:[a.$(),c.$()]}}ia(){const a=this.j.ia(),c=this.V.ia();return q=>a(q)&&!c(q)}}const Ad={};function fc(a){var c=Ad[a];if(c)return c;c=rb(a);c=jc(c);return Ad[a]=c} -function jc(a){var c=a.p;if(""===c)return oc;if(a.u)return c=jc(a.u[0]),a.u.slice(1).reduce((q,E)=>new xd(q,jc(E)),c);if(a.i)return c=jc(a.i[0]),a.i.slice(1).reduce((q,E)=>new yd(q,jc(E)),c);if(a.d)return new zd(jc(a.d[0]),jc(a.d[1]));switch(c.charAt(0)){case "A":if("Q{http://www.w3.org/2001/XMLSchema}numeric"===a.n)return uc;if(a.m){a=a.m;if(3===a.length&&a.some(q=>"AO"===q.p)&&a.some(q=>"AD"===q.p)&&a.some(q=>"AF"===q.p))return uc;sa.la("Unhandled atomic union type")}else return new nc(La.codes[c]); +class rd extends lc{constructor(){super();this.j=[];this.resultType=null}Ob(a){if(!(a instanceof rd))return sd.dc;if(a instanceof zc||a instanceof Bc)return sd.Sb;if(!(a instanceof dd||a instanceof td||a instanceof ud))return sd.oc;if(this.j.length!==a.j.length)return sd.dc;const c=function(F,I,m){return F.map((g,e)=>m(g,I[e]))}(this.j,a.j,sd.Lh),n=sd.Lh(this.resultType,a.resultType);return c.every(F=>F===sd.yb)&&n===sd.yb?sd.yb:c.every(F=>[sd.yb,sd.oc].includes(F)&&[sd.yb,sd.Sb].includes(n))?sd.Sb: +c.every(F=>[sd.yb,sd.Sb].includes(F)&&[sd.yb,sd.oc].includes(n))?sd.oc:sd.Fg}gf(){return dc.Aa}}class xc extends rd{constructor(){super();id(this,"F");this.g={p:"F"}}ia(){return a=>a instanceof ad.XdmFunction||a instanceof $c||a instanceof cc||a instanceof cd.Ef}Ob(a){return a instanceof xc?sd.yb:/^F/.test(a.$().p)?sd.Sb:sd.dc}toString(){return"function(*)"}}var wc;function vd(a,c){let n=[];c.forEach(F=>{n.push(a.j[F])});return new dd(n,a.resultType)} +class dd extends rd{constructor(a,c){super();sa.assert(c instanceof gc);sa.assert(a.every(n=>n instanceof gc));this.j=a;this.resultType=c;id(this,"F a["+a.map(n=>n.ha()).join(",")+"] r["+c.ha()+"]");hd(this,{p:"F",a:a.map(n=>n.$()),r:c.$()})}ia(){const a=this;return function(c){return c instanceof $c?1===a.j.length&&2===a.j[0].fa&&c.conforms(a.j[0].U.ia(),a.resultType.U.ia(),wd(a.resultType.fa)):c instanceof cc?1===a.j.length&&2===a.j[0].fa&&a.j[0].U instanceof nc&&c.conforms(()=>!0,a.resultType.U.ia(), +wd(a.resultType.fa)):c instanceof ad.XdmFunction?(c=a.Ob(c.gg()),[sd.yb,sd.Sb].includes(c)):!1}}gf(){return this.resultType}toString(){return"(function("+this.j.map(a=>a.toString()).join(",")+") as "+this.resultType.toString()+")"}}class zc extends rd{constructor(){super();id(this,"FM");this.g={p:"FM"}}I(){return Sc}aa(){return dc.Aa}ia(){return a=>a instanceof cc||a instanceof cd.Ef}toString(){return"map(*)"}}var yc; +class td extends rd{constructor(a,c){super();sa.assert(a instanceof lc);sa.assert(c instanceof gc);this.V=a;this.valueType=c;id(this,"FM k["+a.ha()+"] v["+c.ha()+"]");this.g={p:"FM",k:a.$(),v:c.$()}}ia(){return a=>a instanceof cc&&a.conforms(this.V.ia(),this.valueType.U.ia(),wd(this.valueType.fa))}toString(){return"map("+this.V.toString()+","+this.valueType.toString()+")"}I(){return this.V}aa(){return this.valueType}gf(){return this.valueType}} +class Bc extends rd{constructor(){super();id(this,"FA");this.g={p:"FA"}}ia(){return a=>a instanceof $c}toString(){return"array(*)"}B(){return dc.Aa}}var Ac;class ud extends rd{constructor(a){super();sa.assert(a instanceof gc);this.V=a;id(this,"FA v["+a.ha()+"]");this.g={p:"FA",v:a.$()}}ia(){return a=>a instanceof $c&&a.value.every(c=>this.V.matches(c))}toString(){return"array("+this.V.toString()+")"}B(){return this.V}gf(){return this.V}} +class xd extends lc{constructor(a,c){super();this.j=a;this.V=c;var n=a.$();const F=c.$();n=tb(n.p,F.p);id(this,n+" u["+a.ha()+","+c.ha()+"]");this.g={p:n,u:[a.$(),c.$()]}}ia(){const a=this.j.ia(),c=this.V.ia();return n=>a(n)||c(n)}I(){const a=this.j.I(),c=this.V.I();return new xd(a,c)}B(){const a=this.j.B(),c=this.V.B(),n=a.fa;return n===c.fa?new gc(new xd(a.U,c.U),n):dc.Aa}} +class yd extends lc{constructor(a,c){super();this.j=a;this.V=c;var n=a.$();const F=c.$();n=n.p.startsWith(F.p)?n.p:F.p.startsWith(n.p)?F.p:n.p.charAt(0)===F.p.charAt(0)?n.p.charAt(0):"";id(this,n+" i["+a.ha()+","+c.ha()+"]");this.g={p:n,i:[a.$(),c.$()]}}ia(){const a=this.j.ia(),c=this.V.ia();return n=>a(n)&&c(n)}} +class zd extends lc{constructor(a,c){super();this.j=a;this.V=c;var n=a.$();const F=c.$();n=n.p.startsWith(F.p)?n.p:F.p.startsWith(n.p)?F.p:n.p.charAt(0)===F.p.charAt(0)?n.p.charAt(0):"";id(this,n+" d["+a.ha()+","+c.ha()+"]");this.g={p:n,d:[a.$(),c.$()]}}ia(){const a=this.j.ia(),c=this.V.ia();return n=>a(n)&&!c(n)}}const Ad={};function fc(a){var c=Ad[a];if(c)return c;c=rb(a);c=jc(c);return Ad[a]=c} +function jc(a){var c=a.p;if(""===c)return oc;if(a.u)return c=jc(a.u[0]),a.u.slice(1).reduce((n,F)=>new xd(n,jc(F)),c);if(a.i)return c=jc(a.i[0]),a.i.slice(1).reduce((n,F)=>new yd(n,jc(F)),c);if(a.d)return new zd(jc(a.d[0]),jc(a.d[1]));switch(c.charAt(0)){case "A":if("Q{http://www.w3.org/2001/XMLSchema}numeric"===a.n)return uc;if(a.m){a=a.m;if(3===a.length&&a.some(n=>"AO"===n.p)&&a.some(n=>"AD"===n.p)&&a.some(n=>"AF"===n.p))return uc;sa.la("Unhandled atomic union type")}else return new nc(La.codes[c]); break;case "F":switch(c){case "FA":return a.v?new ud(ic(a.v)):Ac;case "FM":return a.k&&a.v?new td(jc(a.k),ic(a.v)):yc;default:return a.a?(c=a.a.map(ic),a=a.r?ic(a.r):dc.Aa,new dd(c,a)):wc}case "N":if("N"===c)return qc;c={ND:9,NE:1,NA:2,NT:3,NC:8,NP:7,NN:13}[c];return a.n?(a=a.n,/\}\*$/.test(a)?new pd(c,a.substring(2,a.length-2)):/^\*:/.test(a)?new od(c,a.substring(2)):new nd(c,La.XS.QName.fromEQName(a))):a.e?(a=jc(a.e),new qd(a)):new Fc(c);case "E":return Cc}} const Bd={IDREFS:"ASNTNCR",ENTITIES:"ASNTNCE",NMTOKENS:"ASNTK"},Tc={};var Sc,Mc,Nc,Oc,Pc,Qc,Rc; // Input 22 -var sd=function(){function a(e,k){sa.assert(e instanceof lc);sa.assert(k instanceof lc);const v=e.ha()+"<>"+k.ha(),t=g[v];if(t)return t;e=H(e,k);return g[v]=e}function c(e,k){sa.assert(e instanceof lc);sa.assert(k instanceof lc);switch(a(e,k)){case 0:case 1:return e;case 2:return k;case 3:case 4:return e=e.$(),k=k.$(),jc({p:tb(e.p,k.p),u:[e,k]})}}function q(e,k){sa.assert(e instanceof lc);sa.assert(k instanceof lc);switch(a(e,k)){case 0:case 1:return k;case 2:return e;case 3:return e=e.$(),k=k.$(), -jc({p:e.p.startsWith(k.p)?e.p:k.p.startsWith(e.p)?k.p:e.p.charAt(0)===k.p.charAt(0)?e.p.charAt(0):"",i:[e,k]});case 4:return Cc}}function E(e,k){return 0===e&&0===k?0:0!==e&&1!==e||0!==k&&1!==k?0!==e&&2!==e||0!==k&&2!==k?4===e||4===k?4:3:2:1}function H(e,k){function v(b,d){return(b||"")===(d||"")?0:b&&!d?2:d&&!b?1:4}function t(b){return 1===b?2:2===b?1:b}function C(b){return b.n||b.e||b.u||b.i||b.d}var m=e.$();const f=k.$(),A=e.ha(),O=k.ha();if("F"===m.p){if(!(e instanceof rd&&k instanceof rd))return 3; -sa.assert(e.Nb);return e.Nb(k)}if(A===O)return 0;if(e instanceof Dc)return 2;if(k instanceof Dc)return 1;if(kd(e))return kd(k)?0:/^A[ODF]/.test(f.p)?1:"A"===f.p||""===f.p?2:4;if(kd(k))return t(H(k,e));if(m.p===f.p){if(jd(e))return m.u&&f.u?3:m.e&&f.e?v(m.e,f.e):m.n&&f.n?v(m.n,f.n):C(m)&&C(f)?4:C(m)&&!C(f)?2:C(f)&&!C(m)?1:0;if(e.pa())return 0;if("FA"===m.p)return e=e.B?e.B():dc.Aa,k=k.B?k.B():dc.Aa,p(e,k);if("FM"===m.p)return m=a(e.I(),k.I()),k=p(e.aa(),k.aa()),E(m,k);if(!(e instanceof rd&&k instanceof -rd))return 3;sa.assert(e.Nb);return e.Nb(k)}return m.p.startsWith(f.p)?m.u?3:2:f.p.startsWith(m.p)?m.u?3:1:4}function p(e,k){sa.assert(e instanceof gc);sa.assert(k instanceof gc);var v=e.fa;var t=k.fa;v=v===t?sd.yb:(v|t)===v?sd.Rb:(v|t)===t?sd.nc:0===(v|t)?sd.cc:sd.Eg;e=a(e.U,k.U);return E(v,e)}const g={};return{yb:0,Rb:1,nc:2,Eg:3,cc:4,Nb:a,fj:function(e,k){sa.assert(e instanceof lc);sa.assert(k instanceof lc);e=a(e,k);return 0===e||2===e},Xj:c,Md:function(e){sa.assert(0c(k,v),e[0])},Ui:function(e){sa.assert(0q(k,v),e[0])},Lh:p}}(); +var sd=function(){function a(e,k){sa.assert(e instanceof lc);sa.assert(k instanceof lc);const v=e.ha()+"<>"+k.ha(),t=g[v];if(t)return t;e=I(e,k);return g[v]=e}function c(e,k){sa.assert(e instanceof lc);sa.assert(k instanceof lc);switch(a(e,k)){case 0:case 1:return e;case 2:return k;case 3:case 4:return e=e.$(),k=k.$(),jc({p:tb(e.p,k.p),u:[e,k]})}}function n(e,k){sa.assert(e instanceof lc);sa.assert(k instanceof lc);switch(a(e,k)){case 0:case 1:return k;case 2:return e;case 3:return e=e.$(),k=k.$(), +jc({p:e.p.startsWith(k.p)?e.p:k.p.startsWith(e.p)?k.p:e.p.charAt(0)===k.p.charAt(0)?e.p.charAt(0):"",i:[e,k]});case 4:return Cc}}function F(e,k){return 0===e&&0===k?0:0!==e&&1!==e||0!==k&&1!==k?0!==e&&2!==e||0!==k&&2!==k?4===e||4===k?4:3:2:1}function I(e,k){function v(y,b){return(y||"")===(b||"")?0:y&&!b?2:b&&!y?1:4}function t(y){return 1===y?2:2===y?1:y}function D(y){return y.n||y.e||y.u||y.i||y.d}var l=e.$();const f=k.$(),B=e.ha(),L=k.ha();if("F"===l.p){if(!(e instanceof rd&&k instanceof rd))return 3; +sa.assert(e.Ob);return e.Ob(k)}if(B===L)return 0;if(e instanceof Dc)return 2;if(k instanceof Dc)return 1;if(kd(e))return kd(k)?0:/^A[ODF]/.test(f.p)?1:"A"===f.p||""===f.p?2:4;if(kd(k))return t(I(k,e));if(l.p===f.p){if(jd(e))return l.u&&f.u?3:l.e&&f.e?v(l.e,f.e):l.n&&f.n?v(l.n,f.n):D(l)&&D(f)?4:D(l)&&!D(f)?2:D(f)&&!D(l)?1:0;if(e.pa())return 0;if("FA"===l.p)return e=e.B?e.B():dc.Aa,k=k.B?k.B():dc.Aa,m(e,k);if("FM"===l.p)return l=a(e.I(),k.I()),k=m(e.aa(),k.aa()),F(l,k);if(!(e instanceof rd&&k instanceof +rd))return 3;sa.assert(e.Ob);return e.Ob(k)}return l.p.startsWith(f.p)?l.u?3:2:f.p.startsWith(l.p)?l.u?3:1:4}function m(e,k){sa.assert(e instanceof gc);sa.assert(k instanceof gc);var v=e.fa;var t=k.fa;v=v===t?sd.yb:(v|t)===v?sd.Sb:(v|t)===t?sd.oc:0===(v|t)?sd.dc:sd.Fg;e=a(e.U,k.U);return F(v,e)}const g={};return{yb:0,Sb:1,oc:2,Fg:3,dc:4,Ob:a,fj:function(e,k){sa.assert(e instanceof lc);sa.assert(k instanceof lc);e=a(e,k);return 0===e||2===e},Xj:c,Md:function(e){sa.assert(0c(k,v),e[0])},Ui:function(e){sa.assert(0n(k,v),e[0])},Lh:m}}(); // Input 23 -function Zc(a){return 0!==(a&4)}function Xc(a){return 0!==(a&1)}function Cd(a){let c=0;a.forEach(q=>c|=q);5===c&&(c=7);return c}function hc(a){return{0:1,1:2,"?":3,"+":6,"*":7}[a]}function Dd(a,c){return(Xc(a)&&Xc(c)?1:0)+(1!==a||1!==c?2:0)+(1===a&&!Zc(c)||1===c&&!Zc(a)?0:4)}function Ed(a){switch(a){case "1":return c=>1===c;case "0":return c=>0===c;case "?":return c=>2>c;case "+":return c=>0!0}} +function Zc(a){return 0!==(a&4)}function Xc(a){return 0!==(a&1)}function Cd(a){let c=0;a.forEach(n=>c|=n);5===c&&(c=7);return c}function hc(a){return{0:1,1:2,"?":3,"+":6,"*":7}[a]}function Dd(a,c){return(Xc(a)&&Xc(c)?1:0)+(1!==a||1!==c?2:0)+(1===a&&!Zc(c)||1===c&&!Zc(a)?0:4)}function Ed(a){switch(a){case "1":return c=>1===c;case "0":return c=>0===c;case "?":return c=>2>c;case "+":return c=>0!0}} function wd(a){switch(a){case 1:return c=>0===c;case 2:return c=>1===c;case 4:return c=>12>c;case 6:return c=>0!0}}function Yc(a){switch(a){case 3:return"?";case 2:return"";case 7:return"*";case 6:return"+";case 4:return"+";case 1:return"0";default:return"*"}}; // Input 24 -function Fd(a,c,q){a=a.expand();c=c.expand();a=Kb(a);c=Kb(c);let E,H;for(;;){E=a.next();H=c.next();if(null===E)return null===H;if(null===H||!Gd(E,H,q))return!1}} -function Gd(a,c,q){var E=ac.Ja;if(a===c)return!0;if(ac.X(a)){if(!ac.X(c)||!ac.ej(a.nodeType,c.nodeType))return!1;switch(a.nodeType){case 9:case 11:return Fd(E.Ka(a),E.Ka(c));case 1:if(!ac.ca(a).equals(ac.ca(c)))return!1;const H=E.Ha(a).expand();if(H.length!==E.Ha(c).count())return!1;for(let p=0;py;case ">":case "gt":return 0=":case "ge":return 0<=y;case "<=":case "le":return 0>=y;case "!=":case "ne":return 0!==y;default:throw new F("Unknown operator "+D,"SXJS0003");}}function d(D,y){return D.map(function(I){var R=y.fixed.ka;I=R.da(I,"dataType");R=null===I?null:R.evaluate(I,y).next();return"number"===R?function(M){return null===M?null: -z.double.cf(M.toString())}:"text"===R?function(M){return null===M?null:z.string.R(M)}:function(M){return M}})}function l(D,y){return D.substring(0,y.length)===y}function r(D,y){return D.substring(D.length-y.length)===y}function n(D,y){return y&&(y=y.next())?y.toString():D.collation||cd.hg(D,"defaultCollation")}function B(D,y){y=D?l(D,"http://www.w3.org/2013/collation/UCA")&&36ea(x)?ea(K)?z.string.R(x):ca(K)?z.double.R(x):"AQ"===K.code?La.XS.QName.R(x,cd.Wd(M,!1)):La.codes[K.code].R(x):x,Y="="===I?R.equals:"!="===I?(x,K)=>!R.equals(x,K):(x,K)=>b(I,R.compare(x,K));let V;for(var la;null!==(V=D.next());){const x=Kb(y);for(;null!==(la=x.next());){const K=ja(V,la);la=ja(la,V);if(!(ca(K)&& -isNaN(K.value)||ca(la)&&isNaN(la.value))&&Y(K,la))return Xb(!0)}}return Xb(!1)},Ki:function(D){return{equals:function(y,I){const R=z.numeric.matches;return R(y)||R(I)?z.numeric.xe(y).toNumber()===z.numeric.xe(I).toNumber():D.equals(y,I)},compare:D.compare}},df:function(D,y,I){return B(n(D,y),I)},eg:B,Xb:function(D,y,I,R){y=n(D,y);R=B(y,R)[I];if(!R)throw new F("Collation "+y+" has no "+I+" method","FOCH0002",D);return R},Mi:d,jg:"http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensitive", -tc:E,Jj:f,Kj:function(D){const y=cd.Sa(D),I=cd.qb(D,"sortKey");return R=>{const M=Sb(y(R)),ca=[],ea=I.map(x=>A(x,R)),ja=I.map(cd.Sa),Y=d(I,R),V=R.ba(!1);V.qa="sort key";V.focus=M;let la=0;M.forEachItem(function(x){const K=I.map(function(U,ha){return Y[ha](ja[ha](V).next())});ca.push({item:x,keys:K,Od:la++})});ca.sort(function(x,K){for(let ha=0;ha -K.Od?1:x.Od===K.Od?0:-1});return Kb(ca.map(x=>x.item))}},wf:b,Th:function(D,y){switch(D){case "=":case "eq":return y;case "!=":case "ne":return!y;case "<":case "lt":case ">":case "gt":case ">=":case "ge":case "<=":case "le":throw new F("Operator "+D+" not allowed for unordered types","SXJS0003");default:throw new F("Unknown operator "+D,"SXJS0003");}},xf:function(D,y){function I(ja){return Ia(ja)?M(ja.matchKey()):ja.matchKey()}const R=new cc,M=D.collationKey;if(!M)throw new F("Collation is unsuitable for keys and grouping", -"XTDE1110");const ca={Rc:function(ja,Y){return Fd(Kb(ja),Kb(Y),D.equals)},hash:function(ja){return ja.map(I).join()}},ea={Rc:function(ja,Y){return I(ja)===I(Y)},hash:function(ja){return I(ja)}};R.options=y?ca:ea;return R},Mj:"http://www.w3.org/2013/collation/UCA",Zh:"http://www.w3.org/xslts/collation/caseblind"}}(); +const Hd=function(){function a(E,A){return E.equals(A)}function c(E,A){return E.compareTo(A)}function n(E){return null===E}function F(E){return(x.double.matches(E)||x.float.matches(E))&&isNaN(E.toNumber())}function I(E,A){return function(H,S){return A(H)||A(S)?A(H)?A(S):!1:E(H,S)}}function m(E,A){return function(H,S){return A(H)||A(S)?A(H)?A(S)?0:-1:1:E(H,S)}}function g(E,A){return null===E?NaN:x.numeric.matches(E)?E.toNumber():A?x.double.fromString(E.toString()).toNumber():x.double.df(E.toString()).toNumber()} +function e(E){return function(A,H){A=g(A,E);H=g(H,E);return isNaN(A)?isNaN(H)?0:-1:isNaN(H)?1:A-H}}function k(E){return function(A,H){A=g(A,E);H=g(H,E);return isNaN(A)?isNaN(H):isNaN(H)?!1:0===A-H}}function v(E,A){return function(H,S){H=H.toString();S=S.toString();var N=E(H.toLowerCase(),S.toLowerCase());if(0===N){for(N=0;NA;case ">":case "gt":return 0=":case "ge":return 0<=A;case "<=":case "le":return 0>=A;case "!=":case "ne":return 0!==A;default:throw new G("Unknown operator "+E,"SXJS0003");}}function b(E,A){return E.map(function(H){var S=A.fixed.ka;H=S.da(H,"dataType");S=null===H?null:S.evaluate(H,A).next();return"number"===S?function(N){return null===N?null: +x.double.df(N.toString())}:"text"===S?function(N){return null===N?null:x.string.R(N)}:function(N){return N}})}function d(E,A){return E.substring(0,A.length)===A}function q(E,A){return E.substring(E.length-A.length)===A}function p(E,A){return A&&(A=A.next())?A.toString():E.collation||cd.hg(E,"defaultCollation")}function u(E,A){A=E?d(E,"http://www.w3.org/2013/collation/UCA")&&36ia(M)?aa&&ma(W)?x.numeric.Od(M):ia(W)?x.string.R(M):ma(W)?x.double.R(M):"AQ"===W.code?La.XS.QName.R(M,cd.Xd(N,!1)):La.codes[W.code].R(M):M,V="="===H?S.equals:"!="===H?(M,W)=>!S.equals(M,W):(M,W)=>y(H,S.compare(M,W));let ka;for(var z;null!==(ka=E.next());){const M=Kb(A);for(;null!==(z=M.next());){const W= +Y(ka,z);z=Y(z,ka);if(!(ma(W)&&isNaN(W.value)||ma(z)&&isNaN(z.value))&&V(W,z))return Xb(!0)}}return Xb(!1)},Ki:function(E){return{equals:function(A,H){const S=x.numeric.matches;return S(A)||S(H)?x.numeric.Od(A).toNumber()===x.numeric.Od(H).toNumber():E.equals(A,H)},compare:E.compare}},ef:function(E,A,H){return u(p(E,A),H)},eg:u,Yb:function(E,A,H,S){A=p(E,A);S=u(A,S)[H];if(!S)throw new G("Collation "+A+" has no "+H+" method","FOCH0002",E);return S},Mi:b,jg:"http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensitive", +uc:F,Jj:f,Kj:function(E){const A=cd.Sa(E),H=cd.qb(E,"sortKey");return S=>{const N=Sb(A(S)),aa=[],ma=H.map(z=>B(z,S)),ia=H.map(cd.Sa),Y=b(H,S),V=S.ba(!1);V.qa="sort key";V.focus=N;let ka=0;N.forEachItem(function(z){const M=H.map(function(W,fa){return Y[fa](ia[fa](V).next())});aa.push({item:z,keys:M,Qd:ka++})});aa.sort(function(z,M){for(let fa=0;fa +M.Qd?1:z.Qd===M.Qd?0:-1});return Kb(aa.map(z=>z.item))}},wf:y,Th:function(E,A){switch(E){case "=":case "eq":return A;case "!=":case "ne":return!A;case "<":case "lt":case ">":case "gt":case ">=":case "ge":case "<=":case "le":throw new G("Operator "+E+" not allowed for unordered types","SXJS0003");default:throw new G("Unknown operator "+E,"SXJS0003");}},xf:function(E,A){function H(ia){return Ia(ia)?N(ia.matchKey()):ia.matchKey()}const S=new cc,N=E.collationKey;if(!N)throw new G("Collation is unsuitable for keys and grouping", +"XTDE1110");const aa={Tc:function(ia,Y){return Fd(Kb(ia),Kb(Y),E.equals)},hash:function(ia){return ia.map(H).join()}},ma={Tc:function(ia,Y){return H(ia)===H(Y)},hash:function(ia){return H(ia)}};S.options=A?aa:ma;return S},Mj:"http://www.w3.org/2013/collation/UCA",Zh:"http://www.w3.org/xslts/collation/caseblind"}}(); // Input 26 -var Jd=function(){var a={};return{register:function(c,q){a[c]=q},find:function(c){return a[c]},dl:a}}(); +var Jd=function(){var a={};return{register:function(c,n){a[c]=n},find:function(c){return a[c]},dl:a}}(); // Input 27 -var Kd=function(){function a(c){const q=ac.Ja,E={"p.any":function(){return function(){return!0}},"p.never":function(){return function(){return!1}},"p.booleanExp":function(H){const p=cd.Sa(H);return function(g,e){e=e.ba();e.focus=Rb(g);return cd.Fd(p(e))}},"p.genNode":function(H){const p=cd.Sa(H);let g;if("slash"===H.C[0].N){H=cd.ti(H.C[0]);let e=H.C[0];for(;["filter","subscript"].includes(e.N);)e=e.C[0];"axis"===e.N&&"child"===e.name&&(e.name="self",g=cd.ib(H))}return function(e,k){if(!ac.X(e))return!1; -const v=ac.Ja.Ya(e);let t;for(var C;;){t=v.next();if(null==t)return!ac.jf(C)&&g?(k=k.ba(!1),k.focus=Rb(C),k.Mb=[],g(k).some(m=>ac.isSameNode(m,e))):!1;C=k.ba(!1);C.focus=Rb(t);C.Mb=[];if(p(C).some(m=>ac.isSameNode(m,e)))return!0;C=t}}},"p.genPos":function(H){const p=fc(H.test).ia(),g=cd.Sa(H);return function(e,k){if(!p(e))return!1;const v=k.fixed.ka;k=k.ba(!1);var t=q.Ka(ac.Xa(e)).filter(p);k.focus=Sb(t);for(k.Mb=[];null!=(t=k.focus.next());)if(t===e&&v.Fd(g(k)))return!0;return!1}},"p.nodeSet":function(H){const p= -cd.Sa(H);return function(g,e){return p(e).some(k=>k===g)}},"p.nodeTest":function(H){return fc(H.test).ia()},"p.simPos":function(H){const p=fc(H.test).ia(),g=parseInt(H.pos,10);return function(e){return p(e)&&q.Oc(e).filter(p).count()===g-1}},"p.venn":function(H){var p=H.C,g=a(p[0]),e=a(p[1]);H=H.op;switch(H){case "union":return function(k,v){return g(k,v)||e(k,v)};case "intersect":return function(k,v){return g(k,v)&&e(k,v)};case "except":return function(k,v){return g(k,v)&&!e(k,v)};default:throw new F("unknown op "+ -H,"SXJS0003");}},"p.withCurrent":function(H){const p=a(H.C[0]);return function(g,e){e=e.ba(!0);e.oa[0]=[g];return p(g,e)}},"p.withPredicate":function(H){H=H.C;const p=a(H[0]),g=cd.ib(H[1]);return function(e,k){if(!p(e,k))return!1;k=k.ba(!1);k.focus=Rb(e);k.Mb=[];return cd.Fd(g(k))}},"p.withUpper":function(H){const p=H.C,g=a(p[0]),e=a(p[1]),k=H.axis;return"parent"===k?"true"===H.upFirst?function(v,t){const C=ac.Xa(v);return C&&e(C,t)&&g(v,t)}:function(v,t){const C=ac.Xa(v);return C&&g(v,t)&&e(C,t)}: -function(v,t){if(!g(v,t))return!1;v=ac.Ng[k](v);let C;for(;null!==(C=v.next());)if(e(C,t))return!0;return!1}}}[c.N];if(E)return E(c);throw new F("Unimplemented pattern "+c.N,"SXJS0002");}return{od:a,matches:function(c,q,E){E.ub.push(null);c=c(q,E);E.ub.pop();return c}}}(); +var Kd=function(){function a(c){const n=ac.Ja,F={"p.any":function(){return function(){return!0}},"p.never":function(){return function(){return!1}},"p.booleanExp":function(I){const m=cd.Sa(I);return function(g,e){e=e.ba();e.focus=Rb(g);return cd.Fd(m(e))}},"p.genNode":function(I){const m=cd.Sa(I);let g;if("slash"===I.C[0].N){I=cd.ti(I.C[0]);let e=I.C[0];for(;["filter","subscript"].includes(e.N);)e=e.C[0];"axis"===e.N&&"child"===e.name&&(e.name="self",g=cd.ib(I))}return function(e,k){if(!ac.X(e))return!1; +const v=ac.Ja.Xa(e);let t;for(var D;;){t=v.next();if(null==t)return!ac.kf(D)&&g?(k=k.ba(!1),k.focus=Rb(D),k.Nb=[],g(k).some(l=>ac.isSameNode(l,e))):!1;D=k.ba(!1);D.focus=Rb(t);D.Nb=[];if(m(D).some(l=>ac.isSameNode(l,e)))return!0;D=t}}},"p.genPos":function(I){const m=fc(I.test).ia(),g=cd.Sa(I);return function(e,k){if(!m(e))return!1;const v=k.fixed.ka;k=k.ba(!1);var t=n.Ka(ac.$a(e)).filter(m);k.focus=Sb(t);for(k.Nb=[];null!=(t=k.focus.next());)if(t===e&&v.Fd(g(k)))return!0;return!1}},"p.nodeSet":function(I){const m= +cd.Sa(I);return function(g,e){return m(e).some(k=>k===g)}},"p.nodeTest":function(I){return fc(I.test).ia()},"p.simPos":function(I){const m=fc(I.test).ia(),g=parseInt(I.pos,10);return function(e){return m(e)&&n.Qc(e).filter(m).count()===g-1}},"p.venn":function(I){var m=I.C,g=a(m[0]),e=a(m[1]);I=I.op;switch(I){case "union":return function(k,v){return g(k,v)||e(k,v)};case "intersect":return function(k,v){return g(k,v)&&e(k,v)};case "except":return function(k,v){return g(k,v)&&!e(k,v)};default:throw new G("unknown op "+ +I,"SXJS0003");}},"p.withCurrent":function(I){const m=a(I.C[0]);return function(g,e){e=e.ba(!0);e.oa[0]=[g];return m(g,e)}},"p.withPredicate":function(I){I=I.C;const m=a(I[0]),g=cd.ib(I[1]);return function(e,k){if(!m(e,k))return!1;k=k.ba(!1);k.focus=Rb(e);k.Nb=[];return cd.Fd(g(k))}},"p.withUpper":function(I){const m=I.C,g=a(m[0]),e=a(m[1]),k=I.axis;return"parent"===k?"true"===I.upFirst?function(v,t){const D=ac.$a(v);return D&&e(D,t)&&g(v,t)}:function(v,t){const D=ac.$a(v);return D&&g(v,t)&&e(D,t)}: +function(v,t){if(!g(v,t))return!1;v=ac.Og[k](v);let D;for(;null!==(D=v.next());)if(e(D,t))return!0;return!1}}}[c.N];if(F)return F(c);throw new G("Unimplemented pattern "+c.N,"SXJS0002");}return{od:a,matches:function(c,n,F){F.ub.push(null);c=c(n,F);F.ub.pop();return c}}}(); // Input 28 -var Ld=function(){function a(E,H,p,g){function e(r){for(var n=[],B=r.length-1;0<=B;B--)n.push({Qd:r[B],action:r[B].C[1],pattern:Kd.od(r[B].C[0])});return n}function k(r){r._saxonAccumulators||(r._saxonAccumulators={});r._saxonAccumulators[p]={};var n=v(O,r);n&&(l=C(n,r));r._saxonAccumulators[p].pre=l;q.Ka(r).forEachItem(k);(n=v(b,r))&&(l=C(n,r));r._saxonAccumulators[p].post=l}function v(r,n){for(var B=0,W=r.length;BA.indexOf(t[0].value))throw new F("Invalid value "+O+"="+t[0],"FOJS0005");return t[0].value}throw new F("Invalid option: "+C+": must be "+m,"XPTY0004");}return f}function c(t, -C){function m(B){throw new F(B,"FOJS0001");}function f(){return n=A()}function A(){for(n="";;){if(r>=t.length)return["eof"];var B=t.charAt(r++);if(!/[ \n\r\t]/.test(B))break}switch(B){case "[":case "{":case "]":case "}":case ":":case ",":return[B];case '"':for(B=!1;;){const W=t.charAt(r++);if('"'!==W||B)n+=W,B="\\"===W&&!B;else return["string",n];r>=t.length&&m("Unclosed quotes in string literal")}case "-":case "0":case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":for(n+= -B;r=B){if(n+=B,++r>=t.length)break}else break;if(["true","false","null"].includes(n))return[n];m("Unknown constant "+n);break;default:return m("Unexpected character '"+B+"' ("+Da(B)+") at position "+r),-1}}function O(B){n[0]!==B&&m("Expected "+B+", found "+ -n[0])}function b(B){return n[0]===B?(f(),!0):!1}function d(B){if(n[0]===B)return f(),!0;if(","===n[0])return f(),!1;m("Expected ',' or '"+B+"', found '"+n[0]+"'")}function l(){switch(n[0]){case "[":f();C.Qh();if(!b("]")){do l();while(!d("]"))}C.ah();break;case "{":f();C.Rh();if(!b("}")){do O("string"),C.Xg(n[1]),f(),O(":"),f(),l();while(!d("}"))}C.bh();break;case "string":C.$g(n[1]);f();break;case "number":C.Zg(n[1]);f();break;case "true":case "false":C.Wg(n[0]);f();break;case "null":C.Yg();f();break; -default:m("Unexpected token "+n[0])}}t=t.replace(/^[\uFEFF]/,"");let r=0,n=null;n=f();l();O("eof");return C.result()}function q(t){try{return JSON.parse('"'+t+'"')}catch(C){throw new F(C.toString(),"FOJS0001");}}function E(t,C){const m=C.Ab,f=C.Cd;let A;A=f?O=>f.evaluate([[La.XS.string.fromString(H(O))]],m).next().toString():()=>"\ufffd";t=t.replace(/[\x00-\x08\x0B\x0C\x0E-\x0F\x80-\x9F\uFFFF]/g,A);return t=t.replace(/[\uD800-\uDFFF]+/g,O=>{let b="";for(let d=0;dl||d===O.length-1&&"\udc00">l?A(l):l}return b})}function H(t){for(t=t.charCodeAt(0).toString(16);4>t.length;)t="0"+t;return"\\u"+t.toUpperCase()}function p(t,C){this.g=[];this.I=[];this.Ab=C;a(t,"liberal","boolean",!1);this.Cd=a(t,"fallback","function",null);this.B=a(t,"escape","boolean",!1);this.K=a(t,"duplicates","string","use-first",["reject","use-first","use-last"]);if(this.B&&this.Cd)throw new F("parse-json: cannot use fallback with escape:true()","FOJS0005");}function g(t, -C){this.g=[];this.K=[];this.I=[];this.Ab=C;a(t,"liberal","boolean",!1);if(a(t,"validate","boolean",!1))throw new F("json-to-xml: validate option not supported in a non-schema-aware processor","FOJS0004");this.Cd=a(t,"fallback","function",null);this.B=a(t,"escape","boolean",!1);this.aa=a(t,"duplicates","string","use-first",["reject","use-first","retain"]);if(this.B&&this.Cd)throw new F("json-to-xml: cannot use fallback with escape:true()","FOJS0005");}const e=Zb.Oa,k=La.XS,v=ac.Ja;p.prototype={g:[], -I:[],Ab:null,B:!1,Cd:null,K:"use-first",aa:function(t){return this.B?JSON.stringify(t).replace(/^"|"$/g,"").replace(/\\"/g,'"').replace(/[\uD800-\uDFFF]/g,H):E(t,this)},ua:function(){return this.g[this.g.length-1]},j:function(t){if(0===this.g.length)this.g.push(t);else if(this.ua()instanceof $c)this.ua().value.push(t);else{const C=this.ua(),m=k.string.fromString(this.I.pop());if(C.containsKey(m))switch(this.K){case "reject":throw new F("json-to-xml: duplicate key '"+m.toString()+"'","FOJS0003");case "use-first":return}C.inSituPut(m, -t)}},Yg:function(){this.j([])},Wg:function(t){this.j([k.boolean.fromString(t)])},Zg:function(t){this.j([k.double.fromNumber(parseFloat(t))])},$g:function(t){this.j([k.string.fromString(this.aa(q(t)))])},Xg:function(t){this.I.push(this.aa(q(t)))},Qh:function(){this.g.push(new $c([]))},ah:function(){this.j([this.g.pop()])},Rh:function(){this.g.push(new cc)},bh:function(){this.j([this.g.pop()])},result:function(){return void 0!==this.ua()[0]?this.ua()[0]:null}};g.prototype={g:[],K:[{}],I:[],Ab:null, -Cd:null,B:!1,aa:"use-first",V:function(t){return this.B?JSON.stringify(t).replace(/^"|"$/g,"").replace(/\\"/g,'"').replace(/[\uD800-\uDFFF]/g,H):E(t,this)},ua:function(){return this.g[this.g.length-1]},j:function(t){if(0===this.g.length)t.setAttribute("xmlns",e),this.g.push(t);else{const C=this.ua();if("map"===C.tagName){const m=this.K.pop(),f=this.I[this.I.length-1];if(m in f)switch(this.aa){case "reject":throw new F("parse-json: duplicate key '"+m.toString()+"'","FOJS0003");case "use-first":return}f[m]= -t;t.setAttribute("key",m);this.B&&/\\/.test(m.toString())&&t.setAttribute("escaped-key","true")}C.appendChild(t)}},Yg:function(){const t=this.Ab.ja.createElementNS(e,"null");this.j(t)},Wg:function(t){const C=this.Ab.ja.createElementNS(e,"boolean");C.appendChild(this.Ab.ja.createTextNode(t.toString()));this.j(C)},Zg:function(t){const C=this.Ab.ja.createElementNS(e,"number");C.appendChild(this.Ab.ja.createTextNode(t.toString()));this.j(C)},$g:function(t){const C=this.Ab.ja.createElementNS(e,"string"); -if(""!==t){t=this.V(q(t));const m=this.Ab.ja.createTextNode(t);this.B&&/\\/.test(t)&&C.setAttribute("escaped","true");C.appendChild(m)}this.j(C)},Xg:function(t){this.K.push(this.V(q(t)))},Qh:function(){const t=this.Ab.ja.createElementNS(e,"array");this.g.push(t)},ah:function(){this.j(this.g.pop())},Rh:function(){const t=this.Ab.ja.createElementNS(e,"map");this.g.push(t);this.I.push({})},bh:function(){this.I.pop();this.j(this.g.pop())},result:function(){return this.ua()}};return{ze:function(t,C,m){return c(t, -new p(C,m))},wj:function(t,C,m){return c(t,new g(C,m))},Pj:function(t,C){function m(r){throw new F("Invalid input to xml-to-json(): "+r,"FOJS0006");}function f(r){0!==l.Ec(r).length&&m("node "+r.tagName+" must have no element children")}function A(r){v.Ka(r).filter(function(n){return(3===n.nodeType||4==n.nodeType)&&n.nodeValue&&""!==Ha.trim(n.nodeValue)}).next()&&m("node "+r.tagName+" must have no text content")}function O(r){try{return k.boolean.fromString(r).toBoolean()}catch(n){m("invalid boolean: '"+ -r+"'")}}function b(r){try{JSON.parse('"'+r+'"')}catch(n){throw new F("invalid escape sequence: "+n.toString(),"FOJS0007");}}function d(r,n=!0){if(9===r.nodeType||11===r.nodeType){var B=l.Ec(r);1!==B.length&&m("document node has "+B.length+" element children");return d(B[0])}if(1===r.nodeType){let ma=!1;if(r.namespaceURI===e)switch(v.Ha(r).forEachItem(function(qa){if(0>qa.name.indexOf(":")||qa.namespaceURI===e)"key"===qa.name||"escaped-key"===qa.name?"escaped-key"===qa.name?(n||"map"===l.Xa(r).localName|| -m("@escaped-key is allowed only on children of map"),O(qa.value)&&b(r.getAttribute("key"))):n||"map"===l.Xa(r).localName||m("@key is allowed only on children of map"):"escaped"===qa.name?("string"!==r.localName&&m("@escaped is allowed only on string"),ma=O(qa.value)):m("invalid attribute "+qa.name)}),r.hasAttribute("escaped-key")&&!n&&"map"!==l.Xa(r).localName&&m("escaped-key is allowed only on children of map"),r.localName){case "null":return v.Ka(r).filter(function(D){return 8!==D.nodeType&&7!== -D.nodeType}).next()&&m("null element must have no content"),"null";case "string":f(r);B=r.textContent;if(ma)B=B.replace(/^"/g,'\\"').replace(/^[\b]/g,"\\b").replace(/^\f/g,"\\f").replace(/^\n/g,"\\n").replace(/^\r/g,"\\r").replace(/^\t/g,"\\t").replace(/^\//g,"\\/").replace(/([^\\])"/g,'$1\\"').replace(/([^\\])[\b]/g,"$1\\b").replace(/([^\\])\f/g,"$1\\f").replace(/([^\\])\n/g,"$1\\n").replace(/([^\\])\r/g,"$1\\r").replace(/([^\\])\t/g,"$1\\t").replace(/([^\\])\//g,"$1\\/").replace(/[\u0001-\u001F\u007F-\u009F]/g, -H),b(B);else return JSON.stringify(B).replace(/\//g,"\\/");return'"'+B+'"';case "number":f(r);try{B=k.double.fromString(r.textContent)}catch(D){m("invalid number")}isFinite(B.toNumber())||m("NaN and INF not allowed");return B.toString();case "boolean":return f(r),O(r.textContent),k.boolean.fromString(r.textContent).toString();case "array":A(r);let qa="[",L="";l.Ec(r).forEach(function(D){qa+=L+d(D,!1);L=","});return qa+"]";case "map":A(r);let aa="{",z="";var W={};l.Ec(r).forEach(function(D){D.hasAttribute("key")|| -m("child element of map must have a key");const y=l.getAttribute(D,"key");let I=y;const R=l.getAttribute(D,"escaped-key");let M=!1;R&&O(R)&&(M=!0,I=q(y));W[I]&&m("duplicate key '"+y+"'");W[I]=!0;aa+=z+(M?'"'+y+'"':JSON.stringify(y).replace(/\//g,"\\/"))+":"+d(D,!1);z=","});return aa+"}";default:m("unknown local name "+r.localName)}else m("wrong namespace "+r.namespaceURI)}else l.X(r)||m("not a node"),Error.g&&Error.g(),m("wrong node kind "+r.nodeType)}const l=ac;a(C,"indent","boolean",!1);return d(t)}}}(); +const Md=function(){function a(t,D,l,f,B=null){const L=k.string.fromString(D);if(t&&t.containsKey(L)){t=t.get(L);if("function"===l){D=new dd([dc.fc],dc.fc);if(1===t.length&&D.ia()(t[0]))return t[0];throw new G("Option "+L+" must be a function(xs:string) as xs:string","XPTY0004");}if(1===t.length&&La.type[l].matches(t[0])){if(B&&0>B.indexOf(t[0].value))throw new G("Invalid value "+L+"="+t[0],"FOJS0005");return t[0].value}throw new G("Invalid option: "+D+": must be "+l,"XPTY0004");}return f}function c(t, +D){function l(u){throw new G(u,"FOJS0001");}function f(){return p=B()}function B(){for(p="";;){if(q>=t.length)return["eof"];var u=t.charAt(q++);if(!/[ \n\r\t]/.test(u))break}switch(u){case "[":case "{":case "]":case "}":case ":":case ",":return[u];case '"':for(u=!1;;){const P=t.charAt(q++);if('"'!==P||u)p+=P,u="\\"===P&&!u;else return["string",p];q>=t.length&&l("Unclosed quotes in string literal")}case "-":case "0":case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":for(p+= +u;q=u){if(p+=u,++q>=t.length)break}else break;if(["true","false","null"].includes(p))return[p];l("Unknown constant "+p);break;default:return l("Unexpected character '"+u+"' ("+Da(u)+") at position "+q),-1}}function L(u){p[0]!==u&&l("Expected "+u+", found "+ +p[0])}function y(u){return p[0]===u?(f(),!0):!1}function b(u){return p[0]===u?(f(),!0):","===p[0]?(f(),!1):l("Expected ',' or '"+u+"', found '"+p[0]+"'")}function d(){switch(p[0]){case "[":f();D.Qh();if(!y("]")){do d();while(!b("]"))}D.bh();break;case "{":f();D.Rh();if(!y("}")){do L("string"),D.Yg(p[1]),f(),L(":"),f(),d();while(!b("}"))}D.dh();break;case "string":D.ah(p[1]);f();break;case "number":D.$g(p[1]);f();break;case "true":case "false":D.Xg(p[0]);f();break;case "null":D.Zg();f();break;default:l("Unexpected token "+ +p[0])}}t=t.replace(/^[\uFEFF]/,"");let q=0,p=null;p=f();d();L("eof");return D.result()}function n(t){try{return JSON.parse('"'+t+'"')}catch(D){throw new G(D.toString(),"FOJS0001");}}function F(t,D){const l=D.Ab,f=D.Cd;let B;B=f?L=>f.evaluate([[La.XS.string.fromString(I(L))]],l).next().toString():()=>"\ufffd";t=t.replace(/[\x00-\x08\x0B\x0C\x0E-\x0F\x80-\x9F\uFFFF]/g,B);return t=t.replace(/[\uD800-\uDFFF]+/g,L=>{let y="";for(let b=0;bd||b=== +L.length-1&&"\udc00">d?B(d):d}return y})}function I(t){for(t=t.charCodeAt(0).toString(16);4>t.length;)t="0"+t;return"\\u"+t.toUpperCase()}function m(t,D){this.g=[];this.I=[];this.Ab=D;a(t,"liberal","boolean",!1);this.Cd=a(t,"fallback","function",null);this.B=a(t,"escape","boolean",!1);this.K=a(t,"duplicates","string","use-first",["reject","use-first","use-last"]);if(this.B&&this.Cd)throw new G("parse-json: cannot use fallback with escape:true()","FOJS0005");}function g(t,D){this.g=[];this.K=[];this.I= +[];this.Ab=D;a(t,"liberal","boolean",!1);if(a(t,"validate","boolean",!1))throw new G("json-to-xml: validate option not supported in a non-schema-aware processor","FOJS0004");this.Cd=a(t,"fallback","function",null);this.B=a(t,"escape","boolean",!1);this.aa=a(t,"duplicates","string","use-first",["reject","use-first","retain"]);if(this.B&&this.Cd)throw new G("json-to-xml: cannot use fallback with escape:true()","FOJS0005");}const e=Zb.Oa,k=La.XS,v=ac.Ja;m.prototype={g:[],I:[],Ab:null,B:!1,Cd:null,K:"use-first", +aa:function(t){return this.B?JSON.stringify(t).replace(/^"|"$/g,"").replace(/\\"/g,'"').replace(/[\uD800-\uDFFF]/g,I):F(t,this)},ua:function(){return this.g[this.g.length-1]},j:function(t){if(0===this.g.length)this.g.push(t);else if(this.ua()instanceof $c)this.ua().value.push(t);else{const D=this.ua(),l=k.string.fromString(this.I.pop());if(D.containsKey(l))switch(this.K){case "reject":throw new G("json-to-xml: duplicate key '"+l.toString()+"'","FOJS0003");case "use-first":return}D.inSituPut(l,t)}}, +Zg:function(){this.j([])},Xg:function(t){this.j([k.boolean.fromString(t)])},$g:function(t){this.j([k.double.fromNumber(parseFloat(t))])},ah:function(t){this.j([k.string.fromString(this.aa(n(t)))])},Yg:function(t){this.I.push(this.aa(n(t)))},Qh:function(){this.g.push(new $c([]))},bh:function(){this.j([this.g.pop()])},Rh:function(){this.g.push(new cc)},dh:function(){this.j([this.g.pop()])},result:function(){return void 0!==this.ua()[0]?this.ua()[0]:null}};g.prototype={g:[],K:[{}],I:[],Ab:null,Cd:null, +B:!1,aa:"use-first",V:function(t){return this.B?JSON.stringify(t).replace(/^"|"$/g,"").replace(/\\"/g,'"').replace(/[\uD800-\uDFFF]/g,I):F(t,this)},ua:function(){return this.g[this.g.length-1]},j:function(t){if(0===this.g.length)t.setAttribute("xmlns",e),this.g.push(t);else{const D=this.ua();if("map"===D.tagName){const l=this.K.pop(),f=this.I[this.I.length-1];if(l in f)switch(this.aa){case "reject":throw new G("parse-json: duplicate key '"+l.toString()+"'","FOJS0003");case "use-first":return}f[l]= +t;t.setAttribute("key",l);this.B&&/\\/.test(l.toString())&&t.setAttribute("escaped-key","true")}D.appendChild(t)}},Zg:function(){const t=this.Ab.ja.createElementNS(e,"null");this.j(t)},Xg:function(t){const D=this.Ab.ja.createElementNS(e,"boolean");D.appendChild(this.Ab.ja.createTextNode(t.toString()));this.j(D)},$g:function(t){const D=this.Ab.ja.createElementNS(e,"number");D.appendChild(this.Ab.ja.createTextNode(t.toString()));this.j(D)},ah:function(t){const D=this.Ab.ja.createElementNS(e,"string"); +if(""!==t){t=this.V(n(t));const l=this.Ab.ja.createTextNode(t);this.B&&/\\/.test(t)&&D.setAttribute("escaped","true");D.appendChild(l)}this.j(D)},Yg:function(t){this.K.push(this.V(n(t)))},Qh:function(){const t=this.Ab.ja.createElementNS(e,"array");this.g.push(t)},bh:function(){this.j(this.g.pop())},Rh:function(){const t=this.Ab.ja.createElementNS(e,"map");this.g.push(t);this.I.push({})},dh:function(){this.I.pop();this.j(this.g.pop())},result:function(){return this.ua()}};return{ye:function(t,D,l){return c(t, +new m(D,l))},wj:function(t,D,l){return c(t,new g(D,l))},Pj:function(t,D){function l(p){throw new G("Invalid input to xml-to-json(): "+p,"FOJS0006");}function f(p){0!==d.Fc(p).length&&l("node "+p.tagName+" must have no element children")}function B(p){v.Ka(p).filter(function(u){return(3===u.nodeType||4===u.nodeType)&&u.nodeValue&&""!==Ha.trim(u.nodeValue)}).next()&&l("node "+p.tagName+" must have no text content")}function L(p){try{return k.boolean.fromString(p).toBoolean()}catch(u){l("invalid boolean: '"+ +p+"'")}}function y(p){try{JSON.parse('"'+p+'"')}catch(u){throw new G("invalid escape sequence: "+u.toString(),"FOJS0007");}}function b(p,u=0){const P=0===u,la=q?" ".repeat(3*u):"";if(9===p.nodeType||11===p.nodeType){var oa=d.Fc(p);1!==oa.length&&l("document node has "+oa.length+" element children");return b(oa[0],u)}if(1===p.nodeType){let K=!1;if(p.namespaceURI===e){let ca=null!==d.$a(p)&&"map"===d.$a(p).localName;v.Ha(p).forEachItem(function(x){if(0>x.name.indexOf(":")||x.namespaceURI===e)"key"=== +x.name||"escaped-key"===x.name?"escaped-key"===x.name?(ca||P||l("@escaped-key is allowed only on children of map, or on root element"),L(x.value)&&y(p.getAttribute("key"))):ca||P||l("@key is allowed only on children of map, or on root element"):"escaped"===x.name?("string"!==p.localName&&l("@escaped is allowed only on string"),K=L(x.value)):l("invalid attribute "+x.name)});switch(p.localName){case "null":return v.Ka(p).filter(function(N){return 8!==N.nodeType&&7!==N.nodeType}).next()&&l("null element must have no content"), +"null";case "string":f(p);oa=p.textContent;if(K)oa=oa.replace(/^"/g,'\\"').replace(/^[\b]/g,"\\b").replace(/^\f/g,"\\f").replace(/^\n/g,"\\n").replace(/^\r/g,"\\r").replace(/^\t/g,"\\t").replace(/^\//g,"\\/").replace(/([^\\])"/g,'$1\\"').replace(/([^\\])[\b]/g,"$1\\b").replace(/([^\\])\f/g,"$1\\f").replace(/([^\\])\n/g,"$1\\n").replace(/([^\\])\r/g,"$1\\r").replace(/([^\\])\t/g,"$1\\t").replace(/([^\\])\//g,"$1\\/").replace(/[\u0001-\u001F\u007F-\u009F]/g,I),y(oa);else return JSON.stringify(oa).replace(/\//g, +"\\/");return'"'+oa+'"';case "number":f(p);try{oa=k.double.fromString(p.textContent)}catch(N){l("invalid number")}isFinite(oa.toNumber())||l("NaN and INF not allowed");return oa.toString();case "boolean":return f(p),L(p.textContent),k.boolean.fromString(p.textContent).toString();case "array":B(p);let x=q?"[\n":"[",E=q?la:"";d.Fc(p).forEach(function(N){x+=E+b(N,u+1);E=q?`,\n${la}`:","});return x+"]";case "map":B(p);let A=q?"{\n":"{",H=q?la:"";const S={};d.Fc(p).forEach(function(N){N.hasAttribute("key")|| +l("child element of map must have a key");const aa=d.getAttribute(N,"key");let ma=aa;const ia=d.getAttribute(N,"escaped-key");let Y=!1;ia&&L(ia)&&(Y=!0,ma=n(aa));S[ma]&&l("duplicate key '"+aa+"'");S[ma]=!0;A+=H+(Y?'"'+aa+'"':JSON.stringify(aa).replace(/\//g,"\\/"))+":"+b(N,u+1);H=q?`,\n${la}`:","});return q?(oa=0{H.setAttributeNS(g.uri,g.toString(),p.value)});for(let p in q)q.hasOwnProperty(p)&&(a=q[p],""===p?H.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns",a):H.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+p,a))}endElement(){0===--this.j?this.oc=null:this.oc=this.oc.parentNode;this.B=null}text(a){this.B?this.B.appendData(a):(a=this.fd.createTextNode(a),Rd(this,a),0Yd(a,q));else{if(c instanceof ad.XdmFunction)throw new F("Cannot add a function item to an XDM node tree","SENR0001");if(c instanceof cc)throw new F("Cannot add a map to an XDM node tree","SENR0001");Zd.Gh(c,a);a.j=!1}} -class $d extends Qd{constructor(a){super();this.g=a;this.j=this.I=this.B=!1}Ea(a={}){Xd(this,a);this.B=!1}za(){this.j=!1;this.g.za()}na(a,c,q,E={}){Xd(this,E);this.g.na(a,c,q,E)}endElement(){this.g.endElement();this.j=!1}text(a,c={}){Xd(this,c);super.text(a,c);this.j=!1}wa(a,c={}){Xd(this,c);super.wa(a,c);this.j=!1}va(a,c,q={}){Xd(this,q);super.va(a,c,q);this.j=!1}append(a,c={}){Xd(this,c);Yd(this,a)}close(){this.B&&this.za();super.close()}} +class Od{Ea(){}za(){}na(){}endElement(){}text(){}wa(){}va(){}append(){}close(){}}function Pd(a,c){a.g=c;return a}class Qd extends Od{constructor(){super();this.g=null}Ea(a={}){this.g.Ea(a)}za(){this.g.za()}na(a,c,n,F={}){this.g.na(a,c,n,F)}endElement(){this.g.endElement()}text(a,c={}){this.g.text(a,c)}wa(a,c={}){this.g.wa(a,c)}va(a,c,n={}){this.g.va(a,c,n)}append(a,c={}){this.g.append(a,c)}close(){this.g.close()}}function Rd(a,c){0===a.j?a.Pb.push(c):a.pc.appendChild(c)} +class Sd extends Od{constructor(a){super();this.gd=(this.ra=a)?ac.Hc(a.ja):qa.getPlatform().createDocument();this.Pb=[];this.pc=null;this.j=0;this.B=null}Ea(a={}){if(0===this.j++){const c=this.pc=this.gd.createDocumentFragment();a.BASE_URI&&(c._saxonBaseUri=a.BASE_URI);this.Pb.push(c)}else throw new G("Builder.startDoc() not at top level");}za(){0===--this.j&&(this.pc=null)}na(a,c,n,F={}){var I=this.gd.createElementNS(a.uri,a.toString());F.BASE_URI&&(I._saxonBaseUri=F.BASE_URI);F.ORIGINAL_NODE&&(I._saxonOriginal= +F.ORIGINAL_NODE);F.CALLBACK&&F.CALLBACK(I);Rd(this,I);this.pc=I;this.j++;this.B=null;c.forEach((m,g)=>{I.setAttributeNS(g.uri,g.toString(),m.value)});for(let m in n)n.hasOwnProperty(m)&&(a=n[m],""===m?I.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns",a):I.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+m,a))}endElement(){0===--this.j?this.pc=null:this.pc=this.pc.parentNode;this.B=null}text(a){this.B?this.B.appendData(a):(a=this.gd.createTextNode(a),Rd(this,a),0Yd(a,n));else{if(c instanceof ad.XdmFunction)throw new G("Cannot add a function item to an XDM node tree","SENR0001");if(c instanceof cc)throw new G("Cannot add a map to an XDM node tree","SENR0001");Zd.Gh(c,a);a.j=!1}} +class $d extends Qd{constructor(a){super();this.g=a;this.j=this.I=this.B=!1}Ea(a={}){Xd(this,a);this.B=!1}za(){this.j=!1;this.g.za()}na(a,c,n,F={}){Xd(this,F);this.g.na(a,c,n,F)}endElement(){this.g.endElement();this.j=!1}text(a,c={}){Xd(this,c);super.text(a,c);this.j=!1}wa(a,c={}){Xd(this,c);super.wa(a,c);this.j=!1}va(a,c,n={}){Xd(this,n);super.va(a,c,n);this.j=!1}append(a,c={}){Xd(this,c);Yd(this,a)}close(){this.B&&this.za();super.close()}} function ae(a,c={}){a.I||(a.g.Ea(c),a.I=!0,a.j=!0);a.B||a.g.append(a.K,{});a.B=!1} -class be extends Qd{constructor(a,c){super();this.g=a;this.I=this.j=!1;this.B=!0;this.K=La.XS.string.fromString(c)}Ea(a={}){ae(this,a);this.j=!1}za(){this.g.za()}na(a,c,q,E={}){ae(this,E);this.g.na(a,c,q,E)}endElement(){this.g.endElement()}text(a,c={}){ae(this,c);super.text(a,c)}wa(a,c={}){ae(this,c);super.wa(a,c)}va(a,c,q={}){ae(this,q);super.va(a,c,q)}append(a,c={}){if(cd.isArray(a))a.flatten(q=>this.append(q,c));else{if(a instanceof ad.XdmFunction)throw new F("Cannot add a function item to an XDM node tree", -"SENR0001");if(a instanceof cc)throw new F("Cannot add a map to an XDM node tree","SENR0001");La.pa(a)?(ae(this,c),this.g.append(a,c)):(ae(this,c),Zd.Gh(a,this))}}close(){this.j&&this.za();super.close()}}function ce(a,c){return a.g.findIndex(q=>q.equals(c))}class de{constructor(){this.g=[];this.j=[]}get(a){a=ce(this,a);return 0>a?void 0:this.j[a]}set(a,c){const q=ce(this,a);0<=q?this.j[q]=c:(this.g.push(a),this.j.push(c))}forEach(a){for(let c=0;cthis.append(n,c));else{if(a instanceof ad.XdmFunction)throw new G("Cannot add a function item to an XDM node tree", +"SENR0001");if(a instanceof cc)throw new G("Cannot add a map to an XDM node tree","SENR0001");La.pa(a)?(ae(this,c),this.g.append(a,c)):(ae(this,c),Zd.Gh(a,this))}}close(){this.j&&this.za();super.close()}}function ce(a,c){return a.g.findIndex(n=>n.equals(c))}class de{constructor(){this.g=[];this.j=[]}get(a){a=ce(this,a);return 0>a?void 0:this.j[a]}set(a,c){const n=ce(this,a);0<=n?this.j[n]=c:(this.g.push(a),this.j.push(c))}forEach(a){for(let c=0;cd.append(l))}}return A}}function c(f){let A=f.N;f.parentNode&&(A=c(f.parentNode)+"/"+A);return A}function q(f){if(f.C){const A=f.C.map(a);return function(O,b){A.forEach(d=>d(O,b))}}return()=>{}}function E(f,A,O,b,d,l){if(ac.X(f))switch(f.nodeType){case 9:case 11:O.pb=ac.baseURI(f);p(f,O,d,l);break;case 1:if(f.hasAttribute("xml:base")){const r=f.getAttribute("xml:base"); -O.pb=ac.ld(r)?r:pa.Fb(r.toString(),cd.Ia(b,A)).toString()}else O.pb=ac.baseURI(f);p(f,O,d,l);break;case 3:case 4:O.text(f.nodeValue);break;case 7:O.va(f.target,f.data);break;case 8:O.wa(f.textContent);break;default:O.append(f)}else O.append(f)}function H(f,A,O){switch(f.nodeType){case 9:case 11:A.Ea(O?{BASE_URI:O}:{});f=f.childNodes;for(O=0;Or||O.index===r&&d)&&b.push({Lc:!1,string:l(f.substring(r,O.index))}),b.push({Lc:!0,groups:O,string:l(O[0])}),r=A.lastIndex,0===O[0].length&&A.lastIndex++,n++>10*f.length)throw new F("analyze-string looping???","SXJS0004");f.length>r&&b.push({Lc:!1,string:l(f.substring(r,f.length))});return b}function v(f){const A="compAtt"===f.N,O=cd.ib(cd.da(f,"name")),b=cd.ib(cd.da(f,"namespace"));return d=>{function l(){throw new F((A?"Attribute":"Element")+" name '"+r+"' is not a lexical QName", -A?"XTDE0850":"XTDE0820",f);}let r=Ha.trim(O(d).next().toString());if(b){d=(d=b(d).next())?d.value:"";if(!cd.Oj(d))throw new F((A?"Attribute":"Element")+" namespace '"+d+"' is invalid",A?"XTDE0865":"XTDE0835",f);var n=La.XS.QName;if(""===d&&r.includes(":"))n=n.fromParts("","",r.replace(/^.*:/,""));else if(r.includes(":")){const B=r.split(":");""!==B[0]&&""!==B[1]||l();n=n.fromParts(B[0],d,B[1])}else n=""===d?n.fromParts("","",r):n.fromParts(A?"ns0":"",d,r)}else{if(A&&"xmlns"===r)throw new F("Attribute must not be named xmlns", -"XTDE0855",f);try{n=cd.sg(f,r,!A)}catch(B){if(B instanceof F){if("XTDE0290"===B.code)throw new F((A?"Attribute":"Element")+" name '"+r+"' has an unbound prefix",A?"XTDE0860":"XTDE0830",f);"FORG0001"===B.code&&l()}throw B;}}if("http://www.w3.org/2000/xmlns/"===n.uri)throw new F("Disallowed namespace "+n.uri,A?"XTDE0865":"XTDE0835",f);return n}}class t{constructor(){}Ea(){}za(){}na(){}Ha(){}ob(){}endElement(){}text(){}wa(){}va(){}append(){}close(){}}class C extends t{constructor(f){super();this.j=f; -this.V=[];this.zb=[];this.pb=null;this.g=0;this.eb=this.I=null;this.K={};this.Ca=null;this.B=this.ra=!1;this.xa={};this.Nc=null}ta(f,A,O){var b=this.K[f];if(b&&b!==A)if("ns"===O){if(this.xa[f])throw new F("Two conflicting bindings for prefix '"+f+"'","XTDE0430");if(this.I.prefix===f){for(b=f+"_9";this.K[b];)b+="9";this.I=La.XS.QName.fromParts(b,this.I.uri,this.I.local);this.K[b]=this.I.uri}this.K[f]=A}else return""===f&&(f="NULL"),this.ta(f+"0",A,O);"ns"===O&&(this.xa[f]=A);if("elem"===O&&""===A)for(b= -this.V.length-1;0<=b;b--)if(""===this.V[b][0]){this.K[""]="";break}if(""!==f||""!==A){b=!1;for(let d=this.V.length-1;0<=d;d--){const l=this.V[d];if(l[0]===f){l[1]===A&&(b=!0);break}}if(!b){if(this.xa[f]&&this.xa[f]!==A)return this.ta(f+"0",A,O);this.K[f]=A}}return f}Ea(){0===this.g&&(this.j.Ea({BASE_URI:this.pb,ORIGINAL_NODE:this.Nc}),this.V=[]);this.aa();this.g++;this.B=this.ra=!1}za(){this.g--;0===this.g&&this.j.za();this.B=!1}na(f){this.aa();this.g++;this.ra=!0;this.I=f;this.eb=new de;this.K={}; -this.xa={};this.ta(f.prefix,f.uri,"elem");this.Ca=this.Nc;this.B=!1}Ha(f,A){if(0===this.g)this.j.append(new $b(f,A,null));else{if(!this.ra){if(this.I)throw new F("Cannot write attribute ("+f.toEQName()+"="+A+") after writing child nodes (level="+this.g+", start tag = "+this.I+")","XTDE0410");throw new F("Cannot attach an attribute ("+f.toEQName()+"="+A+") to a document node","XTDE0420");}if(""!==f.uri){["","xmlns"].includes(f.prefix)&&(f=f.withPrefix("ns_"));const O=this.ta(f.prefix,f.uri,"att"); -O!==f.prefix&&(f=f.withPrefix(O))}this.eb.set(f,{value:A,kb:0})}}ob(f,A){if(0===this.g)this.j.append(new bc(f,A));else{if(!this.ra)throw new F("Cannot write namespace after writing child nodes","XTDE0410");if(""===f&&""===this.I.uri)throw new F("Cannot add default namespace declaration to a no-namespace element","XTDE0440");this.ta(f,A,"ns")}}endElement(){this.aa();this.j.endElement();this.g--;let f=this.zb.pop();for(;0this.append(A));break;default:this.aa(),p(f,this,!0,!1)}this.B=!1}else if(0===this.g)this.j.append(f,{}),this.B=!1;else if(La.pa(f))this.aa(),this.text((this.B?" ":"")+f.toString(), -{}),this.B=!0;else if(cd.isArray(f)){f=f.value;for(let A=0;A{try{let B=A(r).next();if(null===B)return Ob;B=B.toString();const W=O(r).next().toString(),ma=b(r).next().toString(),qa=k(B,W,ma,!0,!1),L=r.ba(!1),aa=qa.map(z=>z.string);L.focus=Sb(Kb(aa));L.focus.forEachItem(()=>{const z=qa[L.focus.position-1];z.Lc?d&&(L.Mb=z.groups,d(L,n)):l&&(L.Mb=[],l(L, -n))})}catch(B){if(B instanceof F&&"FORX0002"===B.code)throw new F(B.message,"XTDE1140");if(B instanceof F&&"FORX0001"===B.code)throw new F(B.message,"XTDE1145");throw B;}}},applyImports:function(f){return function(A,O){const b=A.gb.mode;if(!b)throw new F("applyImports: no current mode","XTDE0560",f);fd(A,"XTDE0560","xsl:apply-imports",f);const d=A.ba(!0);d.sa=A.gb;cd.Ve(f,A,d);d.focus=A.focus;return b.ki(d,O)}},applyT:function(f){const A=cd.Sa(f),O=cd.ib(cd.da(f,"separator"));return function(b,d){let l; -const r=b.ba(!0);if(cd.Db(f,"c"))l=b.gb.mode,["function","globalVariable","globalParam"].includes(b.sa.actor.N)&&(l=cd.ke(f,b).Wh),r.sa=b.gb;else{var n=cd.ig(f,b,"mode");l=n.mode;if(l.Bh)throw new F("Mode "+l.Re.name+" only handles typed nodes","XTTE3100",f);r.sa=n}cd.Ve(f,b,r);n=O?O(b).next():null;r.focus=Sb(A(b));r.focus.Mb=b.focus?b.focus.Mb:null;l.Hb(r,d,n)}},att:function(f){const A=f.name,O=A.split(":");let b;b=f.nsuri?2===O.length?La.XS.QName.fromParts(O[0],f.nsuri,O[1]):La.XS.QName.fromParts("", -f.nsuri,A):La.XS.QName.fromString(A,cd.Wd(f,!1));const d=cd.Sa(f);return function(l,r){l=g(d(l));r.Ha(b,l)}},"break":function(f){const A=q(f);return function(O,b){A(O,b);O.focus.position=-999}},callT:function(f){return function(A,O){const b=cd.ig(f,A,"template"),d=A.ba(!0);d.Bb=null;d.sa=b;cd.Tf(b.actor,d);cd.Ve(f,A,d);A=b.actor;A.C&&q(A)(d,O)}},choose:function(f){f=f.C;const A=[],O=[];for(let b=0;b -A(O,b),b)}},copyOf:function(f){const A=cd.Db(f,"c"),O=cd.Db(f,"m"),b=cd.Sa(f);q(f);return function(d,l){b(d).forEachItem(r=>E(r,d,l,f,A,O))}},doc:function(f){const A=q(f);return function(O,b){b.pb=cd.Ia(f,O);b.Ea();A(O,b);b.za()}},elem:function(f){const A=f.name,O=A.split(":"),b=q(f);let d;d="undefined"!==typeof f.nsuri?2===O.length?La.XS.QName.fromParts(O[0],f.nsuri,O[1]):La.XS.QName.fromParts("",f.nsuri,A):La.XS.QName.fromString(A,cd.Wd(f,!0));return function(l,r){f.baseUri&&(r.pb=f.baseUri);r.na(d); -if(f.namespaces){const B=f.namespaces.toString().split(" ");for(let W=0;W{n?n=!1:l.text(B.value,{});O(r,l)})}else r.focus.forEachItem(()=>O(r,l))}},forEachGroup:function(f){const A=cd.ib(cd.da(f,"select")),O=Zd.wi(cd.da(f,"content"));return(b,d)=>{function l(L){const aa=[];r.forEachItem(function(z){L(aa,z)});return aa}const r=Sb(A(b)),n=b.ba(!1);n.focus=r;var B={starting:function(){const L=Kd.od(cd.da(f,"match"));return l(function(aa,z){1===r.position||Kd.matches(L,z,n)?aa.push({group:[z]}):aa[aa.length-1].group.push(z)})},ending:function(){const L= -Kd.od(cd.da(f,"match"));let aa=!1;return l(function(z,D){1===r.position||aa?z.push({group:[D]}):z[z.length-1].group.push(D);aa=Kd.matches(L,D,n)})},adjacent:function(){var L=cd.da(f,"collation");L=L?cd.evaluate(L,b).next().toString():Hd.$c;const aa=Hd.eg(L,b),z=cd.da(f,"key");let D=null;return l(function(y,I){var R=cd.evaluate(z,n).expand();1!==r.position&&Fd(Kb(R),Kb(D),aa.equals)?y[y.length-1].group.push(I):(y.push({group:[I],key:R}),D=R)})},by:function(){var L=cd.da(f,"collation");L=L?cd.evaluate(L, -b).next().toString():Hd.$c;L=Hd.eg(L,b);const aa=Hd.xf(L,!1),z=cd.da(f,"key");return l(function(D,y){let I,R=[];cd.evaluate(z,n).forEachItem(function(M){aa.containsKey(M)?(I=aa.get(M),0>R.findIndex(function(ca){return ca===I})&&(D[I].group.push(y),R.push(I))):(I=D.length,D.push({group:[y],key:[M]}),aa.inSituPut(M,I),R.push(I))})})},by_c:function(){var L=cd.da(f,"collation");L=L?cd.evaluate(L,b).next().toString():Hd.$c;L=Hd.eg(L,b);const aa=cd.da(f,"key"),z=Hd.xf(L,!0);return l(function(D,y){let I, -R=cd.evaluate(aa,n).expand();z.containsKey(R)?(I=z.get(R),D[I].group.push(y)):(I=D.length,D.push({group:[y],key:R}),z.inSituPut(R,I))})}};B.adjacent_c=B.adjacent;var W=f.algorithm+(cd.Db(f,"c")?"_c":"");let ma;try{ma=B[W]()}catch(L){if(L instanceof F&&"FOCH0002"===L.code)throw new F("Unknown collation:"+L.message,"XTDE1110");throw L;}const qa=cd.qb(f,"sortKey");if(0I)return-1;if(0W(l));var n=l.ba(!1);n.focus=Sb(O(l));n.ab=null;let B=!1;for(;null!==n.focus.next();)if(b(n,r),-999===n.focus.position){B=!0;break}!B&&d&&(n=l.ba(!1),n.focus=null,d(n,r))}},let:function(f){const A=cd.Sa(f),O=a(f.C[1]),b=parseInt(f.slot,10);return function(d,l){const r=d.qa;d.qa="variable";const n=A(d).expand();d.qa=r;d.oa[b]=n;O(d,l)}},nextIteration:function(f){const A=cd.qb(f,"withParam").map(O=>({select:cd.Sa(O),slot:parseInt(O.slot,10)}));return function(O){A.forEach(b=> -b.value=b.select(O).expand());A.forEach(b=>O.oa[b.slot]=b.value)}},nextMatch:function(f){return function(A,O){const b=A.gb.mode;if(!b)throw new F("next-match: no current mode","XTDE0560",f);if(!A.ab)throw new F("next-match: no current template","XTDE0560",f);if(ee(A))throw new F("next-match: no context item","XTDE0560",f);const d=A.ba(!0);d.sa=A.gb;cd.Ve(f,A,d);return b.qj(d,O)}},procInst:function(f){const A=cd.Sa(f),O=cd.Vg(f);return function(b,d){const l=A(b).next().toString();if(!Ha.Lb(l))throw new F("The name of a processing-instruction must be a valid NCName; supplied value: "+ -l.toString(),"XTDE0890",f);if(/^[Xx][Mm][Ll]$/.test(l))throw new F("The name of a processing-instruction must not be 'xml'","XTDE0890",f);b=O(b);b=g(b).replace(/\?>/g,"? >").replace(/^\s+/,"");d.va(l,b)}},sequence:q,sourceDoc:function(f){const A=cd.ib(cd.da(f,"href")),O=a(f.C[1]);return function(b,d){const l=b.ba(!1);var r=null===A?"":A(b).next().toString();r=pa.Fb(r,cd.Ia(f,b));r=Nd.Dc(r,b);b=b.fixed.Ee;null!==b&&(r=b(r));l.focus=Rb(r);l.ab=null;O(l,d)}},useAS:function(f){return function(A,O){var b= -cd.ig(f,A,"attributeSet");A=A.ba(!0);A.qa="attribute set";A.sa=b;b=b.actor;b.C&&q(b)(A,O)}},valueOf:function(f){const A=cd.Sa(f);let O={};cd.Db(f,"d")&&(O.DISABLE_ESCAPING=!0);return function(b,d){b=g(A(b));d.text(b,O)}}};return{Of:k,wi:a,Fc:function(f){return new C(f)},push:function(f,A,O){if("undefined"===typeof O)throw sa.Ma(Error().stack,1,A.fixed.Ta),new F("No output for "+c(f));if(m[f.N]){var b=a(f);try{b(A,O)}catch(d){throw d instanceof F&&!d.xsltLineNr&&ra(d,f),d;}}else{b=cd.ib(f);try{const d= -b(A);let l;for(;null!=(l=d.next());)O.append(l)}catch(d){throw d instanceof F&&!d.xsltLineNr&&ra(d,f),d;}}},Gh:H,qf:E,rg:e}}(); +var Zd=function(){function a(f){if(f){var B=f.PUSH;if(!B)if(B=l[f.N])f.PUSH=B=B(f);else{const L=cd.ib(f);f.PUSH=B=function(y,b){L(y).forEachItem(d=>b.append(d))}}return B}}function c(f){let B=f.N;f.parentNode&&(B=c(f.parentNode)+"/"+B);return B}function n(f){if(f.C){const B=f.C.map(a);return function(L,y){B.forEach(b=>b(L,y))}}return()=>{}}function F(f,B,L,y,b,d){if(ac.X(f))switch(f.nodeType){case 9:case 11:L.pb=ac.baseURI(f);m(f,L,b,d);break;case 1:if(f.hasAttribute("xml:base")){const q=f.getAttribute("xml:base"); +L.pb=ac.ld(q)?q:qa.Fb(q.toString(),cd.Ia(y,B)).toString()}else L.pb=ac.baseURI(f);m(f,L,b,d);break;case 3:case 4:L.text(f.nodeValue);break;case 7:L.va(f.target,f.data);break;case 8:L.wa(f.textContent);break;default:L.append(f)}else L.append(f)}function I(f,B,L){switch(f.nodeType){case 9:case 11:B.Ea(L?{BASE_URI:L}:{});f=f.childNodes;for(L=0;Lq||L.index===q&&b)&&y.push({Nc:!1,string:d(f.substring(q,L.index))}),y.push({Nc:!0,groups:L,string:d(L[0])}),q=B.lastIndex,0===L[0].length&&B.lastIndex++,p++>10*f.length)throw new G("analyze-string looping???","SXJS0004");f.length>q&&y.push({Nc:!1,string:d(f.substring(q,f.length))});return y}function v(f){const B="compAtt"===f.N,L=cd.ib(cd.da(f,"name")),y=cd.ib(cd.da(f,"namespace"));return b=>{function d(){throw new G((B?"Attribute":"Element")+" name '"+q+"' is not a lexical QName", +B?"XTDE0850":"XTDE0820",f);}let q=Ha.trim(L(b).next().toString());if(y){b=(b=y(b).next())?b.value:"";if(!cd.Oj(b))throw new G((B?"Attribute":"Element")+" namespace '"+b+"' is invalid",B?"XTDE0865":"XTDE0835",f);var p=La.XS.QName;if(""===b&&q.includes(":"))p=p.fromParts("","",q.replace(/^.*:/,""));else if(q.includes(":")){const u=q.split(":");""!==u[0]&&""!==u[1]||d();p=p.fromParts(u[0],b,u[1])}else p=""===b?p.fromParts("","",q):p.fromParts(B?"ns0":"",b,q)}else{if(B&&"xmlns"===q)throw new G("Attribute must not be named xmlns", +"XTDE0855",f);try{p=cd.tg(f,q,!B)}catch(u){if(u instanceof G){if("XTDE0290"===u.code)throw new G((B?"Attribute":"Element")+" name '"+q+"' has an unbound prefix",B?"XTDE0860":"XTDE0830",f);"FORG0001"===u.code&&d()}throw u;}}if("http://www.w3.org/2000/xmlns/"===p.uri)throw new G("Disallowed namespace "+p.uri,B?"XTDE0865":"XTDE0835",f);return p}}class t{constructor(){}Ea(){}za(){}na(){}Ha(){}ob(){}endElement(){}text(){}wa(){}va(){}append(){}close(){}}class D extends t{constructor(f){super();this.j=f; +this.V=[];this.zb=[];this.pb=null;this.g=0;this.eb=this.I=null;this.K={};this.Ca=null;this.B=this.ra=!1;this.xa={};this.Oc=null}ta(f,B,L){var y=this.K[f];if(y&&y!==B)if("ns"===L){if(this.xa[f])throw new G("Two conflicting bindings for prefix '"+f+"'","XTDE0430");if(this.I.prefix===f){for(y=f+"_9";this.K[y];)y+="9";this.I=La.XS.QName.fromParts(y,this.I.uri,this.I.local);this.K[y]=this.I.uri}this.K[f]=B}else return""===f&&(f="NULL"),this.ta(f+"0",B,L);"ns"===L&&(this.xa[f]=B);if("elem"===L&&""===B)for(y= +this.V.length-1;0<=y;y--)if(""===this.V[y][0]){this.K[""]="";break}if(""!==f||""!==B){y=!1;for(let b=this.V.length-1;0<=b;b--){const d=this.V[b];if(d[0]===f){d[1]===B&&(y=!0);break}}if(!y){if(this.xa[f]&&this.xa[f]!==B)return this.ta(f+"0",B,L);this.K[f]=B}}return f}Ea(){0===this.g&&(this.j.Ea({BASE_URI:this.pb,ORIGINAL_NODE:this.Oc}),this.V=[]);this.aa();this.g++;this.B=this.ra=!1}za(){this.g--;0===this.g&&this.j.za();this.B=!1}na(f){this.aa();this.g++;this.ra=!0;this.I=f;this.eb=new de;this.K={}; +this.xa={};this.ta(f.prefix,f.uri,"elem");this.Ca=this.Oc;this.B=!1}Ha(f,B){if(0===this.g)this.j.append(new $b(f,B,null));else{if(!this.ra){if(this.I)throw new G("Cannot write attribute ("+f.toEQName()+"="+B+") after writing child nodes (level="+this.g+", start tag = "+this.I+")","XTDE0410");throw new G("Cannot attach an attribute ("+f.toEQName()+"="+B+") to a document node","XTDE0420");}if(""!==f.uri){["","xmlns"].includes(f.prefix)&&(f=f.withPrefix("ns_"));const L=this.ta(f.prefix,f.uri,"att"); +L!==f.prefix&&(f=f.withPrefix(L))}this.eb.set(f,{value:B,kb:0})}}ob(f,B){if(0===this.g)this.j.append(new bc(f,B));else{if(!this.ra)throw new G("Cannot write namespace after writing child nodes","XTDE0410");if(""===f&&""===this.I.uri)throw new G("Cannot add default namespace declaration to a no-namespace element","XTDE0440");this.ta(f,B,"ns")}}endElement(){this.aa();this.j.endElement();this.g--;let f=this.zb.pop();for(;0this.append(B));break;default:this.aa(),m(f,this,!0,!1)}this.B=!1}else if(0===this.g)this.j.append(f,{}),this.B=!1;else if(La.pa(f))this.aa(),this.text((this.B?" ":"")+f.toString(), +{}),this.B=!0;else if(cd.isArray(f)){f=f.value;for(let B=0;B{try{let u=B(q).next();if(null===u)return Ob;u=u.toString();const P=L(q).next().toString(),la=y(q).next().toString(),oa=k(u,P,la,!0,!1),K=q.ba(!1),ca=oa.map(x=>x.string);K.focus=Sb(Kb(ca));K.focus.forEachItem(()=>{const x=oa[K.focus.position-1];x.Nc?b&&(K.Nb=x.groups,b(K,p)):d&&(K.Nb=[],d(K, +p))})}catch(u){if(u instanceof G&&"FORX0002"===u.code)throw new G(u.message,"XTDE1140");if(u instanceof G&&"FORX0001"===u.code)throw new G(u.message,"XTDE1145");throw u;}}},applyImports:function(f){return function(B,L){const y=B.gb.mode;if(!y)throw new G("applyImports: no current mode","XTDE0560",f);fd(B,"XTDE0560","xsl:apply-imports",f);const b=B.ba(!0);b.sa=B.gb;cd.Ve(f,B,b);b.focus=B.focus;return y.ki(b,L)}},applyT:function(f){const B=cd.Sa(f),L=cd.ib(cd.da(f,"separator"));return function(y,b){let d; +const q=y.ba(!0);if(cd.Db(f,"c"))d=y.gb.mode,["function","globalVariable","globalParam"].includes(y.sa.actor.N)&&(d=cd.me(f,y).Wh),q.sa=y.gb;else{var p=cd.ig(f,y,"mode");d=p.mode;if(d.Bh)throw new G("Mode "+d.Re.name+" only handles typed nodes","XTTE3100",f);q.sa=p}cd.Ve(f,y,q);p=L?L(y).next():null;q.focus=Sb(B(y));q.focus.Nb=y.focus?y.focus.Nb:null;d.Hb(q,b,p)}},att:function(f){const B=f.name,L=B.split(":");let y;y=f.nsuri?2===L.length?La.XS.QName.fromParts(L[0],f.nsuri,L[1]):La.XS.QName.fromParts("", +f.nsuri,B):La.XS.QName.fromString(B,cd.Xd(f,!1));const b=cd.Sa(f);return function(d,q){d=g(b(d));q.Ha(y,d)}},"break":function(f){const B=n(f);return function(L,y){B(L,y);L.focus.position=-999}},callT:function(f){return function(B,L){const y=cd.ig(f,B,"template"),b=B.ba(!0);b.Bb=null;b.sa=y;cd.Tf(y.actor,b);cd.Ve(f,B,b);B=y.actor;B.C&&n(B)(b,L)}},choose:function(f){f=f.C;const B=[],L=[];for(let y=0;y +B(L,y),y)}},copyOf:function(f){const B=cd.Db(f,"c"),L=cd.Db(f,"m"),y=cd.Sa(f);n(f);return function(b,d){y(b).forEachItem(q=>F(q,b,d,f,B,L))}},doc:function(f){const B=n(f);return function(L,y){y.pb=cd.Ia(f,L);y.Ea();B(L,y);y.za()}},elem:function(f){const B=f.name,L=B.split(":"),y=n(f);let b;b="undefined"!==typeof f.nsuri?2===L.length?La.XS.QName.fromParts(L[0],f.nsuri,L[1]):La.XS.QName.fromParts("",f.nsuri,B):La.XS.QName.fromString(B,cd.Xd(f,!0));return function(d,q){f.baseUri&&(q.pb=f.baseUri);q.na(b); +if(f.namespaces){const u=f.namespaces.toString().split(" ");for(let P=0;P{p?p=!1:d.text(u.value,{});L(q,d)})}else q.focus.forEachItem(()=>L(q,d))}},forEachGroup:function(f){const B=cd.ib(cd.da(f,"select")),L=Zd.wi(cd.da(f,"content"));return(y,b)=>{function d(K){const ca=[];q.forEachItem(function(x){K(ca,x)});return ca}const q=Sb(B(y)),p=y.ba(!1);p.focus=q;var u={starting:function(){const K=Kd.od(cd.da(f,"match"));return d(function(ca,x){1===q.position||Kd.matches(K,x,p)?ca.push({group:[x]}):ca[ca.length-1].group.push(x)})},ending:function(){const K= +Kd.od(cd.da(f,"match"));let ca=!1;return d(function(x,E){1===q.position||ca?x.push({group:[E]}):x[x.length-1].group.push(E);ca=Kd.matches(K,E,p)})},adjacent:function(){var K=cd.da(f,"collation");K=K?cd.evaluate(K,y).next().toString():Hd.ad;const ca=Hd.eg(K,y),x=cd.da(f,"key");let E=null;return d(function(A,H){var S=cd.evaluate(x,p).expand();1!==q.position&&Fd(Kb(S),Kb(E),ca.equals)?A[A.length-1].group.push(H):(A.push({group:[H],key:S}),E=S)})},by:function(){var K=cd.da(f,"collation");K=K?cd.evaluate(K, +y).next().toString():Hd.ad;K=Hd.eg(K,y);const ca=Hd.xf(K,!1),x=cd.da(f,"key");return d(function(E,A){let H,S=[];cd.evaluate(x,p).forEachItem(function(N){ca.containsKey(N)?(H=ca.get(N),0>S.findIndex(function(aa){return aa===H})&&(E[H].group.push(A),S.push(H))):(H=E.length,E.push({group:[A],key:[N]}),ca.inSituPut(N,H),S.push(H))})})},by_c:function(){var K=cd.da(f,"collation");K=K?cd.evaluate(K,y).next().toString():Hd.ad;K=Hd.eg(K,y);const ca=cd.da(f,"key"),x=Hd.xf(K,!0);return d(function(E,A){let H, +S=cd.evaluate(ca,p).expand();x.containsKey(S)?(H=x.get(S),E[H].group.push(A)):(H=E.length,E.push({group:[A],key:S}),x.inSituPut(S,H))})}};u.adjacent_c=u.adjacent;var P=f.algorithm+(cd.Db(f,"c")?"_c":"");let la;try{la=u[P]()}catch(K){if(K instanceof G&&"FOCH0002"===K.code)throw new G("Unknown collation:"+K.message,"XTDE1110");throw K;}const oa=cd.qb(f,"sortKey");if(0H)return-1;if(0P(d));var p=d.ba(!1);p.focus=Sb(L(d));p.ab=null;let u=!1;for(;null!==p.focus.next();)if(y(p,q),-999===p.focus.position){u=!0;break}!u&&b&&(p=d.ba(!1),p.focus=null,b(p,q))}},let:function(f){const B=cd.Sa(f),L=a(f.C[1]),y=parseInt(f.slot,10);return function(b,d){const q=b.qa;b.qa="variable";const p=B(b).expand();b.qa=q;b.oa[y]=p;L(b,d)}},nextIteration:function(f){const B=cd.qb(f,"withParam").map(L=>({select:cd.Sa(L),slot:parseInt(L.slot,10)}));return function(L){B.forEach(y=> +y.value=y.select(L).expand());B.forEach(y=>L.oa[y.slot]=y.value)}},nextMatch:function(f){return function(B,L){const y=B.gb.mode;if(!y)throw new G("next-match: no current mode","XTDE0560",f);if(!B.ab)throw new G("next-match: no current template","XTDE0560",f);if(ee(B))throw new G("next-match: no context item","XTDE0560",f);const b=B.ba(!0);b.sa=B.gb;cd.Ve(f,B,b);return y.qj(b,L)}},procInst:function(f){const B=cd.Sa(f),L=cd.Wg(f);return function(y,b){const d=B(y).next().toString();if(!Ha.Mb(d))throw new G("The name of a processing-instruction must be a valid NCName; supplied value: "+ +d.toString(),"XTDE0890",f);if(/^[Xx][Mm][Ll]$/.test(d))throw new G("The name of a processing-instruction must not be 'xml'","XTDE0890",f);y=L(y);y=g(y).replace(/\?>/g,"? >").replace(/^\s+/,"");b.va(d,y)}},sequence:n,sourceDoc:function(f){const B=cd.ib(cd.da(f,"href")),L=a(f.C[1]);return function(y,b){const d=y.ba(!1);var q=null===B?"":B(y).next().toString();q=qa.Fb(q,cd.Ia(f,y));q=Nd.Ec(q,y);y=y.fixed.Ee;null!==y&&(q=y(q));d.focus=Rb(q);d.ab=null;L(d,b)}},useAS:function(f){return function(B,L){var y= +cd.ig(f,B,"attributeSet");B=B.ba(!0);B.qa="attribute set";B.sa=y;y=y.actor;y.C&&n(y)(B,L)}},valueOf:function(f){const B=cd.Sa(f);let L={};cd.Db(f,"d")&&(L.DISABLE_ESCAPING=!0);return function(y,b){y=g(B(y));b.text(y,L)}}};return{Of:k,wi:a,Gc:function(f){return new D(f)},push:function(f,B,L){if("undefined"===typeof L)throw sa.Ma(Error().stack,1,B.fixed.Ta),new G("No output for "+c(f));if(l[f.N]){var y=a(f);try{y(B,L)}catch(b){throw b instanceof G&&!b.xsltLineNr&&ra(b,f),b;}}else{y=cd.ib(f);try{const b= +y(B);let d;for(;null!=(d=b.next());)L.append(d)}catch(b){throw b instanceof G&&!b.xsltLineNr&&ra(b,f),b;}}},Gh:I,rf:F,sg:e}}(); // Input 33 -const fe=function(){function a(L,aa,z,D,y){function I(V){return null===r.Xa(V)}function R(V){return V.nodeType===M.nodeType&&(null===ea?!0:r.ca(V).equals(ea))}let M;const ca=y.fixed.ka;if(aa){if(M=ca.evaluate(aa,y).next(),!M||!r.X(M))throw new F("xsl:number/@select must yield a single node","XTTE1000");}else fd(y,"XTTE0990","xsl:number"),M=ed(y);const ea=r.ca(M);let ja=R;if(null!==z){const V=Kd.od(z);ja=function(la){return Kd.matches(V,la,y)}}if(null===D)aa=I;else{const V=Kd.od(D);aa=function(la){return I(la)|| -Kd.matches(V,la,y)}}let Y;switch(L){case "simple":return L=n.Oc(M).filter(R),Ub(L.count()+1);case "single":L=n.Ya(M).filter(ja).next();Y=n.Ya(M).filter(aa).next();L=null===L?null:null!==n.Ya(L).filter(function(la){return r.isSameNode(la,Y)}).next()?L:null;if(null===L)return Ob;L=n.Oc(L).filter(ja);return Ub(L.count()+1);case "multi":L=Kb(n.Ya(M).filter(ja).expand().reverse());Y=n.Ya(M).filter(aa).next();L=L.filter(function(la){return null!==n.Ya(la).filter(function(x){return r.isSameNode(x,Y)}).next()}); -const V=B.integer.fromNumber;return L.mapOneToOne(la=>V(n.Oc(la).filter(ja).count()+1));case "any":return z=function(la,x){return r.rb(x,la)},L=new Eb(n.og(M).filter(ja),n.Ya(M).filter(ja),z),Y=(new Eb(n.og(M).filter(aa),n.Ya(M).filter(aa),z)).next(),null===Y&&sa.la("from pattern selected empty"),L=L.filter(function(la){return 0<=r.rb(la,Y)}),L=L.count(),0===L?Ob:Ub(L);default:return sa.la("unknown xsl:number/@level "+L),Ob}}function c(L,aa,z,D,y,I,R){function M(ea){let ja;""===ea&&(ea="1");if(/^[\x01-\x7f]*$/.test(ea))ea= -ea.split(/\b/),ja=function(la){return/\w+/.test(la)};else{if(ea.length!==Da(ea).length)throw new F("Cannot handle non-BMP characters in format-number picture","SXJS0002");const la=Zd.Of(ea,"[\\p{Nd}\\p{Nl}\\p{No}\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}]+","",!0,!1);ja=function(x,K){return la[K].Lc};ea=la.map(function(x){return x.string.toString()})}const Y={prefix:"",ed:[],Xd:""};let V=".";for(let la=0;la=Y.ed.length?Y.ed[Y.ed.length-1]:Y.ed[x];0!==x&&(V+=K.Kh);x=K.Pg;y&&(x+=";o");la=fe.bg(la.toNumber(),x);null!==z&&null!==D&&(la=fe.Mf(la, -z,D));V+=la});V+=Y.Xd;return Tb(V)}(L.expand())}function q(L,aa,z,D,y){const I=y.fixed.ka;let R=[1];null!==z&&(R=I.evaluate(z,y).next().toString().split(/\s+/).map(function(M){if(!/^-?[0-9]+$/.test(M))throw new F("xsl:number/@start-at must be a sequence of integers. Offending value: "+M,"XTSE0020");return parseInt(M,10)}));if(aa&&D){L=L.next();if(null===L)return null;try{L=B.integer.R(L.round(0))}catch(M){return null}L=Kb([L])}return L.mapOneToOne(function(M,ca){M=M.isNumeric()?M.toDouble():B.double.cf(M.toString()); -if(0>M.toNumber())throw new F(`xsl:number/@value is less than zero (${M.toString()})`,"XTDE0980");try{M=B.integer.R(M.round(0))}catch(ea){throw ea.code="XTDE0980",ea;}ca=ca>=R.length?R[R.length-1]:R[ca];1!==ca&&(M=B.integer.fromNumber(M.toNumber()+(ca-1)));return M})}function E(L){if(1>L||4999=D[y];)aa+=z[y],L-=D[y];return aa}function H(L, -aa){function z(y){return(y>D?z(Math.floor((y-1)/D)):"")+aa.charAt((y-1)%D)}if(1>L)return L.toString();const D=aa.length;return z(L)}function p(L,aa){return Lz?z.toString():wa(z).toFixed();z.lengthL&&(z="-"+z);return z}function e(L,aa="FODF1310"){const z=Da(L),D={};let y=!0;var I=0;let R;const M=Ha.Ce("\\p{Nd}",null);var ca=L.search(M);if(0>ca)y=!1;else{I=Ha.tj().Nd;for(let ja=0;jaz[ca]||z[ca]>R+10)throw new F("Picture string mixes digits from different digit families: "+L,aa);}else if(Ha.Ce("\\p{N}\\p{L}",null).test(I))throw new F("Picture string is invalid: "+L,aa);const ea=[];I=R-48;z.forEach(function(ja){R<=ja&&ja<=R+10?ea.push(48):ea.push(ja)});L=Ea(ea)}D.aj=y;D.format=L;D.Yf=I;D.Af=R;return D}function k(L,aa){const z=[];Da(L).forEach(function(D){48<= -D&&57>=D?z.push(D+aa):z.push(D)});return Ea(z)}function v(L,aa,z,D="",y=!1){let I=0;for(let R=0;Rz[0]&&(R=!1);if(R)for(I=1;IL?aa[L]: -100>L?z[Math.floor(L/10)]+(0===L%10?"":" "+aa[L%10]):1E3>L?C(Math.floor(L/100))+" Hundred"+(0===L%100?"":" and "+C(L%100)):1E6>L?C(Math.floor(L/1E3))+" Thousand"+(0===L%1E3?"":(100>L%1E3?" and ":" ")+C(L%1E3)):1E9>L?C(Math.floor(L/1E6))+" Million"+(0===L%1E3?"":(100>L%1E3?" and ":" ")+C(L%1E6)):L.toString()}function m(L){const aa="Zeroth First Second Third Fourth Fifth Sixth Seventh Eighth Ninth Tenth Eleventh Twelfth Thirteenth Fourteenth Fifteenth Sixteenth Seventeenth Eighteenth Nineteenth".split(" "), -z=" Twent Thirt Fort Fift Sixt Sevent Eight Ninet".split(" ");return 20>L?aa[L]:100>L?z[Math.floor(L/10)]+(0===L%10?"ieth":"y "+aa[L%10]):1E3>L?C(Math.floor(L/100))+" Hundred"+(0===L%100?"th":" and "+m(L%100)):1E6>L?C(Math.floor(L/1E3))+" Thousand"+(0===L%1E3?"th":(100>L%1E3?" and ":" ")+m(L%1E3)):1E9>L?C(Math.floor(L/1E6))+" Million"+(0===L%1E3?"th":(100>L%1E3?" and ":" ")+m(L%1E6)):L.toString()}function f(L){return 1===L%10&&11!==L%100?"st":2===L%10&&12!==L%100?"nd":3===L%10&&13!==L%100?"rd":"th"} -function A(L,aa,z="FODF1310"){function D(R,M){let ca="";for(let ea=R.charCodeAt(0),ja=0;jaL?"-":"";if("o"===I)switch(aa.toString()){case "a":case "A":case "i":case "I":break; -case "Ww":return y+m(Math.abs(L));case "W":return y+m(Math.abs(L)).toUpperCase();case "w":return y+m(Math.abs(L)).toLowerCase();default:return t(L,aa,z)+f(Math.abs(L))}switch(aa.toString()){case "a":return H(L,D("a",26));case "A":return H(L,D("A",26));case "\u03b1":return H(L,D("\u03b1",25));case "\u0391":return H(L,D("\u0391",25));case "i":return E(L);case "I":return E(L).toUpperCase();case "Ww":return y+C(Math.abs(L));case "W":return y+C(Math.abs(L)).toUpperCase();case "w":return y+C(Math.abs(L)).toLowerCase(); -case "\u2460":return p(L,"\u24ea"+D("\u2460",20)+D("\u3251",15)+D("\u32b1",15));case "\u2474":return p(L,"0"+D("\u2474",20));case "\u2488":return 0===L?"\ud83c\udd00":p(L,"0"+D("\u2488",20));case "\u2776":return p(L,"\u24ff"+D("\u2776",10)+D("\u24eb",10));case "\u2780":return 0===L?"\ud83c\udd0b":p(L,"0"+D("\u2780",10));case "\u278a":return 0===L?"\ud83c\udd0c":p(L,"0"+D("\u278a",10));case "\u24f5":return p(L,"0"+D("\u24f5",10));case "\u3220":return p(L,"0"+D("\u3220",10));case "\u3280":return p(L, -"0"+D("\u3280",10));default:return t(L,aa,z)}}function O(L,aa){return String.fromCharCode(parseInt(L[aa]?L[aa]:W[aa],10))}function b(L,aa){function z(S){[["$gs","grouping separator"],["$es","exponent separator"],["$ds","decimal separator"],["$pc","non-prefix passive character"],["$pp","percent|permille"],["$od","optional digit"],["$md","mandatory digit"],["$ip","integer part"],["$fp","fractional part"]].forEach(function(da){S=S.replace(da[0],da[1])});throw new F("Invalid picture: "+S,"FODF1310"); -}const D={};var y=L.indexOf(aa.af),I=0<=y;const R=aa.Af.charCodeAt(0);let M=0,ca=0,ea=[];const ja=[],Y=[];let V=-1,la=-1,x=!1,K=!1;var U=-1;let ha=0;var T=I?y:L.length;for(var w=0;w=R&&ZM&&0>V&&(V=w),M++,ca++)):Z===aa.Ug.charCodeAt(0)?(0V&&(V=w,K=!0),ca++):Z===aa.pe.charCodeAt(0)?(0V&&z("$pp before any digit"),0la&&(la=w),Z===aa.sd.charCodeAt(0)?D.sd=!0:D.Ae=!0):!I&&0<=V&&Z===aa.Bc.charCodeAt(0)&&0>la?x?(Y.push(Z),0la&&(la=w):(Y.push(Z),x=!1,U=-1,0>la&&(la=w-1))):(x=!0,U=w):0<=V&&I?z("$pc before $ds"):x&&0===ha?(x=!1,U=-1,Y.push(aa.Bc.charCodeAt(0)),Y.push(Z),0>la&&(la=w-1)):0<=V?(Y.push(Z),0>la&&(la=w)):ja.push(Z)}if(0=R&&dala?ha++:0<=I||0<=la?z("$md follows $od or $pc in $fp"):(T++,w++):da===aa.Ug.charCodeAt(0)?((0<=la||x)&&z("$od follows $pc or $es"),0>I&&(I=S),w++):da===aa.pe.charCodeAt(0)?((0<=la||x)&&z("$gs follows $pc or $es"), -Z.push(S-y+1)):da===aa.af.charCodeAt(0)?z("more than one $ds"):da===aa.sd.charCodeAt(0)||da===aa.Ae.charCodeAt(0)?((0<=la||x)&&z("$pp follows $pc or $es"),Y.push(da),la=S,da===aa.sd.charCodeAt(0)?D.sd=!0:D.Ae=!0):da===aa.Bc.charCodeAt(0)&&0>la?x?(Y.push(da),0la&&(la=S):(Y.push(da),x=!1,U=-1,0>la&&(la=S-1))):(x=!0,U=S):x&&0===ha?(x=!1,U=-1,Y.push(aa.Bc.charCodeAt(0)),Y.push(da),0>la&&(la=S-1)):(Y.push(da),0>la&&(la=S))}}0>V&&0===w&&z("mantissa contains no digits");if(0!==Z.length)for(0===Z[0]&& -z("$gs at beginning of $fp"),y=0;y=D+z?l(new Date(L.getTime()-864E5),aa):Math.floor((z+D-2)/7)+(5>D?1:0)}const r=ac,n=r.Ja,B=La.XS,W={"decimal-separator":"46","grouping-separator":"44",digit:"35","minus-sign":"45",percent:"37","per-mille":"8240","zero-digit":"48","exponent-separator":"101","pattern-separator":"59",infinity:"Infinity",NaN:"NaN"},ma={Y:"getUTCFullYear",M:"getUTCMonth",D:"getUTCDate",F:"getUTCDay",H:"getUTCHours",m:"getUTCMinutes",s:"getUTCSeconds",f:"getUTCMilliseconds"},qa={d,W:function(L){return l(L, -!0)},w:function(L){return l(L,!1)},h:function(L){return 13>L.getUTCHours()?0===L.getUTCHours()?12:L.getUTCHours():L.getUTCHours()-12},P:function(L){return 12>L.getUTCHours()?"Am":"Pm"},E:function(L){return 0>L.getUTCFullYear()?"BC":"AD"}};return{rj:function(L,aa){const z=aa.fixed.ka,D=L.level,y=z.da(L,"select"),I=z.da(L,"count");L=z.da(L,"from");return a(D,y,I,L,aa)},sj:function(L,aa){var z=aa.fixed.ka;const D=z.da(L,"value"),y=z.da(L,"format"),I=z.qc(z.da(L,"gpSep"),aa).next(),R=z.qc(z.da(L,"gpSize"), -aa).next();var M=z.qc(z.da(L,"ordinal"),aa).next();const ca=z.qc(z.da(L,"lang"),aa).next();var ea=L.flags||"";L=z.da(L,"startAt");ea=/1/.test(ea);z=z.evaluate(D,aa);z=q(z,ea,L,!0,aa);M=M?cd.hj(M.toString()):!1;return null===z?Tb("NaN"):c(z,y,I,R,M,ca,aa)},bg:A,Mf:function(L,aa,z){let D="";for(let y=0;yL?!0:0===L?0>1/L:!1;z={af:O(z,"decimal-separator"),pe:O(z,"grouping-separator"), -Ug:O(z,"digit"),oj:O(z,"minus-sign"),sd:O(z,"percent"),Ae:O(z,"per-mille"),Af:O(z,"zero-digit"),Bc:O(z,"exponent-separator"),Eh:O(z,"pattern-separator"),Vi:z.infinity||W.infinity,pj:z.NaN||W.NaN};if(isNaN(L))return z.pj;aa=aa.includes(z.Eh)?aa.split(z.Eh):[aa];if(2L?aa[1]:aa[0],z);if(isFinite(L)){if(0Y&&(L=wa(L.toPrecision(Y)));(Y=V!==L.e)&&(I+=1);1I)||ea&&Y||(R+="."+la.join("").slice(I))}else throw new F("Empty mantissa","SXJS0004");I=R+ca+g(L.e,ja)}else{M=Math.abs(L);y.sd&&(M=Math.abs(100*L));y.Ae&&(M=Math.abs(1E3*L));"Infinity"=== -M+""?I=M+"":I=999999>M?M.toString():wa(M).toFixed();M=I.indexOf(".");0>M&&(M=I.length,0I.indexOf(".")&&(I+=".0")):I=wa(I).round(0,1).toString());ca=I.length-1-M;if(0ca;ca++)M+=String.fromCharCode(z.Af.charCodeAt(0)+ca); -M+=z.af;ca="";for(ea=0;eaL?ca+=ja:Lca&&(ca=M.length);I=M.substring(0,ca);M=M.substring(ca);if(0y.Yb[0]&&(ca=!1);I=ca?fe.Mf(I,z.pe,y.Yb[0]):v(I,y.Yb,null,z.pe)}0ja||"*"!==ea&&1>ea||"*"!==ja&&"*"!==ea&&ja>ea)throw new F("Invalid width modifier in date/time formatting picture","FOFD1340");}var Y=null;1ea||12ca.length;)ca="0"+ca;Y=Da(ca);ca=parseInt(Ea(Y.reverse()),10);if(!R&&!M&&/^[0-9]$/.test(V))for(;Y.length>V.length;)V+="#";if(R&&"*"!==R){la=/^([0-9]*)(#*)$/.exec(V);V=la[1]?la[1]:"";for(la=la[2]?la[2]:"";R>V.length;)V+="0",la=la.slice(0,-1);V+=la}if(M)for("*"===M&&(M=Y.length);V.lengthV.length;)ca= -ca.slice(0,-1);R&&"*"!==R||0!==parseInt(ca,10)||(ca="0");ea||(ca=k(ca,ja));R=ca}else{if(/[nN]/.test(M))V="January February March April May June July August September October November December".split(" "),ja="Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),Y="M"===R?V[la-1]:"F"===R?ja[la-1]:la,"F"===R&&ea&&"*"!==ea&&6>ea&&(Y=Y.replace(/(ur)?day$/,""),Y=Y.replace(/nes$/,"s")),"n"===M?Y=Y.toLowerCase():"N"===M&&(Y=Y.toUpperCase()),ea&&"*"!==ea&&(Y=Y.substring(0,ea));else{V=/;/.test(M)? -M+";":M;Y&&(V+=(";"===V.charAt(V.length-1)?"":";")+Y);Y=A(la,V,"FOFD1340");"Y"===R&&"-"===Y.charAt(0)&&(Y=Y.substring(1));if("Y"===R&&/[^iIwWnN]/.test(M.charAt(M.length-1))&&(!ja&&2===M.length||2==ea))for(;2V(p.Qc(ka).filter(ia).count()+1));case "any":return x=function(ka,z){return q.rb(z,ka)},K=new Eb(p.pg(N).filter(ia),p.Xa(N).filter(ia),x),Y=(new Eb(p.pg(N).filter(ca),p.Xa(N).filter(ca),x)).next(),null===Y&&sa.la("from pattern selected empty"),K=K.filter(function(ka){return 0<=q.rb(ka,Y)}),K=K.count(),0===K?Ob:Ub(K);default:return sa.la("unknown xsl:number/@level "+K),Ob}}function c(K,ca,x,E,A,H,S){function N(ma){let ia;""===ma&&(ma="1");if(/^[\x01-\x7f]*$/.test(ma))ma= +ma.split(/\b/),ia=function(ka){return/\w+/.test(ka)};else{if(ma.length!==Da(ma).length)throw new G("Cannot handle non-BMP characters in format-number picture","SXJS0002");const ka=Zd.Of(ma,"[\\p{Nd}\\p{Nl}\\p{No}\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}]+","",!0,!1);ia=function(z,M){return ka[M].Nc};ma=ka.map(function(z){return z.string.toString()})}const Y={prefix:"",fd:[],Yd:""};let V=".";for(let ka=0;ka=Y.fd.length?Y.fd[Y.fd.length-1]:Y.fd[z];0!==z&&(V+=M.Kh);z=M.Qg;A&&(z+=";o");ka=fe.bg(ka.toNumber(),z);null!==x&&null!==E&&(ka=fe.Mf(ka, +x,E));V+=ka});V+=Y.Yd;return Tb(V)}(K.expand())}function n(K,ca,x,E,A){const H=A.fixed.ka;let S=[1];null!==x&&(S=H.evaluate(x,A).next().toString().split(/\s+/).map(function(N){if(!/^-?[0-9]+$/.test(N))throw new G("xsl:number/@start-at must be a sequence of integers. Offending value: "+N,"XTSE0020");return parseInt(N,10)}));if(ca&&E){K=K.next();if(null===K)return null;try{K=u.integer.R(K.round(0))}catch(N){return null}K=Kb([K])}return K.mapOneToOne(function(N,aa){N=N.isNumeric()?N.toDouble():u.double.df(N.toString()); +if(0>N.toNumber())throw new G(`xsl:number/@value is less than zero (${N.toString()})`,"XTDE0980");try{N=u.integer.R(N.round(0))}catch(ma){throw ma.code="XTDE0980",ma;}aa=aa>=S.length?S[S.length-1]:S[aa];1!==aa&&(N=u.integer.fromNumber(N.toNumber()+(aa-1)));return N})}function F(K){if(1>K||4999=E[A];)ca+=x[A],K-=E[A];return ca}function I(K, +ca){function x(A){return(A>E?x(Math.floor((A-1)/E)):"")+ca.charAt((A-1)%E)}if(1>K)return K.toString();const E=ca.length;return x(K)}function m(K,ca){return Kx?x.toString():wa(x).toFixed();x.lengthK&&(x="-"+x);return x}function e(K,ca="FODF1310"){const x=Da(K),E={};let A=!0;var H=0;let S;const N=Ha.Be("\\p{Nd}",null);var aa=K.search(N);if(0>aa)A=!1;else{H=Ha.tj().Nd;for(let ia=0;iax[aa]||x[aa]>S+10)throw new G("Picture string mixes digits from different digit families: "+K,ca);}else if(Ha.Be("\\p{N}\\p{L}",null).test(H))throw new G("Picture string is invalid: "+K,ca);const ma=[];H=S-48;x.forEach(function(ia){S<=ia&&ia<=S+10?ma.push(48):ma.push(ia)});K=Ea(ma)}E.aj=A;E.format=K;E.Yf=H;E.Af=S;return E}function k(K,ca){const x=[];Da(K).forEach(function(E){48<= +E&&57>=E?x.push(E+ca):x.push(E)});return Ea(x)}function v(K,ca,x,E="",A=!1){let H=0;for(let S=0;Sx[0]&&(S=!1);if(S)for(H=1;HK?ca[K]: +100>K?x[Math.floor(K/10)]+(0===K%10?"":" "+ca[K%10]):1E3>K?D(Math.floor(K/100))+" Hundred"+(0===K%100?"":" and "+D(K%100)):1E6>K?D(Math.floor(K/1E3))+" Thousand"+(0===K%1E3?"":(100>K%1E3?" and ":" ")+D(K%1E3)):1E9>K?D(Math.floor(K/1E6))+" Million"+(0===K%1E3?"":(100>K%1E3?" and ":" ")+D(K%1E6)):K.toString()}function l(K){const ca="Zeroth First Second Third Fourth Fifth Sixth Seventh Eighth Ninth Tenth Eleventh Twelfth Thirteenth Fourteenth Fifteenth Sixteenth Seventeenth Eighteenth Nineteenth".split(" "), +x=" Twent Thirt Fort Fift Sixt Sevent Eight Ninet".split(" ");return 20>K?ca[K]:100>K?x[Math.floor(K/10)]+(0===K%10?"ieth":"y "+ca[K%10]):1E3>K?D(Math.floor(K/100))+" Hundred"+(0===K%100?"th":" and "+l(K%100)):1E6>K?D(Math.floor(K/1E3))+" Thousand"+(0===K%1E3?"th":(100>K%1E3?" and ":" ")+l(K%1E3)):1E9>K?D(Math.floor(K/1E6))+" Million"+(0===K%1E3?"th":(100>K%1E3?" and ":" ")+l(K%1E6)):K.toString()}function f(K){return 1===K%10&&11!==K%100?"st":2===K%10&&12!==K%100?"nd":3===K%10&&13!==K%100?"rd":"th"} +function B(K,ca,x="FODF1310"){function E(S,N){let aa="";for(let ma=S.charCodeAt(0),ia=0;iaK?"-":"";if("o"===H)switch(ca.toString()){case "a":case "A":case "i":case "I":break; +case "Ww":return A+l(Math.abs(K));case "W":return A+l(Math.abs(K)).toUpperCase();case "w":return A+l(Math.abs(K)).toLowerCase();default:return t(K,ca,x)+f(Math.abs(K))}switch(ca.toString()){case "a":return I(K,E("a",26));case "A":return I(K,E("A",26));case "\u03b1":return I(K,E("\u03b1",25));case "\u0391":return I(K,E("\u0391",25));case "i":return F(K);case "I":return F(K).toUpperCase();case "Ww":return A+D(Math.abs(K));case "W":return A+D(Math.abs(K)).toUpperCase();case "w":return A+D(Math.abs(K)).toLowerCase(); +case "\u2460":return m(K,"\u24ea"+E("\u2460",20)+E("\u3251",15)+E("\u32b1",15));case "\u2474":return m(K,"0"+E("\u2474",20));case "\u2488":return 0===K?"\ud83c\udd00":m(K,"0"+E("\u2488",20));case "\u2776":return m(K,"\u24ff"+E("\u2776",10)+E("\u24eb",10));case "\u2780":return 0===K?"\ud83c\udd0b":m(K,"0"+E("\u2780",10));case "\u278a":return 0===K?"\ud83c\udd0c":m(K,"0"+E("\u278a",10));case "\u24f5":return m(K,"0"+E("\u24f5",10));case "\u3220":return m(K,"0"+E("\u3220",10));case "\u3280":return m(K, +"0"+E("\u3280",10));default:return t(K,ca,x)}}function L(K,ca){return String.fromCharCode(parseInt(K[ca]?K[ca]:P[ca],10))}function y(K,ca){function x(T){[["$gs","grouping separator"],["$es","exponent separator"],["$ds","decimal separator"],["$pc","non-prefix passive character"],["$pp","percent|permille"],["$od","optional digit"],["$md","mandatory digit"],["$ip","integer part"],["$fp","fractional part"]].forEach(function(ha){T=T.replace(ha[0],ha[1])});throw new G("Invalid picture: "+T,"FODF1310"); +}const E={};var A=K.indexOf(ca.af),H=0<=A;const S=ca.Af.charCodeAt(0);let N=0,aa=0,ma=[];const ia=[],Y=[];let V=-1,ka=-1,z=!1,M=!1;var W=-1;let fa=0;var U=H?A:K.length;for(var w=0;w=S&&ZN&&0>V&&(V=w),N++,aa++)):Z===ca.Vg.charCodeAt(0)?(0V&&(V=w,M=!0),aa++):Z===ca.pe.charCodeAt(0)?(0V&&x("$pp before any digit"),0ka&&(ka=w),Z===ca.sd.charCodeAt(0)?E.sd=!0:E.ze=!0):!H&&0<=V&&Z===ca.Dc.charCodeAt(0)&&0>ka?z?(Y.push(Z),0ka&&(ka=w):(Y.push(Z),z=!1,W=-1,0>ka&&(ka=w-1))):(z=!0,W=w):0<=V&&H?x("$pc before $ds"):z&&0===fa?(z=!1,W=-1,Y.push(ca.Dc.charCodeAt(0)),Y.push(Z),0>ka&&(ka=w-1)):0<=V?(Y.push(Z),0>ka&&(ka=w)):ia.push(Z)}if(0=S&&haka?fa++:0<=H||0<=ka?x("$md follows $od or $pc in $fp"):(U++,w++):ha===ca.Vg.charCodeAt(0)?((0<=ka||z)&&x("$od follows $pc or $es"),0>H&&(H=T),w++):ha===ca.pe.charCodeAt(0)?((0<=ka||z)&&x("$gs follows $pc or $es"), +Z.push(T-A+1)):ha===ca.af.charCodeAt(0)?x("more than one $ds"):ha===ca.sd.charCodeAt(0)||ha===ca.ze.charCodeAt(0)?((0<=ka||z)&&x("$pp follows $pc or $es"),Y.push(ha),ka=T,ha===ca.sd.charCodeAt(0)?E.sd=!0:E.ze=!0):ha===ca.Dc.charCodeAt(0)&&0>ka?z?(Y.push(ha),0ka&&(ka=T):(Y.push(ha),z=!1,W=-1,0>ka&&(ka=T-1))):(z=!0,W=T):z&&0===fa?(z=!1,W=-1,Y.push(ca.Dc.charCodeAt(0)),Y.push(ha),0>ka&&(ka=T-1)):(Y.push(ha),0>ka&&(ka=T))}}0>V&&0===w&&x("mantissa contains no digits");if(0!==Z.length)for(0===Z[0]&& +x("$gs at beginning of $fp"),A=0;A=E+x?d(new Date(K.getTime()-864E5),ca):Math.floor((x+E-2)/7)+(5>E?1:0)}const q=ac,p=q.Ja,u=La.XS,P={"decimal-separator":"46","grouping-separator":"44",digit:"35","minus-sign":"45",percent:"37","per-mille":"8240","zero-digit":"48","exponent-separator":"101","pattern-separator":"59",infinity:"Infinity",NaN:"NaN"},la={Y:"getUTCFullYear",M:"getUTCMonth",D:"getUTCDate",F:"getUTCDay",H:"getUTCHours",m:"getUTCMinutes",s:"getUTCSeconds",f:"getUTCMilliseconds"},oa={d:b,W:function(K){return d(K, +!0)},w:function(K){return d(K,!1)},h:function(K){return 13>K.getUTCHours()?0===K.getUTCHours()?12:K.getUTCHours():K.getUTCHours()-12},P:function(K){return 12>K.getUTCHours()?"Am":"Pm"},E:function(K){return 0>K.getUTCFullYear()?"BC":"AD"}};return{rj:function(K,ca){const x=ca.fixed.ka,E=K.level,A=x.da(K,"select"),H=x.da(K,"count");K=x.da(K,"from");return a(E,A,H,K,ca)},sj:function(K,ca){var x=ca.fixed.ka;const E=x.da(K,"value"),A=x.da(K,"format"),H=x.rc(x.da(K,"gpSep"),ca).next(),S=x.rc(x.da(K,"gpSize"), +ca).next();var N=x.rc(x.da(K,"ordinal"),ca).next();const aa=x.rc(x.da(K,"lang"),ca).next();var ma=K.flags||"";K=x.da(K,"startAt");ma=/1/.test(ma);x=x.evaluate(E,ca);x=n(x,ma,K,!0,ca);N=N?cd.hj(N.toString()):!1;return null===x?Tb("NaN"):c(x,A,H,S,N,aa,ca)},bg:B,Mf:function(K,ca,x){let E="";for(let A=0;AK?!0:0===K?0>1/K:!1;x={af:L(x,"decimal-separator"),pe:L(x,"grouping-separator"), +Vg:L(x,"digit"),oj:L(x,"minus-sign"),sd:L(x,"percent"),ze:L(x,"per-mille"),Af:L(x,"zero-digit"),Dc:L(x,"exponent-separator"),Eh:L(x,"pattern-separator"),Vi:x.infinity||P.infinity,pj:x.NaN||P.NaN};if(isNaN(K))return x.pj;ca=ca.includes(x.Eh)?ca.split(x.Eh):[ca];if(2K?ca[1]:ca[0],x);if(isFinite(K)){if(0Y&&(K=wa(K.toPrecision(Y)));(Y=V!==K.e)&&(H+=1);1H)||ma&&Y||(S+="."+ka.join("").slice(H))}else throw new G("Empty mantissa","SXJS0004");H=S+aa+g(K.e,ia)}else{N=Math.abs(K);A.sd&&(N=Math.abs(100*K));A.ze&&(N=Math.abs(1E3*K));"Infinity"=== +N+""?H=N+"":H=999999>N?N.toString():wa(N).toFixed();N=H.indexOf(".");0>N&&(N=H.length,0H.indexOf(".")&&(H+=".0")):H=wa(H).round(0,1).toString());aa=H.length-1-N;if(0aa;aa++)N+=String.fromCharCode(x.Af.charCodeAt(0)+aa); +N+=x.af;aa="";for(ma=0;maK?aa+=ia:Kaa&&(aa=N.length);H=N.substring(0,aa);N=N.substring(aa);if(0A.Zb[0]&&(aa=!1);H=aa?fe.Mf(H,x.pe,A.Zb[0]):v(H,A.Zb,null,x.pe)}0ia||"*"!==ma&&1>ma||"*"!==ia&&"*"!==ma&&ia>ma)throw new G("Invalid width modifier in date/time formatting picture","FOFD1340");}var Y=null;1ma||12aa.length;)aa="0"+aa;Y=Da(aa);aa=parseInt(Ea(Y.reverse()),10);if(!S&&!N&&/^[0-9]$/.test(V))for(;Y.length>V.length;)V+="#";if(S&&"*"!==S){ka=/^([0-9]*)(#*)$/.exec(V);V=ka[1]?ka[1]:"";for(ka=ka[2]?ka[2]:"";S>V.length;)V+="0",ka=ka.slice(0,-1);V+=ka}if(N)for("*"===N&&(N=Y.length);V.lengthV.length;)aa= +aa.slice(0,-1);S&&"*"!==S||0!==parseInt(aa,10)||(aa="0");ma||(aa=k(aa,ia));S=aa}else{if(/[nN]/.test(N))V="January February March April May June July August September October November December".split(" "),ia="Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),Y="M"===S?V[ka-1]:"F"===S?ia[ka-1]:ka,"F"===S&&ma&&"*"!==ma&&6>ma&&(Y=Y.replace(/(ur)?day$/,""),Y=Y.replace(/nes$/,"s")),"n"===N?Y=Y.toLowerCase():"N"===N&&(Y=Y.toUpperCase()),ma&&"*"!==ma&&(Y=Y.substring(0,ma));else{V=/;/.test(N)? +N+";":N;Y&&(V+=(";"===V.charAt(V.length-1)?"":";")+Y);Y=B(ka,V,"FOFD1340");"Y"===S&&"-"===Y.charAt(0)&&(Y=Y.substring(1));if("Y"===S&&/[^iIwWnN]/.test(N.charAt(N.length-1))&&(!ia&&2===N.length||2==ma))for(;2fa[na]}const S={"<":"<",">":">","&":"&",'"':""","\n":" ","\r":" ","\t":" "},da={"<":"<",">":">","&":"&"};return w?T.replace(/&|<|>|"|\n|\r|\t/g,Z(S)):T.replace(/&|<|>/g,Z(da))}if(U){U="";x=x.split("\x00");for(let T=0;T=x:"US-ASCII"===K.toUpperCase()?127>=x:!0}function q(x, -K){return function(U){var ha=!0;for(var T=0;T=x.min&&w<=x.max){ha=!1;break}}if(ha)return U;ha="";T=!1;for(w=0;w=S;da&&(S=U.codePointAt(w));x.ya[S]?(K&&!T&&(ha+="\x00",T=!0),ha+=x.ya[S],da&&w++):(K&&T&&(ha+="\x00",T=!1),ha+=Z)}return ha}}function E(x){return""===x.uri||"http://www.w3.org/1999/xhtml"===x.uri}function H(x){return["http://www.w3.org/1999/xhtml","http://www.w3.org/2000/svg", -"http://www.w3.org/1998/Math/MathML"].includes(x)}function p(x,K){return(K={action:["form"],archive:["object"],background:["body"],cite:["blockquote","del","ins","q"],classid:["object"],codebase:["applet","object"],data:["object"],datasrc:"button div input object select span table textarea".split(" "),"for":["script"],formaction:["button","input"],href:["a","area","base","link"],icon:["command"],longdesc:["frame","iframe","img"],manifest:["html"],name:["a"],poster:["video"],profile:["head"],src:"audio embed frame iframe img input script source track video".split(" "), -usemap:["img","input","object"]}[K.local])&&K.includes(x.local)}function g(x,K,U=null){switch(x.method){case "xml":K=new W(x,K);if(x.version&&"1.0"!==x.version)throw new F("Serializer does not support the requested XML version: "+x.version,"SESU0013");d(x);if(x["undeclare-prefixes"])throw new F("Cannot undeclare prefixes with XML 1.0 serializer","SEPM0010");x.indent&&(K=m(x,K));K=f(x,K);K=A(x,K);K=O(x,K);return C(x,K);case "html":return l(x,K);case "text":return d(x),K=new V(x,K),K=f(x,K),K=A(x,K), -C(x,K);case "xhtml":return l(x,K);case "json":return d(x),x.indent?new ea(x,K,U):new ca(x,K,U);case "adaptive":return new ja(x,K,U);default:return new Y(x,K)}}function e(x,K,U){function ha(fa,na){na=na.trim();if(["yes","true","1"].includes(na))return!0;if(["no","false","0"].includes(na))return!1;throw new F("Value of "+fa+" must be yes(=true, 1) or no(=false, 0)","SEPM0016");}function T(fa){return function(na,va){va=va.trim();return va.split(/\s+/).map(function(h){/^Q\{/.test(h)||/:/.test(h)||(h= -"Q{}"+h);return/^Q\{/.test(h)?h:n.QName.fromString(h,fa).toEQName()})}}function w(fa){return function(na,va){va=va.trim();if(fa.includes(va))return va;throw new F("Value of "+na+"("+va+"): must be one of "+fa.join("|"),"SEPM0016");}}function Z(fa){return function(na,va){if(fa.test(va))return va;throw new F("Invalid value for "+na+": must match the pattern "+fa,"SEPM0016");}}function S(fa,na){return na}function da(fa,na){na=na.trim();if(/[0-9]+/.test(na))return 1*na;throw new F("Value of "+fa+" must be an integer (Actual value is "+ -sa.showValue(na)+")","SEPM0016");}U={"allow-duplicate-names":ha,"build-tree":ha,"byte-order-mark":ha,"cdata-section-elements":T(U),"doctype-public":Z(/[\sa-zA-Z0-9\-'()+,.:=?;!*#@$_%\/]*/),"doctype-system":Z(/[^']*|[^"]*/),encoding:Z(/[\x21-\x7e]+/),"escape-uri-attributes":ha,"html-version":function(fa,na){if(/[0-9]+(\.[0-9]+)?/.test(na))return 1*na;throw new F("Value of "+fa+" must be a decimal number","SEPM0016");},"include-content-type":ha,indent:ha,"item-separator":S,"json-node-output-method":w(["xml", -"xhtml","html","text"]),"media-type":S,method:function(fa,na){return function(va,h){h=h.trim();!/^Q\{/.test(h)&&/:/.test(h)&&(h=n.QName.fromString(h,na).toEQName());if(fa.includes(h))return h;throw new F("Value of "+va+"("+h+"): must be one of "+fa.join("|"),"SEPM0016");}}("xml xhtml html text json adaptive Q{http://saxonica.com/ns/interactiveXSLT}append-content Q{http://saxonica.com/ns/interactiveXSLT}replace-content".split(" "),U),"normalization-form":w("NFC NFD NFKC NFKD fully-normalized none".split(" ")), -"omit-xml-declaration":ha,standalone:function(fa,na){return"omit"===na.trim()?null:ha(fa,na)},"suppress-indentation":T(U),"undeclare-prefixes":ha,"use-character-maps":T(U),version:S,"Q{http://saxon.sf.net/}indent-spaces":da,"Q{http://saxon.sf.net/}line-length":da,"Q{http://saxon.sf.net/}stylesheet-version":da};/^\{/.test(x)&&(x="Q"+x);if("string"!==typeof K)throw new F("Value of "+x+" must be supplied as a string","SEPM0016");if(U[x])return U[x](x,K);if(!/^Q\{/.test(x))throw new F("Unknown serialization parameter "+ -x,"SEPM0017");}function k(x,K,U){function ha(S,da,fa){if(!Array.isArray(da))throw new F("Value of "+S+" must be an array","SEPM0016");return(fa||[]).concat(da)}function T(S,da){if("boolean"!==typeof da)throw new F("Value of "+S+" must be boolean","SEPM0016");return da}function w(S,da){if("number"!==typeof da)throw new F("Value of "+S+" must be an integer (actual value is "+sa.showValue(da)+")","SEPM0016");return da}const Z={"allow-duplicate-names":T,"build-tree":T,"byte-order-mark":T,"cdata-section-elements":ha, -"escape-uri-attributes":T,"html-version":function(S,da){if("number"!==typeof da)throw new F("Value of "+S+" must be a decimal number","SEPM0016");return da},"include-content-type":T,indent:T,"omit-xml-declaration":T,standalone:function(S,da){return null===da?null:T(S,da)},"suppress-indentation":ha,"undeclare-prefixes":T,"use-character-maps":function(S,da,fa){fa&&Array.isArray(fa)&&sa.la("Problem with existing character map supplied to overrideParam");if("object"!==typeof da)throw new F("Value of "+ -S+" must be an object","SEPM0016");if(void 0===da.ya)throw new F("Value of "+S+" must be a character map object","SEPM0016");(S=fa)?v(S,da):S=da;return S},"Q{http://saxon.sf.net/}indent-spaces":w,"Q{http://saxon.sf.net/}line-length":w,"Q{http://saxon.sf.net/}stylesheet-version":w};/^{/.test(x)&&(x="Q"+x);return Z[x]?Z[x](x,K,U):e(x,K.toString())}function v(x,K){K.minx.max&&(x.max=K.max);for(let U in K.ya)K.ya.hasOwnProperty(U)&&(x.ya[U]=K.ya[U])}function t(x,K){let U={}; -x.forEach(function(ha,T){let w=K.Og[ha];if(!w)throw new F("Unknown character map "+ha,"SEPM0016");0===T?U=w:v(U,w)});return U}function C(x,K){return x["item-separator"]&&"#absent"!==x["item-separator"]?new be(K,x["item-separator"]):new $d(K)}function m(x,K){const U=x["Q{http://saxon.sf.net/}indent-spaces"],ha=x["suppress-indentation"];return Pd("xml"===x.method?new ma(U,ha):new D(U,ha),K)}function f(x,K){x["normalization-form"]&&"none"!==x["normalization-form"]&&(K=Pd(new qa(x["normalization-form"]), -K));return K}function A(x,K){x["use-character-maps"]&&(K=Pd(new L(x["use-character-maps"]),K));return K}function O(x,K){x["cdata-section-elements"]&&(K=Pd(new aa(x["cdata-section-elements"],x.encoding||"UTF-8",x["normalization-form"]&&"none"!==x["normalization-form"]?x["normalization-form"]:null),K));return K}function b(x,K){return void 0===x[K]||x[K]}function d(x){if(x.encoding&&!["UTF-8","UTF-16","ISO-646","ISO-8859-1","US-ASCII"].includes(x.encoding.toUpperCase()))throw new F("Serializer does not support the requested encoding: "+ -x.encoding,"SESU0007");}function l(x,K){var U="xhtml"===x.method;K=U?new I(x,K):new z(x,K);if(U&&x.version&&"1.0"!==x.version)throw new F("Serializer does not support the requested XML version: "+x.version,"SESU0013");if((U=U?x["html-version"]:x["html-version"]||x.version)&&5!==1*U)throw new F("Serializer does not support the requested HTML version: "+U,"SESU0013");d(x);b(x,"indent")&&(K=m(x,K));K=f(x,K);K=A(x,K);K=O(x,K);K=Pd(new y,K);b(x,"escape-uri-attributes")&&(K=Pd(new R,K));b(x,"include-content-type")&& -(K=Pd(new M(x),K));return C(x,K)}function r(x,K,U,ha=null){function T(da,fa){switch(da.nodeType){case 9:case 11:fa.Ea(S);da=da.childNodes;for(var na=0;na{w(na,fa)}):ac.X(da)?T(da,fa):fa.append(da,S)}let Z;U||(Z= -"",U={write:function(da){Z+=da}});U.write||sa.la("writer supplied to Serialize.serialize() is not a writeable stream");K||={};K=g(K,U,ha);let S={};x&&w(x,K);K.close();return Z}const n=La.XS;class B extends Od{constructor(x,K){super();this.g=K||null;this.Pa=x}close(){this.g.end&&!this.g.isTTY&&this.g.end()}}class W extends B{constructor(x,K){super(x,K);this.B=this.I=this.xa=this.ra=this.zb=!1;this.eb=[];this.K=[];this.Yd=0;this.encoding=x.encoding||"UTF-8"}Ea(){}za(){}close(){this.I||this.aa();super.close()}na(x, -K,U){function ha(w){throw new F("When "+w+" is specified, there must only be one top-level element node","SEPM0004");}this.I||(this.aa(),this.Ca(x),this.ra&&!this.xa&&!0===this.Pa.indent&&this.g.write("\n"),this.I=!0);0===this.K.length&&(0"),this.B=!1):this.g.write("")}text(x,K={}){this.I||this.aa();this.B&&this.V();this.g.write(K.DISABLE_ESCAPING?this.j(x,!1):this.j(a(x,!1,!1),!0))}wa(x){this.I||this.aa();this.B&&this.V();this.g.write("\x3c!--"+this.j(x,!1)+"--\x3e")}va(x,K){this.I||this.aa();this.B&&this.V();this.g.write("")}append(x, -K={}){this.text(x.toString(),K)}aa(){this.zb||this.vi()}V(){this.g.write(">");this.B=!1}Ei(x,K){let U=[];for(let ha in x)if(K[ha]!==x[ha]){let T="";"xml"!==ha&&(T=""===ha?' xmlns="'+a(x[ha],!0,!1)+'"':" xmlns:"+ha+'="'+a(x[ha],!0,!1)+'"');""!==T&&U.push(T)}U.sort();U.forEach(ha=>this.g.write(ha))}he(x,K){if(K){const U=this;K.forEach((ha,T)=>{U.ee(T,ha)})}}ee(x,K){const U=!0===K.kb.USE_NULL_MARKERS;K=K.kb.DISABLE_ESCAPING?this.j(K.value,!1):this.j(a(K.value,!0,U),!0);this.g.write(" "+this.j(x.toString(), -!1)+'="'+K+'"')}vi(){var x=this.encoding.toUpperCase();this.Pa["byte-order-mark"]&&"UTF-8"===x&&this.g.write("\ufeff");this.zb=!0;x=!0===this.Pa["omit-xml-declaration"]&&"UTF-8"===x;this.ra=!x;let K=this.Pa.standalone;if(x&&void 0!==K&&null!==K)throw new F("Serializer values of 'standalone' and 'omit-xml-declaration' conflict","SEPM0009");x||this.g.write('")}Ca(x){let K=this.Pa["doctype-system"]|| -null,U=this.Pa["doctype-public"]||null;null!==K&&(this.ra&&this.g.write("\n"),this.g.write("\n"):this.g.write(' PUBLIC "'+this.j(U,!1)+'" '+this.j(x,!1)+">\n"),this.xa=!0)}j(x,K){function U(T){if(K)return"&#"+T+";";throw new F("Character "+String.fromCodePoint(T)+" (decimal "+T+") is not available in the chosen encoding","SERE0008");}const ha=this.encoding;return function(T){let w= -"";var Z=0;const S=T.length;if(0===S)return"";for(;Zda)break;else if(127>da)fa++;else if(160>da||8232===da||55296<=da&&56320>=da||!c(da,ha))break;else fa++}if(fa>=S)return 0===Z?T:w+T.substring(Z,fa);fa>Z&&(w+=T.substring(Z,fa));da=T.charCodeAt(fa);Z=T.charAt(fa);if(0===da)throw new F("Null marker","ZZZZ9999");160>da||8232===da?w+=K?U(da):Z:55296<=da&&56320>=da?(da=T.codePointAt(fa++),w+=c(da,ha)?Z+T.charAt(fa):U(da)): -c(da,ha)||(w+=U(da));Z=++fa;if(Z>=S)return w}}(x)}}class ma extends Qd{constructor(x,K){super();this.I=0;this.ee=x||3;this.Ca="\n ";this.B=this.K=this.V=!1;this.eb=K||null;this.j=-1;this.xa=null;this.zb={}}na(x,K,U,ha={}){this.K||this.B?this.ra():this.aa();if(0>this.j){let T=K.get(n.QName.fromParts("","http://www.w3.org/XML/1998/namespace","space"));T&&"preserve"===T.value&&(this.j=this.I)}this.I++;this.eb&&-1===this.j&&0<=this.eb.indexOf(x.toEQName())&&(this.j=this.I);this.g.na(x,K, -U,ha);this.K=this.V=!0;this.B=!1}endElement(){this.I--;this.B&&!this.V?this.ra():this.K&&!this.B?this.xa=null:this.aa();this.g.endElement();this.V=!1;this.B=!0;this.K=!1;this.I===this.j-1&&(this.j=-1)}text(x,K={}){const U=!this.V||0<=x.indexOf("\n");0>this.j&&""===Ha.trim(x)&&U?(this.xa=x,this.zb=K):(this.aa(),0<=x.indexOf("\n")&&(this.V=!1),this.g.text(x,K),this.B=this.K=!1)}wa(x,K={}){this.B?this.ra():this.aa();this.g.wa(x,K);this.B=this.K=!1}va(x,K,U={}){this.B?this.ra():this.aa();this.g.va(x, -K,U);this.B=this.K=!1}ra(){0<=this.j?this.aa():this.Xe()}Xe(){this.xa=null;let x=this.I*this.ee;if(x+1>this.Ca.length){let K=5*this.ee;x+1>this.Ca.length+K&&(K+=x+1);for(let U=0;U=Z.min&&w<=Z.max){ha=!1;break}}if(ha)S=x;else for(ha=0;ha=w;da&&(w=x.codePointAt(ha));Z.ya[w]?(U||(""!==S&&(this.g.text(S,K),S=""),U=!0),S+=Z.ya[w],da&&ha++):(U&&(U=Object.assign({},K),U.DISABLE_ESCAPING=!0,U.NO_NORMALIZATION=!0,this.g.text(S,U),S="",U=!1),S+=T)}U?(x=Object.assign({},K),x.DISABLE_ESCAPING=!0,x.NO_NORMALIZATION=!0,this.g.text(S,x)):this.g.text(S,K)}}}class aa extends Qd{constructor(x, -K,U){super();this.V=x||null;this.encoding=K;this.K=U;this.B=[];this.j="";this.I={};if("fully-normalized"===U)throw new F("Serializer does not support the requested normalization-form: fully-normalized","SESU0011");}na(x,K,U,ha={}){this.flush();this.B.push(x.toEQName());this.g.na(x,K,U,ha)}endElement(){this.flush();this.B.pop();this.g.endElement()}text(x,K={}){0<=this.V.indexOf(0===this.B.length?null:this.B[this.B.length-1])?K.DISABLE_ESCAPING?(this.flush(),this.g.text(x,K)):(this.j+=x,this.I=K):this.g.text(x, -K)}wa(x,K={}){this.flush();this.g.wa(x,K)}va(x,K,U={}){this.flush();this.g.va(x,K,U)}flush(){if(""!==this.j){const K=this.K?this.j.normalize(this.K):this.j,U=K.length;for(var x=0;xx&&this.aa(K.substring(x,ha));haba[va]}const T={"<":"<",">":">","&":"&",'"':""","\n":" ","\r":" ","\t":" "},ha={"<":"<",">":">","&":"&"};return w?U.replace(/&|<|>|"|\n|\r|\t/g,Z(T)):U.replace(/&|<|>/g,Z(ha))}if(W){W="";z=z.split("\x00");for(let U=0;U=z:"US-ASCII"===M.toUpperCase()?127>=z:!0}function n(z, +M){return function(W){var fa=!0;for(var U=0;U=z.min&&w<=z.max){fa=!1;break}}if(fa)return W;fa="";U=!1;for(w=0;w=T;ha&&(T=W.codePointAt(w));z.ya[T]?(M&&!U&&(fa+="\x00",U=!0),fa+=z.ya[T],ha&&w++):(M&&U&&(fa+="\x00",U=!1),fa+=Z)}return fa}}function F(z){return""===z.uri||"http://www.w3.org/1999/xhtml"===z.uri}function I(z){return["http://www.w3.org/1999/xhtml","http://www.w3.org/2000/svg", +"http://www.w3.org/1998/Math/MathML"].includes(z)}function m(z,M){return(M={action:["form"],archive:["object"],background:["body"],cite:["blockquote","del","ins","q"],classid:["object"],codebase:["applet","object"],data:["object"],datasrc:"button div input object select span table textarea".split(" "),"for":["script"],formaction:["button","input"],href:["a","area","base","link"],icon:["command"],longdesc:["frame","iframe","img"],manifest:["html"],name:["a"],poster:["video"],profile:["head"],src:"audio embed frame iframe img input script source track video".split(" "), +usemap:["img","input","object"]}[M.local])&&M.includes(z.local)}function g(z,M,W=null){switch(z.method){case "xml":M=new P(z,M);if(z.version&&"1.0"!==z.version)throw new G("Serializer does not support the requested XML version: "+z.version,"SESU0013");b(z);if(z["undeclare-prefixes"])throw new G("Cannot undeclare prefixes with XML 1.0 serializer","SEPM0010");z.indent&&(M=l(z,M));M=f(z,M);M=B(z,M);M=L(z,M);return D(z,M);case "html":return d(z,M);case "text":return b(z),M=new V(z,M),M=f(z,M),M=B(z,M), +D(z,M);case "xhtml":return d(z,M);case "json":return b(z),z.indent?new ma(z,M,W):new aa(z,M,W);case "adaptive":return new ia(z,M,W);default:return new Y(z,M)}}function e(z,M,W){function fa(ba,va){va=va.trim();if(["yes","true","1"].includes(va))return!0;if(["no","false","0"].includes(va))return!1;throw new G("Value of "+ba+" must be yes(=true, 1) or no(=false, 0)","SEPM0016");}function U(ba){return function(va,pa){pa=pa.trim();return pa.split(/\s+/).map(function(h){/^Q\{/.test(h)||/:/.test(h)||(h= +"Q{}"+h);return/^Q\{/.test(h)?h:p.QName.fromString(h,ba).toEQName()})}}function w(ba){return function(va,pa){pa=pa.trim();if(ba.includes(pa))return pa;throw new G("Value of "+va+"("+pa+"): must be one of "+ba.join("|"),"SEPM0016");}}function Z(ba){return function(va,pa){if(ba.test(pa))return pa;throw new G("Invalid value for "+va+": must match the pattern "+ba,"SEPM0016");}}function T(ba,va){return va}function ha(ba,va){va=va.trim();if(/[0-9]+/.test(va))return 1*va;throw new G("Value of "+ba+" must be an integer (Actual value is "+ +sa.showValue(va)+")","SEPM0016");}W={"allow-duplicate-names":fa,"build-tree":fa,"byte-order-mark":fa,"cdata-section-elements":U(W),"doctype-public":Z(/[\sa-zA-Z0-9\-'()+,.:=?;!*#@$_%\/]*/),"doctype-system":Z(/[^']*|[^"]*/),encoding:Z(/[\x21-\x7e]+/),"escape-uri-attributes":fa,"html-version":function(ba,va){if(/[0-9]+(\.[0-9]+)?/.test(va))return 1*va;throw new G("Value of "+ba+" must be a decimal number","SEPM0016");},"include-content-type":fa,indent:fa,"item-separator":T,"json-node-output-method":w(["xml", +"xhtml","html","text"]),"media-type":T,method:function(ba,va){return function(pa,h){h=h.trim();!/^Q\{/.test(h)&&/:/.test(h)&&(h=p.QName.fromString(h,va).toEQName());if(ba.includes(h))return h;throw new G("Value of "+pa+"("+h+"): must be one of "+ba.join("|"),"SEPM0016");}}("xml xhtml html text json adaptive Q{http://saxonica.com/ns/interactiveXSLT}append-content Q{http://saxonica.com/ns/interactiveXSLT}replace-content".split(" "),W),"normalization-form":w("NFC NFD NFKC NFKD fully-normalized none".split(" ")), +"omit-xml-declaration":fa,standalone:function(ba,va){return"omit"===va.trim()?null:fa(ba,va)},"suppress-indentation":U(W),"undeclare-prefixes":fa,"use-character-maps":U(W),version:T,"Q{http://saxon.sf.net/}indent-spaces":ha,"Q{http://saxon.sf.net/}line-length":ha,"Q{http://saxon.sf.net/}stylesheet-version":ha};/^\{/.test(z)&&(z="Q"+z);if("string"!==typeof M)throw new G("Value of "+z+" must be supplied as a string","SEPM0016");if(W[z])return W[z](z,M);if(!/^Q\{/.test(z))throw new G("Unknown serialization parameter "+ +z,"SEPM0017");}function k(z,M,W){function fa(T,ha,ba){if(!Array.isArray(ha))throw new G("Value of "+T+" must be an array","SEPM0016");return(ba||[]).concat(ha)}function U(T,ha){if("boolean"!==typeof ha)throw new G("Value of "+T+" must be boolean","SEPM0016");return ha}function w(T,ha){if("number"!==typeof ha)throw new G("Value of "+T+" must be an integer (actual value is "+sa.showValue(ha)+")","SEPM0016");return ha}const Z={"allow-duplicate-names":U,"build-tree":U,"byte-order-mark":U,"cdata-section-elements":fa, +"escape-uri-attributes":U,"html-version":function(T,ha){if("number"!==typeof ha)throw new G("Value of "+T+" must be a decimal number","SEPM0016");return ha},"include-content-type":U,indent:U,"omit-xml-declaration":U,standalone:function(T,ha){return null===ha?null:U(T,ha)},"suppress-indentation":fa,"undeclare-prefixes":U,"use-character-maps":function(T,ha,ba){ba&&Array.isArray(ba)&&sa.la("Problem with existing character map supplied to overrideParam");if("object"!==typeof ha)throw new G("Value of "+ +T+" must be an object","SEPM0016");if(void 0===ha.ya)throw new G("Value of "+T+" must be a character map object","SEPM0016");(T=ba)?v(T,ha):T=ha;return T},"Q{http://saxon.sf.net/}indent-spaces":w,"Q{http://saxon.sf.net/}line-length":w,"Q{http://saxon.sf.net/}stylesheet-version":w};/^{/.test(z)&&(z="Q"+z);return Z[z]?Z[z](z,M,W):e(z,M.toString())}function v(z,M){M.minz.max&&(z.max=M.max);for(let W in M.ya)M.ya.hasOwnProperty(W)&&(z.ya[W]=M.ya[W])}function t(z,M){let W={}; +z.forEach(function(fa,U){let w=M.Pg[fa];if(!w)throw new G("Unknown character map "+fa,"SEPM0016");0===U?W=w:v(W,w)});return W}function D(z,M){return z["item-separator"]&&"#absent"!==z["item-separator"]?new be(M,z["item-separator"]):new $d(M)}function l(z,M){const W=z["Q{http://saxon.sf.net/}indent-spaces"],fa=z["suppress-indentation"];return Pd("xml"===z.method?new la(W,fa):new E(W,fa),M)}function f(z,M){z["normalization-form"]&&"none"!==z["normalization-form"]&&(M=Pd(new oa(z["normalization-form"]), +M));return M}function B(z,M){z["use-character-maps"]&&(M=Pd(new K(z["use-character-maps"]),M));return M}function L(z,M){z["cdata-section-elements"]&&(M=Pd(new ca(z["cdata-section-elements"],z.encoding||"UTF-8",z["normalization-form"]&&"none"!==z["normalization-form"]?z["normalization-form"]:null),M));return M}function y(z,M){return void 0===z[M]||z[M]}function b(z){if(z.encoding&&!["UTF-8","UTF-16","ISO-646","ISO-8859-1","US-ASCII"].includes(z.encoding.toUpperCase()))throw new G("Serializer does not support the requested encoding: "+ +z.encoding,"SESU0007");}function d(z,M){var W="xhtml"===z.method;M=W?new H(z,M):new x(z,M);if(W&&z.version&&"1.0"!==z.version)throw new G("Serializer does not support the requested XML version: "+z.version,"SESU0013");if((W=W?z["html-version"]:z["html-version"]||z.version)&&5!==1*W)throw new G("Serializer does not support the requested HTML version: "+W,"SESU0013");b(z);y(z,"indent")&&(M=l(z,M));M=f(z,M);M=B(z,M);M=L(z,M);M=Pd(new A,M);y(z,"escape-uri-attributes")&&(M=Pd(new S,M));y(z,"include-content-type")&& +(M=Pd(new N(z),M));return D(z,M)}function q(z,M,W,fa=null){function U(ha,ba){switch(ha.nodeType){case 9:case 11:ba.Ea(T);ha=ha.childNodes;for(var va=0;va{w(va,ba)}):ac.X(ha)?U(ha,ba):ba.append(ha,T)}let Z;W||(Z= +"",W={write:function(ha){Z+=ha}});W.write||sa.la("writer supplied to Serialize.serialize() is not a writeable stream");M||={};M=g(M,W,fa);let T={};z&&w(z,M);M.close();return Z}const p=La.XS;class u extends Od{constructor(z,M){super();this.g=M||null;this.Pa=z}close(){this.g.end&&!this.g.isTTY&&this.g.end()}}class P extends u{constructor(z,M){super(z,M);this.B=this.I=this.xa=this.ra=this.zb=!1;this.eb=[];this.K=[];this.Zd=0;this.encoding=z.encoding||"UTF-8"}Ea(){}za(){}close(){this.I||this.aa();super.close()}na(z, +M,W){function fa(w){throw new G("When "+w+" is specified, there must only be one top-level element node","SEPM0004");}this.I||(this.aa(),this.Ca(z),this.ra&&!this.xa&&!0===this.Pa.indent&&this.g.write("\n"),this.I=!0);0===this.K.length&&(0"),this.B=!1):this.g.write("")}text(z,M={}){this.I||this.aa();this.B&&this.V();this.g.write(M.DISABLE_ESCAPING?this.j(z,!1):this.j(a(z,!1,!1),!0))}wa(z){this.I||this.aa();this.B&&this.V();this.g.write("\x3c!--"+this.j(z,!1)+"--\x3e")}va(z,M){this.I||this.aa();this.B&&this.V();this.g.write("")}append(z, +M={}){this.text(z.toString(),M)}aa(){this.zb||this.vi()}V(){this.g.write(">");this.B=!1}Ei(z,M){let W=[];for(let fa in z)if(M[fa]!==z[fa]){let U="";"xml"!==fa&&(U=""===fa?' xmlns="'+a(z[fa],!0,!1)+'"':" xmlns:"+fa+'="'+a(z[fa],!0,!1)+'"');""!==U&&W.push(U)}W.sort();W.forEach(fa=>this.g.write(fa))}ie(z,M){if(M){const W=this;M.forEach((fa,U)=>{W.fe(U,fa)})}}fe(z,M){const W=!0===M.kb.USE_NULL_MARKERS;M=M.kb.DISABLE_ESCAPING?this.j(M.value,!1):this.j(a(M.value,!0,W),!0);this.g.write(" "+this.j(z.toString(), +!1)+'="'+M+'"')}vi(){var z=this.encoding.toUpperCase();this.Pa["byte-order-mark"]&&"UTF-8"===z&&this.g.write("\ufeff");this.zb=!0;z=!0===this.Pa["omit-xml-declaration"]&&"UTF-8"===z;this.ra=!z;let M=this.Pa.standalone;if(z&&void 0!==M&&null!==M)throw new G("Serializer values of 'standalone' and 'omit-xml-declaration' conflict","SEPM0009");z||this.g.write('")}Ca(z){let M=this.Pa["doctype-system"]|| +null,W=this.Pa["doctype-public"]||null;null!==M&&(this.ra&&this.g.write("\n"),this.g.write("\n"):this.g.write(' PUBLIC "'+this.j(W,!1)+'" '+this.j(z,!1)+">\n"),this.xa=!0)}j(z,M){function W(U){if(M)return"&#"+U+";";throw new G("Character "+String.fromCodePoint(U)+" (decimal "+U+") is not available in the chosen encoding","SERE0008");}const fa=this.encoding;return function(U){let w= +"";var Z=0;const T=U.length;if(0===T)return"";for(;Zha)break;else if(127>ha)ba++;else if(160>ha||8232===ha||55296<=ha&&56320>=ha||!c(ha,fa))break;else ba++}if(ba>=T)return 0===Z?U:w+U.substring(Z,ba);ba>Z&&(w+=U.substring(Z,ba));ha=U.charCodeAt(ba);Z=U.charAt(ba);if(0===ha)throw new G("Null marker","ZZZZ9999");160>ha||8232===ha?w+=M?W(ha):Z:55296<=ha&&56320>=ha?(ha=U.codePointAt(ba++),w+=c(ha,fa)?Z+U.charAt(ba):W(ha)): +c(ha,fa)||(w+=W(ha));Z=++ba;if(Z>=T)return w}}(z)}}class la extends Qd{constructor(z,M){super();this.I=0;this.fe=z||3;this.Ca="\n ";this.B=this.K=this.V=!1;this.eb=M||null;this.j=-1;this.xa=null;this.zb={}}na(z,M,W,fa={}){this.K||this.B?this.ra():this.aa();if(0>this.j){let U=M.get(p.QName.fromParts("","http://www.w3.org/XML/1998/namespace","space"));U&&"preserve"===U.value&&(this.j=this.I)}this.I++;this.eb&&-1===this.j&&0<=this.eb.indexOf(z.toEQName())&&(this.j=this.I);this.g.na(z,M, +W,fa);this.K=this.V=!0;this.B=!1}endElement(){this.I--;this.B&&!this.V?this.ra():this.K&&!this.B?this.xa=null:this.aa();this.g.endElement();this.V=!1;this.B=!0;this.K=!1;this.I===this.j-1&&(this.j=-1)}text(z,M={}){const W=!this.V||0<=z.indexOf("\n");0>this.j&&""===Ha.trim(z)&&W?(this.xa=z,this.zb=M):(this.aa(),0<=z.indexOf("\n")&&(this.V=!1),this.g.text(z,M),this.B=this.K=!1)}wa(z,M={}){this.B?this.ra():this.aa();this.g.wa(z,M);this.B=this.K=!1}va(z,M,W={}){this.B?this.ra():this.aa();this.g.va(z, +M,W);this.B=this.K=!1}ra(){0<=this.j?this.aa():this.Xe()}Xe(){this.xa=null;let z=this.I*this.fe;if(z+1>this.Ca.length){let M=5*this.fe;z+1>this.Ca.length+M&&(M+=z+1);for(let W=0;W=Z.min&&w<=Z.max){fa=!1;break}}if(fa)T=z;else for(fa=0;fa=w;ha&&(w=z.codePointAt(fa));Z.ya[w]?(W||(""!==T&&(this.g.text(T,M),T=""),W=!0),T+=Z.ya[w],ha&&fa++):(W&&(W=Object.assign({},M),W.DISABLE_ESCAPING=!0,W.NO_NORMALIZATION=!0,this.g.text(T,W),T="",W=!1),T+=U)}W?(z=Object.assign({},M),z.DISABLE_ESCAPING=!0,z.NO_NORMALIZATION=!0,this.g.text(T,z)):this.g.text(T,M)}}}class ca extends Qd{constructor(z, +M,W){super();this.V=z||null;this.encoding=M;this.K=W;this.B=[];this.j="";this.I={};if("fully-normalized"===W)throw new G("Serializer does not support the requested normalization-form: fully-normalized","SESU0011");}na(z,M,W,fa={}){this.flush();this.B.push(z.toEQName());this.g.na(z,M,W,fa)}endElement(){this.flush();this.B.pop();this.g.endElement()}text(z,M={}){0<=this.V.indexOf(0===this.B.length?null:this.B[this.B.length-1])?M.DISABLE_ESCAPING?(this.flush(),this.g.text(z,M)):(this.j+=z,this.I=M):this.g.text(z, +M)}wa(z,M={}){this.flush();this.g.wa(z,M)}va(z,M,W={}){this.flush();this.g.va(z,M,W)}flush(){if(""!==this.j){const M=this.K?this.j.normalize(this.K):this.j,W=M.length;for(var z=0;zz&&this.aa(M.substring(z,fa));fa"),this.B=!1);this.Xe.includes(x.local.toLowerCase())&&E(x)||this.g.write("")}text(x,K={}){0"))throw new F("A processing instruction in HTML must not contain a > character","SERE0015");this.g.write("")}aa(){this.zb||(this.Pa["byte-order-mark"]&&"UTF-8"===this.Pa.encoding&&this.g.write("\ufeff"),this.zb=!0)}he(x,K){if(K){const U=this;K.forEach((ha,T)=>{x.hasURI("")&&this.Wf(x,T,ha.value)?U.g.write(" "+T.toString()):U.ee(T,ha)})}}Ca(x){let K=this.Pa["doctype-system"]||null,U=this.Pa["doctype-public"]||null;null===K&&null===U?E(x)&&"html"=== -x.local.toLowerCase()&&(this.ra&&this.g.write("\n"),this.g.write("\n"),this.xa=!0):null===K?(x=E(x)&&"html"===x.local.toLowerCase()?x.toString():"html",this.ra&&this.g.write("\n"),this.g.write("\n'),this.xa=!0):super.Ca("html"===x.local.toLowerCase()?x:n.QName.fromParts("","","html"))}Wf(x,K,U){K=K.local.toLowerCase();x=x.local.toLowerCase();return K===U.toLowerCase()&&(this.Yc[x]&&this.Yc[x].includes(K)||this.Yc["*"].includes(K))}} -class D extends ma{constructor(x,K){super(x,K);this.Wf="pre script style textarea title xmp".split(" ");this.he="a abbr acronym applet area audio b basefont bdi bdo big br button canvas cite code data datalist del dfn em embed font i iframe img input ins kbd label map mark math meter noscript object output picture progress q ruby s samp script select small span strike strong sub sup svg template textarea time tt u var video wbr".split(" ");this.ta=this.Yc=!1;this.Yd=[]}na(x,K,U,ha={}){this.Yc=this.he.includes(x.local.toLowerCase())&& -E(x);this.K||this.B?this.ra():this.aa();this.I++;0>this.j&&this.Wf.includes(x.local.toLowerCase())&&E(x)&&(this.j=this.I);this.eb&&-1===this.j&&0<=this.eb.indexOf(x.toEQName())&&(this.j=this.I);this.g.na(x,K,U,ha);this.K=this.V=!0;this.Yc=this.ta=this.B=!1;this.Yd.push(x)}endElement(){let x=this.Yd.pop();this.I--;this.B&&!this.V?this.ra():this.aa();this.g.endElement();this.V=!1;this.B=!0;this.K=!1;this.ta=this.he.includes(x.local.toLowerCase())&&E(x);this.I===this.j-1&&(this.j=-1)}text(x,K={}){super.text(x, -K);0>this.j&&""===Ha.trim(x)||(this.ta=!1)}wa(x,K={}){super.wa(x,K);this.ta=!1}va(x,K,U={}){super.va(x,K,U);this.ta=!1}ra(){0<=this.j||this.Yc||this.ta?this.aa():this.Xe()}}class y extends Qd{na(x,K,U,ha={}){for(let T in U)H(U[T])&&delete U[T];H(x.uri)&&(""!==x.prefix&&(x=n.QName.fromParts("",x.uri,x.local)),U[""]=x.uri);K.forEach((T,w)=>{H(w.uri)&&(U[w.prefix]=w.uri)});super.na(x,K,U,ha)}}class I extends W{constructor(x,K){super(x,K);this.ta="area base br col embed hr img input link meta param source track wbr".split(" ")}endElement(){this.K.pop(); -let x=this.eb.pop();this.B&&this.ta.includes(x.local)&&E(x)?(this.g.write(" />"),this.B=!1):(this.B&&super.V(),this.g.write(""))}text(x,K={}){(this.I||""!==Ha.trim(x))&&super.text(x,K)}Ca(x){let K=this.Pa["doctype-system"]||null;null===K&&E(x)&&"html"===x.local.toLowerCase()?(this.ra&&this.g.write("\n"),this.g.write("\n"),this.xa=!0):null!==K&&super.Ca(x)}}class R extends Qd{na(x,K,U,ha){let T=!1;K.forEach((w,Z)=>T=T||p(x,Z));if(T){const w=new de;K.forEach((Z, -S)=>{if(p(x,S)){const da=cd.escape(Z.value.normalize("NFC"),fa=>32>fa||126=T||127<=T&&159>=T||!c(T,K)?U+("\\u"+("0000"+T.toString(16).toUpperCase()).slice(-4)):U+w}}return U}ta(x){let K='"';if(this.ya){const w=this.ya;let Z="",S=!1;var U=!0;for(var ha=0;ha=w.min&&T<=w.max){U=!1;break}}if(U)Z=x;else for(U=0;U=T;da&&(T=x.codePointAt(U));w.ya[T]?(S||(""!==Z&&(K+=this.Ca(Z),Z=""),S=!0),Z+=w.ya[T],da&&U++):(S&& -(K+=Z,Z="",S=!1),Z+=ha)}K=S?K+Z:K+this.Ca(Z)}else K+=this.Ca(x);return K+'"'}zb(x){function K(T){switch(T.length){case 0:ha.g.write("null");break;case 1:U(T[0]);break;default:throw new F("Cannot output a sequence of length "+T.length+" as JSON","SERE0023");}}function U(T){var w=La.XS;if(La.pa(T))if(w.boolean.matches(T))ha.g.write(T.toString());else if(w.numeric.matches(T)){T=T.toString();if(["NaN","INF","-INF"].includes(T))throw new F("Cannot output INF or NaN as JSON","SERE0020");ha.g.write(T)}else ha.g.write(ha.ta(T.toString())); -else if(ac.X(T)){w=Object.assign({},ha.I);w.method=w["json-node-output-method"]||"xml";w["item-separator"]=null;w["omit-xml-declaration"]=!0;w.encoding="UTF-8";const Z=new la;r(T,w,Z,ha.ra);ha.g.write(ha.ta(Z.toString()))}else if(cd.isArray(T))if(T=T.value,0===T.length)ha.g.write("[]");else{ha.V("[");K(T[0]);for(w=1;w{Z?Z=!1:ha.aa();const fa=ha.ta(da.k.toString());if(!ha.I["allow-duplicate-names"]){if(S[fa])throw new F("Duplicate key '"+ -fa+"' in serialized JSON map","SERE0022");S[fa]=!0}ha.g.write(fa);ha.eb();K(da.v)});ha.K("}")}else throw new F("Cannot output "+sa.showValue(T)+" as JSON","SERE0021");}const ha=this;K(x)}V(x){this.g.write(x)}K(x){this.g.write(x)}aa(){this.g.write(",")}eb(){this.g.write(":")}}class ea extends ca{constructor(x,K,U){super(x,K,U);this.j=0;this.xa=x["Q{http://saxon.sf.net/}indent-spaces"]||3}V(x){super.V(x);this.j++;this.g.write("\n".padEnd(this.j*this.xa+1," "))}K(x){this.j--;this.g.write("\n".padEnd(this.j* -this.xa+1," "));super.K(x)}aa(){super.aa();this.g.write("\n".padEnd(this.j*this.xa+1," "))}eb(){this.g.write(": ")}}class ja extends Sd{constructor(x,K,U){super(U);this.I=x;this.g=K;this.ra=U;this.ya=x["use-character-maps"]||null}close(){function x(S,da){for(let fa in["fn","math","map","array","xs"])if(Zb.withPrefix[fa]===S)return fa+":"+da;return"Q{"+S+"}"+da}function K(S){return T.ya?q(T.ya,!1)(S):S}function U(S,da){if(1===S.length)ha(S[0],da);else{da.write("(");let fa=!0;for(let na=0;na{va?va=!1:da.write(",");ha(h.k,da);da.write(":");U(h.v,da)});da.write("}")}else S instanceof -ad.XdmFunction?S.local?da.write(x(S.uri,S.local)+"#"+S.arity):da.write("(anonymous function)#"+S.arity):da.write("JS: "+sa.showValue(S))}const T=this;let w=this.result(),Z=!0;for(let S=0;SZ(this.g));this.B=!0;this.pending=[]}super.na(x,K,U,ha)}text(x,K={}){this.B?super.text(x,K):this.pending.push(function(U){U.text(x,K)})}wa(x,K={}){this.B?super.wa(x,K): -this.pending.push(function(U){U.wa(x,K)})}va(x,K,U={}){this.B?super.va(x,K,U):this.pending.push(function(ha){ha.va(x,K,U)})}append(x,K={}){this.B?super.append(x,K):this.pending.push(function(U){U.append(x,K)})}za(){this.B?super.za():this.pending.push(function(x){x.za()})}close(){this.B||(this.j.method="xml",this.g=g(this.j,this.I),this.pending.forEach(x=>x(this.g)));super.close()}}class V extends B{constructor(x,K){super(x,K);this.j=!1}text(x){this.j||this.B();this.g.write(x)}append(x){this.j||this.B(); -this.g.write(x.toString())}B(){this.Pa["byte-order-mark"]&&"UTF-8"===this.Pa.encoding&&this.g.write("\ufeff");this.j=!0}}class la{constructor(){this.ma=""}write(x){this.ma+=x}toString(){return this.ma}}return{serialize:r,qh:g,StringWriter:la,parseParamDoc:function(x,K,U=null){function ha(S,da="SEPM0017"){throw new F("Serialization params: "+S,da);}function T(S,da=[]){const fa=ac.ca(S);ac.Ja.Ha(S).forEachItem(function(na){na=ac.ca(na);""!==na.uri||da.includes(na.local)||ha("attribute @"+na.local+" must not appear on element "+ -fa.toString())})}function w(S,da){let fa=ac.getAttribute(S,da,null);null===fa&&ha("attribute @"+da+" is missing on element "+ac.ca(S).toString());return fa}"serialization-parameters"!==ac.ca(x).local&&ha("root element name must be 'serialization-parameters'",U||"SEPM0017");"http://www.w3.org/2010/xslt-xquery-serialization"!==ac.ca(x).uri&&ha("root element namespace must be http://www.w3.org/2010/xslt-xquery-serialization",U||"SEPM0017");T(x);let Z=[];ac.Ec(x).forEach(function(S){if(ac.hasURI(S,"http://www.w3.org/2010/xslt-xquery-serialization")){var da= -ac.ca(S).local;let fa;Z.includes(da)&&ha("duplicated parameter "+da,"SEPM0019");Z.push(da);"use-character-maps"===da?(T(S),fa={min:0,max:0,ya:{}},ac.Ec(S).forEach(function(na){if(ac.hasURI(na,"http://www.w3.org/2010/xslt-xquery-serialization")&&"character-map"===ac.ca(na).local){T(na,["character","map-string"]);const va=w(na,"character");1fa.max&&(fa.max=h))}else ha("invalid child of use-character-maps: "+ac.ca(na).toString())}),55296ha&&(ha=S);55296"),this.B=!1);this.Xe.includes(z.local.toLowerCase())&&F(z)||this.g.write("")}text(z,M={}){0"))throw new G("A processing instruction in HTML must not contain a > character","SERE0015");this.g.write("")}aa(){this.zb||(this.Pa["byte-order-mark"]&&"UTF-8"===this.Pa.encoding&&this.g.write("\ufeff"),this.zb=!0)}ie(z,M){if(M){const W=this;M.forEach((fa,U)=>{z.hasURI("")&&this.Wf(z,U,fa.value)?W.g.write(" "+U.toString()):W.fe(U,fa)})}}Ca(z){let M=this.Pa["doctype-system"]||null,W=this.Pa["doctype-public"]||null;null===M&&null===W?F(z)&&"html"=== +z.local.toLowerCase()&&(this.ra&&this.g.write("\n"),this.g.write("\n"),this.xa=!0):null===M?(z=F(z)&&"html"===z.local.toLowerCase()?z.toString():"html",this.ra&&this.g.write("\n"),this.g.write("\n'),this.xa=!0):super.Ca("html"===z.local.toLowerCase()?z:p.QName.fromParts("","","html"))}Wf(z,M,W){M=M.local.toLowerCase();z=z.local.toLowerCase();return M===W.toLowerCase()&&(this.Zc[z]&&this.Zc[z].includes(M)||this.Zc["*"].includes(M))}} +class E extends la{constructor(z,M){super(z,M);this.Wf="pre script style textarea title xmp".split(" ");this.ie="a abbr acronym applet area audio b basefont bdi bdo big br button canvas cite code data datalist del dfn em embed font i iframe img input ins kbd label map mark math meter noscript object output picture progress q ruby s samp script select small span strike strong sub sup svg template textarea time tt u var video wbr".split(" ");this.ta=this.Zc=!1;this.Zd=[]}na(z,M,W,fa={}){this.Zc=this.ie.includes(z.local.toLowerCase())&& +F(z);this.K||this.B?this.ra():this.aa();this.I++;0>this.j&&this.Wf.includes(z.local.toLowerCase())&&F(z)&&(this.j=this.I);this.eb&&-1===this.j&&0<=this.eb.indexOf(z.toEQName())&&(this.j=this.I);this.g.na(z,M,W,fa);this.K=this.V=!0;this.Zc=this.ta=this.B=!1;this.Zd.push(z)}endElement(){let z=this.Zd.pop();this.I--;this.B&&!this.V?this.ra():this.aa();this.g.endElement();this.V=!1;this.B=!0;this.K=!1;this.ta=this.ie.includes(z.local.toLowerCase())&&F(z);this.I===this.j-1&&(this.j=-1)}text(z,M={}){super.text(z, +M);0>this.j&&""===Ha.trim(z)||(this.ta=!1)}wa(z,M={}){super.wa(z,M);this.ta=!1}va(z,M,W={}){super.va(z,M,W);this.ta=!1}ra(){0<=this.j||this.Zc||this.ta?this.aa():this.Xe()}}class A extends Qd{na(z,M,W,fa={}){for(let U in W)I(W[U])&&delete W[U];I(z.uri)&&(""!==z.prefix&&(z=p.QName.fromParts("",z.uri,z.local)),W[""]=z.uri);M.forEach((U,w)=>{I(w.uri)&&(W[w.prefix]=w.uri)});super.na(z,M,W,fa)}}class H extends P{constructor(z,M){super(z,M);this.ta="area base br col embed hr img input link meta param source track wbr".split(" ")}endElement(){this.K.pop(); +let z=this.eb.pop();this.B&&this.ta.includes(z.local)&&F(z)?(this.g.write(" />"),this.B=!1):(this.B&&super.V(),this.g.write(""))}text(z,M={}){(this.I||""!==Ha.trim(z))&&super.text(z,M)}Ca(z){let M=this.Pa["doctype-system"]||null;null===M&&F(z)&&"html"===z.local.toLowerCase()?(this.ra&&this.g.write("\n"),this.g.write("\n"),this.xa=!0):null!==M&&super.Ca(z)}}class S extends Qd{na(z,M,W,fa){let U=!1;M.forEach((w,Z)=>U=U||m(z,Z));if(U){const w=new de;M.forEach((Z, +T)=>{if(m(z,T)){const ha=cd.escape(Z.value.normalize("NFC"),ba=>32>ba||126=U||127<=U&&159>=U||!c(U,M)?W+("\\u"+("0000"+U.toString(16).toUpperCase()).slice(-4)):W+w}}return W}ta(z){let M='"';if(this.ya){const w=this.ya;let Z="",T=!1;var W=!0;for(var fa=0;fa=w.min&&U<=w.max){W=!1;break}}if(W)Z=z;else for(W=0;W=U;ha&&(U=z.codePointAt(W));w.ya[U]?(T||(""!==Z&&(M+=this.Ca(Z),Z=""),T=!0),Z+=w.ya[U],ha&&W++):(T&& +(M+=Z,Z="",T=!1),Z+=fa)}M=T?M+Z:M+this.Ca(Z)}else M+=this.Ca(z);return M+'"'}zb(z){function M(U){switch(U.length){case 0:fa.g.write("null");break;case 1:W(U[0]);break;default:throw new G("Cannot output a sequence of length "+U.length+" as JSON","SERE0023");}}function W(U){var w=La.XS;if(La.pa(U))if(w.boolean.matches(U))fa.g.write(U.toString());else if(w.numeric.matches(U)){U=U.toString();if(["NaN","INF","-INF"].includes(U))throw new G("Cannot output INF or NaN as JSON","SERE0020");fa.g.write(U)}else fa.g.write(fa.ta(U.toString())); +else if(ac.X(U)){w=Object.assign({},fa.I);w.method=w["json-node-output-method"]||"xml";w["item-separator"]=null;w["omit-xml-declaration"]=!0;w.encoding="UTF-8";const Z=new ka;q(U,w,Z,fa.ra);fa.g.write(fa.ta(Z.toString()))}else if(cd.isArray(U))if(U=U.value,0===U.length)fa.g.write("[]");else{fa.V("[");M(U[0]);for(w=1;w{Z?Z=!1:fa.aa();const ba=fa.ta(ha.k.toString());if(!fa.I["allow-duplicate-names"]){if(T[ba])throw new G("Duplicate key '"+ +ba+"' in serialized JSON map","SERE0022");T[ba]=!0}fa.g.write(ba);fa.eb();M(ha.v)});fa.K("}")}else throw new G("Cannot output "+sa.showValue(U)+" as JSON","SERE0021");}const fa=this;M(z)}V(z){this.g.write(z)}K(z){this.g.write(z)}aa(){this.g.write(",")}eb(){this.g.write(":")}}class ma extends aa{constructor(z,M,W){super(z,M,W);this.j=0;this.xa=z["Q{http://saxon.sf.net/}indent-spaces"]||3}V(z){super.V(z);this.j++;this.g.write("\n".padEnd(this.j*this.xa+1," "))}K(z){this.j--;this.g.write("\n".padEnd(this.j* +this.xa+1," "));super.K(z)}aa(){super.aa();this.g.write("\n".padEnd(this.j*this.xa+1," "))}eb(){this.g.write(": ")}}class ia extends Sd{constructor(z,M,W){super(W);this.I=z;this.g=M;this.ra=W;this.ya=z["use-character-maps"]||null}close(){function z(T,ha){for(let ba in["fn","math","map","array","xs"])if(Zb.withPrefix[ba]===T)return ba+":"+ha;return"Q{"+T+"}"+ha}function M(T){return U.ya?n(U.ya,!1)(T):T}function W(T,ha){if(1===T.length)fa(T[0],ha);else{ha.write("(");let ba=!0;for(let va=0;va{pa?pa=!1:ha.write(",");fa(h.k,ha);ha.write(":");W(h.v,ha)});ha.write("}")}else T instanceof +ad.XdmFunction?T.local?ha.write(z(T.uri,T.local)+"#"+T.arity):ha.write("(anonymous function)#"+T.arity):ha.write("JS: "+sa.showValue(T))}const U=this;let w=this.result(),Z=!0;for(let T=0;TZ(this.g));this.B=!0;this.pending=[]}super.na(z,M,W,fa)}text(z,M={}){this.B?super.text(z,M):this.pending.push(function(W){W.text(z,M)})}wa(z,M={}){this.B?super.wa(z,M): +this.pending.push(function(W){W.wa(z,M)})}va(z,M,W={}){this.B?super.va(z,M,W):this.pending.push(function(fa){fa.va(z,M,W)})}append(z,M={}){this.B?super.append(z,M):this.pending.push(function(W){W.append(z,M)})}za(){this.B?super.za():this.pending.push(function(z){z.za()})}close(){this.B||(this.j.method="xml",this.g=g(this.j,this.I),this.pending.forEach(z=>z(this.g)));super.close()}}class V extends u{constructor(z,M){super(z,M);this.j=!1}text(z){this.j||this.B();this.g.write(z)}append(z){this.j||this.B(); +this.g.write(z.toString())}B(){this.Pa["byte-order-mark"]&&"UTF-8"===this.Pa.encoding&&this.g.write("\ufeff");this.j=!0}}class ka{constructor(){this.ma=""}write(z){this.ma+=z}toString(){return this.ma}}return{serialize:q,rh:g,StringWriter:ka,parseParamDoc:function(z,M,W=null){function fa(T,ha="SEPM0017"){throw new G("Serialization params: "+T,ha);}function U(T,ha=[]){const ba=ac.ca(T);ac.Ja.Ha(T).forEachItem(function(va){va=ac.ca(va);""!==va.uri||ha.includes(va.local)||fa("attribute @"+va.local+" must not appear on element "+ +ba.toString())})}function w(T,ha){let ba=ac.getAttribute(T,ha,null);null===ba&&fa("attribute @"+ha+" is missing on element "+ac.ca(T).toString());return ba}"serialization-parameters"!==ac.ca(z).local&&fa("root element name must be 'serialization-parameters'",W||"SEPM0017");"http://www.w3.org/2010/xslt-xquery-serialization"!==ac.ca(z).uri&&fa("root element namespace must be http://www.w3.org/2010/xslt-xquery-serialization",W||"SEPM0017");U(z);let Z=[];ac.Fc(z).forEach(function(T){if(ac.hasURI(T,"http://www.w3.org/2010/xslt-xquery-serialization")){var ha= +ac.ca(T).local;let ba;Z.includes(ha)&&fa("duplicated parameter "+ha,"SEPM0019");Z.push(ha);"use-character-maps"===ha?(U(T),ba={min:0,max:0,ya:{}},ac.Fc(T).forEach(function(va){if(ac.hasURI(va,"http://www.w3.org/2010/xslt-xquery-serialization")&&"character-map"===ac.ca(va).local){U(va,["character","map-string"]);const pa=w(va,"character");1ba.max&&(ba.max=h))}else fa("invalid child of use-character-maps: "+ac.ca(va).toString())}),55296fa&&(fa=T);55296"0"+B.codePointAt(0))}const l=ac.Ja;b=l.Ya(b).expand().reverse();let r="";for(let n=0;nr};return function(r,n,B){let W=r[0];n.fixed.ka.Db(B,"i")&&(W=W.filter(function(ja){return!Hd.tc(ja)}));r=Hd.Xb(B,r[1],"compare",n);const ma=Hd.oi(r),qa=A.untypedAtomic.matches,L=A.numeric.matches,aa=A.double.matches,z=A.float.matches,D=A.anyURI.matches,y=A.string.matches; -r=A.duration.matches;const I=A.yearMonthDuration.matches,R=A.dayTimeDuration.matches;n=A.QName.matches;const M=A.double.R,ca=A.float.R,ea=A.string.R;W=W.mapOneToOne(function(ja){return qa(ja)?M(ja):ja});B=W.next();if(null===B)return Ob;n(B)&&d(b+"() not defined over QName");!r(B)||I(B)||R(B)||d(b+"() not defined over mixed durations");return Pb(H(W,B,function(ja,Y){(y(ja)&&L(Y)||y(Y)&&L(ja))&&d("Cannot compare string with numeric");(I(ja)&&!I(Y)||R(ja)&&!R(Y))&&d("Cannot compare mixed durations"); -if(Hd.tc(Y))return aa(ja)?M(Y):Y;if(Hd.tc(ja))return aa(Y)?M(ja):ja;aa(Y)&&!y(ja)?ja=M(ja):aa(ja)&&!y(Y)?Y=M(Y):z(Y)&&!y(ja)?ja=ca(ja):z(ja)&&!y(Y)&&(Y=ca(Y));D(Y)&&y(ja)?Y=ea(Y):D(ja)&&y(Y)&&(ja=ea(ja));try{return l(ma(ja,Y))?ja:Y}catch(V){throw V instanceof F&&"XPTY0004"===V.code&&(V.code="FORG0006"),V;}}))}}function g(b,d){if(2!==d.length&&5!==d.length)throw new F("Wrong number of arguments ("+d.length+") for "+b,"XPST0017");}function e(b,d){b=b[0].next();if(null===b)return Ob;if("timezone"=== -d)return null===b.Fa?Ob:Pb(A.dayTimeDuration.hh(b.Fa));if("seconds"===d)return d=b.proxy(),Wb(d.getUTCSeconds()+d.getUTCMilliseconds()/1E3);b=b.proxy()[d]();"getUTCMonth"===d&&b++;return Ub(b)}function k(b,d){b=b[0].next();return null===b?Ob:5!==d?Ub(jb(b)[d]*kb(b)):Wb(jb(b)[d]*kb(b))}function v(b,d,l){function r(W,ma){return Pb(La.codes[d].fromDate(W,ma))}const n=b[0].next();if(!n)return Ob;l=l.fixed.Jb.getTimezoneOffset();if(b[1]){var B=b[1].next();b=null!==B?B.Qa/6E4:null;if(null!==b&&(-840>b|| -840{n=B.evaluate(r?[n,[W]]:[[W], -n],d,l).expand()});return Kb(n)}let C=null,m=null;const f=ac,A=La.XS,O=f.Ja;return{abs:function(b){b=b[0].next();return null===b?Ob:Pb(b.abs())},"accumulator-after":function(b,d,l){b=a(b[0],d,l,"XTDE3340");return Kb(Ld.ei(l,b,ed(d),d))},"accumulator-before":function(b,d,l){b=a(b[0],d,l,"XTDE3340");return Kb(Ld.fi(l,b,ed(d),d))},"adjust-date-to-timezone":function(b,d){return v(b,"AA",d)},"adjust-dateTime-to-timezone":function(b,d){return v(b,"AM",d)},"adjust-time-to-timezone":function(b,d){return v(b, -"AT",d)},"analyze-string":function(b,d){const l=c(b[0]);var r=d.ja.createDocumentFragment();const n=Zb.Oa,B=d.ja.createElementNS(n,"analyze-string-result");r.appendChild(B);if(""===l)return Pb(B);r=b[1].next().toString();b=b[2]?b[2].next().toString():"";Zd.Of(l,r,b,!1,!1).forEach(function(W){let ma;if(W.Lc){let L;W=W.groups;ma=d.ja.createElementNS(n,"match");var qa=0;for(let aa=1;aaqa&&(qa=d.ja.createTextNode(W[0].substring(qa,L)),ma.appendChild(qa)), -qa=d.ja.createElementNS(n,"group"),qa.setAttribute("nr",aa),qa.appendChild(d.ja.createTextNode(W[aa])),ma.appendChild(qa),qa=L+W[aa].length);qaZd.qf(B,d,n,l,!0,!0)); -n.close();return Kb(r.Ob)},count:function(b){return Ub(b[0].count())},"current-date":function(b,d){return Pb(A.cd.fromDate(d.fixed.Jb,-d.fixed.Jb.getTimezoneOffset()))},"current-dateTime":function(b,d){return Pb(A.Ed.fromDate(d.fixed.Jb,-d.fixed.Jb.getTimezoneOffset()))},"current-group":function(){throw new F("The current-group() function cannot be invoked dynamicaly","XTDE1061");},"current-grouping-key":function(){throw new F("The current-grouping-key() function cannot be invoked dynamicaly","XTDE1071"); -},"current-merge-group":function(b,d){if(null===d.Bb)throw new F("There is no current merge group","XTDE3480");if(b[0]){b=b[0].next().value;if(d=d.Bb.groups[b])return Kb(d);throw new F("Unknown merge source "+b,"XTDE3490");}return Kb(d.Bb.items)},"current-merge-key":function(b,d){if(null===d.Bb)throw new F("There is no current merge group","XTDE3510");return Kb(d.Bb.keys)},"current-output-uri":function(b,d){b=0===d.ub.length?null:d.ub[d.ub.length-1];return null==b||"function"===d.qa?Ob:Pb(b)},"current-time":function(b, -d){return Pb(A.time.fromDate(d.fixed.Jb,-d.fixed.Jb.getTimezoneOffset()))},data:function(b,d){return b[0].mapOneToMany(d.fixed.ka.Sb)},dateTime:function(b){const d=b[0].next();b=b[1].next();if(null===d||null===b)return Ob;let l="";if(null!==d.Fa)if(null===b.Fa)l=db(d);else if(d.Fa!==b.Fa)throw new F("timezones are incompatible ","FORG0008");return Pb(A.dateTime.fromString(d.toString().substring(0,10)+"T"+b.toString()+l))},"day-from-date":function(b){return e(b,"getUTCDate")},"day-from-dateTime":function(b){return e(b, -"getUTCDate")},"days-from-duration":function(b){return k(b,2)},"deep-equal":function(b,d,l){d=Hd.Xb(l,b[2],"equals",d);return Xb(Fd(b[0],b[1],d))},"default-collation":function(){return Tb(Hd.$c)},"default-language":function(){return Pb(A.language.fromString("en"))},"distinct-values":function(b,d,l){d=Hd.df(l,b[1],d);const r=Hd.xf(d);return b[0].filter(function(n){if(r.containsKey(n))return!1;r.inSituPut(n,!0);return!0})},doc:function(b,d,l){b=Nd.Lg(b,d,l);if(null===b)return Pb(null);try{let r=Nd.Dc(b, -d);const n=d.fixed.Ee;n&&(r=n(r));return Pb(r)}catch(r){throw r;}},"doc-available":function(b,d,l){const r=Nd.Lg(b,d,l);return null===r?Xb(!1):Nd.Ih(function(){Nd.Dc(r,d)})},document:function(b,d,l){const r=d.fixed.ka;let n,B;if(b[1]&&(n=f.baseURI(b[1].next()),!n))throw new F("No base URI available for second argument of document()","XTDE1162");n||(B=r.Ia(l,d));const W=d.fixed.Ee;return f.kd(b[0].mapOneToMany(function(ma){const qa=n?n:f.X(ma)?f.baseURI(ma):B;return r.Sb(ma).mapOneToOne(function(L){if(null=== -qa)throw new F("No base URI for document('"+L+"')","XTDE1162");L=Nd.Dc(pa.Fb(L.toString(),qa),d);null!==W&&(L=W(L));return L})}))},"document-uri":function(b){b=b[0].next();return null!==b&&9===b.nodeType&&b._saxonDocUri?Pb(A.anyURI.fromString(b._saxonDocUri)):Ob},"element-available":function(b,d,l){b=a(b[0],d,l,"XTDE1440","##local").split("}");if(d="http://www.w3.org/1999/XSL/Transform"===b[0].substring(2))null==m&&(m=pa.rf("elements")),m[b[1]]||(d=!1);return Xb(d)},"element-with-id":function(b,d){return E(b, -d,"element-with-id")},empty:function(b){return Xb(null===b[0].next())},"encode-for-uri":function(b){b=encodeURIComponent(c(b[0])).replace(/[!'()*]/g,function(d){return"%"+d.charCodeAt(0).toString(16).toUpperCase()});return Tb(b)},"ends-with":function(b,d,l){const r=c(b[0]),n=c(b[1]);b=Hd.Xb(l,b[2],"endsWith",d);return Xb(b(r,n))},"environment-variable":function(){return Ob},error:function(b){if(void 0===b[0])throw new F("fn:error() invoked","FOER0000");var d=b[0].next();d=d?d.toEQName():"FOER0000"; -const l=b[1]?c(b[1]):"";d=new F(l,d);b[2]&&(d.errorObject=b[2].next());throw d;},"escape-html-uri":function(b){return Tb(cd.escape(c(b[0]),function(d){return 32>d||126Kb(n.get(r.Sb(B).next())));if(n instanceof $c)return b[0].mapOneToMany(function(B){B=r.Sb(B).next();B=A.numeric.matches(B)?B.toNumber():A.double.R(B).toNumber();return Kb(n.get(B))});sa.la("for-each() function object not instance of XdmFunction | XdmArray | XdmMap")},"for-each-pair":function(b,d,l){let r=b[2].expand(); -if(1!==r.length)throw new F("for-each-pair() must have exactly one function item as the third argument. Supplied length "+r.length,"XPTY0004",l);r=r[0];r instanceof ad.XdmFunction||sa.la("Function object not instance of XdmFunction");let n=[];const B=b[0];b=b[1];let W=B.next(),ma=b.next();for(;W&&ma;)n=n.concat(r.evaluate([[W],[ma]],d,l).expand()),W=B.next(),ma=b.next();return Kb(n)},"function-arity":function(b){b=b[0].next();return Pb(A.integer.fromNumber(b instanceof cc||b instanceof $c?1:b.arity))}, -"function-available":function(b,d,l){let r=!1;const n=a(b[0],d,l,"XTDE1400",Zb.Oa),B=b[1]?b[1].next().toNumber():-1,W=d.fixed.La;Object.keys(W).forEach(function(ma){ma=W[ma];ma.name===n&&ma.actor&&"function"===ma.actor.N&&(0>B?r=!0:(ma=cd.qb(ma.actor,"arg").length,B===ma&&(r=!0)))});r||(b=A.QName.fromEQName(n),null==C&&(C=pa.rf("functions")),r=(d=C[b.uri])&&d[b.local]?"concat"===b.local&&b.uri===Zb.Oa&&(-1===B||2<=B)?!0:0<=B?0<=d[b.local].indexOf(B):!0:!1);return Xb(r)},"function-lookup":function(b, -d,l){const r=b[0].next();b=b[1].next().toNumber();var n=Jd.find("SaxonJS").XPath;const B=d.ba(!0);B.bb=!0;n=n.getFnSignature(r,b,B);if(!n)return Ob;d=n.isUserFunction?new ad.Ff(n,d):r.uri===Zb.lc?new ad.Bf(n,r,l):new ad.He(n,r,b,l,d);return Pb(d)},"function-name":function(b){b=b[0].next();if(!(b instanceof ad.XdmFunction))throw new F("Input to function-name() is not an XdmFunction ","XXXX9999");return b.ic()&&b.ic().uri!==Zb.yg?Pb(b.ic()):Ob},"generate-id":function(b){b=b[0].next();return Tb(b?q(b): -"")},"has-children":function(b){return Xb(null!==O.Ka(b[0].next()).next())},head:function(b){return Pb(b[0].next())},"hours-from-dateTime":function(b){return e(b,"getUTCHours")},"hours-from-duration":function(b){return k(b,3)},"hours-from-time":function(b){return e(b,"getUTCHours")},id:function(b,d){return E(b,d,"id")},idref:function(){return Ob},"implicit-timezone":function(b,d){return Pb(A.dayTimeDuration.hh(-d.fixed.Jb.getTimezoneOffset()))},"index-of":function(b,d,l){const r=Sb(b[0]),n=b[1].next(); -b=Hd.Xb(l,b[2],"equals",d);const B=Hd.yi(b);return r.mapOneToOne(function(W){try{return B(W,n)?A.integer.fromNumber(r.position):null}catch(ma){return null}})},innermost:function(b,d,l){const r=d.fixed.ka.Db(l,"p")?b[0]:f.kd(b[0]);return new Mb(function*(){let n=null,B;for(;null!=(B=r.next());)if(n)if(O.Zc(B).some(W=>W===n))n=B;else{const W=n;n=B;yield W}else n=B;n&&(yield n)}())},"in-scope-prefixes":function(b){b=b[0].next();return Kb(f.Ic(b).map(function(d){return A.string.fromString(d.prefix)}))}, -"insert-before":function(b){const d=b[1].next().value,l=b[2],r=Sb(b[0]);return 1>d?Qb([l,r]):d>r.last()?Qb([r,l]):r.mapOneToMany(function(n){return r.position===d?Qb([b[2],Pb(n)]):Pb(n)})},"iri-to-uri":function(b){return Tb(cd.escape(c(b[0]),function(d,l){return 32>=d||126"{}|\\^`]/.test(l)}))},"json-doc":function(b,d,l){l=Nd.Te(b,d,l);if(!l)return Ob;l=Nd.Fi(l,d);b=b[1]?b[1].next():null;return Pb(Md.ze(l,b,d))},"json-to-xml":function(b,d,l){const r=d.fixed.ka;var n=b[0].next();if(null=== -n)return Ob;b=b[1]?b[1].next():null;n=Md.wj(n.toString(),b,d);b=d.ja.createDocumentFragment();b.appendChild(n);b._saxonBaseUri=r.Ia(l,d);return Pb(b)},key:function(b,d,l){function r(Y){Y=R?A.string.R(Y):Y;return I.containsKey(Y)?(Y=Kb(I.get(Y)),D===z?Y:Y.filter(function(V){return null!==O.Ya(V).filter(function(la){return la===z}).next()})):Ob}function n(Y){return{visibility:"PRIVATE",Za:Y,Dh:ma,actor:Y,We:Y.binds.split(" ").map(function(V){return parseInt(V,10)})}}const B=d.fixed.ka;var W=a(b[0], -d,l,"XTDE1260");const ma=B.ke(l,d),qa=ma.keys[W];if(!qa)throw new F("Unknown key "+W,"XTDE1260");const L=qa.vg,aa=B.Db(qa.Ld[0],"c");let z,D;if(b[2])z=b[2].next(),f.X(z)&&(D=f.rc(z));else{var y=ed(d);f.X(y)&&(D=z=f.rc(y))}if(!D||9!==D.nodeType&&11!==D.nodeType)throw new F("No containing document for key()","XTDE1270",l);"_saxonIndexes"in D||(D._saxonIndexes={},D._saxonIndexesBC={});l=D._saxonIndexes;let I=l[L];if("under construction"===I)throw new F("Definition of key "+W+" is circular","XTDE0640"); -let R=!1;if(I)R=D._saxonIndexesBC[L];else{W=Hd.df(qa.Ld[0],null,d);I=Hd.xf(W,aa);l[L]="under construction";W=function(V){return Qb([O.self(V),O.ob(V),O.Ha(V)])};y=function(V){return Qb([O.self(V),O.Ha(V)])};const Y=function(V){return Qb([O.self(V),O.ob(V)])};for(let V=0;VI.get(ha).indexOf(T)&&(I.get(ha).push(T),1b.length+1&&d.substring(0,b.length)===b&&"-"===d.charAt(b.length))},last:function(b, -d){fd(d,"XPDY0002","last()");return Ub(d.focus.last())},"load-xquery-module":function(){throw new F("No XQuery processor available","FOQM0006");},"local-name":function(b){b=f.ca(b[0].next());return Tb(b?b.local:"")},"local-name-from-QName":function(b){b=b[0].next();return null===b?Ob:Pb(La.type.NCName.fromString(b.local))},"lower-case":function(b){return Tb(c(b[0]).toLowerCase())},matches:function(b){const d=c(b[0]);var l=b[1].next().toString();b=Ha.xg(b[2]?b[2].next().toString():"");l=Ha.Ce(l,b, -d);return Xb(0<=d.search(l))},max:p("max"),min:p("min"),"minutes-from-dateTime":function(b){return e(b,"getUTCMinutes")},"minutes-from-duration":function(b){return k(b,4)},"minutes-from-time":function(b){return e(b,"getUTCMinutes")},"month-from-date":function(b){return e(b,"getUTCMonth")},"month-from-dateTime":function(b){return e(b,"getUTCMonth")},"months-from-duration":function(b){return k(b,1)},name:function(b){b=f.ca(b[0].next());return Tb(b?b.toString():"")},"namespace-uri":function(b){b=f.ca(b[0].next()); -return Pb(A.anyURI.fromString(b?b.uri:""))},"namespace-uri-for-prefix":function(b){var d=c(b[0]);b=b[1].next();d="xml"===d?Zb.xml:b.lookupNamespaceURI(""===d?null:d);return null!==d?Pb(A.anyURI.fromString(d)):Ob},"namespace-uri-from-QName":function(b){b=b[0].next();return null===b?Ob:Pb(A.anyURI.fromString(b.uri))},nilled:function(b){return(b=b[0].next())&&1===b.nodeType?Xb(!1):Ob},"node-name":function(b){return Pb(f.ca(b[0].next()))},"normalize-space":function(b){b=c(b[0]);return Tb(xa(b))},"normalize-unicode":function(b){if(String.prototype.normalize){const d= -c(b[0]);b=b[1]?b[1].next().toString().toUpperCase().trim():"NFC";if(["NFC","NFD","NFKC","NFKD"].includes(b))return Tb(d.normalize(b));if(""===b)return Tb(d)}throw new F("normalize-unicode(): not supported on this Javascript platform","FOCH0003");},not:function(b,d){return Xb(!d.fixed.ka.Fd(b[0]))},number:function(b){return Pb(La.XS.numeric.xe(b[0].next()))},"one-or-more":function(b){b=Fb(b[0]);if(null===b.ua())throw new F("Required length >= 1, actual length zero","FORG0004");return b},outermost:function(b, -d,l){d=d.fixed.ka.Db(l,"p");b=b[0];d||(b=f.kd(b));let r=null;return b.filter(function(n){if(null===r)return r=n,!0;if(O.Zc(n).some(B=>B===r))return!1;r=n;return!0})},"parse-ietf-date":function(b){return b[0].mapOneToOne(function(d){function l(z){return 1===z.length?"0"+z:z}function r(){throw new F("Invalid IETF date/time "+d.toString(),"FORG0010");}var n=d.toString().trim().toLowerCase();n=n.replace(/^(monday|tuesday|wednesday|thursday|friday|saturday|sunday|mon|tue|wed|thu|fri|sat|sun),?\s+/,""); -let B;let W,ma;if(/^[a-z]/.test(n))if(B=/^([a-z]{3})(?:\s*-\s*|\s+)(\d\d\d?\d?)\s+([\d:.]+)\s*([a-z]+|[+\-]\d\d?:?(?:\d\d)?(?:\s*\(\s*[a-z]+\s*\))?)?\s+(\d+)$/,n=B.exec(n),null!==n){var qa=n[1];var L=n[2];ma=n[3];var aa=n[4];W=n[5]}else r();else B=/^(\d+)(?:\s*-\s*|\s+)([a-z]{3})(?:\s*-\s*|\s+)(\d\d\d?\d?)\s+([\d:.]+)\s*([a-z]+|[+\-]\d\d?:?(?:\d\d)?(?:\s*\(\s*[a-z]+\s*\))?)?$/,n=B.exec(n),null!==n?(L=n[1],qa=n[2],W=n[3],ma=n[4],aa=n[5]):r();2===W.length&&(W="19"+W);qa="jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec".indexOf(qa|| -"*");0>qa&&r();n={ut:"Z",utc:"Z",gmt:"Z",est:"-05:00",edt:"-04:00",cst:"-06:00",cdt:"-05:00",mst:"-07:00",mdt:"-06:00",pst:"-08:00",pdt:"-07:00"};/^[0-9]:/.test(ma)&&(ma="0"+ma);5===ma.length&&(ma+=":00");aa&&(aa=/([a-z]+)|([+\-]\d\d?:?(?:\d\d)?)(?:\s*\(\s*([a-z]+)\s*\))?$/.exec(aa),(!aa[3]||aa[3]in n)&&(!aa[1]||aa[1]in n)||r(),aa=aa[1]?aa[1]:aa[2],/^[+\-][0-9]((:|$)|[0-9]{2}$)/.test(aa)&&(aa=aa.charAt(0)+"0"+aa.substring(1)),aa in n?aa=n[aa]:3===aa.length?aa+=":00":4===aa.length?aa+="00":5===aa.length&& -(aa=aa.substring(0,3)+":"+aa.substring(3)));L=W+"-"+l((qa/4+1).toString())+"-"+l(L)+"T"+ma+(aa||"Z");try{return A.dateTime.fromString(L)}catch(z){throw new F("''"+d.toString()+"'' is not a valid IETF date","FORG0010");}})},"parse-json":function(b,d){const l=b[0].next();if(null===l)return Ob;b=b[1]?b[1].next():null;return Pb(Md.ze(l.toString(),b,d))},"parse-xml":function(b,d,l){b=b[0].next();if(null===b)return Ob;const r=d.fixed.ka;try{const n=pa.parseXmlFromString(b.toString());n._saxonBaseUri=r.Ia(l, -d);return Pb(n)}catch(n){throw new F(n.message,"FODC0006");}},"parse-xml-fragment":function(b,d,l){const r=d.fixed.ka;return b[0].mapOneToOne(function(n){const B=/^<\?xml(?:\s+version\s*=\s*(['"])1.[0-9]+['"])?\s+encoding\s*=\s*(['"][A-Za-z](?:[A-Za-z0-9._\-])*)['"]\s*\?>/;n=n.toString();if(/^<\?xml/.test(n)&&!B.test(n))throw new F("Invalid XML header for a text declaration","FODC0006");n=n.replace(B,"");let W;try{W=pa.parseXmlFromString(""+n+"")}catch(qa){throw new F(qa.message,"FODC0006"); -}const ma=d.ja.createDocumentFragment();O.Ka(W.documentElement).forEachItem(function(qa){ma.appendChild(qa)});ma._saxonBaseUri=r.Ia(l,d);return ma})},path:function(b){return b[0].mapOneToOne(function(d){function l(r){return O.Oc(r).filter(function(n){return r.nodeType===n.nodeType})}return A.string.fromString(function(r){if([9,11].includes(r.nodeType))return"/";let n="",B=r;for(;B;){r=f.Xa(B);if(!r)return[9,11].includes(B.nodeType)?n:"Q{http://www.w3.org/2005/xpath-functions}root()"+n;switch(B.nodeType){case 9:case 11:return n; -case 1:const W=f.ca(B);n=`/${W.toEQName()}[${1+l(B).filter(ma=>f.ca(ma).equals(W)).count()}]${n}`;break;case 3:case 4:n=`/text()[${1+l(B).count()}]`;break;case 8:n=`/comment()[${1+l(B).count()}]`;break;case 7:n=`/processing-instruction(${B.target})[${1+l(B).filter(ma=>B.target===ma.target).count()}]`;break;case 2:n=`/@${0>B.name.indexOf(":")?B.name:f.ca(B).toEQName()}`;break;default:n=`/namespace::${""!==B.prefix?B.prefix:"*[Q{"+Zb.Oa+'}local-name()=""]'}`}B=r}}(d))})},"prefix-from-QName":function(b){return b[0].mapOneToOne(function(d){return""=== -d.prefix?null:A.Ag.fromString(d.prefix)})},position:function(b,d){fd(d,"XPDY0002","position()");return Ub(d.focus.position)},QName:function(b){var d=b[1].next().value;const l=d.split(":"),r=2===l.length?l[0]:"";b=c(b[0]);if(""!==r&&""===b)throw new F("Prefix but no URI for QName()","FOCA0002");if(2===l.length&&""===r||""!==r&&!Ha.Lb(r))throw new F(d+" not valid for QName()","FOCA0002");d=2===l.length?l[1]:l[0];if(!Ha.Lb(d))throw new F(d+" not valid local name for QName()","FOCA0002");return Pb(A.QName.fromParts(r, -b,d))},"random-number-generator":function(b,d){b=new cc;b.inSituPut(A.string.fromString("number"),[A.double.fromNumber(Math.random())]);var l=A.QName.fromParts("fn",Zb.Oa,"random-number-generator"),r=Jd.find("SaxonJS").XPath,n=r.getFnSignature(l,0,d);l=new ad.He(n,l,0,{},d);b.inSituPut(A.string.fromString("next"),[l]);l=A.QName.fromParts("saxon",Zb.wb,"permute");n=d.ba();n.bb=!0;r=r.getFnSignature(l,1,n);d=new ad.He(r,l,1,{},d);b.inSituPut(A.string.fromString("permute"),[d]);return Pb(b)},"regex-group":function(b, -d){b=b[0].next().toNumber();try{return Tb(d.Mb[b]||"")}catch(l){return Tb("")}},remove:function(b){const d=b[1].next().toNumber(),l=Sb(b[0]);return l.filter(function(){return l.position!==d})},replace:function(b){const d=c(b[0]),l=Ha.xg(b[3]?b[3].next().toString():"");let r=0;const n=Ha.Ce(b[1].next().toString(),l+"g",null,B=>{r=B});if(n.test(""))throw new F("Regular expression matches zero-length string","FORX0003");b=Ha.si(b[2].next().toString(),l,r);return Tb(d.replace(n,b))},"resolve-QName":function(b){const d= -b[1].next();return b[0].mapOneToOne(function(l){try{return f.Cj(d,l.toString(),!0)}catch(r){throw r instanceof F&&"FORG0001"===r.code&&(r.code=Ha.uh(l)?"FONS0004":"FOCA0002"),r;}})},"resolve-uri":function(b,d,l){const r=d.fixed.ka;if(b[1]){let n=b[1].next();d=n?n.toString():r.Ia(l,d)}else d=r.Ia(l,d);b=b[0].next();if(null===b)return Ob;b=b.toString();l=f.ld(b);if(null!==d&&(d=d.replace(/^file:\/(?!\/)/,"file:///"),/#/.test(d)))throw new F("Base URI "+d+" contains a fragment identifier","FORG0002"); -if(!l&&null!==d&&!f.ld(d))throw new F("resolve-uri: invalid URI (base="+d+", relative="+b+")","FORG0002");b=l?b:pa.Fb(b,d).toString();return Pb(A.anyURI.fromString(b))},reverse:function(b){return Kb(b[0].expand().slice().reverse())},root:function(b){return b[0].mapOneToMany(d=>O.Ya(d)).filter(d=>!f.Xa(d))},round:function(b){return b[0].mapOneToOne(d=>d.round(b[1]?Math.min(b[1].next().value,1E4):0))},"round-half-to-even":function(b){return b[0].mapOneToOne(d=>d.sf(b[1]?Math.min(b[1].next().value,1E4): -0))},"seconds-from-dateTime":function(b){return e(b,"seconds")},"seconds-from-duration":function(b){return k(b,5)},"seconds-from-time":function(b){return e(b,"seconds")},serialize:function(b,d){function l(B){B.method="xml";B.indent=!1;B["omit-xml-declaration"]=!0}const r=new ge.StringWriter,n={};if(b[1]){const B=b[1].next();if(null===B)l(n);else if(ac.X(B)){if(!ac.sh(B))throw new F("Second argument supplied to serialize() is wrong kind of node","XPTY0004");ge.parseParamDoc(B,n,"XPTY0004")}else{if(!(B instanceof -cc))throw new F("Second argument supplied to serialize() does not match required type","XPTY0004");const W=function(ma,qa,L,aa,z=!1){const D=La.XS.string.fromString(ma);if(B.containsKey(D)){let y=B.get(D);if(0I.push(R));y=I}else throw new F("fn:serialize(): supplied value of "+D+" is invalid","XPTY0004");if(1!==y.length&&!L&&!z||!y.every(I=>"AZ"===I.code||qa.matches(I)))throw new F("fn:serialize(): supplied value of "+D+" is invalid","XPTY0004"); -n[ma]=z&&0===y.length?null:aa(L?y:"AZ"===y[0].code?qa.R(y[0]):y[0])}};"doctype-public doctype-system encoding item-separator json-node-output-method media-type method normalization-form version".split(" ").forEach(ma=>W(ma,La.XS.string,!1,qa=>qa.toString()));"allow-duplicate-names byte-order-mark escape-uri-attributes include-content-type indent omit-xml-declaration undeclare-prefixes".split(" ").forEach(ma=>W(ma,La.XS.boolean,!1,qa=>qa.toBoolean()));W("standalone",La.XS.boolean,!1,ma=>ma.toBoolean(), -!0);W("html-version",La.XS.mb,!1,ma=>ma.toNumber());["cdata-section-elements","suppress-indentation"].forEach(ma=>W(ma,La.XS.QName,!0,qa=>{let L="";for(let aa=0;aaz instanceof cc))throw new F("fn:serialize(): supplied value of "+qa+" is invalid","XPTY0004");L=L[0]; -var aa=function(z){return A.string.matches(z)};if(!L.conforms(aa,aa,function(z){return 1===z}))throw new F("fn:serialize(): supplied value of "+qa+" is invalid","XPTY0004");qa=cd.sb(L,!0);L={min:0,max:0,ya:{}};for(let z in qa)if(qa.hasOwnProperty(z)){if(1L.max&&(L.max=aa);L.ya[aa]=qa[z]}n[ma]=L}})("use-character-maps")}}else l(n); -ge.serialize(b[0].expand(),n,r,d);return Tb(r.toString())},snapshot:function(b,d,l){return b[0].mapOneToOne(function(r){function n(y){if(0W.append(R));0W.append(R));O.ob(L).forEachItem(R=>W.append(R))},W):Zd.qf(r,d,W,l,!0,!0),z=B.oc.lastChild)},W)}}const B=Vd(d),W=Zd.Fc(B);if(!f.Xa(r))return Zd.qf(r,d,W,l,!0,!0),W.close(),Kb(B.Ob).next();const ma=r.nodeType, -qa=f.ca(r);var L=r,aa=[2,13].includes(ma);aa&&(L=f.Xa(L));W.Ea();let z;const D=O.Zc(L).expand();0f.ca(y).equals(qa)).next();case 13:return f.Ja.ob(z).filter(y=>f.ca(y).equals(qa)).next();default:return z}})},sort:function(b,d,l){const r=Hd.df(l,b[1],d);let n=cd.Sb;if(b[2]){const B=b[2].next();n=function(W){return B.evaluate([[W]],d,l)}}return Kb(b[0].expand().slice().sort(function(B, -W){return b[1]?Id(n(B),n(W),r):Id(n(B),n(W))}))},"starts-with":function(b,d,l){const r=c(b[0]),n=c(b[1]);b=Hd.Xb(l,b[2],"startsWith",d);return Xb(b(r,n))},"static-base-uri":function(b,d,l){return(b=d.fixed.ka.Ia(l,d))?Pb(A.anyURI.fromString(b)):Ob},"stream-available":function(){return Xb(!1)},string:function(b,d){d=d.fixed.ka;b=b[0].next();if(!b)return Tb("");if(d.isArray(b)||d.isMap(b)||d.Jd(b))throw new F("Input to string() is a function item ","FOTY0014");return d.Sb(b).mapOneToOne(function(l){return A.string.R(l)})}, -"string-join":function(b){let d="";const l=b[1]?b[1].next().value:"";let r,n=!0;for(;null!==(r=b[0].next());)n||(d+=l),d+=r.toString(),n=!1;return Tb(d)},"string-length":function(b){return Ub(Da(c(b[0])).length)},"string-to-codepoints":function(b){return Kb(Da(c(b[0])).map(A.integer.fromNumber))},subsequence:function(b){const d=Math.round(b[1].next().toNumber()),l=b[2]?d+Math.round(b[2].next().toNumber()):Number.POSITIVE_INFINITY;return new Nb(b[0],d,l)},substring:function(b){var d=Math.round(b[1].next().toNumber()); -const l=b[2]?d+Math.round(b[2].next().toNumber()):Number.POSITIVE_INFINITY;b=new Mb(c(b[0])[Symbol.iterator]());d=new Nb(b,d,l);return Tb(d.expand().join(""))},"substring-after":function(b,d,l){let r="";const n=c(b[0]),B=c(b[1]);let W;-1!==(W=Hd.Xb(l,b[2],"indexOf",d)(n,B))&&(r=n.substring(W+B.length));return Tb(r)},"substring-before":function(b,d,l){let r="";const n=c(b[0]),B=c(b[1]);let W;-1!==(W=Hd.Xb(l,b[2],"indexOf",d)(n,B))&&(r=n.substring(0,W));return Tb(r)},sum:function(b,d){d=b[0].mapOneToOne(d.fixed.ka.Xh); -const l=d.next();if(null===l)return 1===b.length?Ub(0):b[1];try{return mb["a+a"](l,l),Pb(H(d,l,mb["a+a"]))}catch(r){throw r instanceof F&&"XPTY0004"===r.code&&(r.code="FORG0006"),r;}},"system-property":function(b,d,l){b=A.QName.fromEQName(a(b[0],d,l,"XTDE1390"));d="";b.uri===Zb.Wc&&(d={version:"3.0",vendor:"Saxonica","vendor-url":"http://www.saxonica.com/","product-name":"SaxonJS","product-version":"2.6","is-schema-aware":"no","supports-serialization":"yes","supports-backwards-compatibility":"yes", -"supports-namespace-axis":"yes","supports-streaming":"no","supports-dynamic-evaluation":"yes","supports-higher-order-functions":"yes","xpath-version":"3.1","xsd-version":"1.1"}[b.local]);b.uri===Zb.wb&&(d=pa.Di()[b.local]);d||="";return Tb(d)},tail:function(b){const d=Sb(b[0]);return d.filter(function(){return 1!==d.position})},"timezone-from-date":function(b){return e(b,"timezone")},"timezone-from-dateTime":function(b){return e(b,"timezone")},"timezone-from-time":function(b){return e(b,"timezone")}, -tokenize:function(b){var d=c(b[0]);b[1]||(d=xa(d));if(""===d)return Ob;var l=b[1]?b[1].next().toString():"[ \\n\\r\\t]+";l=Zd.Of(d,l,b[2]?b[2].next().toString():"",!1,!0);d=b[1]&&l[0].Lc;const r=l[l.length-1];b=b[1]&&r.Lc;l=l.filter(function(n){return!n.Lc}).map(function(n){return n.string});d&&l.unshift(A.string.fromString(""));b&&l.push(A.string.fromString(""));return Kb(l)},trace:function(b,d){const l=b[0].expand();sa.Ma("fn:trace: "+(2===b.length?b[1].next().toString()+": ":"")+sa.showValue(l), -1,d.fixed.Ta);return Kb(l)},transform:function(b,d,l){function r(na){na=A.string.fromString(na);return ca.get(na)}function n(na,va="FOXT0002"){throw new F(na,va);}function B(na,va,h=null){if("matches"in va&&"name"in va){if(va.matches(na))return na;throw new F(null!==h?`The required item type of ${h} is ${va.name}`:`The required item type is ${va.name}`,"XPTY0004");}return na}function W(na,va){if(Ia(na))return na;throw new F(`The required item type of ${va} is string|unTypedAtomic|anyURI`,"XPTY0004"); -}function ma(na,va,h=G=>G){(na=r(na))&&(na=Kb(na).ua())&&(ea[va]=h(na))}function qa(na){return function(va){va instanceof cc||n("The value of the option "+na+" in fn:transform() must be of type map(xs:QName,item()*)","XPTY0004");if(va.conforms(h=>{A.QName.matches(h)||n("The keys of the "+na+" option in fn:transform() must be of type xs:QName. Supplied value:"+h.toString());return!0},()=>!0,()=>!0))return va}}function L(na,va){ma(na,va,qa(na))}function aa(na){na.C&&na.C.forEach(function(va){va.parentNode= -na;aa(va)})}function z(na,va,h){if(!R.N)throw new F("No XSLT processor is available to support fn:transform(). If using SaxonJS2.rt.js, it does not contain an XSLT compiler ","FOXT0001",l);let G={stylesheetParams:new cc,tunnelParams:{},functionParams:{},isDynamicStylesheet:!0,destination:"application",initialMode:"compile-complete",templateParams:{"Q{}options":{noXPath:!1}}};for(let Q in va)"compiler.options"===Q?G.tunnelParams["Q{}compiler.options"]=va[Q]:G.templateParams["Q{}options"][Q]=va[Q]; -G.stylesheetParams.inSituPut(La.XS.QName.fromParts("","","staticParameters"),[h]);G.stylesheetInternal=R;G.outputProperties={};aa(R);"true"===R.relocatable&&(G.isRelocatableStylesheet=!0);va=y.checkOptions(G);y.internalTransform(R,na,va);return va.principalResult}function D(na){na=I.Sb(na).expand();if(1W(D(na),"stylesheet-location").toString());ma("stylesheet-node","stylesheetNode");ma("stylesheet-text","stylesheetText");ma("package-location","packageLocation",na=>W(D(na),"package-location").toString());ma("package-node","packageNode");ma("package-text","packageText");let V=0;"stylesheetLocation stylesheetNode stylesheetText packageLocation packageNode packageText".split(" ").forEach(na=>{ea[na]&&V++});1!==V&&n("A stylesheet must be supplied as an option to fn:transform(), by exactly one of 'stylesheet-location', 'stylesheet-node', 'stylesheet-text', 'package-location', 'package-node' or 'package-text'"); -ma("source-node","sourceNode");ma("global-context-item","globalContextItem");(b=r("source-node")[0])&&!r("global-context-item")[0]&&f.Xa(b)&&(ea.globalContextItem=b.ownerDocument);(b=r("initial-match-selection"))&&0B(na,A.QName,"initial-template").toEQName());ma("initial-mode","initialMode",function(na){return["#unnamed","#default"].includes(na.toString())?na.toString():B(na,A.QName,"initial-mode").toEQName()});ma("initial-function", -"initialFunction",na=>B(na,A.QName,"initial-function").toEQName());ma("static-params","staticParams");ma("base-output-uri","baseOutputURI");ma("stylesheet-base-uri","stylesheetBaseURI",na=>na.toString());ma("delivery-format","destination",na=>na.toString());let la=ea.destination;la&&!["raw","document","serialized"].includes(la)&&n("The value of the delivery-format option to fn:transform() must be one of 'raw', 'document' or 'serialized'. Supplied value is "+la);la||="document";b=(b=r("enable-messages"))&& -1===b.length?b[0].toBoolean():!1;let x=r("enable-assertions");x=x&&1===x.length?x[0].toBoolean():!1;var K=null,U=null;if(ea.stylesheetNode){var ha=ea.stylesheetNode._saxonBaseUri||"NoStylesheetBaseURI";if(9==ea.stylesheetNode.nodeType)U=ea.stylesheetNode.cloneNode(!0);else if(11==ea.stylesheetNode.nodeType){U=pa.createDocument();var T=ea.stylesheetNode.childNodes;for(var w=0;w10*ja&&n("No suitable XSLT processor is available; requested XSLT version in fn:transform() is: "+(Y/10).toString());ea.sourceNode&& -ea.initialSelection&&n("Only one of 'source-node' or 'initial-match-selection' must be supplied to fn:transform() for apply-templates invocation");ea.initialTemplate&&ea.initialMode&&n("Only one of 'initial-template' or 'initial-mode' should be supplied to fn:transform()");if(ea.sourceNode){Y=ea.sourceNode;var Z=Y.cloneNode(!0);Z._saxonBaseUri=Y._saxonBaseUri;Z._saxonDocUri=Y._saxonDocUri}ea.baseOutputURI||(ea.baseOutputURI="",M=!0);L("stylesheet-params","stylesheetParams");L("template-params","templateParams"); -L("tunnel-params","tunnelParams");ma("function-params","functionParams",function(na){sa.assert(na instanceof $c);return na.value});"serialized"===la&&ma("serialization-params","outputProperties",na=>I.sb(na,!0));ea.deliverResultDocument=function(){let na=this;return new ie(la,function(va,h){na.resultDocuments[va.toString()]="serialized"===la?[La.XS.string.fromString(h)]:ac.X(h)?[h]:null===h?[]:h})};ea.deliverMessage=function(na){pa.oh()(na);this.zh.push([na])};let S={};Y=Kb(r("collections")).ua(); -null!==Y&&(S=I.sb(Y,!0));ea.collectionFinder=function(na){return"undefined"===typeof na?null:S[na]};Y=!["raw","serialized"].includes(la);let da,fa;try{aa(K);"true"===K.relocatable&&(ea.isRelocatableStylesheet=!0);if(ea.stylesheetNode||ea.packageText||ea.packageNode)ea.stylesheetInternal=K;fa=y.checkOptions(ea);y.internalTransform(K,Z,fa);da=fa.principalResult}catch(na){if(na instanceof F&&na.Le)throw new F(na.message,na.code.toString());throw na;}if(da&&Y){sa.assert(Array.isArray(da));Z=Vd(d);const na= -Zd.Fc(Z);na.Ea();da.forEach(va=>na.append(va));na.za();na.close();da=Z.Ob}Array.isArray(da)&&1===da.length&&Array.isArray(da[0])&&(da=da[0]);Z=fa.resultDocuments[""];if(void 0!==Z){if(Array.isArray(da)?0"0"+P.codePointAt(0))}const q=ac.Ja;b=q.Xa(b).expand().reverse();let p="";for(let u=0;up};return function(p,u,P){let la=p[0];u.fixed.ka.Db(P,"i")&&(la=la.filter(function(Y){return!Hd.uc(Y)}));p=Hd.Yb(P,p[1],"compare",u);const oa=Hd.oi(p),K=L.untypedAtomic.matches, +ca=L.numeric.matches,x=L.double.matches,E=L.float.matches,A=L.anyURI.matches,H=L.string.matches;p=L.duration.matches;const S=L.yearMonthDuration.matches,N=L.dayTimeDuration.matches;u=L.QName.matches;const aa=L.double.R,ma=L.float.R,ia=L.string.R;la=la.mapOneToOne(function(Y){return K(Y)?aa(Y):Y});P=la.next();if(null===P)return Ob;u(P)&&d(b+"() not defined over QName");!p(P)||S(P)||N(P)||d(b+"() not defined over mixed durations");return Pb(m(la,P,function(Y,V){(H(Y)&&ca(V)||H(V)&&ca(Y))&&d("Cannot compare string with numeric"); +(S(Y)&&!S(V)||N(Y)&&!N(V))&&d("Cannot compare mixed durations");if(Hd.uc(V))return x(Y)?aa(V):V;if(Hd.uc(Y))return x(V)?aa(Y):Y;x(V)&&!H(Y)?Y=aa(Y):x(Y)&&!H(V)?V=aa(V):E(V)&&!H(Y)?Y=ma(Y):E(Y)&&!H(V)&&(V=ma(V));A(V)&&H(Y)?V=ia(V):A(Y)&&H(V)&&(Y=ia(Y));try{return q(oa(Y,V))?Y:V}catch(ka){throw ka instanceof G&&"XPTY0004"===ka.code&&(ka.code="FORG0006"),ka;}}))}}function e(b,d){if(2!==d.length&&5!==d.length)throw new G("Wrong number of arguments ("+d.length+") for "+b,"XPST0017");}function k(b,d){b= +b[0].next();if(null===b)return Ob;if("timezone"===d)return null===b.Fa?Ob:Pb(L.dayTimeDuration.ih(b.Fa));if("seconds"===d)return d=b.proxy(),Wb(d.getUTCSeconds()+d.getUTCMilliseconds()/1E3);b=b.proxy()[d]();"getUTCMonth"===d&&b++;return Ub(b)}function v(b,d){b=b[0].next();return null===b?Ob:5!==d?Ub(jb(b)[d]*kb(b)):Wb(jb(b)[d]*kb(b))}function t(b,d,q){function p(la,oa){return Pb(La.codes[d].fromDate(la,oa))}const u=b[0].next();if(!u)return Ob;q=q.fixed.Jb.getTimezoneOffset();if(b[1]){var P=b[1].next(); +b=null!==P?P.Qa/6E4:null;if(null!==b&&(-840>b||840{u=P.evaluate(p?[u,[la]]:[[la],u],d,q).expand()});return Kb(u)}let l=null,f=null;const B=ac,L=La.XS,y=B.Ja;return{abs:function(b){b=b[0].next();return null===b?Ob:Pb(b.abs())},"accumulator-after":function(b,d,q){b=a(b[0],d,q,"XTDE3340");return Kb(Ld.ei(q,b,ed(d),d))},"accumulator-before":function(b,d,q){b=a(b[0],d,q,"XTDE3340");return Kb(Ld.fi(q,b,ed(d),d))},"adjust-date-to-timezone":function(b,d){return t(b,"AA",d)},"adjust-dateTime-to-timezone":function(b,d){return t(b,"AM",d)},"adjust-time-to-timezone":function(b, +d){return t(b,"AT",d)},"analyze-string":function(b,d){const q=c(b[0]);var p=d.ja.createDocumentFragment();const u=Zb.Oa,P=d.ja.createElementNS(u,"analyze-string-result");p.appendChild(P);if(""===q)return Pb(P);p=b[1].next().toString();b=b[2]?b[2].next().toString():"";Zd.Of(q,p,b,!1,!1).forEach(function(la){let oa;if(la.Nc){let ca;la=la.groups;oa=d.ja.createElementNS(u,"match");var K=0;for(let x=1;xK&&(K=d.ja.createTextNode(la[0].substring(K,ca)), +oa.appendChild(K)),K=d.ja.createElementNS(u,"group"),K.setAttribute("nr",x),K.appendChild(d.ja.createTextNode(la[x])),oa.appendChild(K),K=ca+la[x].length);KZd.rf(P,d,u,q,!0,!0));u.close();return Kb(p.Pb)},count:function(b){return Ub(b[0].count())},"current-date":function(b,d){return Pb(L.dd.fromDate(d.fixed.Jb,-d.fixed.Jb.getTimezoneOffset()))},"current-dateTime":function(b,d){return Pb(L.Ed.fromDate(d.fixed.Jb,-d.fixed.Jb.getTimezoneOffset()))},"current-group":function(){throw new G("The current-group() function cannot be invoked dynamicaly", +"XTDE1061");},"current-grouping-key":function(){throw new G("The current-grouping-key() function cannot be invoked dynamicaly","XTDE1071");},"current-merge-group":function(b,d){if(null===d.Bb)throw new G("There is no current merge group","XTDE3480");if(b[0]){b=b[0].next().value;if(d=d.Bb.groups[b])return Kb(d);throw new G("Unknown merge source "+b,"XTDE3490");}return Kb(d.Bb.items)},"current-merge-key":function(b,d){if(null===d.Bb)throw new G("There is no current merge group","XTDE3510");return Kb(d.Bb.keys)}, +"current-output-uri":function(b,d){b=0===d.ub.length?null:d.ub[d.ub.length-1];return null==b||"function"===d.qa?Ob:Pb(b)},"current-time":function(b,d){return Pb(L.time.fromDate(d.fixed.Jb,-d.fixed.Jb.getTimezoneOffset()))},data:function(b,d){return b[0].mapOneToMany(d.fixed.ka.Tb)},dateTime:function(b){const d=b[0].next();b=b[1].next();if(null===d||null===b)return Ob;let q="";if(null!==d.Fa)if(null===b.Fa)q=db(d);else if(d.Fa!==b.Fa)throw new G("timezones are incompatible ","FORG0008");return Pb(L.dateTime.fromString(d.toString().substring(0, +10)+"T"+b.toString()+q))},"day-from-date":function(b){return k(b,"getUTCDate")},"day-from-dateTime":function(b){return k(b,"getUTCDate")},"days-from-duration":function(b){return v(b,2)},"deep-equal":function(b,d,q){d=Hd.Yb(q,b[2],"equals",d);return Xb(Fd(b[0],b[1],d))},"default-collation":function(){return Tb(Hd.ad)},"default-language":function(){return Pb(L.language.fromString("en"))},"distinct-values":function(b,d,q){d=Hd.ef(q,b[1],d);const p=Hd.xf(d);return b[0].filter(function(u){if(p.containsKey(u))return!1; +p.inSituPut(u,!0);return!0})},doc:function(b,d,q){b=Nd.Mg(b,d,q);if(null===b)return Pb(null);try{let p=Nd.Ec(b,d);const u=d.fixed.Ee;u&&(p=u(p));return Pb(p)}catch(p){throw p;}},"doc-available":function(b,d,q){const p=Nd.Mg(b,d,q);return null===p?Xb(!1):Nd.Ih(function(){Nd.Ec(p,d)})},document:function(b,d,q){const p=d.fixed.ka;let u,P;if(b[1]&&(u=B.baseURI(b[1].next()),!u))throw new G("No base URI available for second argument of document()","XTDE1162");u||(P=p.Ia(q,d));const la=d.fixed.Ee;return B.kd(b[0].mapOneToMany(function(oa){const K= +u?u:B.X(oa)?B.baseURI(oa):P;return p.Tb(oa).mapOneToOne(function(ca){if(null===K)throw new G("No base URI for document('"+ca+"')","XTDE1162");ca=Nd.Ec(qa.Fb(ca.toString(),K),d);null!==la&&(ca=la(ca));return ca})}))},"document-uri":function(b){b=b[0].next();return null!==b&&9===b.nodeType&&b._saxonDocUri?Pb(L.anyURI.fromString(b._saxonDocUri)):Ob},"element-available":function(b,d,q){b=a(b[0],d,q,"XTDE1440","##local").split("}");if(d="http://www.w3.org/1999/XSL/Transform"===b[0].substring(2))null== +f&&(f=qa.sf("elements")),f[b[1]]||(d=!1);return Xb(d)},"element-with-id":function(b,d){return F(b,d,"element-with-id")},empty:function(b){return Xb(null===b[0].next())},"encode-for-uri":function(b){b=encodeURIComponent(c(b[0])).replace(/[!'()*]/g,function(d){return"%"+d.charCodeAt(0).toString(16).toUpperCase()});return Tb(b)},"ends-with":function(b,d,q){const p=c(b[0]),u=c(b[1]);b=Hd.Yb(q,b[2],"endsWith",d);return Xb(b(p,u))},"environment-variable":function(){return Ob},error:function(b){if(void 0=== +b[0])throw new G("fn:error() invoked","FOER0000");var d=b[0].next();d=d?d.toEQName():"FOER0000";const q=b[1]?c(b[1]):"";d=new G(q,d);b[2]&&(d.errorObject=b[2].next());throw d;},"escape-html-uri":function(b){return Tb(cd.escape(c(b[0]),function(d){return 32>d||126Kb(u.get(p.Tb(P).next())));if(u instanceof $c)return b[0].mapOneToMany(function(P){P=p.Tb(P).next();P=L.numeric.matches(P)?P.toNumber():L.double.R(P).toNumber();return Kb(u.get(P))});sa.la("for-each() function object not instance of XdmFunction | XdmArray | XdmMap")}, +"for-each-pair":function(b,d,q){let p=b[2].expand();if(1!==p.length)throw new G("for-each-pair() must have exactly one function item as the third argument. Supplied length "+p.length,"XPTY0004",q);p=p[0];p instanceof ad.XdmFunction||sa.la("Function object not instance of XdmFunction");let u=[];const P=b[0];b=b[1];let la=P.next(),oa=b.next();for(;la&&oa;)u=u.concat(p.evaluate([[la],[oa]],d,q).expand()),la=P.next(),oa=b.next();return Kb(u)},"function-arity":function(b){b=b[0].next();return Pb(L.integer.fromNumber(b instanceof +cc||b instanceof $c?1:b.arity))},"function-available":function(b,d,q){let p=!1;const u=a(b[0],d,q,"XTDE1400",Zb.Oa),P=b[1]?b[1].next().toNumber():-1,la=d.fixed.La;Object.keys(la).forEach(function(oa){oa=la[oa];oa.name===u&&oa.actor&&"function"===oa.actor.N&&(0>P?p=!0:(oa=cd.qb(oa.actor,"arg").length,P===oa&&(p=!0)))});p||(b=L.QName.fromEQName(u),null==l&&(l=qa.sf("functions")),p=(d=l[b.uri])&&d[b.local]?"concat"===b.local&&b.uri===Zb.Oa&&(-1===P||2<=P)?!0:0<=P?0<=d[b.local].indexOf(P):!0:!1);return Xb(p)}, +"function-lookup":function(b,d,q){const p=b[0].next();b=b[1].next().toNumber();var u=Jd.find("SaxonJS").XPath;const P=d.ba(!0);P.bb=!0;u=u.getFnSignature(p,b,P);if(!u)return Ob;d=u.isUserFunction?new ad.Ff(u,d):p.uri===Zb.mc?new ad.Bf(u,p,q):new ad.He(u,p,b,q,d);return Pb(d)},"function-name":function(b){b=b[0].next();if(!(b instanceof ad.XdmFunction))throw new G("Input to function-name() is not an XdmFunction ","XXXX9999");return b.jc()&&b.jc().uri!==Zb.zg?Pb(b.jc()):Ob},"generate-id":function(b){b= +b[0].next();return Tb(b?n(b):"")},"has-children":function(b){return Xb(null!==y.Ka(b[0].next()).next())},head:function(b){return Pb(b[0].next())},"hours-from-dateTime":function(b){return k(b,"getUTCHours")},"hours-from-duration":function(b){return v(b,3)},"hours-from-time":function(b){return k(b,"getUTCHours")},id:function(b,d){return F(b,d,"id")},idref:function(){return Ob},"implicit-timezone":function(b,d){return Pb(L.dayTimeDuration.ih(-d.fixed.Jb.getTimezoneOffset()))},"index-of":function(b,d, +q){const p=Sb(b[0]),u=b[1].next();b=Hd.Yb(q,b[2],"equals",d);const P=Hd.yi(b);return p.mapOneToOne(function(la){try{return P(la,u)?L.integer.fromNumber(p.position):null}catch(oa){return null}})},innermost:function(b,d,q){const p=d.fixed.ka.Db(q,"p")?b[0]:B.kd(b[0]);return new Mb(function*(){let u=null,P;for(;null!=(P=p.next());)if(u)if(y.$c(P).some(la=>la===u))u=P;else{const la=u;u=P;yield la}else u=P;u&&(yield u)}())},"in-scope-prefixes":function(b){b=b[0].next();return Kb(B.Jc(b).map(function(d){return L.string.fromString(d.prefix)}))}, +"insert-before":function(b){const d=b[1].next().value,q=b[2],p=Sb(b[0]);return 1>d?Qb([q,p]):d>p.last()?Qb([p,q]):p.mapOneToMany(function(u){return p.position===d?Qb([b[2],Pb(u)]):Pb(u)})},"iri-to-uri":function(b){return Tb(cd.escape(c(b[0]),function(d,q){return 32>=d||126"{}|\\^`]/.test(q)}))},"json-doc":function(b,d,q){q=Nd.Te(b,d,q);if(!q)return Ob;q=Nd.Fi(q,d);b=b[1]?b[1].next():null;return Pb(Md.ye(q,b,d))},"json-to-xml":function(b,d,q){const p=d.fixed.ka;var u=b[0].next();if(null=== +u)return Ob;b=b[1]?b[1].next():null;u=Md.wj(u.toString(),b,d);b=d.ja.createDocumentFragment();b.appendChild(u);b._saxonBaseUri=p.Ia(q,d);return Pb(b)},key:function(b,d,q){function p(V){V=N?L.string.R(V):V;return S.containsKey(V)?(V=Kb(S.get(V)),A===E?V:V.filter(function(ka){return null!==y.Xa(ka).filter(function(z){return z===E}).next()})):Ob}function u(V){return{visibility:"PRIVATE",Ya:V,Dh:oa,actor:V,We:V.binds.split(" ").map(function(ka){return parseInt(ka,10)})}}const P=d.fixed.ka;var la=a(b[0], +d,q,"XTDE1260");const oa=P.me(q,d),K=oa.keys[la];if(!K)throw new G("Unknown key "+la,"XTDE1260");const ca=K.wg,x=P.Db(K.Ld[0],"c");let E,A;if(b[2])E=b[2].next(),B.X(E)&&(A=B.sc(E));else{var H=ed(d);B.X(H)&&(A=E=B.sc(H))}if(!A||9!==A.nodeType&&11!==A.nodeType)throw new G("No containing document for key()","XTDE1270",q);"_saxonIndexes"in A||(A._saxonIndexes={},A._saxonIndexesBC={});q=A._saxonIndexes;let S=q[ca];if("under construction"===S)throw new G("Definition of key "+la+" is circular","XTDE0640"); +let N=!1;if(S)N=A._saxonIndexesBC[ca];else{la=Hd.ef(K.Ld[0],null,d);S=Hd.xf(la,x);q[ca]="under construction";la=function(ka){return Qb([y.self(ka),y.ob(ka),y.Ha(ka)])};H=function(ka){return Qb([y.self(ka),y.Ha(ka)])};const V=function(ka){return Qb([y.self(ka),y.ob(ka)])};for(let ka=0;kaS.get(U).indexOf(w)&&(S.get(U).push(w),1b.length+1&&d.substring(0,b.length)===b&&"-"===d.charAt(b.length))},last:function(b, +d){fd(d,"XPDY0002","last()");return Ub(d.focus.last())},"load-xquery-module":function(){throw new G("No XQuery processor available","FOQM0006");},"local-name":function(b){b=B.ca(b[0].next());return Tb(b?b.local:"")},"local-name-from-QName":function(b){b=b[0].next();return null===b?Ob:Pb(La.type.NCName.fromString(b.local))},"lower-case":function(b){return Tb(c(b[0]).toLowerCase())},matches:function(b){const d=c(b[0]);var q=b[1].next().toString();b=Ha.yg(b[2]?b[2].next().toString():"");q=Ha.Be(q,b, +d);return Xb(0<=d.search(q))},max:g("max"),min:g("min"),"minutes-from-dateTime":function(b){return k(b,"getUTCMinutes")},"minutes-from-duration":function(b){return v(b,4)},"minutes-from-time":function(b){return k(b,"getUTCMinutes")},"month-from-date":function(b){return k(b,"getUTCMonth")},"month-from-dateTime":function(b){return k(b,"getUTCMonth")},"months-from-duration":function(b){return v(b,1)},name:function(b){b=B.ca(b[0].next());return Tb(b?b.toString():"")},"namespace-uri":function(b){b=B.ca(b[0].next()); +return Pb(L.anyURI.fromString(b?b.uri:""))},"namespace-uri-for-prefix":function(b){var d=c(b[0]);b=b[1].next();d="xml"===d?Zb.xml:b.lookupNamespaceURI(""===d?null:d);return null!==d?Pb(L.anyURI.fromString(d)):Ob},"namespace-uri-from-QName":function(b){b=b[0].next();return null===b?Ob:Pb(L.anyURI.fromString(b.uri))},nilled:function(b){return(b=b[0].next())&&1===b.nodeType?Xb(!1):Ob},"node-name":function(b){return Pb(B.ca(b[0].next()))},"normalize-space":function(b){b=c(b[0]);return Tb(xa(b))},"normalize-unicode":function(b){if(String.prototype.normalize){const d= +c(b[0]);b=b[1]?b[1].next().toString().toUpperCase().trim():"NFC";if(["NFC","NFD","NFKC","NFKD"].includes(b))return Tb(d.normalize(b));if(""===b)return Tb(d)}throw new G("normalize-unicode(): not supported on this Javascript platform","FOCH0003");},not:function(b,d){return Xb(!d.fixed.ka.Fd(b[0]))},number:function(b){return Pb(La.XS.numeric.Od(b[0].next()))},"one-or-more":function(b){b=Fb(b[0]);if(null===b.ua())throw new G("Required length >= 1, actual length zero","FORG0004");return b},outermost:function(b, +d,q){d=d.fixed.ka.Db(q,"p");b=b[0];d||(b=B.kd(b));let p=null;return b.filter(function(u){if(null===p)return p=u,!0;if(y.$c(u).some(P=>P===p))return!1;p=u;return!0})},"parse-ietf-date":function(b){return b[0].mapOneToOne(function(d){function q(E){return 1===E.length?"0"+E:E}function p(){throw new G("Invalid IETF date/time "+d.toString(),"FORG0010");}var u=d.toString().trim().toLowerCase();u=u.replace(/^(monday|tuesday|wednesday|thursday|friday|saturday|sunday|mon|tue|wed|thu|fri|sat|sun),?\s+/,""); +let P;let la,oa;if(/^[a-z]/.test(u))if(P=/^([a-z]{3})(?:\s*-\s*|\s+)(\d\d\d?\d?)\s+([\d:.]+)\s*([a-z]+|[+\-]\d\d?:?(?:\d\d)?(?:\s*\(\s*[a-z]+\s*\))?)?\s+(\d+)$/,u=P.exec(u),null!==u){var K=u[1];var ca=u[2];oa=u[3];var x=u[4];la=u[5]}else p();else P=/^(\d+)(?:\s*-\s*|\s+)([a-z]{3})(?:\s*-\s*|\s+)(\d\d\d?\d?)\s+([\d:.]+)\s*([a-z]+|[+\-]\d\d?:?(?:\d\d)?(?:\s*\(\s*[a-z]+\s*\))?)?$/,u=P.exec(u),null!==u?(ca=u[1],K=u[2],la=u[3],oa=u[4],x=u[5]):p();2===la.length&&(la="19"+la);K="jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec".indexOf(K|| +"*");0>K&&p();u={ut:"Z",utc:"Z",gmt:"Z",est:"-05:00",edt:"-04:00",cst:"-06:00",cdt:"-05:00",mst:"-07:00",mdt:"-06:00",pst:"-08:00",pdt:"-07:00"};/^[0-9]:/.test(oa)&&(oa="0"+oa);5===oa.length&&(oa+=":00");x&&(x=/([a-z]+)|([+\-]\d\d?:?(?:\d\d)?)(?:\s*\(\s*([a-z]+)\s*\))?$/.exec(x),(!x[3]||x[3]in u)&&(!x[1]||x[1]in u)||p(),x=x[1]?x[1]:x[2],/^[+\-][0-9]((:|$)|[0-9]{2}$)/.test(x)&&(x=x.charAt(0)+"0"+x.substring(1)),x in u?x=u[x]:3===x.length?x+=":00":4===x.length?x+="00":5===x.length&&(x=x.substring(0, +3)+":"+x.substring(3)));ca=la+"-"+q((K/4+1).toString())+"-"+q(ca)+"T"+oa+(x||"Z");try{return L.dateTime.fromString(ca)}catch(E){throw new G("''"+d.toString()+"'' is not a valid IETF date","FORG0010");}})},"parse-json":function(b,d){const q=b[0].next();if(null===q)return Ob;b=b[1]?b[1].next():null;return Pb(Md.ye(q.toString(),b,d))},"parse-xml":function(b,d,q){b=b[0].next();if(null===b)return Ob;const p=d.fixed.ka;try{const u=qa.parseXmlFromString(b.toString());u._saxonBaseUri=p.Ia(q,d);return Pb(u)}catch(u){throw new G(u.message, +"FODC0006");}},"parse-xml-fragment":function(b,d,q){const p=d.fixed.ka;return b[0].mapOneToOne(function(u){const P=/^<\?xml(?:\s+version\s*=\s*(['"])1.[0-9]+['"])?\s+encoding\s*=\s*(['"][A-Za-z](?:[A-Za-z0-9._\-])*)['"]\s*\?>/;u=u.toString();if(/^<\?xml/.test(u)&&!P.test(u))throw new G("Invalid XML header for a text declaration","FODC0006");u=u.replace(P,"");let la;try{la=qa.parseXmlFromString(""+u+"")}catch(K){throw new G(K.message,"FODC0006");}const oa=d.ja.createDocumentFragment();y.Ka(la.documentElement).forEachItem(function(K){oa.appendChild(K)}); +oa._saxonBaseUri=p.Ia(q,d);return oa})},path:function(b){return b[0].mapOneToOne(function(d){function q(p){return y.Qc(p).filter(function(u){return p.nodeType===u.nodeType})}return L.string.fromString(function(p){if([9,11].includes(p.nodeType))return"/";let u="",P=p;for(;P;){p=B.$a(P);if(!p)return[9,11].includes(P.nodeType)?u:"Q{http://www.w3.org/2005/xpath-functions}root()"+u;switch(P.nodeType){case 9:case 11:return u;case 1:const la=B.ca(P);u=`/${la.toEQName()}[${1+q(P).filter(oa=>B.ca(oa).equals(la)).count()}]${u}`; +break;case 3:case 4:u=`/text()[${1+q(P).count()}]`;break;case 8:u=`/comment()[${1+q(P).count()}]`;break;case 7:u=`/processing-instruction(${P.target})[${1+q(P).filter(oa=>P.target===oa.target).count()}]`;break;case 2:u=`/@${0>P.name.indexOf(":")?P.name:B.ca(P).toEQName()}`;break;default:u=`/namespace::${""!==P.prefix?P.prefix:"*[Q{"+Zb.Oa+'}local-name()=""]'}`}P=p}}(d))})},"prefix-from-QName":function(b){return b[0].mapOneToOne(function(d){return""===d.prefix?null:L.Bg.fromString(d.prefix)})},position:function(b, +d){fd(d,"XPDY0002","position()");return Ub(d.focus.position)},QName:function(b){var d=b[1].next().value;const q=d.split(":"),p=2===q.length?q[0]:"";b=c(b[0]);if(""!==p&&""===b)throw new G("Prefix but no URI for QName()","FOCA0002");if(2===q.length&&""===p||""!==p&&!Ha.Mb(p))throw new G(d+" not valid for QName()","FOCA0002");d=2===q.length?q[1]:q[0];if(!Ha.Mb(d))throw new G(d+" not valid local name for QName()","FOCA0002");return Pb(L.QName.fromParts(p,b,d))},"random-number-generator":function(b,d){b= +new cc;b.inSituPut(L.string.fromString("number"),[L.double.fromNumber(Math.random())]);var q=L.QName.fromParts("fn",Zb.Oa,"random-number-generator"),p=Jd.find("SaxonJS").XPath,u=p.getFnSignature(q,0,d);q=new ad.He(u,q,0,{},d);b.inSituPut(L.string.fromString("next"),[q]);q=L.QName.fromParts("saxon",Zb.wb,"permute");u=d.ba();u.bb=!0;p=p.getFnSignature(q,1,u);d=new ad.He(p,q,1,{},d);b.inSituPut(L.string.fromString("permute"),[d]);return Pb(b)},"regex-group":function(b,d){b=b[0].next().toNumber();try{return Tb(d.Nb[b]|| +"")}catch(q){return Tb("")}},remove:function(b){const d=b[1].next().toNumber(),q=Sb(b[0]);return q.filter(function(){return q.position!==d})},replace:function(b){const d=c(b[0]),q=Ha.yg(b[3]?b[3].next().toString():"");let p=0;const u=Ha.Be(b[1].next().toString(),q+"g",null,P=>{p=P});if(u.test(""))throw new G("Regular expression matches zero-length string","FORX0003");b=Ha.si(b[2].next().toString(),q,p);return Tb(d.replace(u,b))},"resolve-QName":function(b){const d=b[1].next();return b[0].mapOneToOne(function(q){try{return B.Cj(d, +q.toString(),!0)}catch(p){throw p instanceof G&&"FORG0001"===p.code&&(p.code=Ha.uh(q)?"FONS0004":"FOCA0002"),p;}})},"resolve-uri":function(b,d,q){const p=d.fixed.ka;if(b[1]){let u=b[1].next();d=u?u.toString():p.Ia(q,d)}else d=p.Ia(q,d);b=b[0].next();if(null===b)return Ob;b=b.toString();q=B.ld(b);if(null!==d&&(d=d.replace(/^file:\/(?!\/)/,"file:///"),/#/.test(d)))throw new G("Base URI "+d+" contains a fragment identifier","FORG0002");if(!q&&null!==d&&!B.ld(d))throw new G("resolve-uri: invalid URI (base="+ +d+", relative="+b+")","FORG0002");b=q?b:qa.Fb(b,d).toString();return Pb(L.anyURI.fromString(b))},reverse:function(b){return Kb(b[0].expand().slice().reverse())},root:function(b){return b[0].mapOneToMany(d=>y.Xa(d)).filter(d=>!B.$a(d))},round:function(b){return b[0].mapOneToOne(d=>d.round(b[1]?Math.min(b[1].next().value,1E4):0))},"round-half-to-even":function(b){return b[0].mapOneToOne(d=>d.tf(b[1]?Math.min(b[1].next().value,1E4):0))},"seconds-from-dateTime":function(b){return k(b,"seconds")},"seconds-from-duration":function(b){return v(b, +5)},"seconds-from-time":function(b){return k(b,"seconds")},serialize:function(b,d){function q(P){P.method="xml";P.indent=!1;P["omit-xml-declaration"]=!0}const p=new ge.StringWriter,u={};if(b[1]){const P=b[1].next();if(null===P)q(u);else if(ac.X(P)){if(!ac.lg(P))throw new G("Second argument supplied to serialize() is wrong kind of node","XPTY0004");ge.parseParamDoc(P,u,"XPTY0004")}else{if(!(P instanceof cc))throw new G("Second argument supplied to serialize() does not match required type","XPTY0004"); +const la=function(oa,K,ca,x,E=!1){const A=La.XS.string.fromString(oa);if(P.containsKey(A)){let H=P.get(A);if(0S.push(N));H=S}else throw new G("fn:serialize(): supplied value of "+A+" is invalid","XPTY0004");if(1!==H.length&&!ca&&!E||!H.every(S=>"AZ"===S.code||K.matches(S)))throw new G("fn:serialize(): supplied value of "+A+" is invalid","XPTY0004");u[oa]=E&&0===H.length?null:x(ca?H:"AZ"===H[0].code?K.R(H[0]):H[0])}};"doctype-public doctype-system encoding item-separator json-node-output-method media-type method normalization-form version".split(" ").forEach(oa=> +la(oa,La.XS.string,!1,K=>K.toString()));"allow-duplicate-names byte-order-mark escape-uri-attributes include-content-type indent omit-xml-declaration undeclare-prefixes".split(" ").forEach(oa=>la(oa,La.XS.boolean,!1,K=>K.toBoolean()));la("standalone",La.XS.boolean,!1,oa=>oa.toBoolean(),!0);la("html-version",La.XS.mb,!1,oa=>oa.toNumber());["cdata-section-elements","suppress-indentation"].forEach(oa=>la(oa,La.XS.QName,!0,K=>{let ca="";for(let x=0;xE instanceof cc))throw new G("fn:serialize(): supplied value of "+K+" is invalid","XPTY0004");ca=ca[0];var x=function(E){return L.string.matches(E)};if(!ca.conforms(x,x,function(E){return 1===E}))throw new G("fn:serialize(): supplied value of "+K+" is invalid","XPTY0004");K=cd.sb(ca,!0);ca={min:0,max:0,ya:{}};for(let E in K)if(K.hasOwnProperty(E)){if(1< +E.length)throw new G("fn:serialize(): Keys in a character map must all be one-character strings. Found "+E,"SEPM0016");x=E.codePointAt(0);0===ca.min?ca.min=x:xca.max&&(ca.max=x);ca.ya[x]=K[E]}u[oa]=ca}})("use-character-maps")}}else q(u);ge.serialize(b[0].expand(),u,p,d);return Tb(p.toString())},snapshot:function(b,d,q){return b[0].mapOneToOne(function(p){function u(H){if(0la.append(N));0la.append(N));y.ob(ca).forEachItem(N=>la.append(N))},la):Zd.rf(p,d,la,q,!0,!0),E=P.pc.lastChild)},la)}}const P=Vd(d),la=Zd.Gc(P);if(!B.$a(p))return Zd.rf(p,d,la,q,!0,!0),la.close(),Kb(P.Pb).next();const oa=p.nodeType,K=B.ca(p);var ca=p,x=[2,13].includes(oa);x&&(ca=B.$a(ca));la.Ea();let E;const A=y.$c(ca).expand();0 +B.ca(H).equals(K)).next();case 13:return B.Ja.ob(E).filter(H=>B.ca(H).equals(K)).next();default:return E}})},sort:function(b,d,q){const p=Hd.ef(q,b[1],d);let u=cd.Tb;if(b[2]){const P=b[2].next();u=function(la){return P.evaluate([[la]],d,q)}}return Kb(b[0].expand().slice().sort(function(P,la){return b[1]?Id(u(P),u(la),p):Id(u(P),u(la))}))},"starts-with":function(b,d,q){const p=c(b[0]),u=c(b[1]);b=Hd.Yb(q,b[2],"startsWith",d);return Xb(b(p,u))},"static-base-uri":function(b,d,q){return(b=d.fixed.ka.Ia(q, +d))?Pb(L.anyURI.fromString(b)):Ob},"stream-available":function(){return Xb(!1)},string:function(b,d){d=d.fixed.ka;b=b[0].next();if(!b)return Tb("");if(d.isArray(b)||d.isMap(b)||d.Jd(b))throw new G("Input to string() is a function item ","FOTY0014");return d.Tb(b).mapOneToOne(function(q){return L.string.R(q)})},"string-join":function(b){let d="";const q=b[1]?b[1].next().value:"";let p,u=!0;for(;null!==(p=b[0].next());)u||(d+=q),d+=p.toString(),u=!1;return Tb(d)},"string-length":function(b){return Ub(Da(c(b[0])).length)}, +"string-to-codepoints":function(b){return Kb(Da(c(b[0])).map(L.integer.fromNumber))},subsequence:function(b){const d=Math.round(b[1].next().toNumber()),q=b[2]?d+Math.round(b[2].next().toNumber()):Number.POSITIVE_INFINITY;return new Nb(b[0],d,q)},substring:function(b){var d=Math.round(b[1].next().toNumber());const q=b[2]?d+Math.round(b[2].next().toNumber()):Number.POSITIVE_INFINITY;b=new Mb(c(b[0])[Symbol.iterator]());d=new Nb(b,d,q);return Tb(d.expand().join(""))},"substring-after":function(b,d,q){let p= +"";const u=c(b[0]),P=c(b[1]);let la;-1!==(la=Hd.Yb(q,b[2],"indexOf",d)(u,P))&&(p=u.substring(la+P.length));return Tb(p)},"substring-before":function(b,d,q){let p="";const u=c(b[0]),P=c(b[1]);let la;-1!==(la=Hd.Yb(q,b[2],"indexOf",d)(u,P))&&(p=u.substring(0,la));return Tb(p)},sum:function(b,d){d=b[0].mapOneToOne(d.fixed.ka.Xh);const q=d.next();if(null===q)return 1===b.length?Ub(0):b[1];try{return mb["a+a"](q,q),Pb(m(d,q,mb["a+a"]))}catch(p){throw p instanceof G&&"XPTY0004"===p.code&&(p.code="FORG0006"), +p;}},"system-property":function(b,d,q){b=L.QName.fromEQName(a(b[0],d,q,"XTDE1390"));d="";b.uri===Zb.Xc&&(d={version:"3.0",vendor:"Saxonica","vendor-url":"http://www.saxonica.com/","product-name":"SaxonJS","product-version":"2.7","is-schema-aware":"no","supports-serialization":"yes","supports-backwards-compatibility":"yes","supports-namespace-axis":"yes","supports-streaming":"no","supports-dynamic-evaluation":"yes","supports-higher-order-functions":"yes","xpath-version":"3.1","xsd-version":"1.1"}[b.local]); +b.uri===Zb.wb&&(d=qa.Di()[b.local]);d||="";return Tb(d)},tail:function(b){const d=Sb(b[0]);return d.filter(function(){return 1!==d.position})},"timezone-from-date":function(b){return k(b,"timezone")},"timezone-from-dateTime":function(b){return k(b,"timezone")},"timezone-from-time":function(b){return k(b,"timezone")},tokenize:function(b){var d=c(b[0]);b[1]||(d=xa(d));if(""===d)return Ob;var q=b[1]?b[1].next().toString():"[ \\n\\r\\t]+";q=Zd.Of(d,q,b[2]?b[2].next().toString():"",!1,!0);d=b[1]&&q[0].Nc; +const p=q[q.length-1];b=b[1]&&p.Nc;q=q.filter(function(u){return!u.Nc}).map(function(u){return u.string});d&&q.unshift(L.string.fromString(""));b&&q.push(L.string.fromString(""));return Kb(q)},trace:function(b,d){const q=b[0].expand();sa.Ma("fn:trace: "+(2===b.length?b[1].next().toString()+": ":"")+sa.showValue(q),1,d.fixed.Ta);return Kb(q)},transform:function(b,d,q){function p(pa){pa=L.string.fromString(pa);return ma.get(pa)}function u(pa,h="FOXT0002"){throw new G(pa,h);}function P(pa,h,C=null){if("matches"in +h&&"name"in h){if(h.matches(pa))return pa;throw new G(null!==C?`The required item type of ${C} is ${h.name}`:`The required item type is ${h.name}`,"XPTY0004");}return pa}function la(pa,h){if(Ia(pa))return pa;throw new G(`The required item type of ${h} is string|unTypedAtomic|anyURI`,"XPTY0004");}function oa(pa,h,C=Q=>Q){(pa=p(pa))&&(pa=Kb(pa).ua())&&(ia[h]=C(pa))}function K(pa){return function(h){h instanceof cc||u("The value of the option "+pa+" in fn:transform() must be of type map(xs:QName,item()*)", +"XPTY0004");if(h.conforms(C=>{L.QName.matches(C)||u("The keys of the "+pa+" option in fn:transform() must be of type xs:QName. Supplied value:"+C.toString());return!0},()=>!0,()=>!0))return h}}function ca(pa,h){oa(pa,h,K(pa))}function x(pa){pa.C&&pa.C.forEach(function(h){h.parentNode=pa;x(h)})}function E(pa,h,C){if(!N.N)throw new G("No XSLT processor is available to support fn:transform(). If using SaxonJS2.rt.js, it does not contain an XSLT compiler ","FOXT0001",q);let Q={stylesheetParams:new cc, +tunnelParams:{},functionParams:{},isDynamicStylesheet:!0,destination:"application",initialMode:"compile-complete",templateParams:{"Q{}options":{noXPath:!1}}};for(let r in h)"compiler.options"===r?Q.tunnelParams["Q{}compiler.options"]=h[r]:Q.templateParams["Q{}options"][r]=h[r];Q.stylesheetParams.inSituPut(La.XS.QName.fromParts("","","staticParameters"),[C]);Q.stylesheetInternal=N;Q.outputProperties={};x(N);"true"===N.relocatable&&(Q.isRelocatableStylesheet=!0);h=H.checkOptions(Q);H.internalTransform(N, +pa,h);return h.principalResult}function A(pa){pa=S.Tb(pa).expand();if(1la(A(pa),"stylesheet-location").toString());oa("stylesheet-node","stylesheetNode");oa("stylesheet-text", +"stylesheetText");oa("package-location","packageLocation",pa=>la(A(pa),"package-location").toString());oa("package-node","packageNode");oa("package-text","packageText");let ka=0;"stylesheetLocation stylesheetNode stylesheetText packageLocation packageNode packageText".split(" ").forEach(pa=>{ia[pa]&&ka++});1!==ka&&u("A stylesheet must be supplied as an option to fn:transform(), by exactly one of 'stylesheet-location', 'stylesheet-node', 'stylesheet-text', 'package-location', 'package-node' or 'package-text'"); +oa("source-node","sourceNode");oa("global-context-item","globalContextItem");(b=p("source-node")[0])&&!p("global-context-item")[0]&&B.$a(b)&&(ia.globalContextItem=b.ownerDocument);(b=p("initial-match-selection"))&&0P(pa,L.QName,"initial-template").toEQName());oa("initial-mode","initialMode",function(pa){return["#unnamed","#default"].includes(pa.toString())?pa.toString():P(pa,L.QName,"initial-mode").toEQName()});oa("initial-function", +"initialFunction",pa=>P(pa,L.QName,"initial-function").toEQName());oa("static-params","staticParams");oa("base-output-uri","baseOutputURI");oa("stylesheet-base-uri","stylesheetBaseURI",pa=>pa.toString());oa("delivery-format","destination",pa=>pa.toString());let z=ia.destination;z&&!["raw","document","serialized"].includes(z)&&u("The value of the delivery-format option to fn:transform() must be one of 'raw', 'document' or 'serialized'. Supplied value is "+z);z||="document";b=(b=p("enable-messages"))&& +1===b.length?b[0].toBoolean():!1;let M=p("enable-assertions");M=M&&1===M.length?M[0].toBoolean():!1;var W=null,fa=null;if(ia.stylesheetNode){var U=ia.stylesheetNode._saxonBaseUri||"NoStylesheetBaseURI";if(9==ia.stylesheetNode.nodeType)fa=ia.stylesheetNode.cloneNode(!0);else if(11==ia.stylesheetNode.nodeType){fa=qa.createDocument();var w=ia.stylesheetNode.childNodes;for(var Z=0;Z10*Y&&u("No suitable XSLT processor is available; requested XSLT version in fn:transform() is: "+(V/10).toString());ia.sourceNode&&ia.initialSelection&& +u("Only one of 'source-node' or 'initial-match-selection' must be supplied to fn:transform() for apply-templates invocation");ia.initialTemplate&&ia.initialMode&&u("Only one of 'initial-template' or 'initial-mode' should be supplied to fn:transform()");if(ia.sourceNode){V=ia.sourceNode;var T=V.cloneNode(!0);T._saxonBaseUri=V._saxonBaseUri;T._saxonDocUri=V._saxonDocUri}ia.baseOutputURI||(ia.baseOutputURI="",aa=!0);ca("stylesheet-params","stylesheetParams");ca("template-params","templateParams");ca("tunnel-params", +"tunnelParams");oa("function-params","functionParams",function(pa){sa.assert(pa instanceof $c);return pa.value});"serialized"===z&&oa("serialization-params","outputProperties",pa=>S.sb(pa,!0));ia.deliverResultDocument=function(){let pa=this;return new ie(z,function(h,C){pa.resultDocuments[h.toString()]="serialized"===z?[La.XS.string.fromString(C)]:ac.X(C)?[C]:null===C?[]:C})};ia.deliverMessage=function(pa){qa.ph()(pa);this.zh.push([pa])};let ha={};V=Kb(p("collections")).ua();null!==V&&(ha=S.sb(V, +!0));ia.collectionFinder=function(pa){return"undefined"===typeof pa?null:ha[pa]};V=!["raw","serialized"].includes(z);let ba,va;try{x(W);"true"===W.relocatable&&(ia.isRelocatableStylesheet=!0);if(ia.stylesheetNode||ia.packageText||ia.packageNode)ia.stylesheetInternal=W;va=H.checkOptions(ia);H.internalTransform(W,T,va);ba=va.principalResult}catch(pa){if(pa instanceof G&&pa.Le)throw new G(pa.message,pa.code.toString());throw pa;}if(ba&&V){sa.assert(Array.isArray(ba));T=Vd(d);const pa=Zd.Gc(T);pa.Ea(); +ba.forEach(h=>pa.append(h));pa.za();pa.close();ba=T.Pb}Array.isArray(ba)&&1===ba.length&&Array.isArray(ba[0])&&(ba=ba[0]);T=va.resultDocuments[""];if(void 0!==T){if(Array.isArray(ba)?0=p.length){for(;C=g.length){for(;t=e(p[t],g[C])?k(p[t++]):k(g[C++]);return v}function q(p,g){return g.fixed.ka.qb(p,"sortKey").map(function(e){return Hd.Jj(e,g)})}function E(p){return function(g,e){for(let k=0;kk){t={items:[m.item],keys:m.keys,groups:{}};for(k=0;k=m.length){for(;D=g.length){for(;t=e(m[t],g[D])?k(m[t++]):k(g[D++]);return v}function n(m,g){return g.fixed.ka.qb(m,"sortKey").map(function(e){return Hd.Jj(e,g)})}function F(m){return function(g,e){for(let k=0;kk){t={items:[l.item],keys:l.keys,groups:{}};for(k=0;knew Mb(function*(){for(const u of G){const N=u(Q);let P;for(;null!==(P=N.next());)yield P}}())}function q(h){function G(ia){switch(ia){case 1:return"first";case 2:return"second";case 3:return"third";default:return ia+"th"}}h=h.split("|");const Q=h[0],u=h[1],N=""===h[2]?"XPTY0004":h[2],P=h[3];return{required:function(){switch(parseInt(Q,10)){case 0:return G(+u+1)+" argument of "+(""===P?"anonymous function":P+"()"); -case 1:return G(+u+1)+" operand of '"+P+"'";case 9:return"operand of '-'";case 2:return"value in '"+P+"' expression";case 3:return"saxon:context-item"===P?"context item":"value of variable $"+P;case 4:const ia=P.split("/");return"@"+ia[1]+" attribute of "+("LRE"===ia[0]?"a literal result element":ia[0]);case 5:return"result of call to "+(""===P?"anonymous function":"function "+P);case 7:return"result of template "+P;case 6:return G(+u+1)+" sort key";case 8:return"value of parameter $"+P;case 11:return"value of the grouping key"; -case 12:return"result of xsl:evaluate";case 13:return"the context item";case 14:return"the context item for the "+"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")[u]+" axis";case 15:return"the value of the "+P+" option";case 17:return"document-order sorter";default:return""}}(),code:N}}function E(h){h=h.trim();if(["true","yes","1"].includes(h))return!0;if(["false", -"no","0"].includes(h))return!1;throw new F("Value must be yes|true|1 or no|false|0","XTDE0030");}function H(h){if(S.X(h))return Pb(p(h));if(ja(h))return Qb(h.value.map(G=>Kb(G))).mapOneToMany(H);if(V(h))throw new F("Cannot atomize a "+(Y(h)?"map":"function"),"FOTY0013");return Pb(h)}function p(h){const G=fa.string.fromString,Q=fa.untypedAtomic.fromString;switch(h.nodeType){case 9:return Q(h.documentElement.textContent);case 11:case 1:case 3:case 4:return Q(h.textContent||"");case 2:return Q(h.value); -case 8:return G(h.textContent);case 7:return G(h.textContent);case 13:return G(h.uri);default:throw new F("Unknown node type "+h.nodeType,"SXJS0003");}}function g(h){return Kb(h).mapOneToMany(H).expand()}function e(h){function G(N){throw new F("Effective boolean value is not defined for "+N,"FORG0006");}function Q(){if(null!==h.next())G("an atomic sequence of length > 1");else return!0}var u=h.next();if(null===u)return!1;if(S.X(u))return!0;if(La.pa(u)){if("AB"===u.code)return Q()&&u.toBoolean();if(u.isNumeric())return u= -u.toNumber(),Q()&&!isNaN(u)&&0!==u;if(Ia(u))return Q()&&0!==u.toString().length;G("type "+La.pd(u.code))}else Y(u)?G("maps"):ja(u)?G("arrays"):V(u)?G("functions"):G("value "+sa.showValue(u))}function k(h,G){const Q=mb["i+i"],u=fa.integer.fromNumber(1);return new Cb(h,N=>{N=Q(N,u);return 0Q.N===G):[]}function t(h,G,Q){h=v(h,"withParam");const u=[new cc,new cc];G.Qb.forAllPairs(P=>u[1].inSituPut(P.k,P.v));const N=G.qa;G.qa="template parameter"; -h.forEach(function(P){const ia=P.name,ua=W(P,"t")?1:0;u[ua].inSituPut(La.XS.QName.fromEQName(ia),l(P)(G).expand())});G.qa=N;Q.Kc=u[0];Q.Qb=u[1]}function C(h){return!/[ \t\r\n]/.test(h)}function m(h,G,Q){if(h){h=h.split(/\r?\n/);for(let N=0;N{try{const P=Q(N).next(),ia=u(N).next();return null===P||null===ia?null:G(P,ia)}catch(P){ca(P,h)}}}function A(h,G){if(G.fixed.staticBaseURI)return G.fixed.staticBaseURI;if(G.fixed.md)return null;for(;;){if(h.baseUri)return h.baseUri;h=h.parentNode;if(!h)return null}}function O(h,G,Q=!1){var u=S.Gc(G.ja).createDocumentFragment();u=S.wc(u);u._saxonBaseUri=A(h,G);const N=G.ba(!1);Q&&(N.ja=G.masterDocument);bd.kj(u,n(h)(N),N);return u}function b(h){const G= -l(h),Q=r(h),u=h.op;return N=>{const P=G(N),ia=Q(N).expand();N=Hd.fe(h.comp,N);return Hd.gc(P,ia,u,N,h)}}function d(h,G){throw new F("The "+h+" construct is not implemented in SaxonJS","SXJS0002",G);}function l(h){return n(h.C[0])}function r(h){return n(h.C[1])}function n(h){if(h){var G=h.ELAB;G||((G=va[h.N])||sa.la("Unknown expr: "+h.N+" parent="+h.p),G=h.ELAB=G(h));return G}}function B(h,G){h=h.C||[];for(let Q=0;Q{const Q=Vd(G),u=Zd.Fc(Q);Zd.push(h,G,u);u.close();return Kb(Q.Ob)}}function ca(h,G){h instanceof F&&!h.xsltLineNr&&ra(h,G);throw h;}function ea(h,G){function Q(N){return"Context item for template "+ -h.name+" must be "+N}if(ee(G)&&-1===h.flags.indexOf("o"))throw new F(Q("supplied"),"XTTE3090",h);ee(G)||-1!==h.flags.indexOf("s")||(G.focus={});let u=h.cxt;if(u&&!ee(G)&&!fc(u).ia()(ed(G)))throw new F(Q("instance of "+fc(u).toString()),"XTTE0590",h);}function ja(h){return h instanceof $c}function Y(h){return h instanceof cc||h instanceof K}function V(h){return h instanceof ad.XdmFunction||ja(h)||Y(h)}function la(h){var G=Object.assign(h);G.ELAB=void 0;h.C&&(G.C=h.C.map(Q=>la(Q)));return G}function x(h, -G,Q){sa.assert(Array.isArray(h));sa.assert(G instanceof gc);const u=G.$();let N=u.p;if(u.o&&!Ed(u.o)(h.length))throw new F("Supplied value "+sa.showValue(h)+" does not match required cardinality "+u.o+(Q?" in "+Q():""),"XPTY0004");if(0ia.isNumeric()?ia:P.matches(ia)?La.XS.double.R(ia):ia instanceof K?La.XS.double.fromString(ia.value.toString()):ia);else{const ia=La.codes[N],ua=ia.R;"A"!==N&&(h=h.map(Ba=>P.matches(Ba)? -ua(Ba):Ba instanceof K?ia.fromString(Ba.value.toString()):Ba));["AO","AF"].includes(N)&&(h=h.map(Ba=>Ba.isNumeric()?ia.R(Ba):Ba));"AS"===N&&(h=h.map(Ba=>La.XS.anyURI.matches(Ba)?ia.R(Ba):Ba))}}else if(G.U.Jd())if(["FM","FA"].includes(N))h=T(h);else if(G.U instanceof dd){const P=G.U.ia();h.every(ia=>P(ia))||(h=h.map(ia=>{if(P(ia))return ia;if(ia instanceof ad.XdmFunction){var ua=G.U;const Ba=ua.j.length;ua={minArgs:Ba,maxArgs:Ba,sig:ua.ha(),alphaTree:ua.$()};return new ad.zg(ua,ia)}return ia}))}if(!G.matches(h))throw new F("Supplied value "+ -sa.showValue(h)+" does not match required type "+G.toString()+(Q?" in "+Q():""),"XPTY0004");}return h}function K(h){this.value=h}function U(h){this.value=h}function ha(h){function G(u){switch(typeof u){case "undefined":return[];case "string":return fa.untypedAtomic.fromString(u);case "number":return fa.double.fromNumber(u);case "boolean":return fa.boolean.fromBoolean(u);case "function":return new K(u);case "object":if(fa.Qf.matches(u)||S.X(u))return u;if(u instanceof $c)return u;if(u instanceof ad.XdmFunction|| -u instanceof cc)return u;if(u instanceof K)return u;if(u instanceof Date)return fa.dateTime.fromString(u.toISOString());if(Array.isArray(u)){const N=[];u.forEach(function(P){N.push(ha(P))});return new $c(N)}return null===u?[]:u instanceof U?u.value:new K(u);default:return new K(u)}}function Q(u){const N=[];u.forEach(function(P){P=G(P);Array.isArray(P)&&0===P.length||N.push(P)});return N}if(Array.isArray(h))return Q(h);h=G(h);return Array.isArray(h)&&0===h.length?[]:[h]}function T(h){function G(u){if(u instanceof -$c){const N=[];u.value.forEach(P=>N.push(Q(P)));return new $c(N)}if(u instanceof K){const N=u.value;if("object"===typeof N){u=new cc;for(const P in N)if(N.hasOwnProperty(P)){const ia=ha(P)[0],ua=ha(N[P]);u.inSituPut(ia,T(ua))}return u}}return u}function Q(u){const N=[];u.forEach(function(P){P=G(P);Array.isArray(P)&&0===P.length||N.push(P)});return N}sa.assert(Array.isArray(h));return Q(h)}function w(h,G=!1){function Q(N){if(Array.isArray(N))throw new F("convertItem() called for an array","SXJS0004"); -if(null===N)return null;if(fa.string.matches(N)||fa.anyURI.matches(N)||fa.duration.matches(N)||fa.hexBinary.matches(N)||fa.base64Binary.matches(N)||fa.untypedAtomic.matches(N))return N.toString();if(fa.numeric.matches(N))return N.toNumber();if(fa.boolean.matches(N))return N.toBoolean();if(fa.dateTime.matches(N)||fa.cd.matches(N)||fa.Ed.matches(N)||fa.time.matches(N)||fa.nh.matches(N)||fa.mh.matches(N)||fa.lh.matches(N)||fa.kh.matches(N)||fa.jh.matches(N))return N.toString();if(fa.QName.matches(N))return N.toEQName(); -if(S.X(N))return N;if(N instanceof $c){const P=[];0!==N.value.length&&N.value.forEach(function(ia){P.push(w(ia,G))});return P}if(N instanceof cc){if(G){const P={};N.forAllPairs(function(ia){P[ia.k.toString()]=w(ia.v,G)});return P}return new U(N)}return N instanceof U?N:N instanceof K?N.value:new U(N)}function u(N){const P=[];if(0===N.length)return null;if(1===N.length)return Q(N[0]);N.forEach(function(ia){P.push(Q(ia))});return P}return Array.isArray(h)?u(h):Q(h)}function Z(h){return h.mapOneToMany(function(G){return ja(G)? -Qb(G.value.map(function(Q){return Z(Kb(Q))})):Pb(G)})}const S=ac,da=S.Ja,fa=La.XS;let na;const va={acFnRef:function(h){const G=fa.QName.fromEQName(h.name),Q=Jd.find("SaxonJS").XPath;return u=>{u=u.ba(!0);u.bb=!0;if(u=Q.getFnSignature(G,1,u))return u=new ad.Bf(u,G,h),Pb(u);throw new F("Reference to an unknown constructor function "+G+"#1","XPST0017",h);}},among:function(h){const G=l(h),Q=r(h);return u=>{const N=G(u).next();return Q(u).filter(P=>S.isSameNode(P,N))}},analyzeString:M,and:function(h){const G= -l(h),Q=r(h);return u=>Xb(e(G(u))&&e(Q(u)))},applyImports:M,applyT:M,arith:function(h){const G=mb[h.calc];G||d("arithmetic ("+h.calc+")",h);const Q=f(h,G);return u=>Pb(Q(u))},arith10:function(h){function G(P){P=P.next();return null===P?fa.double.fromNumber(NaN):Ia(P)?fa.double.cf(P.toString()):fa.double.R(P)}const Q=l(h),u=r(h),N=mb[h.calc];return P=>Pb(N(G(Q(P)),G(u(P))))},array:function(h){const G=(h.C||[]).map(n);return Q=>{const u=G.map(N=>N(Q).expand());return Pb(new $c(u))}},arrayBlock:function(h){const G= -(h.C||[]).map(n);return Q=>{const u=G.map(N=>N(Q).expand());return Pb(new $c(u))}},atomic:function(h){const G=La.codes[h.type].fromString(h.val);return()=>Pb(G)},atomSing:function(h){const G=l(h);return h.card?Q=>G(Q).mapOneToMany(H):Q=>{Q=G(Q).mapOneToMany(H);Q=Fb(Q);if(null===Q.ua())throw Q=q(h.diag),new F("The "+Q.required+" is empty",Q.code,h);return Q}},att:M,attVal:function(h){const G=fa.QName.fromEQName(h.name);return Q=>{fd(Q,"XPDY0002","@"+G,h);Q=ed(Q);if(!S.X(Q))throw new F("Context item for 'attVal' must be a node", -"XPTY0020",h);if(1!==Q.nodeType)return Ob;Q=""===G.uri?Q.hasAttribute(G.local)?Q.getAttribute(G.local):null:G.uri===Zb.xml?Q.hasAttribute("xml:"+G.local)?Q.getAttribute("xml:"+G.local):null:Q.hasAttributeNS(G.uri,G.local)?Q.getAttributeNS(G.uri,G.local):null;return null===Q?Ob:Pb(fa.untypedAtomic.fromString(Q))}},axis:function(h){const G=fc(h.nodeTest||"").ia(),Q=h.name;return u=>{fd(u,"XPDY0002",Q+" axis",h);u=ed(u);if(!S.X(u))throw new F("Context item for "+Q+" axis is not a node - supplied:"+sa.showValue(u), -"XPTY0020",h);return S.Ng[Q](u).filter(G)}},"break":M,callT:function(h){return G=>{const Q=D(h,G,"template"),u=G.ba(!0);u.Bb=null;u.sa=Q;ea(Q.actor,u);t(h,G,u);return l(Q.actor)(u)}},cast:function(h){const G=l(h),Q=W(h,"e"),u=N=>{N=G(N).next();if(null===N){if(Q)return null;throw new F("Empty sequence casting to "+fc(h.as).toString(),"XPTY0004",h);}return N};if(W(h,"a")){const N=rb(h.as),P="AQ"===N.p?L(h,!0):null,ia=La.codes[N.p].R;return ua=>{ua=u(ua);if(null===ua)return Ob;try{var Ba=ia(ua,P);return Pb(Ba)}catch(Fa){if("FORG0001"=== -Fa.code&&h.diag)throw Ba=q(h.diag),new F("Required item type of "+Ba.required+" is "+fc(h.as).toString()+"; supplied value is "+sa.Nh(ua),Ba.code,h);if(null!==Fa.code)throw Fa;throw new F("Failed to cast "+sa.Nh(ua)+" to type "+fc(h.as).toString(),"XPTY0004",h);}}}if(W(h,"l")){const N=La.XS.QName.fromEQName(h.as),P=Tc[N.local].fromString;sa.assert(N.uri===Zb.lc);sa.assert(P);return ia=>{ia=u(ia);if(null===ia)return Ob;ia=Ha.collapse(ia.toString()).split(" ").map(P);if(0===ia.length)throw new F("xs:"+ -N.local+" value must contain at least one token","FORG0001");return Kb(ia)}}if(W(h,"u"))return N=>{N=u(N);return null===N?Ob:La.XS.double.matches(N)||La.XS.mb.matches(N)||La.XS.float.matches(N)?Pb(N):Pb(La.XS.double.R(N))};throw new F("Unknown cast variety "+h.flags);},castable:function(h){const G=l(h),Q=W(h,"e");let u;if(W(h,"a")){const N=rb(h.as),P="AQ"===N.p?L(h,!0):null,ia=La.codes[N.p].R;u=ua=>{ia(ua,P);return!0}}else if(W(h,"l")){h=La.XS.QName.fromEQName(h.as);const N=Tc[h.local].fromString; -u=P=>0{La.XS.double.R(N);return!0};else throw new F("Unknown castable variety "+h.flags);return N=>{N=G(N);const P=N.next();if(null===P)return Xb(Q);if(null!==N.next())return Xb(!1);N=H(P).next();try{return Xb(u(N))}catch(ia){return Xb(!1)}}},cfn:function(h){const G=h.name,Q=l(h);let u;if("_format-number_1"===G)return u=ke["format-number"],N=>{const P=[Q(N),Tb(h.pic)];h.hasAttribute("format")&&P.push(Tb(h.format));return u(P, -N,h)};if("_translate_1"===G)return u=ke.translate,N=>{const P=[Q(N),Tb(h.a1),Tb(h.a2)];return u(P,N)};sa.la("Unimplemented: cfn "+G,h)},check:function(h){function G(P){const ia=q(h.diag);throw new F("Required cardinality of "+ia.required+" is "+u[Q]+"; supplied value "+P,ia.code,h);}const Q=h.card,u={"*":"zero or more","+":"one or more","?":"zero or one",0:"zero",1:"exactly one"},N=l(h);return P=>{P=N(P);if("*"===Q)return P;var ia=Fb(P);P=ia.ua();if(null===P){if("?"===Q||"0"===Q)return Ob;G("is empty")}else"0"=== -Q&&G("is not empty (first item "+sa.showValue(P)+")");if("+"===Q)return ia;ia.next();const ua=ia.next();null!==ua&&(ia=ia.count()+2,G("contains "+ia+" items ("+sa.showValue(P)+", "+sa.showValue(ua)+(2{for(let u=0;uG(Q)},comment:M,compareToInt:function(h){const G=h.op,Q=fa.integer.fromString(h.val),u=l(h);return N=> -{N=u(N);const P=N.next();if(null===P)return Ob;if(Hd.tc(P))return Xb("ne"===G);if(null!==N.next())throw new F("Value comparison only applicable to single values","XPTY0004",h);return Xb(Hd.wf(G,P.compareTo(Q)))}},compareToString:function(h){const G=h.op,Q=l(h),u=fa.string.fromString(h.val);return N=>{const P=Q(N),ia=P.next();if(null===ia)return Ob;if(null!==P.next())throw new F("Value comparison only applicable to single values","XPTY0004",h);return h.comp?(N=Hd.fe(h.comp,N),["=","eq","!=","ne"].includes(G)? -Xb(Hd.Th(G,N.equals(ia,u))):Xb(Hd.wf(G,N.compare(ia,u)))):Xb(Hd.wf(G,ia.compareTo(u)))}},compAtt:M,compElem:M,condCont:function(h){const G=l(h);return Q=>{function u(N){if(S.X(N))switch(N.nodeType){case 9:case 11:case 1:return N.hasChildNodes();default:return""!==p(N).toString()}else return Y(N)?0u(ia)).length}).length:""!==fa.string.R(N).toString()}return G(Q).filter(u)}},condSeq:function(h){function G(u){if(S.X(u)){if([9, -11].includes(u.nodeType))return!u.hasChildNodes();if(3===u.nodeType||4==u.nodeType)return""===u.nodeValue}else{if(La.pa(u))return""===fa.string.R(u).toString();if(ja(u))return!Z(Pb(u)).some(function(N){return!G(N)})}return!1}const Q=h.C.map(u=>({name:u.N,eval:n(u)}));return u=>{let N=[];const P=[];let ia=!0;Q.map(function(ua){if("onEmpty"===ua.name)ia&&(N=ua.eval(u).expand());else if("onNonEmpty"===ua.name){const Ba=N.length;P.unshift(function(){N.splice.apply(N,[Ba,0].concat(ua.eval(u).expand()))})}else ua.eval(u).forEachItem(function(Ba){G(Ba)|| -(ia=!1);N.push(Ba)})});ia||P.forEach(function(ua){ua()});return Kb(N)}},conditionalSort:function(h){const G=l(h),Q=r(h),u=l(h.C[1]);return N=>e(G(N))?Q(N):u(N)},consume:function(h){throw new F("Stylesheet uses 'consume' which requires streaming","SXJS0002",h);},convert:function(h){const G=h.to,Q=La.codes[G];Q||sa.la("Unknown to-type "+h.to);const u=l(h);return W(h,"p")?N=>u(N).mapOneToOne(P=>La.pg(P,G)):N=>u(N).mapOneToOne(Q.R)},copy:M,copyOf:M,currentGroup:function(h){return G=>{if(G&&G.ad)return Kb(G.ad); -throw new F("There is no current group","XTDE1061",h);}},currentGroupingKey:function(h){return G=>{if(G&&G.bd)return Kb(G.bd);throw new F("There is no current grouping key","XTDE1071",h);}},cvUntyped:function(h){const G=l(h),Q=La.codes[h.to],u=Q.R,N="string"===Q.name;return P=>G(P).mapOneToOne(function(ia){if(fa.double.matches(ia)&&"float"===Q.name)throw new F("xs:double may not be promoted to xs:float","XTTE0570",h);if(fa.untypedAtomic.matches(ia)||N&&fa.anyURI.matches(ia))try{return u(ia)}catch(ua){if("FODT0001"=== -ua.code||!h.diag)throw ua;ia=q(h.diag);throw new F(ua.message,ia.code,h);}else return ia})},data:function(h){const G=l(h);return Q=>G(Q).mapOneToMany(H)},dbl:function(h){const G=fa.double.fromString(h.val);return()=>Pb(G)},dec:function(h){const G=wa(h.val);return()=>Wb(G)},doc:M,docOrder:function(h){const G=l(h);return Q=>S.kd(G(Q))},dot:function(h){return G=>{fd(G,"XPDY0002",". (dot)",h);return Pb(ed(G))}},elem:M,empty:function(){return()=>Ob},emptyTextNodeRemover:function(h){const G=l(h);return Q=> -G(Q).filter(u=>!(S.X(u)&&(3===u.nodeType||4===u.nodeType)&&""===u.textContent))},error:function(h){return()=>{throw new F(h.message,h.code,h);}},evaluate:function(h){const G={language:"XSLT",contextType:{o:"1",p:"",code:"1"}},Q=n(B(h,"xpath")),u=n(B(h,"cxt")),N=n(B(h,"sa")),P=n(B(h,"nsCxt")),ia=v(h,"withParam").map(Ba=>({name:fa.string.fromString(Ba.name),eval:l(Ba)})),ua=n(B(h,"wp"));return Ba=>{const Fa=Q(Ba).next().toString();B(h,"cxt");const Pa=u?u(Ba):Ob;let Ua=new cc;ia.forEach(function(ta){Ua.inSituPut(ta.name, -ta.eval(Ba).expand())});ua&&ua(Ba).next().forAllPairs(function(ta){if(!fa.QName.matches(ta.k))throw new F("Parameter names in xsl:evaluate/@with-params map must be QNames:"+ta.k.toString(),"XTTE3165",h);Ua.inSituPut(ta.k,ta.v)});Ua=Pb(Ua);if(N){var Na=N(Ba).next().toString();if(E(Na))throw new F("SaxonJS does not support schema-aware evaluation","XTDE1665",h);}(Na=h.as)&&(G.requiredType=Na.toString());(Na=h.dxns)&&"http://www.w3.org/1999/xhtml"!==Na.toString()&&(G.xpathDefaultNamespace=Na.toString()); -let Wa={};if(P){Na=P(Ba);var J=Na.next();if(null===J||null!==Na.next()||!S.X(J))throw new F("xsl:evaluate/@namespace-context must evaluate to a single node","XTTE3170",h);Wa[""]="";ac.Ic(J).forEach(ta=>Wa[ta.prefix]=ta.uri);G.xpathDefaultNamespace=Wa[""]}else Wa=ma(h);const X={};J=Na=!1;const ka={};var ba=B(h,"options");if(ba){ba=R(ba,Ba).next();let ta=fa.string.fromString("var-slots");ba.containsKey(ta)&&ba.get(ta)[0].forAllPairs(function(Ca){X[Ca.k.toEQName()]=w(Ca.v)});ta=fa.string.fromString("allow-empty"); -ba.containsKey(ta)&&(Na=ba.get(ta)[0].toBoolean());ta=fa.string.fromString("isStatic");ba.containsKey(ta)&&(J=ba.get(ta)[0].toBoolean());ta=fa.string.fromString("staticContext");ba.containsKey(ta)&&ba.get(ta)[0].forAllPairs(function(Ca){ka[Ca.k.toString()]=w(Ca.v,!0)})}G.params=Ua;G.namespaces=Wa;G.slotMap=X;G.allowEmpty=Na;G.staticTyping=!0;G.isStatic=J;G.staticContext=ka;G.dynamicEval=!0;(Na=B(h,"baseUri"))&&(G.staticBaseURI=R(Na,Ba).next().toString());(Na=qa(h,"defaultCollation"))&&(G.defaultCollation= -Na);return Jd.find("SaxonJS").XPath.evaluateXDM(Fa,Pa,Ba,G)}},every:function(h){const G=parseInt(h.slot,10),Q=l(h),u=r(h);return N=>{const P=Q(N);return Xb(!P.some(function(ia){N.oa[G]=[ia];return!e(u(N))}))}},except:function(h){const G=l(h),Q=r(h);return u=>new Hb(G(u),Q(u),S.rb)},"false":function(){return()=>Xb(!1)},filter:function(h){const G=l(h),Q=r(h);return W(h,"i")?u=>{const N=G(u);u=Q(u).expand();if(1===u.length&&fa.numeric.matches(u[0])){const P=u[0].toNumber();if(N instanceof Kb)return Pb(N.expand()[P- -1]||null);const ia=Sb(N);return ia.filter(function(){return ia.position===P})}return e(Kb(u))?N:Ob}:u=>{const N=G(u),P=u.ba(!1);P.focus=Sb(N);u=W(h,"p")?function(){const ia=Q(P).expand();return 1===ia.length&&fa.numeric.matches(ia[0])?P.focus.position===ia[0].toNumber():e(Kb(ia))}:function(){return e(Q(P))};return P.focus.filter(u)}},first:function(h){const G=l(h);return Q=>Pb(G(Q).next())},flt:function(h){const G=fa.float.fromString(h.val);return()=>Pb(G)},fn:function(h){const G=ke[h.name];G||d(h.name+ -"()",h);const Q=(h.C||[]).map(n);return u=>{const N=Q.map(P=>P(u));return G(N,u,h)}},fnCoercer:function(h){const G=l(h),Q=ec(h.to),u=Q.U,N={alphaTree:Q.$()};return P=>G(P).mapOneToOne(function(ia){if(!(ia instanceof ad.XdmFunction||ia instanceof $c||ia instanceof cc)){var ua=q(h.diag);throw new F("Required item type of "+ua.required+" is "+Q.toString()+"; supplied value is "+sa.showValue(ia),ua.code,h);}if((u instanceof dd?u.j:[]).length!==(ia instanceof ad.XdmFunction?ia.arity:1))throw ua=q(h.diag), -new F("Required item type of "+ua.required+" is "+Q.toString()+"; supplied value is "+sa.showValue(ia),ua.code,h);return new ad.zg(N,ia)})},fnRef:function(h){let G=h.name;G=/^Q{/.test(G)?fa.QName.fromEQName(G):fa.QName.fromParts("",Zb.Oa,G);const Q=parseInt(h.arity,10),u=Jd.find("SaxonJS").XPath;return N=>{var P=N.ba(!0);P.bb=!0;if(P=u.getFnSignature(G,Q,P))return N=P.isUserFunction?new ad.Ff(P,N):G.uri===Zb.lc?new ad.Bf(P,G,h):new ad.He(P,G,Q,h,N),Pb(N);throw new F("Reference to an unknown function and/or arity "+ -G.toEQName()+"#"+Q,"XPST0017",h);}},follows:function(h){const G=f(h,function(Q,u){return fa.boolean.fromBoolean(0Pb(G(Q))},"for":function(h){const G=parseInt(h.slot,10),Q=l(h),u=r(h);return N=>Q(N).mapOneToMany(function(P){N.oa[G]=[P];return u(N)})},forEach:function(h){const G=l(h),Q=r(h);return B(h,"separator")?M(h):u=>{const N=u.ba(!1);N.focus=Sb(G(u));N.ab=null;return N.focus.mapOneToMany(function(){return Q(N)})}},forEachGroup:M,fork:c,functionCall:function(h){d(h.name+ -"()",h)},gc:b,gc10:function(h){let G=l(h),Q=r(h);return u=>{let N=G(u).expand(),P=Q(u).expand();1===N.length&&fa.boolean.matches(N[0])?P=[fa.boolean.fromBoolean(e(Kb(P)))]:1===P.length&&fa.boolean.matches(P[0])?N=[fa.boolean.fromBoolean(e(Kb(N)))]:(N=g(N),P=g(P));u=Hd.fe(h.comp,u);const ia=h.op;"="!==ia&&"!="!==ia?(N=Kb(N).mapOneToOne(La.XS.numeric.xe).expand(),P=Kb(P).mapOneToOne(La.XS.numeric.xe).expand()):u=Hd.Ki(u);return Hd.gc(Kb(N),P,ia,u,h)}},gcEE:b,gVarRef:function(h){return G=>{const Q=D(h, -G),u=Q.actor,N=u.name;if(Q.value===a)throw G=new F("Circularity in global variable "+N,"XTDE0640"),G.Le=!0,G;if(null===Q.value||"undefined"===typeof Q.value){if("globalParam"===u.N){var P=G.fixed.options.Sh,ia=La.XS.QName.fromEQName(N);if(P.containsKey(ia))P=P.get(ia),sa.assert(Array.isArray(P)),ia=ec(u.as||"*"),P=x(P,ia,()=>"stylesheet parameter "+N),sa.assert(Array.isArray(P)),Q.value=P;else{if(W(u,"r"))throw new F("Parameter "+N+" is required","XTDE0050",u);if(W(u,"i"))throw new F("Parameter "+ -N+" cannot be empty","XTDE0700",u);u.C||(Q.value=[])}}if(null===Q.value||"undefined"===typeof Q.value){P=!u.parentNode.parentNode.parentNode;ia=G.ba(!0);ia.qa="variable";ia.ub.push(null);ia.gb={};ia.ab=null;ia.sa=Q;ia.focus=P?Rb(G.fixed.hd):null;try{const ua=l(u);Q.value=a;Q.value=ua(ia).expand()}catch(ua){throw ua instanceof F&&(Q.value=[],fa.QName.fromEQName(N).uri!==Zb.wb+"generated-variable"&&(ua.Le=!0)),ua;}ia.ub.pop()}}return Kb(Q.value)}},homCheck:function(h){const G=l(h);return Q=>{Q=Fb(G(Q)); -const u=Q.ua();if(null===u)return Ob;const N=S.X(u);Q=Q.filter(function(P){if(S.X(P)!==N)throw new F("Cannot mix nodes and atomic values in the result of a path expression","XPTY0018",h);return!0});return N?S.kd(Q):Q}},ifCall:function(h){const G=fa.QName.fromEQName(h.name);if("schedule-action"===G.local){const u=l(h),N=r(h),P=n(h.C[3]);return ia=>{var ua=4===h.C.length;if(4h.C.length||"empty"===h.C[2].N?Na=Wa=J=null:(Na=h.C[2],"bSlot"in Na?(Wa=D(Na,ia,"template"),J=Wa.actor):Wa=J=null);ee(ia)||(Ua.focus=Sb(Pb(ed(ia))),Ua.focus.next());Ua.Bb=null;Ua.sa=Wa;Ua.qa=!1;null===Pa&&null!==J&&ea(J,Ua);null!=Na&&t(Na,ia,Ua);let X,ka;null===J?(X=null,ka=function(){}):(X=l(J),ka=function(){X(Ua).expand()});if(null!==Pa)ua=pa.lj(Pa,function(ba){Ua.focus= -Sb(Pb(ba[0]));Ua.focus.next();null!==J&&(ea(J,Ua),ka())},Ba,ia.fixed.Ta);else if(null!==Fa)Fa=Fa.toString().split(" "),Pa=Fa.map(function(ba){return pa.Fb(ba,cd.Ia(h,ia))}),pa.jd()?(ua=pa.hi(Pa,ia.fixed.vd,ka,Ba,ia.fixed.Ta),ua=1===Fa.length?ua[Pa[0]]:ua):(Ba=Pa.map(ba=>Jd.find("SaxonJS").getResource({location:ba,type:"text"}).then(ta=>{try{return ia.fixed.vd[ba]=ta,ka(),Promise.resolve(null)}catch(Ca){return ta=Promise.reject(Ca),ia.fixed.Bj.push(ta),ta}})),Ba=Promise.all(Ba),ia.fixed.zd.push(Ba)); -else if(0!==Ba)if(pa.jd())setTimeout(ka,Ba);else throw new F("ixsl:schedule-action/@wait is not supported on Node.js","SXJS0002");return ua?Pb(ua):Ob}}const Q=(h.C||[]).map(n);return u=>{const N=Q.map(P=>P(u));return na(G.uri,G.local,N,u,h)}},indexedFilter2:function(h){const G=n(B(h,"base")),Q=n(B(h,"use")),u=n(B(h,"search"));return N=>{const P=Hd.fe(h.comp,N),ia=N.ba(!1);ia.focus=Sb(G(N));const ua=u(N).expand();return ia.focus.filter(function(){const Ba=Q(ia);return Hd.gc(Ba,ua,"=",P,h).next().toBoolean()})}}, -inlineFn:function(h){const G={sig:h.sType,alphaTree:rb(h.sType)};return Q=>Pb(new ad.ai(G,h,Q))},instance:function(h){const G=l(h),Q=ec(h.of);return u=>{u=G(u).expand();return Xb(Q.matches(u))}},"int":function(h){const G=fa.integer.fromString(h.val);return()=>Pb(G)},intersect:function(h){const G=l(h),Q=r(h);return u=>new Gb(G(u),Q(u),S.rb)},intRangeTest:function(h){const G=l(h);h=h.C;const Q=n(h[1]),u=n(h[2]);return N=>{const P=Q(N).next(),ia=u(N).next();if(!P||!ia)return Xb(!1);const ua=P.toNumber(), -Ba=ia.toNumber();N=G(N).some(function(Fa){Fa=Fa.value;return Fa>=ua&&Fa<=Ba});return Xb(N)}},is:function(h){const G=f(h,function(Q,u){return fa.boolean.fromBoolean(S.isSameNode(Q,u))});return Q=>Pb(G(Q))},isLast:function(h){const G="1"===h.test;return Q=>Xb(Q.focus.position===Q.focus.last()===G)},iterate:M,javaCall:function(h){const G=fa.QName.fromEQName(h.name),Q=(h.C||[]).map(n);return u=>{const N=Q.map(P=>P(u));return na(G.uri,G.local,N,u,h)}},lastOf:function(h){const G=l(h);return Q=>{const u= -Fb(G(Q));return u.filter(function(){return null===u.ua()})}},let:function(h){const G=l(h),Q=r(h),u=parseInt(h.slot,10);return N=>{const P=N.qa;N.qa="variable";const ia=G(N).expand();N.qa=P;N.oa[u]=ia;return Q(N)}},literal:c,lookup:function(h){const G=l(h),Q=r(h);return u=>{function N(Na){Ba=Ba.concat(Fa[Na.toString()])}function P(Na){Ba=Ba.concat(Fa.get(Na))}function ia(Na){return function(Wa){if(!fa.integer.matches(Wa))throw new F("Array lookup key must be of type xs:integer; supplied value is "+ -sa.showValue(Wa),"XPTY0004",h);Wa=Wa.toNumber();if(1>Wa||Wa>Na.length)throw new F("Array index ("+Wa+") out of bounds (1 to "+Na.length+")","FOAY0001",h);Ba=Ba.concat(Na[Wa-1])}}const ua=G(u);let Ba=[],Fa;u=Q(u).expand();const Pa=h.tuple;if(null!=Pa){const Na=Pa.split(/\s+/);for(var Ua of u)if(-1===Na.indexOf(Ua.toString()))throw new F("Tuple lookup key must be one of "+Pa+". Supplied key is "+Ua.toString(),"XPTY0004",h);}for(;null!==(Fa=ua.next());)if(cd.isArray(Fa))Ua=ia(Fa.value),u.forEach(Ua); -else if(cd.isMap(Fa))u.forEach(P);else if(null!=Pa&&cd.vh(Fa))u.forEach(N);else throw new F("The source for a lookup operator (?) must be of type array() or map(); supplied value is "+sa.showValue(Fa),"XPTY0004",h);return Kb(Ba)}},lookupAll:function(h){const G=l(h);return Q=>{function u(ua){P=P.concat(ua)}function N(ua){P=P.concat(ia.get(ua))}Q=G(Q);let P=[],ia;for(;null!==(ia=Q.next());)if(cd.isArray(ia))ia.value.forEach(u);else if(cd.isMap(ia))ia.keys().forEach(N);else throw new F("The source for a lookup operator ('?') must be of type array() or map(); supplied value is "+ -sa.showValue(ia),"XPTY0004",h);return Kb(P)}},lookupTuple:function(h){const G=l(h),Q=h.key;return u=>{u=G(u);let N=[],P;for(;null!==(P=u.next());)if(null!=Q&&cd.vh(P))N=N.concat(P[Q]);else throw new F("The source for a lookupTuple operator (?) must be of type tuple(); supplied value is "+sa.showValue(P),"XPTY0004",h);return Kb(N)}},map:function(h){const G=(h.C||[]).map(n);return Q=>{const u=new cc;let N=null;G.forEach(function(P){if(null===N)N=P(Q).next();else{if(u.containsKey(N))throw new F("Duplicate map constructor entries for key:"+ -sa.showValue(N),"XQDY0137",h);P=P(Q).expand();u.inSituPut(N,P);N=null}});return Pb(u)}},merge:function(h){return G=>le.mj(h,G)},mergeAdj:function(h){const G=l(h);return Q=>{const u=[],N=G(Q);let P=!1,ia;for(;null!==(ia=N.next());){var ua=S.X(ia)&&(3===ia.nodeType||4===ia.nodeType);ua&&""===ia.nodeValue||(P&&ua?(ua=S.Gc(Q.ja),u.push(ua.createTextNode(u.pop().nodeValue+ia.nodeValue))):(P=ua,u.push(ia)))}return Kb(u)}},message:function(h){const G=n(B(h,"terminate")),Q=n(B(h,"error"));return u=>{const N= -u.qa;u.qa="variable";var P=G(u).next();let ia=Q(u).next().toString();try{ia=aa(h,ia,!0).toEQName()}catch(Pa){ia="Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}let ua;try{ua=E(P.toString())}catch(Pa){throw new F("The terminate attribute of xsl:message must be yes|no|true|false|1|0","XTDE0030",h);}P=Vd(u);const Ba=new $d(P);try{var Fa=Zd.Fc(Ba);Fa.Ea();Zd.push(h.C[0],u,Fa);Fa.za()}catch(Pa){Ba.append(La.XS.string.fromString("xsl:message evaluation at "+sa.location(h)+" failed: "+Pa))}Fa=Kb(P.Ob).next(); -u.fixed.options.Xf||(u.fixed.options.Xf=pa.oh());try{P=ia,u.uc[P]||(u.uc[P]=0),u.uc[P]++,u.fixed.options.Xf(Fa,ia)}catch(Pa){}if(ua)throw sa.Ma(u.getStackTrace(),1,u.fixed.Ta),u=new F("Terminated with "+Fa,ia,h),u.errorObject=Fa,u;u.qa=N;return Ob}},minus:function(h){const G=l(h);return Q=>G(Q).mapOneToOne(u=>u.nf())},namespace:function(h){const G=l(h),Q=r(h);return u=>{const N=G(u).next().toString();u=Q(u).next().toString();if(""!==N&&!Ha.Lb(N))throw new F("Prefix "+N+" is not an NCName","XTDE0920", -h);if(""===u)throw new F("Namespace is zero-length","XTDE0930",h);if("xmlns"===N)throw new F("Disallowed prefix xmlns","XTDE0920",h);if("http://www.w3.org/2000/xmlns/"===u)throw new F("Disallowed namespace "+u,"XTDE0905",h);if(!C(u))throw new F("Invalid namespace "+u,"XTDE0905",h);if("xml"===N!==(u===Zb.xml))throw new F("The xml namespace prefix and uri can only be used together","XTDE0925",h);return Pb(new bc(N,u))}},nextIteration:M,nextMatch:M,nodeNum:function(h){return G=>fe.rj(h,G)},"null":function(h){return()=> -Pb(h)},numSeqFmt:function(h){return G=>fe.sj(h,G)},onEmpty:c,onNonEmpty:c,or:function(h){const G=l(h),Q=r(h);return u=>Xb(e(G(u))||e(Q(u)))},origFC:function(h){h.C||(h.C=[]);const G=h.C.map(n);return Q=>{if(!h._target){const P=h.pack,ia=aa(h,h.name,!1).toEQName(),ua=h.C.length,Ba=Q.fixed.La;Object.keys(Ba).forEach(function(Fa){Fa=Ba[Fa];Fa.Dh.name===P&&Fa.name===ia&&Fa.actor&&"function"===Fa.actor.N&&v(Fa.actor,"arg").length===ua&&(h._target=Fa.id)})}const u=Q.fixed.La[h._target],N=G.map(P=>P(Q).expand()); -return y(h,u,N,Q)}},param:function(h){const G=h.name,Q=parseInt(h.slot,10),u=W(h,"t"),N=n(B(h,"select")),P=n(B(h,"conversion"));return ia=>{var ua=u?ia.Qb:ia.Kc,Ba=La.XS.QName.fromEQName(G);if(ua.containsKey(Ba))ua=ua.get(Ba),""!==ec(h.as||"*").$().p&&(ua=T(ua));else if(N&&!W(h,"r"))Ba=ia.qa,ia.qa="xsl:param",ua=N(ia).expand(),ia.qa=Ba;else throw new F("Required parameter $"+G+" not supplied","XTDE0700",h);sa.assert(Array.isArray(ua));ia.oa[Q]=ua;if(P)try{ia.oa[Q]=P(ia).expand()}catch(Fa){throw new F("Supplied value for parameter $"+ -G+" could not be converted to required type","XTTE0590",h);}return Ob}},partialApply:function(h){const G=l(h),Q=[],u=[];let N=0;const P=h.C.length-1;for(let ia=1;ia{const ua=G(ia).next(),Ba=[];for(let Fa=0;FaS.rb(Q,u))});return Q=>Pb(G(Q))},procInst:M,qName:function(h){const G=fa.QName.fromParts(h.pre,h.uri,h.loc);return()=>Pb(G)},range:function(h){const G=fa.integer.fromString(h.from),Q=fa.integer.fromString(h.to);return()=>k(G,Q)},resultDoc:function(h){return G=>{try{if(G.qa)throw new F("Cannot call xsl:result-document while evaluating "+G.qa,"XTDE1480",h);var Q=I(h,G);const u={};let N=function(){};const P=B(h,"format");if(P){let ka=R(P,G).next().toString(); -ka=aa(h,ka,!0).toEQName();const ba=Q.mg[ka];if(!ba)throw new F("Unknown xsl:output format "+ka,"XTDE1460");let ta,Ca;for(const Ka of ba.C){let Qa=Ka.name;"parameter-document"===Qa?ta=Ka.value:"Q{http://saxon.sf.net/}parameter-document-base-uri"===Qa?Ca=Ka.value:u[Qa]="use-character-maps"===Qa?ge.yf(Qa,Ka.value,Q):ge.zf(Qa,Ka.value)}if(ta){const Ka=pa.Fb(ta,Ca);let Qa=Nd.Dc(Ka,G);ge.parseParamDoc(Qa.documentElement,u)}}m(h.global,u,Q);m(h.local,u,Q);for(const ka of h.C){let ba=ka.role.replace(/^Q{\}/, -"");if(!["href","format","content","parameter-document"].includes(ba)){"output-version"===ba&&(ba="version");let ta=R(ka,G).next().toString();ta="use-character-maps"===ba?ge.yf(ba,ta,Q):ge.zf(ba,ta,L(h,!0));"undefined"!==typeof ta&&(u[ba]=ge.pf(ba,ta,u[ba]))}}const ia=B(h,"Q{}parameter-document");if(null!==ia){const ka=R(ia,G).next().toString(),ba=pa.Fb(ka,cd.Ia(h,G));let ta=Nd.Dc(ba,G);ge.parseParamDoc(ta.documentElement,u)}const ua=G.fixed.Ib,Ba=B(h,"href"),Fa=null===Ba?"":R(Ba,G).next().toString(); -let Pa;Pa=ua?pa.newURL(Fa,ua):S.ld(Fa)?pa.newURL(Fa):Fa;const Ua=Pa.toString();if(G.fixed.Ib&&Ua===G.fixed.Ib.toString()&&1{fd(G,"XPDY0002","/",h);G=ed(G);if(!S.X(G))throw new F("Context item for '/' must be a node","XPTY0020",h);const Q=S.rc(G);if(9!==Q.nodeType&&11!==Q.nodeType)throw new F("Root node for '/' must be a document node", -"XPDY0050",h);return Pb(S.rc(G))}},sequence:c,slash:function(h){const G=l(h),Q=r(h);return u=>{const N=u.ba(!1);N.focus=Sb(G(u));return N.focus.mapOneToMany(()=>Q(N))}},some:function(h){const G=parseInt(h.slot,10),Q=l(h),u=r(h);return N=>{const P=Q(N);return Xb(P.some(function(ia){N.oa[G]=[ia];return e(u(N))}))}},sort:function(h){const G=Hd.Kj(h);return Q=>{try{return G(Q)}catch(u){if(u instanceof F&&"FOCH0002"===u.code)throw new F(u.message,"XTDE1035",h);if(u instanceof F&&"XPTY0004"===u.code)throw new F(u.message, -"XTDE1030",h);throw u;}}},sourceDoc:M,str:function(h){const G=h.val;return()=>Tb(G)},subscript:function(h){const G=l(h),Q=r(h);return u=>{var N=G(u);u=Q(u).next();if("ADI"===u.code)u=u.value;else if(u.equals(u.round(0)))u=La.XS.integer.R(u).value;else return Ob;return(N=N.kf(u))?Pb(N):Ob}},supplied:function(h){const G=parseInt(h.slot,10);return Q=>Kb(Q.oa[G])},tail:function(h){const G=parseInt(h.start,10)-1;let Q=l(h);return u=>{let N=G;return Q(u).filter(function(){return 0>=N--})}},tailCallLoop:c, -to:function(h){const G=l(h),Q=r(h);return u=>{const N=G(u).next();u=Q(u).next();return null===N||null===u||0u(N).mapOneToOne(function(P){if(Q(P))return P;const ia=q(h.diag);throw new F("Required item type of "+ia.required+" is "+G.toString()+"; supplied value is "+sa.showValue(P),ia.code,h);})},"true":function(){return()=>Xb(!0)},"try":function(h){const G=l(h),Q=v(h,"catch");Q.forEach(u=>{const N=u.errors.split(" ").map(P=> -{if("*"===P)return()=>!0;if(/^\*:/.test(P)){const ua=P.substring(2);return Ba=>Ba.local===ua}if(/}\*$/.test(P)){const ua=P.substring(2,P.length-2);return Ba=>Ba.uri===ua}const ia=fa.QName.fromEQName(P);return ua=>ua.equals(ia)});u.test=1===N.length?N[0]:P=>N.some(ia=>ia(P))});return u=>{try{return Kb(G(u).expand())}catch(N){if(N instanceof F&&!N.Le){u.$e=N;N.xsltLineNr||ra(N,h.C[0]);let P;P=N.code.match("^Q{")?fa.QName.fromEQName(N.code):fa.QName.fromParts("","http://www.w3.org/2005/xqt-errors",N.code); -for(let ia=0;ia{const u=D(h,Q,"function"),N=G.map(P=>P(Q).expand());return y(h,u,N,Q)}},ufRef:function(h){let G=h.name;G=/^[a-z]+:/.test(G)?aa(h,G,!0):/^Q\{/.test(G)?fa.QName.fromEQName(G):fa.QName.fromParts("",Zb.Oa,G);const Q=parseInt(h.arity,10),u=Jd.find("SaxonJS").XPath;return N=>{const P=u.getFnSignature(G,Q,N);if(P&& -P.isUserFunction)return N=new ad.Ff(P,N),Pb(N);sa.la("Named user function "+G+"#"+Q+" not found")}},union:function(h){const G=l(h),Q=r(h);return u=>new Eb(G(u),Q(u),S.rb)},useAS:M,valueOf:M,varRef:function(h){const G=parseInt(h.slot,10);return Q=>Kb(Q.oa[G])},vc:function(h){function G(ia){return null===ia?null:fa.untypedAtomic.matches(ia)?fa.string.R(ia):ia}const Q=h.op,u=h.onEmpty,N=l(h),P=r(h);return ia=>{const ua=N(ia),Ba=P(ia),Fa=G(ua.next()),Pa=G(Ba.next());if(null===Fa||null===Pa)return u?Xb("1"=== -u):Ob;if(null!==ua.next()||null!==Ba.next())throw new F("Value comparison only applicable to single values","XPTY0004",h);if(Fa.isNumeric()&&isNaN(Fa.value)||Pa.isNumeric()&&isNaN(Pa.value))return Xb("ne"===Q);ia=Hd.fe(h.comp,ia);return["=","eq","!=","ne"].includes(Q)?Xb(Hd.Th(Q,ia.equals(Fa,Pa))):Xb(Hd.wf(Q,ia.compare(Fa,Pa)))}}};K.prototype={value:null,containsKey:function(h){return"undefined"!==typeof this.value[h]},get:function(h){return ha(this.value[h])},inSituPut:function(){throw new F("inSituPut() not allowed for JSValue", -"SXJS0005");},put:function(){throw new F("put() not allowed for JSValue","SXJS0005");},remove:function(){throw new F("remove() not allowed for JSValue","SXJS0005");},keys:function(){throw new F("keys() not allowed for JSValue","SXJS0005");},forAllPairs:function(){throw new F("forEach() not allowed for JSValue","SXJS0005");},conforms:function(){throw new F("conforms() not allowed for JSValue","SXJS0005");},showValue:function(){return"JSValue "+sa.showValue(this.value)}};U.prototype={value:null,showValue:function(){return"XDMValue "+ -sa.showValue(this.value)}};return{da:B,Ve:t,Sb:H,li:g,Ik:function(){return"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")},Tf:ea,qb:v,ti:la,Uf:x,sb:w,ke:I,ig:D,Fd:e,Sa:l,Vg:r,ib:n,escape:function(h,G){let Q="";Da(h).forEach(function(u){const N=Ea([u]);Q+=G(u,N)?encodeURIComponent(N):N});return Q},evaluate:R,qc:function(h,G){return null===h?Ob:R(h,G)},Ai:function(h, -G,Q,u){const N=ke[h.local];N||d(h.toString()+"()",u);return N(G.map(P=>Kb(P)),Q,u)},Bi:function(h,G,Q,u){return na(h.uri,h.local,G.map(N=>Kb(N)),Q,u)},flatten:Z,hg:qa,Rk:function(h){if("undefined"!==typeof h)return z(h,"module",20)+"#"+z(h,"line",10)},Db:W,Ic:ma,isArray:ja,isMap:Y,Jd:V,vh:function(h){return h instanceof me},hj:E,Ef:K,fl:d,Ej:q,Aj:function(h){na=h},pl:ca,Ia:A,xd:T,sg:aa,Wd:L,Xh:function(h){return"AZ"===h.code?fa.double.R(h):h},Oj:C,Ra:ha,Hk:U}}(); +const cd=function(){function a(){}function c(h){const C=(h.C||[]).map(p);return Q=>new Mb(function*(){for(const r of C){const O=r(Q);let R;for(;null!==(R=O.next());)yield R}}())}function n(h){function C(ea){switch(ea){case 1:return"first";case 2:return"second";case 3:return"third";default:return ea+"th"}}h=h.split("|");const Q=h[0],r=h[1],O=""===h[2]?"XPTY0004":h[2],R=h[3];return{required:function(){switch(parseInt(Q,10)){case 0:return C(+r+1)+" argument of "+(""===R?"anonymous function":R+"()"); +case 1:return C(+r+1)+" operand of '"+R+"'";case 9:return"operand of '-'";case 2:return"value in '"+R+"' expression";case 3:return"saxon:context-item"===R?"context item":"value of variable $"+R;case 4:const ea=R.split("/");return"@"+ea[1]+" attribute of "+("LRE"===ea[0]?"a literal result element":ea[0]);case 5:return"result of call to "+(""===R?"anonymous function":"function "+R);case 7:return"result of template "+R;case 6:return C(+r+1)+" sort key";case 8:return"value of parameter $"+R;case 11:return"value of the grouping key"; +case 12:return"result of xsl:evaluate";case 13:return"the context item";case 14:return"the context item for the "+"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")[r]+" axis";case 15:return"the value of the "+R+" option";case 17:return"document-order sorter";default:return""}}(),code:O}}function F(h){h=h.trim();if(["true","yes","1"].includes(h))return!0;if(["false", +"no","0"].includes(h))return!1;throw new G("Value must be yes|true|1 or no|false|0","XTDE0030");}function I(h){if(T.X(h))return Pb(m(h));if(ia(h))return Qb(h.value.map(C=>Kb(C))).mapOneToMany(I);if(V(h))throw new G("Cannot atomize a "+(Y(h)?"map":"function"),"FOTY0013");return Pb(h)}function m(h){const C=ba.string.fromString,Q=ba.untypedAtomic.fromString;switch(h.nodeType){case 9:return Q(h.documentElement.textContent);case 11:case 1:case 3:case 4:return Q(h.textContent||"");case 2:return Q(h.value); +case 8:return C(h.textContent);case 7:return C(h.textContent);case 13:return C(h.uri);default:throw new G("Unknown node type "+h.nodeType,"SXJS0003");}}function g(h){return Kb(h).mapOneToMany(I).expand()}function e(h){function C(O){throw new G("Effective boolean value is not defined for "+O,"FORG0006");}function Q(){if(null!==h.next())C("an atomic sequence of length > 1");else return!0}var r=h.next();if(null===r)return!1;if(T.X(r))return!0;if(La.pa(r)){if("AB"===r.code)return Q()&&r.toBoolean();if(r.isNumeric())return r= +r.toNumber(),Q()&&!isNaN(r)&&0!==r;if(Ia(r))return Q()&&0!==r.toString().length;C("type "+La.pd(r.code))}else Y(r)?C("maps"):ia(r)?C("arrays"):V(r)?C("functions"):C("value "+sa.showValue(r))}function k(h,C){const Q=mb["i+i"],r=ba.integer.fromNumber(1);return new Cb(h,O=>{O=Q(O,r);return 0Q.N===C):[]}function t(h,C,Q){h=v(h,"withParam");const r=[new cc,new cc];C.Rb.forAllPairs(R=>r[1].inSituPut(R.k,R.v));const O=C.qa;C.qa="template parameter"; +h.forEach(function(R){const ea=R.name,ua=P(R,"t")?1:0;r[ua].inSituPut(La.XS.QName.fromEQName(ea),d(R)(C).expand())});C.qa=O;Q.Lc=r[0];Q.Rb=r[1]}function D(h){return!/[ \t\r\n]/.test(h)}function l(h,C,Q){if(h){h=h.split(/\r?\n/);for(let O=0;O{try{const R=Q(O).next(),ea=r(O).next();return null===R||null===ea?null:C(R,ea)}catch(R){aa(R,h)}}}function B(h,C){if(C.fixed.staticBaseURI)return C.fixed.staticBaseURI;if(C.fixed.md)return null;for(;;){if(h.baseUri)return h.baseUri;h=h.parentNode;if(!h)return null}}function L(h,C,Q=!1){var r=T.Hc(C.ja).createDocumentFragment();r=T.xc(r);r._saxonBaseUri=B(h,C);const O=C.ba(!1);Q&&(O.ja=C.masterDocument);bd.kj(r,p(h)(O),O);return r}function y(h){const C= +d(h),Q=q(h),r=h.op;return O=>{const R=C(O),ea=Q(O).expand();O=Hd.he(h.comp,O);return Hd.gc(R,ea,r,O,h)}}function b(h,C){throw new G("The "+h+" construct is not implemented in SaxonJS","SXJS0002",C);}function d(h){return p(h.C[0])}function q(h){return p(h.C[1])}function p(h){if(h){var C=h.ELAB;C||((C=pa[h.N])||sa.la("Unknown expr: "+h.N+" parent="+h.p),C=h.ELAB=C(h));return C}}function u(h,C){h=h.C||[];for(let Q=0;Q{const Q=Vd(C),r=Zd.Gc(Q);Zd.push(h,C,r);r.close();return Kb(Q.Pb)}}function aa(h,C){h instanceof G&&!h.xsltLineNr&&ra(h,C);throw h;}function ma(h,C){function Q(O){return"Context item for template "+ +h.name+" must be "+O}if(ee(C)&&-1===h.flags.indexOf("o"))throw new G(Q("supplied"),"XTTE3090",h);ee(C)||-1!==h.flags.indexOf("s")||(C.focus={});let r=h.cxt;if(r&&!ee(C)&&!fc(r).ia()(ed(C)))throw new G(Q("instance of "+fc(r).toString()),"XTTE0590",h);}function ia(h){return h instanceof $c}function Y(h){return h instanceof cc||h instanceof M}function V(h){return h instanceof ad.XdmFunction||ia(h)||Y(h)}function ka(h){var C=Object.assign(h);C.ELAB=void 0;h.C&&(C.C=h.C.map(Q=>ka(Q)));return C}function z(h, +C,Q){sa.assert(Array.isArray(h));sa.assert(C instanceof gc);const r=C.$();let O=r.p;if(r.o&&!Ed(r.o)(h.length))throw new G("Supplied value "+sa.showValue(h)+" does not match required cardinality "+r.o+(Q?" in "+Q():""),"XPTY0004");if(0ea.isNumeric()?ea:R.matches(ea)?La.XS.double.R(ea):ea instanceof M?La.XS.double.fromString(ea.value.toString()):ea);else{const ea=La.codes[O],ua=ea.R;"A"!==O&&(h=h.map(Ba=>R.matches(Ba)? +ua(Ba):Ba instanceof M?ea.fromString(Ba.value.toString()):Ba));["AO","AF"].includes(O)&&(h=h.map(Ba=>Ba.isNumeric()?ea.R(Ba):Ba));"AS"===O&&(h=h.map(Ba=>La.XS.anyURI.matches(Ba)?ea.R(Ba):Ba))}}else if(C.U.Jd())if(["FM","FA"].includes(O))h=U(h);else if(C.U instanceof dd){const R=C.U.ia();h.every(ea=>R(ea))||(h=h.map(ea=>{if(R(ea))return ea;if(ea instanceof ad.XdmFunction){var ua=C.U;const Ba=ua.j.length;ua={minArgs:Ba,maxArgs:Ba,sig:ua.ha(),alphaTree:ua.$()};return new ad.Ag(ua,ea)}return ea}))}if(!C.matches(h))throw new G("Supplied value "+ +sa.showValue(h)+" does not match required type "+C.toString()+(Q?" in "+Q():""),"XPTY0004");}return h}function M(h){this.value=h}function W(h){this.value=h}function fa(h){function C(r){switch(typeof r){case "undefined":return[];case "string":return ba.untypedAtomic.fromString(r);case "number":return ba.double.fromNumber(r);case "boolean":return ba.boolean.fromBoolean(r);case "function":return new M(r);case "object":if(ba.Qf.matches(r)||T.X(r))return r;if(r instanceof $c)return r;if(r instanceof ad.XdmFunction|| +r instanceof cc)return r;if(r instanceof M)return r;if(r instanceof Date)return ba.dateTime.fromString(r.toISOString());if(Array.isArray(r)){const O=[];r.forEach(function(R){O.push(fa(R))});return new $c(O)}return null===r?[]:r instanceof W?r.value:new M(r);default:return new M(r)}}function Q(r){const O=[];r.forEach(function(R){R=C(R);Array.isArray(R)&&0===R.length||O.push(R)});return O}if(Array.isArray(h))return Q(h);h=C(h);return Array.isArray(h)&&0===h.length?[]:[h]}function U(h){function C(r){if(r instanceof +$c){const O=[];r.value.forEach(R=>O.push(Q(R)));return new $c(O)}if(r instanceof M){const O=r.value;if("object"===typeof O){r=new cc;for(const R in O)if(O.hasOwnProperty(R)){const ea=fa(R)[0],ua=fa(O[R]);r.inSituPut(ea,U(ua))}return r}}return r}function Q(r){const O=[];r.forEach(function(R){R=C(R);Array.isArray(R)&&0===R.length||O.push(R)});return O}sa.assert(Array.isArray(h));return Q(h)}function w(h,C=!1){function Q(O){if(Array.isArray(O))throw new G("convertItem() called for an array","SXJS0004"); +if(null===O)return null;if(ba.string.matches(O)||ba.anyURI.matches(O)||ba.duration.matches(O)||ba.hexBinary.matches(O)||ba.base64Binary.matches(O)||ba.untypedAtomic.matches(O))return O.toString();if(ba.numeric.matches(O))return O.toNumber();if(ba.boolean.matches(O))return O.toBoolean();if(ba.dateTime.matches(O)||ba.dd.matches(O)||ba.Ed.matches(O)||ba.time.matches(O)||ba.oh.matches(O)||ba.nh.matches(O)||ba.mh.matches(O)||ba.lh.matches(O)||ba.kh.matches(O))return O.toString();if(ba.QName.matches(O))return O.toEQName(); +if(T.X(O))return O;if(O instanceof $c){const R=[];0!==O.value.length&&O.value.forEach(function(ea){R.push(w(ea,C))});return R}if(O instanceof cc){if(C){const R={};O.forAllPairs(function(ea){R[ea.k.toString()]=w(ea.v,C)});return R}return new W(O)}return O instanceof W?O:O instanceof M?O.value:new W(O)}function r(O){const R=[];if(0===O.length)return null;if(1===O.length)return Q(O[0]);O.forEach(function(ea){R.push(Q(ea))});return R}return Array.isArray(h)?r(h):Q(h)}function Z(h){return h.mapOneToMany(function(C){return ia(C)? +Qb(C.value.map(function(Q){return Z(Kb(Q))})):Pb(C)})}const T=ac,ha=T.Ja,ba=La.XS;let va;const pa={acFnRef:function(h){const C=ba.QName.fromEQName(h.name),Q=Jd.find("SaxonJS").XPath;return r=>{r=r.ba(!0);r.bb=!0;if(r=Q.getFnSignature(C,1,r))return r=new ad.Bf(r,C,h),Pb(r);throw new G("Reference to an unknown constructor function "+C+"#1","XPST0017",h);}},among:function(h){const C=d(h),Q=q(h);return r=>{const O=C(r).next();return Q(r).filter(R=>T.isSameNode(R,O))}},analyzeString:N,and:function(h){const C= +d(h),Q=q(h);return r=>Xb(e(C(r))&&e(Q(r)))},applyImports:N,applyT:N,arith:function(h){const C=mb[h.calc];C||b("arithmetic ("+h.calc+")",h);const Q=f(h,C);return r=>Pb(Q(r))},arith10:function(h){function C(R){R=R.next();return null===R?ba.double.fromNumber(NaN):Ia(R)?ba.double.df(R.toString()):ba.double.R(R)}const Q=d(h),r=q(h),O=mb[h.calc];return R=>Pb(O(C(Q(R)),C(r(R))))},array:function(h){const C=(h.C||[]).map(p);return Q=>{const r=C.map(O=>O(Q).expand());return Pb(new $c(r))}},arrayBlock:function(h){const C= +(h.C||[]).map(p);return Q=>{const r=C.map(O=>O(Q).expand());return Pb(new $c(r))}},atomic:function(h){const C=La.codes[h.type].fromString(h.val);return()=>Pb(C)},atomSing:function(h){const C=d(h);return h.card?Q=>C(Q).mapOneToMany(I):Q=>{Q=C(Q).mapOneToMany(I);Q=Fb(Q);if(null===Q.ua())throw Q=n(h.diag),new G("The "+Q.required+" is empty",Q.code,h);return Q}},att:N,attVal:function(h){const C=ba.QName.fromEQName(h.name);return Q=>{fd(Q,"XPDY0002","@"+C,h);Q=ed(Q);if(!T.X(Q))throw new G("Context item for 'attVal' must be a node", +"XPTY0020",h);if(1!==Q.nodeType)return Ob;Q=""===C.uri?Q.hasAttribute(C.local)?Q.getAttribute(C.local):null:C.uri===Zb.xml?Q.hasAttribute("xml:"+C.local)?Q.getAttribute("xml:"+C.local):null:Q.hasAttributeNS(C.uri,C.local)?Q.getAttributeNS(C.uri,C.local):null;return null===Q?Ob:Pb(ba.untypedAtomic.fromString(Q))}},axis:function(h){const C=fc(h.nodeTest||"").ia(),Q=h.name;return r=>{fd(r,"XPDY0002",Q+" axis",h);r=ed(r);if(!T.X(r))throw new G("Context item for "+Q+" axis is not a node - supplied:"+sa.showValue(r), +"XPTY0020",h);return T.Og[Q](r).filter(C)}},"break":N,callT:function(h){return C=>{const Q=E(h,C,"template"),r=C.ba(!0);r.Bb=null;r.sa=Q;ma(Q.actor,r);t(h,C,r);return d(Q.actor)(r)}},cast:function(h){const C=d(h),Q=P(h,"e"),r=O=>{O=C(O).next();if(null===O){if(Q)return null;throw new G("Empty sequence casting to "+fc(h.as).toString(),"XPTY0004",h);}return O};if(P(h,"a")){const O=rb(h.as),R="AQ"===O.p?K(h,!0):null,ea=La.codes[O.p].R;return ua=>{ua=r(ua);if(null===ua)return Ob;try{var Ba=ea(ua,R);return Pb(Ba)}catch(Fa){if("FORG0001"=== +Fa.code&&h.diag)throw Ba=n(h.diag),new G("Required item type of "+Ba.required+" is "+fc(h.as).toString()+"; supplied value is "+sa.Nh(ua),Ba.code,h);if(null!==Fa.code)throw Fa;throw new G("Failed to cast "+sa.Nh(ua)+" to type "+fc(h.as).toString(),"XPTY0004",h);}}}if(P(h,"l")){const O=La.XS.QName.fromEQName(h.as),R=Tc[O.local].fromString;sa.assert(O.uri===Zb.mc);sa.assert(R);return ea=>{ea=r(ea);if(null===ea)return Ob;ea=Ha.collapse(ea.toString()).split(" ").map(R);if(0===ea.length)throw new G("xs:"+ +O.local+" value must contain at least one token","FORG0001");return Kb(ea)}}if(P(h,"u"))return O=>{O=r(O);return null===O?Ob:La.XS.double.matches(O)||La.XS.mb.matches(O)||La.XS.float.matches(O)?Pb(O):Pb(La.XS.double.R(O))};throw new G("Unknown cast variety "+h.flags);},castable:function(h){const C=d(h),Q=P(h,"e");let r;if(P(h,"a")){const O=rb(h.as),R="AQ"===O.p?K(h,!0):null,ea=La.codes[O.p].R;r=ua=>{ea(ua,R);return!0}}else if(P(h,"l")){h=La.XS.QName.fromEQName(h.as);const O=Tc[h.local].fromString; +r=R=>0{La.XS.double.R(O);return!0};else throw new G("Unknown castable variety "+h.flags);return O=>{O=C(O);const R=O.next();if(null===R)return Xb(Q);if(null!==O.next())return Xb(!1);O=I(R).next();try{return Xb(r(O))}catch(ea){return Xb(!1)}}},cfn:function(h){const C=h.name,Q=d(h);let r;if("_format-number_1"===C)return r=ke["format-number"],O=>{const R=[Q(O),Tb(h.pic)];h.hasAttribute("format")&&R.push(Tb(h.format));return r(R, +O,h)};if("_translate_1"===C)return r=ke.translate,O=>{const R=[Q(O),Tb(h.a1),Tb(h.a2)];return r(R,O)};sa.la("Unimplemented: cfn "+C,h)},check:function(h){function C(R){const ea=n(h.diag);throw new G("Required cardinality of "+ea.required+" is "+r[Q]+"; supplied value "+R,ea.code,h);}const Q=h.card,r={"*":"zero or more","+":"one or more","?":"zero or one",0:"zero",1:"exactly one"},O=d(h);return R=>{R=O(R);if("*"===Q)return R;var ea=Fb(R);R=ea.ua();if(null===R){if("?"===Q||"0"===Q)return Ob;C("is empty")}else"0"=== +Q&&C("is not empty (first item "+sa.showValue(R)+")");if("+"===Q)return ea;ea.next();const ua=ea.next();null!==ua&&(ea=ea.count()+2,C("contains "+ea+" items ("+sa.showValue(R)+", "+sa.showValue(ua)+(2{for(let r=0;rC(Q)},comment:N,compareToInt:function(h){const C=h.op,Q=ba.integer.fromString(h.val),r=d(h);return O=> +{O=r(O);const R=O.next();if(null===R)return Ob;if(Hd.uc(R))return Xb("ne"===C);if(null!==O.next())throw new G("Value comparison only applicable to single values","XPTY0004",h);return Xb(Hd.wf(C,R.compareTo(Q)))}},compareToString:function(h){const C=h.op,Q=d(h),r=ba.string.fromString(h.val);return O=>{const R=Q(O),ea=R.next();if(null===ea)return Ob;if(null!==R.next())throw new G("Value comparison only applicable to single values","XPTY0004",h);return h.comp?(O=Hd.he(h.comp,O),["=","eq","!=","ne"].includes(C)? +Xb(Hd.Th(C,O.equals(ea,r))):Xb(Hd.wf(C,O.compare(ea,r)))):Xb(Hd.wf(C,ea.compareTo(r)))}},compAtt:N,compElem:N,condCont:function(h){const C=d(h);return Q=>{function r(O){if(T.X(O))switch(O.nodeType){case 9:case 11:case 1:return O.hasChildNodes();default:return""!==m(O).toString()}else return Y(O)?0r(ea)).length}).length:""!==ba.string.R(O).toString()}return C(Q).filter(r)}},condSeq:function(h){function C(r){if(T.X(r)){if([9, +11].includes(r.nodeType))return!r.hasChildNodes();if(3===r.nodeType||4==r.nodeType)return""===r.nodeValue}else{if(La.pa(r))return""===ba.string.R(r).toString();if(ia(r))return!Z(Pb(r)).some(function(O){return!C(O)})}return!1}const Q=h.C.map(r=>({name:r.N,eval:p(r)}));return r=>{let O=[];const R=[];let ea=!0;Q.map(function(ua){if("onEmpty"===ua.name)ea&&(O=ua.eval(r).expand());else if("onNonEmpty"===ua.name){const Ba=O.length;R.unshift(function(){O.splice.apply(O,[Ba,0].concat(ua.eval(r).expand()))})}else ua.eval(r).forEachItem(function(Ba){C(Ba)|| +(ea=!1);O.push(Ba)})});ea||R.forEach(function(ua){ua()});return Kb(O)}},conditionalSort:function(h){const C=d(h),Q=q(h),r=d(h.C[1]);return O=>e(C(O))?Q(O):r(O)},consume:function(h){throw new G("Stylesheet uses 'consume' which requires streaming","SXJS0002",h);},convert:function(h){const C=h.to,Q=La.codes[C];Q||sa.la("Unknown to-type "+h.to);const r=d(h);return P(h,"p")?O=>r(O).mapOneToOne(R=>La.qg(R,C)):O=>r(O).mapOneToOne(Q.R)},copy:N,copyOf:N,currentGroup:function(h){return C=>{if(C&&C.bd)return Kb(C.bd); +throw new G("There is no current group","XTDE1061",h);}},currentGroupingKey:function(h){return C=>{if(C&&C.cd)return Kb(C.cd);throw new G("There is no current grouping key","XTDE1071",h);}},cvUntyped:function(h){const C=d(h),Q=La.codes[h.to],r=Q.R,O="string"===Q.name;return R=>C(R).mapOneToOne(function(ea){if(ba.double.matches(ea)&&"float"===Q.name)throw new G("xs:double may not be promoted to xs:float","XTTE0570",h);if(ba.untypedAtomic.matches(ea)||O&&ba.anyURI.matches(ea))try{return r(ea)}catch(ua){if("FODT0001"=== +ua.code||!h.diag)throw ua;ea=n(h.diag);throw new G(ua.message,ea.code,h);}else return ea})},data:function(h){const C=d(h);return Q=>C(Q).mapOneToMany(I)},dbl:function(h){const C=ba.double.fromString(h.val);return()=>Pb(C)},dec:function(h){const C=wa(h.val);return()=>Wb(C)},doc:N,docOrder:function(h){const C=d(h);return Q=>T.kd(C(Q))},dot:function(h){return C=>{fd(C,"XPDY0002",". (dot)",h);return Pb(ed(C))}},elem:N,empty:function(){return()=>Ob},emptyTextNodeRemover:function(h){const C=d(h);return Q=> +C(Q).filter(r=>!(T.X(r)&&(3===r.nodeType||4===r.nodeType)&&""===r.textContent))},error:function(h){return()=>{throw new G(h.message,h.code,h);}},evaluate:function(h){const C={language:"XSLT",contextType:{o:"1",p:"",code:"1"}},Q=p(u(h,"xpath")),r=p(u(h,"cxt")),O=p(u(h,"sa")),R=p(u(h,"nsCxt")),ea=v(h,"withParam").map(Ba=>({name:ba.string.fromString(Ba.name),eval:d(Ba)})),ua=p(u(h,"wp"));return Ba=>{const Fa=Q(Ba).next().toString();u(h,"cxt");const Pa=r?r(Ba):Ob;let Ua=new cc;ea.forEach(function(ta){Ua.inSituPut(ta.name, +ta.eval(Ba).expand())});ua&&ua(Ba).next().forAllPairs(function(ta){if(!ba.QName.matches(ta.k))throw new G("Parameter names in xsl:evaluate/@with-params map must be QNames:"+ta.k.toString(),"XTTE3165",h);Ua.inSituPut(ta.k,ta.v)});Ua=Pb(Ua);if(O){var Na=O(Ba).next().toString();if(F(Na))throw new G("SaxonJS does not support schema-aware evaluation","XTDE1665",h);}(Na=h.as)&&(C.requiredType=Na.toString());(Na=h.dxns)&&"http://www.w3.org/1999/xhtml"!==Na.toString()&&(C.xpathDefaultNamespace=Na.toString()); +let Wa={};if(R){Na=R(Ba);var J=Na.next();if(null===J||null!==Na.next()||!T.X(J))throw new G("xsl:evaluate/@namespace-context must evaluate to a single node","XTTE3170",h);Wa[""]="";ac.Jc(J).forEach(ta=>Wa[ta.prefix]=ta.uri);C.xpathDefaultNamespace=Wa[""]}else Wa=la(h);const X={};J=Na=!1;const ja={};var da=u(h,"options");if(da){da=S(da,Ba).next();let ta=ba.string.fromString("var-slots");da.containsKey(ta)&&da.get(ta)[0].forAllPairs(function(Ca){X[Ca.k.toEQName()]=w(Ca.v)});ta=ba.string.fromString("allow-empty"); +da.containsKey(ta)&&(Na=da.get(ta)[0].toBoolean());ta=ba.string.fromString("isStatic");da.containsKey(ta)&&(J=da.get(ta)[0].toBoolean());ta=ba.string.fromString("staticContext");da.containsKey(ta)&&da.get(ta)[0].forAllPairs(function(Ca){ja[Ca.k.toString()]=w(Ca.v,!0)})}C.params=Ua;C.namespaces=Wa;C.slotMap=X;C.allowEmpty=Na;C.staticTyping=!0;C.isStatic=J;C.staticContext=ja;C.dynamicEval=!0;(Na=u(h,"baseUri"))&&(C.staticBaseURI=S(Na,Ba).next().toString());(Na=oa(h,"defaultCollation"))&&(C.defaultCollation= +Na);return Jd.find("SaxonJS").XPath.evaluateXDM(Fa,Pa,Ba,C)}},every:function(h){const C=parseInt(h.slot,10),Q=d(h),r=q(h);return O=>{const R=Q(O);return Xb(!R.some(function(ea){O.oa[C]=[ea];return!e(r(O))}))}},except:function(h){const C=d(h),Q=q(h);return r=>new Hb(C(r),Q(r),T.rb)},"false":function(){return()=>Xb(!1)},filter:function(h){const C=d(h),Q=q(h);return P(h,"i")?r=>{const O=C(r);r=Q(r).expand();if(1===r.length&&ba.numeric.matches(r[0])){const R=r[0].toNumber();if(O instanceof Kb)return Pb(O.expand()[R- +1]||null);const ea=Sb(O);return ea.filter(function(){return ea.position===R})}return e(Kb(r))?O:Ob}:r=>{const O=C(r),R=r.ba(!1);R.focus=Sb(O);r=P(h,"p")?function(){const ea=Q(R).expand();return 1===ea.length&&ba.numeric.matches(ea[0])?R.focus.position===ea[0].toNumber():e(Kb(ea))}:function(){return e(Q(R))};return R.focus.filter(r)}},first:function(h){const C=d(h);return Q=>Pb(C(Q).next())},flt:function(h){const C=ba.float.fromString(h.val);return()=>Pb(C)},fn:function(h){const C=ke[h.name];C||b(h.name+ +"()",h);const Q=(h.C||[]).map(p);return r=>{const O=Q.map(R=>R(r));return C(O,r,h)}},fnCoercer:function(h){const C=d(h),Q=ec(h.to),r=Q.U,O={alphaTree:Q.$()};return R=>C(R).mapOneToOne(function(ea){if(!(ea instanceof ad.XdmFunction||ea instanceof $c||ea instanceof cc)){var ua=n(h.diag);throw new G("Required item type of "+ua.required+" is "+Q.toString()+"; supplied value is "+sa.showValue(ea),ua.code,h);}if((r instanceof dd?r.j:[]).length!==(ea instanceof ad.XdmFunction?ea.arity:1))throw ua=n(h.diag), +new G("Required item type of "+ua.required+" is "+Q.toString()+"; supplied value is "+sa.showValue(ea),ua.code,h);return new ad.Ag(O,ea)})},fnRef:function(h){let C=h.name;C=/^Q{/.test(C)?ba.QName.fromEQName(C):ba.QName.fromParts("",Zb.Oa,C);const Q=parseInt(h.arity,10),r=Jd.find("SaxonJS").XPath;return O=>{var R=O.ba(!0);R.bb=!0;if(R=r.getFnSignature(C,Q,R))return O=R.isUserFunction?new ad.Ff(R,O):C.uri===Zb.mc?new ad.Bf(R,C,h):new ad.He(R,C,Q,h,O),Pb(O);throw new G("Reference to an unknown function and/or arity "+ +C.toEQName()+"#"+Q,"XPST0017",h);}},follows:function(h){const C=f(h,function(Q,r){return ba.boolean.fromBoolean(0Pb(C(Q))},"for":function(h){const C=parseInt(h.slot,10),Q=d(h),r=q(h);return O=>Q(O).mapOneToMany(function(R){O.oa[C]=[R];return r(O)})},forEach:function(h){const C=d(h),Q=q(h);return u(h,"separator")?N(h):r=>{const O=r.ba(!1);O.focus=Sb(C(r));O.ab=null;return O.focus.mapOneToMany(function(){return Q(O)})}},forEachGroup:N,fork:c,functionCall:function(h){b(h.name+ +"()",h)},gc:y,gc10:function(h){let C=d(h),Q=q(h);return r=>{let O=C(r).expand(),R=Q(r).expand();1===O.length&&ba.boolean.matches(O[0])?R=[ba.boolean.fromBoolean(e(Kb(R)))]:1===R.length&&ba.boolean.matches(R[0])?O=[ba.boolean.fromBoolean(e(Kb(O)))]:(O=g(O),R=g(R));r=Hd.he(h.comp,r);const ea=h.op;"="!==ea&&"!="!==ea?(O=Kb(O).mapOneToOne(La.XS.numeric.Od).expand(),R=Kb(R).mapOneToOne(La.XS.numeric.Od).expand()):r=Hd.Ki(r);return Hd.gc(Kb(O),R,ea,r,h,!0)}},gcEE:y,gVarRef:function(h){return C=>{const Q= +E(h,C),r=Q.actor,O=r.name;if(Q.value===a)throw C=new G("Circularity in global variable "+O,"XTDE0640"),C.Le=!0,C;if(null===Q.value||"undefined"===typeof Q.value){if("globalParam"===r.N){var R=C.fixed.options.Sh,ea=La.XS.QName.fromEQName(O);if(R.containsKey(ea))R=R.get(ea),sa.assert(Array.isArray(R)),ea=ec(r.as||"*"),R=z(R,ea,()=>"stylesheet parameter "+O),sa.assert(Array.isArray(R)),Q.value=R;else{if(P(r,"r"))throw new G("Parameter "+O+" is required","XTDE0050",r);if(P(r,"i"))throw new G("Parameter "+ +O+" cannot be empty","XTDE0700",r);r.C||(Q.value=[])}}if(null===Q.value||"undefined"===typeof Q.value){R=!r.parentNode.parentNode.parentNode;ea=C.ba(!0);ea.qa="variable";ea.ub.push(null);ea.gb={};ea.ab=null;ea.sa=Q;ea.focus=R?Rb(C.fixed.jd):null;try{const ua=d(r);Q.value=a;Q.value=ua(ea).expand()}catch(ua){throw ua instanceof G&&(Q.value=[],ba.QName.fromEQName(O).uri!==Zb.wb+"generated-variable"&&(ua.Le=!0)),ua;}ea.ub.pop()}}return Kb(Q.value)}},homCheck:function(h){const C=d(h);return Q=>{Q=Fb(C(Q)); +const r=Q.ua();if(null===r)return Ob;const O=T.X(r);Q=Q.filter(function(R){if(T.X(R)!==O)throw new G("Cannot mix nodes and atomic values in the result of a path expression","XPTY0018",h);return!0});return O?T.kd(Q):Q}},ifCall:function(h){const C=ba.QName.fromEQName(h.name);if("schedule-action"===C.local){const r=d(h),O=q(h),R=p(h.C[3]);return ea=>{var ua=4===h.C.length;if(4h.C.length||"empty"===h.C[2].N?Na=Wa=J=null:(Na=h.C[2],"bSlot"in Na?(Wa=E(Na,ea,"template"),J=Wa.actor):Wa=J=null);ee(ea)||(Ua.focus=Sb(Pb(ed(ea))),Ua.focus.next());Ua.Bb=null;Ua.sa=Wa;Ua.qa=!1;null===Pa&&null!==J&&ma(J,Ua);null!=Na&&t(Na,ea,Ua);let X,ja;null===J?(X=null,ja=function(){}):(X=d(J),ja=function(){X(Ua).expand()});if(null!==Pa)ua=qa.lj(Pa,function(da){Ua.focus= +Sb(Pb(da[0]));Ua.focus.next();null!==J&&(ma(J,Ua),ja())},Ba,ea.fixed.Ta);else if(null!==Fa)Fa=Fa.toString().split(" "),Pa=Fa.map(function(da){return qa.Fb(da,cd.Ia(h,ea))}),qa.Kb()?(ua=qa.hi(Pa,ea.fixed.vd,ja,Ba,ea.fixed.Ta),ua=1===Fa.length?ua[Pa[0]]:ua):(Ba=Pa.map(da=>Jd.find("SaxonJS").getResource({location:da,type:"text"}).then(ta=>{try{return ea.fixed.vd[da]=ta,ja(),Promise.resolve(null)}catch(Ca){return ta=Promise.reject(Ca),ea.fixed.Bj.push(ta),ta}})),Ba=Promise.all(Ba),ea.fixed.zd.push(Ba)); +else if(0!==Ba)if(qa.Kb())setTimeout(ja,Ba);else throw new G("ixsl:schedule-action/@wait is not supported on Node.js","SXJS0002");return ua?Pb(ua):Ob}}const Q=(h.C||[]).map(p);return r=>{const O=Q.map(R=>R(r));return va(C.uri,C.local,O,r,h)}},indexedFilter2:function(h){const C=p(u(h,"base")),Q=p(u(h,"use")),r=p(u(h,"search"));return O=>{const R=Hd.he(h.comp,O),ea=O.ba(!1);ea.focus=Sb(C(O));const ua=r(O).expand();return ea.focus.filter(function(){const Ba=Q(ea);return Hd.gc(Ba,ua,"=",R,h).next().toBoolean()})}}, +inlineFn:function(h){const C={sig:h.sType,alphaTree:rb(h.sType)};return Q=>Pb(new ad.ai(C,h,Q))},instance:function(h){const C=d(h),Q=ec(h.of);return r=>{r=C(r).expand();return Xb(Q.matches(r))}},"int":function(h){const C=ba.integer.fromString(h.val);return()=>Pb(C)},intersect:function(h){const C=d(h),Q=q(h);return r=>new Gb(C(r),Q(r),T.rb)},intRangeTest:function(h){const C=d(h);h=h.C;const Q=p(h[1]),r=p(h[2]);return O=>{const R=Q(O).next(),ea=r(O).next();if(!R||!ea)return Xb(!1);const ua=R.toNumber(), +Ba=ea.toNumber();O=C(O).some(function(Fa){Fa=Fa.value;return Fa>=ua&&Fa<=Ba});return Xb(O)}},is:function(h){const C=f(h,function(Q,r){return ba.boolean.fromBoolean(T.isSameNode(Q,r))});return Q=>Pb(C(Q))},isLast:function(h){const C="1"===h.test;return Q=>Xb(Q.focus.position===Q.focus.last()===C)},iterate:N,javaCall:function(h){const C=ba.QName.fromEQName(h.name),Q=(h.C||[]).map(p);return r=>{const O=Q.map(R=>R(r));return va(C.uri,C.local,O,r,h)}},lastOf:function(h){const C=d(h);return Q=>{const r= +Fb(C(Q));return r.filter(function(){return null===r.ua()})}},let:function(h){const C=d(h),Q=q(h),r=parseInt(h.slot,10);return O=>{const R=O.qa;O.qa="variable";const ea=C(O).expand();O.qa=R;O.oa[r]=ea;return Q(O)}},literal:c,lookup:function(h){const C=d(h),Q=q(h);return r=>{function O(Na){Ba=Ba.concat(Fa[Na.toString()])}function R(Na){Ba=Ba.concat(Fa.get(Na))}function ea(Na){return function(Wa){if(!ba.integer.matches(Wa))throw new G("Array lookup key must be of type xs:integer; supplied value is "+ +sa.showValue(Wa),"XPTY0004",h);Wa=Wa.toNumber();if(1>Wa||Wa>Na.length)throw new G("Array index ("+Wa+") out of bounds (1 to "+Na.length+")","FOAY0001",h);Ba=Ba.concat(Na[Wa-1])}}const ua=C(r);let Ba=[],Fa;r=Q(r).expand();const Pa=h.tuple;if(null!=Pa){const Na=Pa.split(/\s+/);for(var Ua of r)if(-1===Na.indexOf(Ua.toString()))throw new G("Tuple lookup key must be one of "+Pa+". Supplied key is "+Ua.toString(),"XPTY0004",h);}for(;null!==(Fa=ua.next());)if(cd.isArray(Fa))Ua=ea(Fa.value),r.forEach(Ua); +else if(cd.isMap(Fa))r.forEach(R);else if(null!=Pa&&cd.vh(Fa))r.forEach(O);else throw new G("The source for a lookup operator (?) must be of type array() or map(); supplied value is "+sa.showValue(Fa),"XPTY0004",h);return Kb(Ba)}},lookupAll:function(h){const C=d(h);return Q=>{function r(ua){R=R.concat(ua)}function O(ua){R=R.concat(ea.get(ua))}Q=C(Q);let R=[],ea;for(;null!==(ea=Q.next());)if(cd.isArray(ea))ea.value.forEach(r);else if(cd.isMap(ea))ea.keys().forEach(O);else throw new G("The source for a lookup operator ('?') must be of type array() or map(); supplied value is "+ +sa.showValue(ea),"XPTY0004",h);return Kb(R)}},lookupTuple:function(h){const C=d(h),Q=h.key;return r=>{r=C(r);let O=[],R;for(;null!==(R=r.next());)if(null!=Q&&cd.vh(R))O=O.concat(R[Q]);else throw new G("The source for a lookupTuple operator (?) must be of type tuple(); supplied value is "+sa.showValue(R),"XPTY0004",h);return Kb(O)}},map:function(h){const C=(h.C||[]).map(p);return Q=>{const r=new cc;let O=null;C.forEach(function(R){if(null===O)O=R(Q).next();else{if(r.containsKey(O))throw new G("Duplicate map constructor entries for key:"+ +sa.showValue(O),"XQDY0137",h);R=R(Q).expand();r.inSituPut(O,R);O=null}});return Pb(r)}},merge:function(h){return C=>le.mj(h,C)},mergeAdj:function(h){const C=d(h);return Q=>{const r=[],O=C(Q);let R=!1,ea;for(;null!==(ea=O.next());){var ua=T.X(ea)&&(3===ea.nodeType||4===ea.nodeType);ua&&""===ea.nodeValue||(R&&ua?(ua=T.Hc(Q.ja),r.push(ua.createTextNode(r.pop().nodeValue+ea.nodeValue))):(R=ua,r.push(ea)))}return Kb(r)}},message:function(h){const C=p(u(h,"terminate")),Q=p(u(h,"error"));return r=>{const O= +r.qa;r.qa="variable";var R=C(r).next();let ea=Q(r).next().toString();try{ea=ca(h,ea,!0).toEQName()}catch(Pa){ea="Q{http://www.w3.org/2005/xqt-errors}XTMM9000"}let ua;try{ua=F(R.toString())}catch(Pa){throw new G("The terminate attribute of xsl:message must be yes|no|true|false|1|0","XTDE0030",h);}R=Vd(r);const Ba=new $d(R);try{var Fa=Zd.Gc(Ba);Fa.Ea();Zd.push(h.C[0],r,Fa);Fa.za()}catch(Pa){Ba.append(La.XS.string.fromString("xsl:message evaluation at "+sa.location(h)+" failed: "+Pa))}Fa=Kb(R.Pb).next(); +r.fixed.options.Xf||(r.fixed.options.Xf=qa.ph());try{R=ea,r.wc[R]||(r.wc[R]=0),r.wc[R]++,r.fixed.options.Xf(Fa,ea)}catch(Pa){}if(ua)throw sa.Ma(r.getStackTrace(),1,r.fixed.Ta),r=new G("Terminated with "+Fa,ea,h),r.errorObject=Fa,r;r.qa=O;return Ob}},minus:function(h){const C=d(h);return Q=>C(Q).mapOneToOne(r=>r.pf())},namespace:function(h){const C=d(h),Q=q(h);return r=>{const O=C(r).next().toString();r=Q(r).next().toString();if(""!==O&&!Ha.Mb(O))throw new G("Prefix "+O+" is not an NCName","XTDE0920", +h);if(""===r)throw new G("Namespace is zero-length","XTDE0930",h);if("xmlns"===O)throw new G("Disallowed prefix xmlns","XTDE0920",h);if("http://www.w3.org/2000/xmlns/"===r)throw new G("Disallowed namespace "+r,"XTDE0905",h);if(!D(r))throw new G("Invalid namespace "+r,"XTDE0905",h);if("xml"===O!==(r===Zb.xml))throw new G("The xml namespace prefix and uri can only be used together","XTDE0925",h);return Pb(new bc(O,r))}},nextIteration:N,nextMatch:N,nodeNum:function(h){return C=>fe.rj(h,C)},"null":function(h){return()=> +Pb(h)},numSeqFmt:function(h){return C=>fe.sj(h,C)},onEmpty:c,onNonEmpty:c,or:function(h){const C=d(h),Q=q(h);return r=>Xb(e(C(r))||e(Q(r)))},origFC:function(h){h.C||(h.C=[]);const C=h.C.map(p);return Q=>{if(!h._target){const R=h.pack,ea=ca(h,h.name,!1).toEQName(),ua=h.C.length,Ba=Q.fixed.La;Object.keys(Ba).forEach(function(Fa){Fa=Ba[Fa];Fa.Dh.name===R&&Fa.name===ea&&Fa.actor&&"function"===Fa.actor.N&&v(Fa.actor,"arg").length===ua&&(h._target=Fa.id)})}const r=Q.fixed.La[h._target],O=C.map(R=>R(Q).expand()); +return A(h,r,O,Q)}},param:function(h){const C=h.name,Q=parseInt(h.slot,10),r=P(h,"t"),O=p(u(h,"select")),R=p(u(h,"conversion"));return ea=>{var ua=r?ea.Rb:ea.Lc,Ba=La.XS.QName.fromEQName(C);if(ua.containsKey(Ba))ua=ua.get(Ba),""!==ec(h.as||"*").$().p&&(ua=U(ua));else if(O&&!P(h,"r"))Ba=ea.qa,ea.qa="xsl:param",ua=O(ea).expand(),ea.qa=Ba;else throw new G("Required parameter $"+C+" not supplied","XTDE0700",h);sa.assert(Array.isArray(ua));ea.oa[Q]=ua;if(R)try{ea.oa[Q]=R(ea).expand()}catch(Fa){throw new G("Supplied value for parameter $"+ +C+" could not be converted to required type","XTTE0590",h);}return Ob}},partialApply:function(h){const C=d(h),Q=[],r=[];let O=0;const R=h.C.length-1;for(let ea=1;ea{const ua=C(ea).next(),Ba=[];for(let Fa=0;FaT.rb(Q,r))});return Q=>Pb(C(Q))},procInst:N,qName:function(h){const C=ba.QName.fromParts(h.pre,h.uri,h.loc);return()=>Pb(C)},range:function(h){const C=ba.integer.fromString(h.from),Q=ba.integer.fromString(h.to);return()=>k(C,Q)},resultDoc:function(h){return C=>{try{if(C.qa)throw new G("Cannot call xsl:result-document while evaluating "+C.qa,"XTDE1480",h);var Q=H(h,C);const r={};let O=function(){};const R=u(h,"format");if(R){let ja=S(R,C).next().toString(); +ja=ca(h,ja,!0).toEQName();const da=Q.ng[ja];if(!da)throw new G("Unknown xsl:output format "+ja,"XTDE1460");let ta,Ca;for(const Ka of da.C){let Qa=Ka.name;"parameter-document"===Qa?ta=Ka.value:"Q{http://saxon.sf.net/}parameter-document-base-uri"===Qa?Ca=Ka.value:r[Qa]="use-character-maps"===Qa?ge.yf(Qa,Ka.value,Q):ge.zf(Qa,Ka.value)}if(ta){const Ka=qa.Fb(ta,Ca);let Qa=Nd.Ec(Ka,C);ge.parseParamDoc(Qa.documentElement,r)}}l(h.global,r,Q);l(h.local,r,Q);for(const ja of h.C){let da=ja.role.replace(/^Q{\}/, +"");if(!["href","format","content","parameter-document"].includes(da)){"output-version"===da&&(da="version");let ta=S(ja,C).next().toString();ta="use-character-maps"===da?ge.yf(da,ta,Q):ge.zf(da,ta,K(h,!0));"undefined"!==typeof ta&&(r[da]=ge.qf(da,ta,r[da]))}}const ea=u(h,"Q{}parameter-document");if(null!==ea){const ja=S(ea,C).next().toString(),da=qa.Fb(ja,cd.Ia(h,C));let ta=Nd.Ec(da,C);ge.parseParamDoc(ta.documentElement,r)}const ua=C.fixed.Ib,Ba=u(h,"href"),Fa=null===Ba?"":S(Ba,C).next().toString(); +let Pa;Pa=ua?qa.newURL(Fa,ua):T.ld(Fa)?qa.newURL(Fa):Fa;const Ua=Pa.toString();if(C.fixed.Ib&&Ua===C.fixed.Ib.toString()&&1{fd(C,"XPDY0002","/",h);C=ed(C);if(!T.X(C))throw new G("Context item for '/' must be a node","XPTY0020",h);const Q=T.sc(C);if(9!==Q.nodeType&&11!==Q.nodeType)throw new G("Root node for '/' must be a document node", +"XPDY0050",h);return Pb(T.sc(C))}},sequence:c,slash:function(h){const C=d(h),Q=q(h);return r=>{const O=r.ba(!1);O.focus=Sb(C(r));return O.focus.mapOneToMany(()=>Q(O))}},some:function(h){const C=parseInt(h.slot,10),Q=d(h),r=q(h);return O=>{const R=Q(O);return Xb(R.some(function(ea){O.oa[C]=[ea];return e(r(O))}))}},sort:function(h){const C=Hd.Kj(h);return Q=>{try{return C(Q)}catch(r){if(r instanceof G&&"FOCH0002"===r.code)throw new G(r.message,"XTDE1035",h);if(r instanceof G&&"XPTY0004"===r.code)throw new G(r.message, +"XTDE1030",h);throw r;}}},sourceDoc:N,str:function(h){const C=h.val;return()=>Tb(C)},subscript:function(h){const C=d(h),Q=q(h);return r=>{var O=C(r);r=Q(r).next();if("ADI"===r.code)r=r.value;else if(r.equals(r.round(0)))r=La.XS.integer.R(r).value;else return Ob;return(O=O.lf(r))?Pb(O):Ob}},supplied:function(h){const C=parseInt(h.slot,10);return Q=>Kb(Q.oa[C])},tail:function(h){const C=parseInt(h.start,10)-1;let Q=d(h);return r=>{let O=C;return Q(r).filter(function(){return 0>=O--})}},tailCallLoop:c, +to:function(h){const C=d(h),Q=q(h);return r=>{const O=C(r).next();r=Q(r).next();return null===O||null===r||0r(O).mapOneToOne(function(R){if(Q(R))return R;const ea=n(h.diag);throw new G("Required item type of "+ea.required+" is "+C.toString()+"; supplied value is "+sa.showValue(R),ea.code,h);})},"true":function(){return()=>Xb(!0)},"try":function(h){const C=d(h),Q=v(h,"catch");Q.forEach(r=>{const O=r.errors.split(" ").map(R=> +{if("*"===R)return()=>!0;if(/^\*:/.test(R)){const ua=R.substring(2);return Ba=>Ba.local===ua}if(/}\*$/.test(R)){const ua=R.substring(2,R.length-2);return Ba=>Ba.uri===ua}const ea=ba.QName.fromEQName(R);return ua=>ua.equals(ea)});r.test=1===O.length?O[0]:R=>O.some(ea=>ea(R))});return r=>{try{return Kb(C(r).expand())}catch(O){if(O instanceof G&&!O.Le){r.$e=O;O.xsltLineNr||ra(O,h.C[0]);let R;R=O.code.match("^Q{")?ba.QName.fromEQName(O.code):ba.QName.fromParts("","http://www.w3.org/2005/xqt-errors",O.code); +for(let ea=0;ea{const r=E(h,Q,"function"),O=C.map(R=>R(Q).expand());return A(h,r,O,Q)}},ufRef:function(h){let C=h.name;C=/^[a-z]+:/.test(C)?ca(h,C,!0):/^Q\{/.test(C)?ba.QName.fromEQName(C):ba.QName.fromParts("",Zb.Oa,C);const Q=parseInt(h.arity,10),r=Jd.find("SaxonJS").XPath;return O=>{const R=r.getFnSignature(C,Q,O);if(R&& +R.isUserFunction)return O=new ad.Ff(R,O),Pb(O);sa.la("Named user function "+C+"#"+Q+" not found")}},union:function(h){const C=d(h),Q=q(h);return r=>new Eb(C(r),Q(r),T.rb)},useAS:N,valueOf:N,varRef:function(h){const C=parseInt(h.slot,10);return Q=>Kb(Q.oa[C])},vc:function(h){function C(ea){return null===ea?null:ba.untypedAtomic.matches(ea)?ba.string.R(ea):ea}const Q=h.op,r=h.onEmpty,O=d(h),R=q(h);return ea=>{const ua=O(ea),Ba=R(ea),Fa=C(ua.next()),Pa=C(Ba.next());if(null===Fa||null===Pa)return r?Xb("1"=== +r):Ob;if(null!==ua.next()||null!==Ba.next())throw new G("Value comparison only applicable to single values","XPTY0004",h);if(Fa.isNumeric()&&isNaN(Fa.value)||Pa.isNumeric()&&isNaN(Pa.value))return Xb("ne"===Q);ea=Hd.he(h.comp,ea);return["=","eq","!=","ne"].includes(Q)?Xb(Hd.Th(Q,ea.equals(Fa,Pa))):Xb(Hd.wf(Q,ea.compare(Fa,Pa)))}}};M.prototype={value:null,containsKey:function(h){return"undefined"!==typeof this.value[h]},get:function(h){return fa(this.value[h])},inSituPut:function(){throw new G("inSituPut() not allowed for JSValue", +"SXJS0005");},put:function(){throw new G("put() not allowed for JSValue","SXJS0005");},remove:function(){throw new G("remove() not allowed for JSValue","SXJS0005");},keys:function(){throw new G("keys() not allowed for JSValue","SXJS0005");},forAllPairs:function(){throw new G("forEach() not allowed for JSValue","SXJS0005");},conforms:function(){throw new G("conforms() not allowed for JSValue","SXJS0005");},showValue:function(){return"JSValue "+sa.showValue(this.value)}};W.prototype={value:null,showValue:function(){return"XDMValue "+ +sa.showValue(this.value)}};return{da:u,Ve:t,Tb:I,li:g,Ik:function(){return"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")},Tf:ma,qb:v,ti:ka,Uf:z,sb:w,me:H,ig:E,Fd:e,Sa:d,Wg:q,ib:p,escape:function(h,C){let Q="";Da(h).forEach(function(r){const O=Ea([r]);Q+=C(r,O)?encodeURIComponent(O):O});return Q},evaluate:S,rc:function(h,C){return null===h?Ob:S(h,C)},Ai:function(h, +C,Q,r){const O=ke[h.local];O||b(h.toString()+"()",r);return O(C.map(R=>Kb(R)),Q,r)},Bi:function(h,C,Q,r){return va(h.uri,h.local,C.map(O=>Kb(O)),Q,r)},flatten:Z,hg:oa,Rk:function(h){if("undefined"!==typeof h)return x(h,"module",20)+"#"+x(h,"line",10)},Db:P,Jc:la,isArray:ia,isMap:Y,Jd:V,vh:function(h){return h instanceof me},hj:F,Ef:M,fl:b,Ej:n,Aj:function(h){va=h},pl:aa,Ia:B,xd:U,tg:ca,Xd:K,Xh:function(h){return"AZ"===h.code?ba.double.R(h):h},Oj:D,Ra:fa,Hk:W}}(); // Input 40 -window.abstractNode=Node; -window.HostPlatform=function(){function a(){Math.trunc=Math.trunc||function(H){return 0>H?Math.ceil(H):Math.floor(H)};Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(H,p){if(null===this||"undefined"==typeof this)throw new TypeError("Array.prototype.findIndex called on null or undefined");if("function"!==typeof H)throw new TypeError("predicate must be a function");let g=Object(this),e=g.length>>>0,k;for(let v=0;vp===H)}});String.prototype.includes||(String.prototype.includes=function(H,p){"number"!==typeof p&&(p=0);return p+H.length>this.length?!1:-1!==this.indexOf(H,p)})}let c=Resources,q;const E={name:"Browser",init:function(){a()}, -inBrowser:function(){return!0},expose:function(H,p){window[p]=H;try{module.exports=H}catch(g){}},getPromise:function(H,p,g,e){return new Promise(function(k,v){let t=new XMLHttpRequest;if(g||e)g?("text"===g?g="text/plain":"json"===g?g="application/json":"xml"===g&&(g="application/xml"),e&&(g=g+";charset="+e),t.overrideMimeType(g)):console.log("Error: cannot specify encoding without a resource type");t.open("GET",H);for(let C in p)p.hasOwnProperty(C)&&t.setRequestHeader(C,p[C]);t.onload=function(){200<= -this.status&&300>this.status?k({responseText:t.responseText,contentType:t.getResponseHeader("Content-Type")}):v(new F(t.statusText+": "+H,"SXJS0006"))};t.onerror=function(){v(new F("Document fetch failed: "+H,"SXJS0006"))};t.send(null)})},asyncGet:function(H,p,g){let e=new XMLHttpRequest;e.open("GET",H,!0);e.setRequestHeader("Accept","application/xml, text/xml;q=0.9, application/xhtml+xml;q=0.8, */*;q=0.7");0!==g&&(e.timeout=g);e.onload=function(){4===e.readyState&&(200===e.status?p({responseText:e.responseText, -contentType:e.getResponseHeader("Content-Type")}):p(new F(e.statusText+": "+H,"SXJS0006")))};e.ontimeout=function(){p(new F("Document fetch timeout: "+H,"SXJS0008"))};e.onabort=function(){p(new F("Document fetch aborted: "+H,"SXJS0008"))};e.onerror=function(){p(new F("Document fetch failed: "+H,"SXJS0006"))};e.send(null);return e},addDoc:function(H,p,g,e,k){function v(t){sa.Ma("Add to response pool "+H,2,k);g[H]=t;p(g)}if(!g[H]||g[H]instanceof F)return E.asyncGet(H,v,e);sa.Ma("Doc already in pool "+ -H,2,k);p(g);return null},addMultipleDocs:function(H,p,g,e,k){function v(m){0>=--t&&g(m)}let t=H.length,C={};for(let m=0;mt.responseText)}return p.catch(e=>Promise.reject(new F("Failed to read "+g+"("+e.message+")","SXJS0006"))).then(e=>{65279===e.codePointAt(0)&&(e=e.substring(1));return Promise.resolve(e)})},resolveUri:function(H,p){try{return(p&&null!==p&&""!==p?H&&""!==H?new URL(H,p):new URL(p):new URL(H)).toString()}catch(g){throw new F("Failed URI resolution: href="+H+" base="+p+" -- "+g,"FODC0005");}},baseURL:function(){return window.document.baseURI},getDefaultDeliverMessage:function(){return function(H){let p= -"";cd.Sb(H).expand().forEach(function(g){p+=(""===p?"":" ")+g.toString()});console.log("xsl:message: "+p)}},isHTMLElement:function(H){return"http://www.w3.org/1999/xhtml"===H.namespaceURI},saxonPrint:function(H){console.log(H)},createDocument:function(){return document.implementation.createDocument("","",null)},setDocURI:function(H,p){H._saxonBaseUri=p;return H},newURL:function(H,p=null){return null!==p?new URL(H,p):new URL(H)},extraProperties:{platform:"Browser"},toUTF8:function(H){return(new TextEncoder).encode(H)}, -fromUTF8:function(H){return(new TextDecoder).decode(H)},globalObject:window};return E}(); +abstractNode=Node; +HostPlatform=function(){function a(){Math.trunc=Math.trunc||function(I){return 0>I?Math.ceil(I):Math.floor(I)};Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(I,m){if(null===this||"undefined"==typeof this)throw new TypeError("Array.prototype.findIndex called on null or undefined");if("function"!==typeof I)throw new TypeError("predicate must be a function");let g=Object(this),e=g.length>>>0,k;for(let v=0;vm===I)}});String.prototype.includes||(String.prototype.includes=function(I,m){"number"!==typeof m&&(m=0);return m+I.length>this.length?!1:-1!==this.indexOf(I,m)})}let c=Resources,n;const F={name:"Browser",init:function(){a()}, +inBrowser:function(){return!0},expose:function(I,m){window[m]=I;try{module.exports=I}catch(g){}},getPromise:function(I,m,g,e){return new Promise(function(k,v){let t=new XMLHttpRequest;if(g||e)g?("text"===g?g="text/plain":"json"===g?g="application/json":"xml"===g&&(g="application/xml"),e&&(g=g+";charset="+e),t.overrideMimeType(g)):console.log("Error: cannot specify encoding without a resource type");t.open("GET",I);for(let D in m)m.hasOwnProperty(D)&&t.setRequestHeader(D,m[D]);t.onload=function(){200<= +this.status&&300>this.status?k({responseText:t.responseText,contentType:t.getResponseHeader("Content-Type")}):v(new G(t.statusText+": "+I,"SXJS0006"))};t.onerror=function(){v(new G("Document fetch failed: "+I,"SXJS0006"))};t.send(null)})},asyncGet:function(I,m,g){let e=new XMLHttpRequest;e.open("GET",I,!0);e.setRequestHeader("Accept","application/xml, text/xml;q=0.9, application/xhtml+xml;q=0.8, */*;q=0.7");0!==g&&(e.timeout=g);e.onload=function(){4===e.readyState&&(200===e.status?m({responseText:e.responseText, +contentType:e.getResponseHeader("Content-Type")}):m(new G(e.statusText+": "+I,"SXJS0006")))};e.ontimeout=function(){m(new G("Document fetch timeout: "+I,"SXJS0008"))};e.onabort=function(){m(new G("Document fetch aborted: "+I,"SXJS0008"))};e.onerror=function(){m(new G("Document fetch failed: "+I,"SXJS0006"))};e.send(null);return e},addDoc:function(I,m,g,e,k){function v(t){sa.Ma("Add to response pool "+I,2,k);g[I]=t;m(g)}if(!g[I]||g[I]instanceof G)return F.asyncGet(I,v,e);sa.Ma("Doc already in pool "+ +I,2,k);m(g);return null},addMultipleDocs:function(I,m,g,e,k){function v(l){0>=--t&&g(l)}let t=I.length,D={};for(let l=0;lt.responseText)}return m.catch(e=>Promise.reject(new G("Failed to read "+g+"("+e.message+")","SXJS0006"))).then(e=>{65279===e.codePointAt(0)&&(e=e.substring(1));return Promise.resolve(e)})},resolveUri:function(I,m){try{return(m&&null!==m&&""!==m?I&&""!==I?new URL(I,m):new URL(m):new URL(I)).toString()}catch(g){throw new G("Failed URI resolution: href="+I+" base="+m+" -- "+g,"FODC0005");}},baseURL:function(){return window.document.baseURI},getDefaultDeliverMessage:function(){return function(I){let m= +"";cd.Tb(I).expand().forEach(function(g){m+=(""===m?"":" ")+g.toString()});console.log("xsl:message: "+m)}},isHTMLElement:function(I){return"http://www.w3.org/1999/xhtml"===I.namespaceURI},saxonPrint:function(I){console.log(I)},createDocument:function(){return document.implementation.createDocument("","",null)},setDocURI:function(I,m){I._saxonBaseUri=m;return I},newURL:function(I,m=null){return null!==m?new URL(I,m):new URL(I)},extraProperties:{platform:"Browser"},toUTF8:function(I){return(new TextEncoder).encode(I)}, +fromUTF8:function(I){return(new TextDecoder).decode(I)},globalObject:window};return F}(); // Input 41 // Input 42 // Input 43 -function ed(a){return ee(a)?null:a.focus.current}function fd(a,c,q,E=null){if(ee(a))throw new F("Focus for "+q+" is absent",c,E);}function gd(a){a.ad=null;a.bd=null;a.Bb=null}function ee(a){return!a.focus||!a.focus.current} -class ne{constructor(){this.depth=0;this.masterDocument=this.j=this.ja=this.sa=this.focus=null;this.qa=!1;this.ub=[];this.fixed={yd:null,zd:[],Ta:null};this.Kc=new cc;this.Qb=new cc;this.ab=null;this.gb={};this.Bb=this.bd=this.ad=this.ie=this.$e=null;this.Mb=[];this.Ge=null;this.oa=[];this.uc={};this.g=null}toString(){let a="{";this.Kc.forAllPairs(c=>a+=c.k+":("+c.v+"),");a+="}";return"context: "+ed(this)+" localParams: "+a}ba(a){const c=new ne;c.depth=this.depth+1;c.focus=this.focus;c.sa=this.sa; -c.ja=this.ja;c.masterDocument=this.masterDocument;c.gb=this.gb;c.ab=this.ab;c.$e=this.$e;c.ad=this.ad;c.Mb=this.Mb;c.bd=this.bd;c.fixed=this.fixed;c.qa=this.qa;c.ub=this.ub;c.ie=this.ie;c.Ge=this.Ge;c.uc=this.uc;c.g=this;a?(c.Kc=new cc,c.Qb=new cc,c.oa=[],c.Bb=null):(c.Kc=this.Kc,c.Qb=this.Qb,c.oa=this.oa,c.Bb=this.Bb);return c}createElement(a,c){const q=ac.Gc(this.ja),E=q.documentElement;""===a&&E&&pa.Zb(E)?c=q.createElement(c):"http://www.w3.org/1999/xhtml"===a&&E&&pa.Zb(E)?(a=c.indexOf(":"),c= -q.createElement(-1===a?c:c.substring(a+1))):c=q.createElementNS(a,c);return c}getStackTrace(){let a="";ee(this)||(a=" Processing "+sa.showValue(this.focus.current)+"\n");try{let c=this.sa.actor,q;"mode"===c.N?(q="template rule",c=this.ab.action):q=c.N+" "+c.name;a+=" at "+q+" in "+cd.hg(c,"module")+"#"+cd.hg(c,"line")}catch(c){a=""}this.g&&(a+="\n"+this.g.getStackTrace());return a}}; +function ed(a){return ee(a)?null:a.focus.current}function fd(a,c,n,F=null){if(ee(a))throw new G("Focus for "+n+" is absent",c,F);}function gd(a){a.bd=null;a.cd=null;a.Bb=null}function ee(a){return!a.focus||!a.focus.current} +class ne{constructor(){this.depth=0;this.masterDocument=this.j=this.ja=this.sa=this.focus=null;this.qa=!1;this.ub=[];this.fixed={yd:null,zd:[],Ta:null};this.Lc=new cc;this.Rb=new cc;this.ab=null;this.gb={};this.Bb=this.cd=this.bd=this.je=this.$e=null;this.Nb=[];this.Ge=null;this.oa=[];this.wc={};this.g=null}toString(){let a="{";this.Lc.forAllPairs(c=>a+=c.k+":("+c.v+"),");a+="}";return"context: "+ed(this)+" localParams: "+a}ba(a){const c=new ne;c.depth=this.depth+1;c.focus=this.focus;c.sa=this.sa; +c.ja=this.ja;c.masterDocument=this.masterDocument;c.gb=this.gb;c.ab=this.ab;c.$e=this.$e;c.bd=this.bd;c.Nb=this.Nb;c.cd=this.cd;c.fixed=this.fixed;c.qa=this.qa;c.ub=this.ub;c.je=this.je;c.Ge=this.Ge;c.wc=this.wc;c.g=this;a?(c.Lc=new cc,c.Rb=new cc,c.oa=[],c.Bb=null):(c.Lc=this.Lc,c.Rb=this.Rb,c.oa=this.oa,c.Bb=this.Bb);return c}createElement(a,c){const n=ac.Hc(this.ja),F=n.documentElement;""===a&&F&&qa.$b(F)?c=n.createElement(c):"http://www.w3.org/1999/xhtml"===a&&F&&qa.$b(F)?(a=c.indexOf(":"),c= +n.createElement(-1===a?c:c.substring(a+1))):c=n.createElementNS(a,c);return c}getStackTrace(){let a="";ee(this)||(a=" Processing "+sa.showValue(this.focus.current)+"\n");try{let c=this.sa.actor,n;"mode"===c.N?(n="template rule",c=this.ab.action):n=c.N+" "+c.name;a+=" at "+n+" in "+cd.hg(c,"module")+"#"+cd.hg(c,"line")}catch(c){a=""}this.g&&(a+="\n"+this.g.getStackTrace());return a}}; // Input 44 var oe={},pe={};oe[0]="";oe[1]="|";oe[2]="/";oe[3]="@";oe[48]="~";oe[4]="[";oe[5]="(";oe[6]="=";oe[7]=",";oe[8]="//";oe[9]="or";oe[10]="and";oe[11]=">";oe[12]="<";oe[13]=">=";oe[14]="<=";oe[15]="+";oe[16]="-";oe[299]="-";oe[17]="*";oe[18]="div";oe[19]="mod";oe[20]="is";oe[21]="$";oe[22]="!=";oe[40]="!";oe[30]="||";oe[23]="intersect";oe[24]="except";oe[25]="return";oe[26]="then";oe[27]="else";oe[29]="to";oe[31]="in";oe[32]="some";oe[33]="every";oe[34]="satisfies";oe[35]="(";oe[36]=""; oe[37]="if(";oe[38]="<<";oe[39]=">>";oe[41]="::";oe[42]=":*";oe[44]="#";oe[45]="instance of";oe[46]="cast as";oe[47]="treat as";oe[50]="eq";oe[51]="ne";oe[52]="gt";oe[54]="ge";oe[53]="lt";oe[55]="le";oe[56]="idiv";oe[57]="castable as";oe[58]=":=";oe[71]="as";oe[75]=":";oe[76]="=>";oe[79]="otherwise";oe[80]="andAlso";oe[81]="orElse";oe[201]="";oe[202]="";oe[203]="]";oe[204]=")";oe[205]=".";oe[206]="..";oe[207]="*";oe[208]="";oe[209]="";oe[69]="()"; oe[211]="for";oe[70]="<*:local-name>";oe[213]="?";oe[59]="{";oe[60]=" {";oe[215]="}";oe[216]="let";oe[299]="-";function qe(a,c){pe[a]=c;oe[c]=a}qe("instance of",45);qe("cast as",46);qe("treat as",47);qe("castable as",57); // Input 45 -var re={Nk:function(){return null}};for(const a in Zb)re[a.toUpperCase()]=Zb[a];re.sk=Zb.lc;re.ci=Zb.Wc;function se(a){a=a.charCodeAt(0);return 65<=a&&90>=a||97<=a&&122>=a}var te=Ha.Lb;function ue(a){const c=a.charCodeAt(0);return se(a)||48<=c&&57>=c}function ve(a,c="XPST0003"){return new F(a,c)}function we(a="Illegal Argument"){return new F(a,"XPST0003")}; +var re={Nk:function(){return null}};for(const a in Zb)re[a.toUpperCase()]=Zb[a];re.sk=Zb.mc;re.ci=Zb.Xc;function se(a){a=a.charCodeAt(0);return 65<=a&&90>=a||97<=a&&122>=a}var te=Ha.Mb;function ue(a){const c=a.charCodeAt(0);return se(a)||48<=c&&57>=c}function ve(a,c="XPST0003"){return new G(a,c)}function we(a="Illegal Argument"){return new G(a,"XPST0003")}; // Input 46 function xe(a,c){a.xa=c;0===c?(a.V=-1,a.ta="",a.J=-1):c===ye&&(a.V=204,a.ta=")",a.J=204)} function ze(a){a.V=a.j;a.ta=a.K;a.K=null;for(a.aa=a.g;;){if(a.g>=a.I){a.j=0;break}var c=a.B.charAt(a.g++);switch(c){case "/":if(a.g"===a.B.charAt(a.g)){a.g++;a.j=76;return}a.j=6;return;case "!":if(a.g":if(a.g"===a.B.charAt(a.g)){a.g++;a.j=39;return}a.j=11;return;case ".":if(a.ga.B.charAt(a.g)||"9"=c||127=a.I)break;c=a.B.charAt(a.g++)}a.K=a.B.substring(a.aa,a.g);a.j=209;return;case '"':case "'":for(a.K="";;){a.g=a.B.indexOf(c,a.g);if(0>a.g)throw a.g=a.aa+1,new ve("Unmatched quote in expression");a.K+=a.B.substring(a.aa+1,a.g++); -if(a.gc.charCodeAt(0)&&!se(c))throw new ve("Invalid character '"+c+"' in expression");case "_":q=!1;a:for(;a.gc.charCodeAt(0)&&!ue(c))break a}a.K=a.B.substring(a.aa,a.g);a.j=201;return}}} +a.j=13;return}if(a.g"===a.B.charAt(a.g)){a.g++;a.j=39;return}a.j=11;return;case ".":if(a.ga.B.charAt(a.g)||"9"=c||127=a.I)break;c=a.B.charAt(a.g++)}a.K=a.B.substring(a.aa,a.g);a.j=209;return;case '"':case "'":for(a.K="";;){a.g=a.B.indexOf(c,a.g);if(0>a.g)throw a.g=a.aa+1,new ve("Unmatched quote in expression");a.K+=a.B.substring(a.aa+1,a.g++); +if(a.gc.charCodeAt(0)&&!se(c))throw new ve("Invalid character '"+c+"' in expression");case "_":n=!1;a:for(;a.gc.charCodeAt(0)&&!ue(c))break a}a.K=a.B.substring(a.aa,a.g);a.j=201;return}}} function De(a,c){a.xa=0;a.j=0;a.K=null;a.aa=0;a.g=0;a.B=c;a.lineNumber=0;a.Ca=0;a.I=c.length;ze(a);a.next()}function Ce(a){a={or:9,is:20,to:29,"in":31,eq:50,ne:51,le:55,lt:53,gt:52,ge:54,as:71,and:10,div:18,mod:19,idiv:56,then:26,"else":27,"case":67,where:28,union:1,except:24,"return":25,otherwise:79,orElse:81,"default":212,andAlso:80,intersect:23,satisfies:34}[a];return[81,80].includes(a)?-1:a||-1}function Ae(a,c=-1){a.lineNumber++;a.Ca++;null===a.ra&&(a.ra=[]);a.ra.push(-1===c?a.g-1:c)} -function Be(a,c=null){var q=c?c:a.g;return" at line:"+Ee(a,c)+" col:"+Fe(a,c)+" near '"+a.B.slice(5>q?0:q-5,q+5)+"'"}function Ge(a){a.g>a.I&&(a.g=a.I);return 34>a.g?a.B.substring(0,a.g):Ha.collapse("..."+a.B.substring(a.g-30,a.g)).toString()}function He(a,c){if(null===a.ra)return c;for(var q=a.ra.length-1;0<=q;q--){var E=a.ra[q];if(c>E)return q+1<<16|c-E}return c}function Ee(a,c=null){return c?He(a,c)>>16:a.lineNumber}function Fe(a,c=null){return He(a,c?c:a.je)&32767} -class Ie{constructor(){this.J=this.xa=0;this.T=null;this.j=this.je=0;this.K=null;this.aa=0;this.B=null;this.I=this.g=0;this.Ca=this.lineNumber=1;this.ra=null;this.V=-1;this.ta=""}next(){this.V=this.J;this.ta=this.T;this.J=this.j;this.T=this.K;null===this.T&&(this.T="");this.je=this.aa;this.lineNumber=this.Ca;switch(this.J){case 201:var a=Ce(this.T);-1===a||150>=this.V||213===this.V||(this.J=a);break;case 207:150>=this.V||213===this.V||(this.J=17)}if(215!==this.J&&(a=this.V,ze(this),201===this.J&& +function Be(a,c=null){var n=c?c:a.g;return" at line:"+Ee(a,c)+" col:"+Fe(a,c)+" near '"+a.B.slice(5>n?0:n-5,n+5)+"'"}function Ge(a){a.g>a.I&&(a.g=a.I);return 34>a.g?a.B.substring(0,a.g):Ha.collapse("..."+a.B.substring(a.g-30,a.g)).toString()}function He(a,c){if(null===a.ra)return c;for(var n=a.ra.length-1;0<=n;n--){var F=a.ra[n];if(c>F)return n+1<<16|c-F}return c}function Ee(a,c=null){return c?He(a,c)>>16:a.lineNumber}function Fe(a,c=null){return He(a,c?c:a.ke)&32767} +class Ie{constructor(){this.J=this.xa=0;this.T=null;this.j=this.ke=0;this.K=null;this.aa=0;this.B=null;this.I=this.g=0;this.Ca=this.lineNumber=1;this.ra=null;this.V=-1;this.ta=""}next(){this.V=this.J;this.ta=this.T;this.J=this.j;this.T=this.K;null===this.T&&(this.T="");this.ke=this.aa;this.lineNumber=this.Ca;switch(this.J){case 201:var a=Ce(this.T);-1===a||150>=this.V||213===this.V||(this.J=a);break;case 207:150>=this.V||213===this.V||(this.J=17)}if(215!==this.J&&(a=this.V,ze(this),201===this.J&& this.xa!==Je&&21!==a))switch(this.j){case 5:var c=Ce(this.T);-1===c||150>=a?(this.J=this.gg(this.T),ze(this)):this.J=c;break;case 59:this.xa!==Ke&&(this.J=60,ze(this));break;case 41:ze(this);this.J=36;break;case 44:ze(this);this.J=43;break;case 42:ze(this);this.J=208;break;case 21:"for"===this.T?this.J=211:"some"===this.T?this.J=32:"every"===this.T?this.J=33:"let"===this.T&&(this.J=216);break;case 201:a=this.T+" "+this.K,c=pe[a],null!=c&&(this.J=c,this.T=a,ze(this))}}gg(a){const c={"if":37,array:69, attribute:69,comment:69,"document-node":69,element:69,"empty-sequence":69,"function":69,map:69,item:69,"namespace-node":69,node:69,"processing-instruction":69,"schema-attribute":69,"schema-element":69,"switch":69,otherwise:79,text:69,tuple:69,typeswitch:69,union:69}[a];return c?["tuple","union"].includes(a)?35:c:35}}var Je=1,Ke=2,ye=3; // Input 47 var Le=[!1,!1,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!0,!1];function Me(a){return"ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace parent preceding preceding-sibling self preceding-or-ancestor".split(" ")[a]}var Ne=[1,1,2,1,1,1,1,1,13,1,1,1,1,1],Oe=[4,5,9,9,0,1,10,11,9,3,6,7,12]; function Pe(a){switch(a){case "self":return 12;case "child":return 3;case "parent":return 9;case "ancestor":return 0;case "attribute":return 2;case "following":return 6;case "namespace":return 8;case "preceding":return 10;case "descendant":return 4;case "ancestor-or-self":return 1;case "following-sibling":return 7;case "preceding-sibling":return 11;case "descendant-or-self":return 5}throw new ve("Unknown axis name: "+a);}; // Input 48 -function Qe(a,c,q,E="XPTY0004"){this.kind=a;this.j=c;this.g=q;this.errorCode=E}Qe.prototype={Id:function(){return this.errorCode},save:function(){let a=this.kind+"|"+this.g+"|";a+=("XPTY0004"===this.errorCode?"":this.errorCode)+"|";return a+=this.j}}; +function Qe(a,c,n,F="XPTY0004"){this.kind=a;this.j=c;this.g=n;this.errorCode=F}Qe.prototype={Id:function(){return this.errorCode},save:function(){let a=this.kind+"|"+this.g+"|";a+=("XPTY0004"===this.errorCode?"":this.errorCode)+"|";return a+=this.j}}; // Input 49 -function Re(a,c,q={}){a.start(c,q);c.end()}class Se{constructor(){this.l=dc.Aa}start(a,c={}){a.start(this.O,c);this.role&&a.ud("role",this.role);this.ag&&a.ud("sType",this.l.ha())}$b(){return!Zc(this.l.fa)}G(a){Re(this,a)}}oa=Se.prototype;oa.O="Expression";oa.kind=null;oa.role=null;oa.ag=null;oa.Da=function(a,c="XPTY0004"){return new Qe(this.kind,this.O,a,c)};oa.Ga=function(){throw new ve(sa.Ij(this)+" is not a valid pattern","XTSE0340");};oa.Gd=function(){return this}; -class Te extends Se{constructor(a,c,q){super();this.Va=c;this.ea=a;this.ga=q;if(this.ea.Wa||this.ga.Wa)this.Wa=!0;this.ea.Kb&&this.ga.Kb&&(this.Kb=!0)}G(a){super.start(a,this.Va?{op:oe[this.Va]}:{});this.ea.G(a);this.ga.G(a);a.end()}}Te.prototype.kind=1;class Ue extends Se{constructor(a){super();this.g=a;this.g.Wa&&(this.Wa=!0);this.g.Kb&&(this.Kb=!0)}G(a){super.start(a);this.g.G(a);a.end()}}Ue.prototype.kind=9; +function Re(a,c,n={}){a.start(c,n);c.end()}class Se{constructor(){this.l=dc.Aa}start(a,c={}){a.start(this.O,c);this.role&&a.ud("role",this.role);this.ag&&a.ud("sType",this.l.ha())}ac(){return!Zc(this.l.fa)}G(a){Re(this,a)}}na=Se.prototype;na.O="Expression";na.kind=null;na.role=null;na.ag=null;na.Da=function(a,c="XPTY0004"){return new Qe(this.kind,this.O,a,c)};na.Ga=function(){throw new ve(sa.Ij(this)+" is not a valid pattern","XTSE0340");};na.Gd=function(){return this}; +class Te extends Se{constructor(a,c,n){super();this.Va=c;this.ea=a;this.ga=n;if(this.ea.Wa||this.ga.Wa)this.Wa=!0;this.ea.Lb&&this.ga.Lb&&(this.Lb=!0)}G(a){super.start(a,this.Va?{op:oe[this.Va]}:{});this.ea.G(a);this.ga.G(a);a.end()}}Te.prototype.kind=1;class Ue extends Se{constructor(a){super();this.g=a;this.g.Wa&&(this.Wa=!0);this.g.Lb&&(this.Lb=!0)}G(a){super.start(a);this.g.G(a);a.end()}}Ue.prototype.kind=9; // Input 50 -class Ve extends Se{constructor(){super();this.l=dc.mc}Ga(){return this}G(a){Re(this,a)}}class We extends Ve{}We.prototype.O="p.any";class Xe extends Ve{constructor(a){super();this.message=a;this.role="match";this.l=dc.mc}G(a){Re(this,a,{message:this.message})}}Xe.prototype.O="p.warning";class Ye extends Ve{constructor(a){super();this.g=a;this.l=dc.mc}G(a){super.start(a);this.g.G(a);a.end()}}Ye.prototype.O="p.booleanExp"; +class Ve extends Se{constructor(){super();this.l=dc.nc}Ga(){return this}G(a){Re(this,a)}}class We extends Ve{}We.prototype.O="p.any";class Xe extends Ve{constructor(a){super();this.message=a;this.role="match";this.l=dc.nc}G(a){Re(this,a,{message:this.message})}}Xe.prototype.O="p.warning";class Ye extends Ve{constructor(a){super();this.g=a;this.l=dc.nc}G(a){super.start(a);this.g.G(a);a.end()}}Ye.prototype.O="p.booleanExp"; class Ze extends Ve{constructor(a){super();sa.assert(a instanceof lc);this.test=a;this.l=new gc(a,2)}G(a){Re(this,a,{test:this.test.ha()})}}Ze.prototype.O="p.nodeTest";class $e extends Ve{constructor(a,c){super();this.pattern=a;this.g=c;this.l=a.l;a.code&&(this.code=a.code)}G(a){super.start(a);this.code&&a.ud("code",this.code);this.pattern.G(a);this.g.G(a);a.end()}}$e.prototype.O="p.withPredicate"; class af extends Ve{constructor(a){super();this.g=a;this.l=Vc(a.l,2)}G(a){super.start(a);this.g.G(a);a.end()}}af.prototype.O="p.nodeSet";class bf extends Ve{constructor(a){super();this.g=a;this.l=Vc(a.l,2)}G(a){super.start(a);this.g.G(a);a.end()}}bf.prototype.O="p.genNode";class cf extends Ve{constructor(a,c){super();this.g=c;this.code=a.l.ha();this.l=Vc(a.l,2)}G(a){super.start(a,{test:this.code});this.g.G(a);a.end()}}cf.prototype.O="p.genPos"; -class df extends Ve{constructor(a,c){super();this.code=a.ha();this.Od=c;this.l=Vc(a,2)}G(a){Re(this,a,{test:this.code,pos:this.Od})}}df.prototype.O="p.simPos";class ef extends Ve{constructor(a,c,q){super();this.axis=Oe[a];this.lb=c;this.g=q;this.l=c.l}G(a){super.start(a,{axis:Me(this.axis)});this.lb.G(a);this.g.G(a);a.end()}}ef.prototype.O="p.withUpper"; -class ff extends Ve{constructor(a,c,q,E){super();this.Va=c;this.ea=a;this.ga=q;this.l=Vc(E,2)}G(a){super.start(a,{op:1===this.Va?"union":oe[this.Va]});this.ea.G(a);this.ga.G(a);a.end()}}ff.prototype.O="p.venn";function gf(a){var c=[];a.ea instanceof hf?c=gf(a.ea):c.push(a.ea);a.ga instanceof hf?c=c.concat(gf(a.ga)):c.push(a.ga);return c}class hf extends ff{constructor(a,c,q){super(a,1,c,q)}} +class df extends Ve{constructor(a,c){super();this.code=a.ha();this.Qd=c;this.l=Vc(a,2)}G(a){Re(this,a,{test:this.code,pos:this.Qd})}}df.prototype.O="p.simPos";class ef extends Ve{constructor(a,c,n){super();this.axis=Oe[a];this.lb=c;this.g=n;this.l=c.l}G(a){super.start(a,{axis:Me(this.axis)});this.lb.G(a);this.g.G(a);a.end()}}ef.prototype.O="p.withUpper"; +class ff extends Ve{constructor(a,c,n,F){super();this.Va=c;this.ea=a;this.ga=n;this.l=Vc(F,2)}G(a){super.start(a,{op:1===this.Va?"union":oe[this.Va]});this.ea.G(a);this.ga.G(a);a.end()}}ff.prototype.O="p.venn";function gf(a){var c=[];a.ea instanceof hf?c=gf(a.ea):c.push(a.ea);a.ga instanceof hf?c=c.concat(gf(a.ga)):c.push(a.ga);return c}class hf extends ff{constructor(a,c,n){super(a,1,c,n)}} class jf extends Ve{constructor(a){super();this.g=a;for(var c of this.g)c.ag=!0}G(a){super.start(a);for(var c of this.g)c.G(a);a.end()}}jf.prototype.O="UnionExprP"; // Input 51 function kf(a){return a instanceof lf&&1===a.value.length&&uc.ia()(a.value[0])}function mf(a,c){return new lf(a,c)}function nf(){return new lf([],dc.Ie)} -class lf extends Se{constructor(a,c){super();Array.isArray(a)||sa.la("Literal value must be array");c instanceof gc&&c.U.ha||sa.la("Literal type must be a SequenceType");a&&(this.value=a,c&&(this.l=c));this.role=null}toString(){return this.value.toString()}G(a){function c(q,E){const H=q.code,p={};switch(H){case "AB":break;case "AQ":p.pre=q.prefix;p.uri=q.uri;p.loc=q.local;break;default:p.val=q.toString()}E&&(p.role=E);switch(H){case "AS":a.start("str",p);break;case "AO":a.start("dbl",p);break;case "AB":a.start(q.value? -"true":"false",p);break;case "AD":a.start("dec",p);break;case "ADI":a.start("int",p);break;case "AQ":a.start("qName",p);break;default:p.type=H,a.start("atomic",p)}a.end()}if(0===this.value.length)a.start("empty",this.role?{role:this.role}:{}),a.end();else if(1===this.value.length)c(this.value[0],this.role);else{let q={count:this.value.length};this.role&&(q.role=this.role);a.start("atomic",q);for(const E of this.value)c(E);a.end()}}}lf.prototype.O="literal";lf.prototype.Kb=!0; -class of extends lf{constructor(a){super([La.XS.string.fromString(a)],dc.ec);this.l=dc.ec}}; +class lf extends Se{constructor(a,c){super();Array.isArray(a)||sa.la("Literal value must be array");c instanceof gc&&c.U.ha||sa.la("Literal type must be a SequenceType");a&&(this.value=a,c&&(this.l=c));this.role=null}toString(){return this.value.toString()}G(a){function c(n,F){const I=n.code,m={};switch(I){case "AB":break;case "AQ":m.pre=n.prefix;m.uri=n.uri;m.loc=n.local;break;default:m.val=n.toString()}F&&(m.role=F);switch(I){case "AS":a.start("str",m);break;case "AO":a.start("dbl",m);break;case "AB":a.start(n.value? +"true":"false",m);break;case "AD":a.start("dec",m);break;case "ADI":a.start("int",m);break;case "AQ":a.start("qName",m);break;default:m.type=I,a.start("atomic",m)}a.end()}if(0===this.value.length)a.start("empty",this.role?{role:this.role}:{}),a.end();else if(1===this.value.length)c(this.value[0],this.role);else{let n={count:this.value.length};this.role&&(n.role=this.role);a.start("atomic",n);for(const F of this.value)c(F);a.end()}}}lf.prototype.O="literal";lf.prototype.Lb=!0; +class of extends lf{constructor(a){super([La.XS.string.fromString(a)],dc.fc);this.l=dc.fc}}; // Input 52 -function pf(a,c,q,E,H){var p=qf(a,dc.dc,a.Da(0,"XPTY0004"));p=new rf(p);if(/[lu]/.test(c))p.td={flags:c+(H?"e":""),as:q.toEQName()};else{sa.assert("a"===c);try{if(a instanceof lf&&1===a.value.length&&La.pa(a.value[0])&&"AQ"!==E.$().p){const g=E.Vc.R(a.value[0]);return new lf([g],new gc(E,2))}}catch(g){}p.td={flags:H?"ae":"a",as:E.ha()}}return p}class rf extends Ue{constructor(a){super(a);this.O="cast";this.kind=2;this.td={}}G(a){super.start(a,this.td);this.g.G(a);a.end()}} -function sf(a,c,q,E,H){var p=new tf(a);p=qf(p,dc.dc,p.Da(0,"XPTY0004"));if(/[lu]/.test(c))p.td={flags:c+(H?"e":""),as:q.toEQName()};else{sa.assert("a"===c);if(a instanceof lf&&1===a.value.length&&La.pa(a.value[0])&&"AQ"!==E.$().p)try{return E.Vc.R(a.value[0]),new lf([La.XS.boolean.Xc],dc.cb)}catch(g){return new lf([La.XS.boolean.ae],dc.cb)}p.td={flags:H?"ae":"a",as:E.ha()}}return p} -class tf extends Ue{constructor(a){super(a);this.l=dc.cb;this.O="castable";this.kind=2;this.td={}}G(a){super.start(a,this.td);this.g.G(a);a.end()}}class uf extends Ue{constructor(a,c){super(a);this.j=c;this.l=jd(a.l.U)?dc.Jg:dc.Ad}G(a){super.start(a,{diag:this.j});this.g.G(a);a.end()}}uf.prototype.O="data";class vf extends uf{constructor(a,c,q){super(a,c);this.B=q;jd(a.l.U)?this.l=q?dc.If:dc.Ig:this.l=q?dc.dc:dc.Oe}G(a){super.start(a,{diag:this.j});this.B&&a.ud("card","?");this.g.G(a);a.end()}} -vf.prototype.O="atomSing";class wf extends Se{constructor(a){super();this.name=a.U.name.toEQName();this.l=dc.If}G(a){Re(this,a,{name:this.name})}}wf.prototype.O="attVal";class xf extends Ue{constructor(a,c,q){super(a);this.code=c;this.j=q;this.l=dc.Ad}G(a){super.start(a,{to:this.code,diag:this.j});this.g.G(a);a.end()}}xf.prototype.O="cvUntyped"; -class yf extends Ue{constructor(a,c){super(a);this.type=c;this.flags="";this.l=new gc(c.U,a.l.fa)}G(a){super.start(a,{to:this.type.ha().replace(/^[01?*+]/,""),flags:this.flags});this.g.G(a);a.end()}}yf.prototype.O="convert";class zf extends Ue{constructor(a,c,q){super(a);this.type=c;this.resultType=a.resultType;this.j=q;this.l=c}G(a){super.start(a,{to:this.type.ha().replace(/^[01?*+]/,""),diag:this.j});this.g.G(a);a.end()}}zf.prototype.O="fnCoercer"; +function pf(a,c,n,F,I){var m=qf(a,dc.ec,a.Da(0,"XPTY0004"));m=new rf(m);if(/[lu]/.test(c))m.td={flags:c+(I?"e":""),as:n.toEQName()};else{sa.assert("a"===c);try{if(a instanceof lf&&1===a.value.length&&La.pa(a.value[0])&&"AQ"!==F.$().p){const g=F.Wc.R(a.value[0]);return new lf([g],new gc(F,2))}}catch(g){}m.td={flags:I?"ae":"a",as:F.ha()}}return m}class rf extends Ue{constructor(a){super(a);this.O="cast";this.kind=2;this.td={}}G(a){super.start(a,this.td);this.g.G(a);a.end()}} +function sf(a,c,n,F,I){var m=new tf(a);m=qf(m,dc.ec,m.Da(0,"XPTY0004"));if(/[lu]/.test(c))m.td={flags:c+(I?"e":""),as:n.toEQName()};else{sa.assert("a"===c);if(a instanceof lf&&1===a.value.length&&La.pa(a.value[0])&&"AQ"!==F.$().p)try{return F.Wc.R(a.value[0]),new lf([La.XS.boolean.Yc],dc.cb)}catch(g){return new lf([La.XS.boolean.be],dc.cb)}m.td={flags:I?"ae":"a",as:F.ha()}}return m} +class tf extends Ue{constructor(a){super(a);this.l=dc.cb;this.O="castable";this.kind=2;this.td={}}G(a){super.start(a,this.td);this.g.G(a);a.end()}}class uf extends Ue{constructor(a,c){super(a);this.j=c;this.l=jd(a.l.U)?dc.Kg:dc.Ad}G(a){super.start(a,{diag:this.j});this.g.G(a);a.end()}}uf.prototype.O="data";class vf extends uf{constructor(a,c,n){super(a,c);this.B=n;jd(a.l.U)?this.l=n?dc.If:dc.Jg:this.l=n?dc.ec:dc.Oe}G(a){super.start(a,{diag:this.j});this.B&&a.ud("card","?");this.g.G(a);a.end()}} +vf.prototype.O="atomSing";class wf extends Se{constructor(a){super();this.name=a.U.name.toEQName();this.l=dc.If}G(a){Re(this,a,{name:this.name})}}wf.prototype.O="attVal";class xf extends Ue{constructor(a,c,n){super(a);this.code=c;this.j=n;this.l=dc.Ad}G(a){super.start(a,{to:this.code,diag:this.j});this.g.G(a);a.end()}}xf.prototype.O="cvUntyped"; +class yf extends Ue{constructor(a,c){super(a);this.type=c;this.flags="";this.l=new gc(c.U,a.l.fa)}G(a){super.start(a,{to:this.type.ha().replace(/^[01?*+]/,""),flags:this.flags});this.g.G(a);a.end()}}yf.prototype.O="convert";class zf extends Ue{constructor(a,c,n){super(a);this.type=c;this.resultType=a.resultType;this.j=n;this.l=c}G(a){super.start(a,{to:this.type.ha().replace(/^[01?*+]/,""),diag:this.j});this.g.G(a);a.end()}}zf.prototype.O="fnCoercer"; // Input 53 const Af="array attribute comment document-node element empty-sequence function if item map namespace-node node processing-instruction schema-attribute schema-element switch text typeswitch".split(" ");class Bf{constructor(a,c){if(""===a.prefix&&Af.includes(a.local))throw new ve("The unprefixed function name '"+a.local+"' is reserved","XPST0003");this.name=a;this.arity=c}toEQName(){return this.name.toEQName()}toString(){return this.name.toEQName()+"#"+this.arity}}; // Input 54 -class Cf extends Se{constructor(a,c,q){super();const E=a.name.local;if(a.name.uri===Zb.lc){if("NOTATION"===E)throw new F("No constructor function exists for xs:NOTATION","XPST0017");const p=c[0].l;if(2===p.fa&&p.U.pa()&&p.U.Vc&&E===p.U.Vc.name)a=c[0];else if(["NMTOKENS","ENTITIES","IDREFS"].includes(E))a=pf(c[0],"l",a.name,null,!0);else{var H;"numeric"===E?H=pf(c[0],"u",a.name,null,!0):H=pf(c[0],"a",null,q.U,!0);a=H}return a}this.name=a;this.g=c;this.l=q;switch(E){case "exactly-one":this.l=Vc(c[0].l, -2);break;case "head":this.l=Vc(c[0].l,Xc(c[0].l.fa)?3:2);break;case "tail":case "subsequence":this.l=Vc(c[0].l,7);break;case "ceiling":case "floor":case "reverse":case "snapshot":this.l=c[0].l;break;case "last":case "position":this.Wa=!0;break;case "string-length":case "normalize-space":0===c.length&&this.g.push(Df("string",new Ef));break;case "fold-left":case "fold-right":this.l=c[2].resultType;break;case "for-each":this.l=Vc(c[1].l.U.ff(),7);break;case "filter":this.l=Vc(c[0].l,7);break;case "current":this.Kb= -!0;break;case "boolean":if(c[0].l.equals(dc.cb))return c[0]}}Ga(){return new af(this)}$b(){if(this.name.uri===Zb.Oa)return"doc document element-with-id id innermost key outermost".split(" ").includes(this.name.local)?!0:"filter one-or-more subsequence remove tail trace unordered zero-or-more".split(" ").includes(this.name.local)?this.g[0].$b():!1}G(a){super.start(a,{name:this.name.name.local});for(const c of this.g)c.G(a);a.end()}}Cf.prototype.O="fn"; -class Ff extends Se{constructor(a,c,q){super();this.name=a;this.g=c;this.l=q}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Ff.prototype.O="ifCall";class Gf extends Se{constructor(a,c,q){super();this.name=a;this.g=c;this.l=q;if(a="merge"===a.name.local)a=c[0],a=!(a instanceof lf&&0===a.value.length);a&&(this.l=Vc(c[0].l,2))}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Gf.prototype.O="ifCall"; -class Hf extends Se{constructor(a,c,q){super();this.name=a;this.g=c;this.l=q}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Hf.prototype.O="ifCall";class If extends Ff{}class Jf extends Se{constructor(a,c,q){super();this.name=a;this.g=c;this.l=q}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Jf.prototype.O="ifCall"; -class Kf extends Se{constructor(a,c,q){super();this.name=a;this.g=c;this.l=q}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Kf.prototype.O="ifCall";class Lf extends Kf{constructor(a,c,q){super(a,c,q);const E=new Bf(La.XS.QName.fromParts("ixsl",Zb.nd,"call"),3),H=new Bf(La.XS.QName.fromParts("ixsl",Zb.nd,"window"),0);this.name=E;this.g=[new Kf(H,[],dc.mc),new of(a.name.local),new Mf(c)];this.l=q}} -class Nf extends Se{constructor(a,c,q,E){super();this.name=a;this.g=c;this.l=q;this.j=E}G(a){super.start(a,{name:this.name.toEQName(),coId:this.j});for(const c of this.g)c.G(a);a.end()}}Nf.prototype.O="ufCall";class Of extends Se{constructor(a){super();this.name=a.name.name;this.xb=a.xb;this.arity=a.name.arity;this.l=a.l;this.resultType=a.resultType}G(a){Re(this,a,{name:this.name.toEQName(),arity:this.arity,resultType:this.resultType.ha()})}}Of.prototype.O="fnRef"; +class Cf extends Se{constructor(a,c,n){super();const F=a.name.local;if(a.name.uri===Zb.mc){if("NOTATION"===F)throw new G("No constructor function exists for xs:NOTATION","XPST0017");const m=c[0].l;if(2===m.fa&&m.U.pa()&&m.U.Wc&&F===m.U.Wc.name)a=c[0];else if(["NMTOKENS","ENTITIES","IDREFS"].includes(F))a=pf(c[0],"l",a.name,null,!0);else{var I;"numeric"===F?I=pf(c[0],"u",a.name,null,!0):I=pf(c[0],"a",null,n.U,!0);a=I}return a}this.name=a;this.g=c;this.l=n;switch(F){case "exactly-one":this.l=Vc(c[0].l, +2);break;case "head":this.l=Vc(c[0].l,Xc(c[0].l.fa)?3:2);break;case "tail":case "subsequence":this.l=Vc(c[0].l,7);break;case "ceiling":case "floor":case "reverse":case "snapshot":this.l=c[0].l;break;case "last":case "position":this.Wa=!0;break;case "string-length":case "normalize-space":0===c.length&&this.g.push(Df("string",new Ef));break;case "fold-left":case "fold-right":this.l=c[2].resultType;break;case "for-each":this.l=Vc(c[1].l.U.gf(),7);break;case "filter":this.l=Vc(c[0].l,7);break;case "current":this.Lb= +!0;break;case "boolean":if(c[0].l.equals(dc.cb))return c[0]}}Ga(){return new af(this)}ac(){if(this.name.uri===Zb.Oa)return"doc document element-with-id id innermost key outermost".split(" ").includes(this.name.local)?!0:"filter one-or-more subsequence remove tail trace unordered zero-or-more".split(" ").includes(this.name.local)?this.g[0].ac():!1}G(a){super.start(a,{name:this.name.name.local});for(const c of this.g)c.G(a);a.end()}}Cf.prototype.O="fn"; +class Ff extends Se{constructor(a,c,n){super();this.name=a;this.g=c;this.l=n}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Ff.prototype.O="ifCall";class Gf extends Se{constructor(a,c,n){super();this.name=a;this.g=c;this.l=n;if(a="merge"===a.name.local)a=c[0],a=!(a instanceof lf&&0===a.value.length);a&&(this.l=Vc(c[0].l,2))}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Gf.prototype.O="ifCall"; +class Hf extends Se{constructor(a,c,n){super();this.name=a;this.g=c;this.l=n}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Hf.prototype.O="ifCall";class If extends Ff{}class Jf extends Se{constructor(a,c,n){super();this.name=a;this.g=c;this.l=n}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Jf.prototype.O="ifCall"; +class Kf extends Se{constructor(a,c,n){super();this.name=a;this.g=c;this.l=n}G(a){super.start(a,{name:this.name.toEQName()});for(const c of this.g)c.G(a);a.end()}}Kf.prototype.O="ifCall";class Lf extends Kf{constructor(a,c,n){super(a,c,n);const F=new Bf(La.XS.QName.fromParts("ixsl",Zb.nd,"call"),3),I=new Bf(La.XS.QName.fromParts("ixsl",Zb.nd,"window"),0);this.name=F;this.g=[new Kf(I,[],dc.nc),new of(a.name.local),new Mf(c)];this.l=n}} +class Nf extends Se{constructor(a,c,n,F){super();this.name=a;this.g=c;this.l=n;this.j=F}G(a){super.start(a,{name:this.name.toEQName(),coId:this.j});for(const c of this.g)c.G(a);a.end()}}Nf.prototype.O="ufCall";class Of extends Se{constructor(a){super();this.name=a.name.name;this.xb=a.xb;this.arity=a.name.arity;this.l=a.l;this.resultType=a.resultType}G(a){Re(this,a,{name:this.name.toEQName(),arity:this.arity,resultType:this.resultType.ha()})}}Of.prototype.O="fnRef"; class Pf extends Of{constructor(a){super(a);this.g=0}G(a){Re(this,a,{name:this.name.toEQName(),arity:this.arity,resultType:this.resultType.ha(),bSlot:this.g})}}Pf.prototype.O="ufRef";class Qf extends Se{constructor(){super();this.l=dc.Aa}G(a){Re(this,a,{asCode:"*"})}}Qf.prototype.O="null";class Rf extends Se{}Rf.prototype.g={};Rf.prototype.B={};Rf.prototype.j={}; -class Sf extends Se{constructor(){super();this.l=dc.Aa;this.slot=this.$a=this.name=this.bc=null}gd(){return this.name}toString(){return"$"+this.name+" as "+this.l.toString()}G(a){Re(this,a,{name:this.name,asCode:this.l.ha(),slot:this.slot})}}Sf.prototype.O="arg"; -class Tf extends Se{constructor(a,c,q){super();this.params=a;this.resultType=c;const E=[];a.forEach(H=>{E.push(H.l)});q=qf(q,c,this.Da("body"));this.l=kc(new dd(E,c));this.arity=a.length;this.body=q;q.role="body"}G(a){super.start(a,{arity:this.arity,name:this.name,as:this.resultType.ha()});for(const c of this.params)c.G(a);this.body.G(a);a.end()}}oa=Tf.prototype;oa.O="inlineFn";oa.kind=5; -oa.Da=function(a,c="XPTY0004"){return new Qe(this.kind,"("+this.params.map(q=>q.toString()).join(",")+")"+(this.resultType?" as "+this.resultType.toString():""),a,c)};oa.name="inline";oa.ag=!0; -class Uf extends Se{constructor(a,c,q){super();if(a.l&&a.l.U instanceof dd&&a.l.$().a.length!==c.length)throw new F("Partially-applied function requires "+a.arity+" arguments, but "+(c.length{var v=g.a[H];v=p?p:ic(v);k instanceof Qf?k.l=v:k=qf(k,v,this.Da(H));this.g.push(k);e&&(p=v);H++})}else c.forEach(g=>{this.g.push(g)});a.l.U instanceof dd&&(this.l=kc(vd(a.l.U,q)))}G(a){super.start(a);this.j.G(a);this.g.forEach(c=>{c.G(a)});a.end()}}Uf.prototype.O="partialApply";Uf.prototype.kind=5; +class Sf extends Se{constructor(){super();this.l=dc.Aa;this.slot=this.Za=this.name=this.cc=null}hd(){return this.name}toString(){return"$"+this.name+" as "+this.l.toString()}G(a){Re(this,a,{name:this.name,asCode:this.l.ha(),slot:this.slot})}}Sf.prototype.O="arg"; +class Tf extends Se{constructor(a,c,n){super();this.params=a;this.resultType=c;const F=[];a.forEach(I=>{F.push(I.l)});n=qf(n,c,this.Da("body"));this.l=kc(new dd(F,c));this.arity=a.length;this.body=n;n.role="body"}G(a){super.start(a,{arity:this.arity,name:this.name,as:this.resultType.ha()});for(const c of this.params)c.G(a);this.body.G(a);a.end()}}na=Tf.prototype;na.O="inlineFn";na.kind=5; +na.Da=function(a,c="XPTY0004"){return new Qe(this.kind,"("+this.params.map(n=>n.toString()).join(",")+")"+(this.resultType?" as "+this.resultType.toString():""),a,c)};na.name="inline";na.ag=!0; +class Uf extends Se{constructor(a,c,n){super();if(a.l&&a.l.U instanceof dd&&a.l.$().a.length!==c.length)throw new G("Partially-applied function requires "+a.arity+" arguments, but "+(c.length{var v=g.a[I];v=m?m:ic(v);k instanceof Qf?k.l=v:k=qf(k,v,this.Da(I));this.g.push(k);e&&(m=v);I++})}else c.forEach(g=>{this.g.push(g)});a.l.U instanceof dd&&(this.l=kc(vd(a.l.U,n)))}G(a){super.start(a);this.j.G(a);this.g.forEach(c=>{c.G(a)});a.end()}}Uf.prototype.O="partialApply";Uf.prototype.kind=5; class Wf extends Se{constructor(a,c){super();this.key=a;this.value=c;this.l=ec("1FM")}toString(){return"map{"+this.key.toString+" : "+this.value.toString()+"}"}G(a){super.start(a);this.key.G(a);this.value.G(a);a.end()}}Wf.prototype.O="map"; -class Xf extends Se{constructor(a){super();this.entries=a;const c=sd.Md(a.map(H=>H[0].l.U)),q=sd.Md(a.map(H=>H[1].l.U));a=a.map(H=>H[1].l.fa);let E=2;a.some(H=>Xc(H))&&(E+=1);a.some(H=>Zc(H))&&(E+=4);this.l=kc(new td(c,new gc(q,E)))}toString(){let a="map{";this.entries.forEach(c=>{a+=c[0].toString+" : "+c[1].toString()});return a+"}"}G(a){super.start(a);this.entries.forEach(c=>{c[0].G(a);c[1].G(a)});a.end()}}Xf.prototype.O="map"; +class Xf extends Se{constructor(a){super();this.entries=a;const c=sd.Md(a.map(I=>I[0].l.U)),n=sd.Md(a.map(I=>I[1].l.U));a=a.map(I=>I[1].l.fa);let F=2;a.some(I=>Xc(I))&&(F+=1);a.some(I=>Zc(I))&&(F+=4);this.l=kc(new td(c,new gc(n,F)))}toString(){let a="map{";this.entries.forEach(c=>{a+=c[0].toString+" : "+c[1].toString()});return a+"}"}G(a){super.start(a);this.entries.forEach(c=>{c[0].G(a);c[1].G(a)});a.end()}}Xf.prototype.O="map"; // Input 55 -class Yf extends Se{constructor(a,c){super();sa.assert(!c||c instanceof lc);this.axis=a;this.O="axis";c=c||qc;2===a&&c instanceof rc?c=Hc:3===a&&c instanceof rc&&(c=sc);this.g=c;9===a&&c instanceof rc?this.l=dc.ce:c?this.l=new gc(c,7):this.l=dc.be}Cb(){return this.axis}$b(){return[2,3,4,5,6,7,9,12].includes(this.axis)}Ga(){return new Ze(this.g)}G(a){Re(this,a,{name:Me(this.axis),nodeTest:this.l.ha()})}} -class Zf extends Te{constructor(a,c){super(a,2,c);this.ea=a=qf(a,dc.be,this.Da(0,"XPTY0019"));this.l=Wc(c.l,a.l.fa)}$b(){return!0}Ga(){if(this.ga instanceof Cf||this.ga instanceof lf)throw new ve("Not an axis step for a pattern","XTSE0340");return this.Wa||!this.ga.Cb||this.ga instanceof $f?new bf(this):new ef(this.ga.Cb(),this.ga.Ga(),this.ea.Ga())}G(a){super.start(a,this.Va?{op:oe[this.Va]}:{});this.ea.G(a);this.ga.G(a);a.end()}}Zf.prototype.O="slash"; -class ag extends Se{constructor(){super();this.l=dc.ce}Ga(){return new Ze(Ec)}}ag.prototype.O="root"; +class Yf extends Se{constructor(a,c){super();sa.assert(!c||c instanceof lc);this.axis=a;this.O="axis";c=c||qc;2===a&&c instanceof rc?c=Hc:3===a&&c instanceof rc&&(c=sc);this.g=c;9===a&&c instanceof rc?this.l=dc.de:c?this.l=new gc(c,7):this.l=dc.ce}Cb(){return this.axis}ac(){return[2,3,4,5,6,7,9,12].includes(this.axis)}Ga(){return new Ze(this.g)}G(a){Re(this,a,{name:Me(this.axis),nodeTest:this.l.ha()})}} +class Zf extends Te{constructor(a,c){super(a,2,c);this.ea=a=qf(a,dc.ce,this.Da(0,"XPTY0019"));this.l=Wc(c.l,a.l.fa)}ac(){return!0}Ga(){if(this.ga instanceof Cf||this.ga instanceof lf)throw new ve("Not an axis step for a pattern","XTSE0340");return this.Wa||!this.ga.Cb||this.ga instanceof $f?new bf(this):new ef(this.ga.Cb(),this.ga.Ga(),this.ea.Ga())}G(a){super.start(a,this.Va?{op:oe[this.Va]}:{});this.ea.G(a);this.ga.G(a);a.end()}}Zf.prototype.O="slash"; +class ag extends Se{constructor(){super();this.l=dc.de}Ga(){return new Ze(Ec)}}ag.prototype.O="root"; // Input 56 -const bg={ADI:"i",ADIL:"c",ADILI:"i",ADILIS:"i",ADILISB:"i",ADIN:"c",ADINN:"c",ADIP:"c",ADIPP:"c",ADIPL:"c",ADIPLI:"i",ADIPLIS:"i",ADIPLISB:"i",AD:"c",AO:"d",AF:"f",A:"a",AZ:"a",AT:"t",AA:"t",AM:"t",AMP:"t",AH:"t",AI:"t",AJ:"t",AG:"t",AK:"t",ARD:"u",ARY:"u",E:"a"};var cg={19:"%",18:"/",56:"~",15:"+",16:"-",299:"-",17:"*"};function dg(a,c){c=new xf(a,"AO",c.save());c.l=2===a.l.fa?dc.de:dc.Cg;return c} -class eg extends Te{constructor(a,c,q,E){function H(d){return d instanceof nc&&d.Vc.lb?new nc(La.yj(d.Vc)):d}function p(){throw new ve("Cannot evaluate "+k.toString()+" "+oe[c]+" "+v.toString(),"XPTY0004");}super(a,c,q);const g=E.te(),e=a.Wa||q.Wa;g&&(a=fg(a),q=fg(q));a=qf(a,dc.dc,this.Da(0));q=qf(q,dc.dc,this.Da(1));let k=H(a.l.U),v=H(q.l.U);var t=k.$().p,C=v.$().p;g||!/^AS/.test(t)&&!/^AS/.test(C)||p();"AZ"!==t||g||(a=dg(a,this.Da(0,"FORG0001")),k=Mc,t="AO");"AZ"!==C||g||(q=dg(q,this.Da(1,"FORG0001")), -v=Mc,C="AO");var m=bg[t];let f=bg[C];const A=k.isNumeric(),O=v.isNumeric();C=Sc;t=Xc(a.l.fa)||Xc(a.l.fa);m||="a";f||="a";var b;g?(m=f="d",C=Mc):A&&O&&("d"===m||"d"===f?(m=f="d",C=b=Mc):"f"===m||"f"===f?(m=f="f",C=b=Nc):"c"===m||"c"===f?(m=f="c",C=b=Pc):"i"===m&&"i"===f&&18===c?(m=f="c",C=Pc):"i"!==m||"i"!==f||15!==c&&16!==c&&17!==c&&19!==c?"i"===m&&"i"===f&&18===c&&(C=Pc):C=Qc);56===c&&(C=Qc);C.isNumeric()&&b&&(b=new gc(b,3),a=qf(a instanceof gg?a.g:a,b,this.Da(0)),q=qf(q instanceof gg?q.g:q,b,this.Da(1))); -[m,f].includes("a")&&(m=f="a");(k.pa("ARY")&&v.pa("AT")||v.pa("ARY")&&k.pa("AT"))&&p();"t"===m&&"t"===f&&(16===c?C=Rc:p());"u"===m&&"t"===f&&(15===c?C=v:p());"u"===m&&"u"===f&&(17===c&&p(),18===c?C=Pc:C=k);A&&"u"===f&&18===c&&p();"t"!==m||"u"!==f||16!==c&&15!==c?"i"===m&&"u"===f&&17===c?(m="n",C=v):"u"!==m||"d"!==f&&"i"!==f&&"c"!==f?"u"!==f||"d"!==m&&"i"!==m&&"c"!==m||(m="n",C=v):(C=k,f="n"):C=k;m=m+cg[c]+f;if(!E.te()&&"AF"!==C.$().p&&!E.Jc&&(E.ni?0===E.ni:1)&&kf(a)&&kf(q)&&(E=a.value[0],b=q.value[0], -18!==c||0!==b.toNumber()))return a=mb[m](E,b),mf([a],new gc(new nc(La.codes[a.code]),2));this.ea=a;this.ga=q;a.l.equals(q.l)&&(this.l=a.l);C&&(this.l=new gc(C,t?3:2));this.g=m;e&&(this.Wa=!0);g&&(this.O="arith10");this.l||(this.l=dc.Oe)}Ga(){throw new ve("The arithmetic expression "+oe[this.Va]+" is not a patternXTSE0340");}G(a){super.start(a,this.Va?{op:oe[this.Va],calc:this.g}:{});this.ea.G(a);this.ga.G(a);a.end()}}eg.prototype.O="arith"; +const bg={ADI:"i",ADIL:"c",ADILI:"i",ADILIS:"i",ADILISB:"i",ADIN:"c",ADINN:"c",ADIP:"c",ADIPP:"c",ADIPL:"c",ADIPLI:"i",ADIPLIS:"i",ADIPLISB:"i",AD:"c",AO:"d",AF:"f",A:"a",AZ:"a",AT:"t",AA:"t",AM:"t",AMP:"t",AH:"t",AI:"t",AJ:"t",AG:"t",AK:"t",ARD:"u",ARY:"u",E:"a"};var cg={19:"%",18:"/",56:"~",15:"+",16:"-",299:"-",17:"*"};function dg(a,c){c=new xf(a,"AO",c.save());c.l=2===a.l.fa?dc.ee:dc.Dg;return c} +class eg extends Te{constructor(a,c,n,F){function I(b){return b instanceof nc&&b.Wc.lb?new nc(La.yj(b.Wc)):b}function m(){throw new ve("Cannot evaluate "+k.toString()+" "+oe[c]+" "+v.toString(),"XPTY0004");}super(a,c,n);const g=F.te(),e=a.Wa||n.Wa;g&&(a=fg(a),n=fg(n));a=qf(a,dc.ec,this.Da(0));n=qf(n,dc.ec,this.Da(1));let k=I(a.l.U),v=I(n.l.U);var t=k.$().p,D=v.$().p;g||!/^AS/.test(t)&&!/^AS/.test(D)||m();"AZ"!==t||g||(a=dg(a,this.Da(0,"FORG0001")),k=Mc,t="AO");"AZ"!==D||g||(n=dg(n,this.Da(1,"FORG0001")), +v=Mc,D="AO");var l=bg[t];let f=bg[D];const B=k.isNumeric(),L=v.isNumeric();D=Sc;t=Xc(a.l.fa)||Xc(a.l.fa);l||="a";f||="a";var y;g?(l=f="d",D=Mc):B&&L&&("d"===l||"d"===f?(l=f="d",D=y=Mc):"f"===l||"f"===f?(l=f="f",D=y=Nc):"c"===l||"c"===f?(l=f="c",D=y=Pc):"i"===l&&"i"===f&&18===c?(l=f="c",D=Pc):"i"!==l||"i"!==f||15!==c&&16!==c&&17!==c&&19!==c?"i"===l&&"i"===f&&18===c&&(D=Pc):D=Qc);56===c&&(D=Qc);D.isNumeric()&&y&&(y=new gc(y,3),a=qf(a instanceof gg?a.g:a,y,this.Da(0)),n=qf(n instanceof gg?n.g:n,y,this.Da(1))); +[l,f].includes("a")&&(l=f="a");(k.pa("ARY")&&v.pa("AT")||v.pa("ARY")&&k.pa("AT"))&&m();"t"===l&&"t"===f&&(16===c?D=Rc:m());"u"===l&&"t"===f&&(15===c?D=v:m());"u"===l&&"u"===f&&(17===c&&m(),18===c?D=Pc:D=k);B&&"u"===f&&18===c&&m();"t"!==l||"u"!==f||16!==c&&15!==c?"i"===l&&"u"===f&&17===c?(l="n",D=v):"u"!==l||"d"!==f&&"i"!==f&&"c"!==f?"u"!==f||"d"!==l&&"i"!==l&&"c"!==l||(l="n",D=v):(D=k,f="n"):D=k;l=l+cg[c]+f;if(!F.te()&&"AF"!==D.$().p&&!F.Kc&&(F.ni?0===F.ni:1)&&kf(a)&&kf(n)&&(F=a.value[0],y=n.value[0], +18!==c||0!==y.toNumber()))return a=mb[l](F,y),mf([a],new gc(new nc(La.codes[a.code]),2));this.ea=a;this.ga=n;a.l.equals(n.l)&&(this.l=a.l);D&&(this.l=new gc(D,t?3:2));this.g=l;e&&(this.Wa=!0);g&&(this.O="arith10");this.l||(this.l=dc.Oe)}Ga(){throw new ve("The arithmetic expression "+oe[this.Va]+" is not a patternXTSE0340");}G(a){super.start(a,this.Va?{op:oe[this.Va],calc:this.g}:{});this.ea.G(a);this.ga.G(a);a.end()}}eg.prototype.O="arith"; // Input 57 -const hg={6:50,22:51,11:52,12:53,13:54,14:55};function ig(a,c){a=a.$().p;c.$();if("AZ"===a&&c.isNumeric())return!1;if("A"===a&&c.pa())return!0;""===a&&c.pa();return!0}function jg(a){return/^A[BAMT2XQ]/.test(a)}class kg extends Te{constructor(a,c,q,E){super(a,c,q);a=E.Ni();c="GAC";switch(a){case Hd.jg:c="CAC"}a.startsWith(Hd.Mj)&&(c="CAC");q.l===dc.Hg&&(c="EQC");this.Dd=c+"|"+a;this.l=dc.cb}G(a){super.start(a,{op:oe[this.Va],comp:this.Dd});this.ea.G(a);this.ga.G(a);a.end()}} +const hg={6:50,22:51,11:52,12:53,13:54,14:55};function ig(a,c){a=a.$().p;c.$();if("AZ"===a&&c.isNumeric())return!1;if("A"===a&&c.pa())return!0;""===a&&c.pa();return!0}function jg(a){return/^A[BAMT2XQ]/.test(a)}class kg extends Te{constructor(a,c,n,F){super(a,c,n);a=F.Ni();c="GAC";switch(a){case Hd.jg:c="CAC"}a.startsWith(Hd.Mj)&&(c="CAC");n.l===dc.Ig&&(c="EQC");this.Dd=c+"|"+a;this.l=dc.cb}G(a){super.start(a,{op:oe[this.Va],comp:this.Dd});this.ea.G(a);this.ga.G(a);a.end()}} class lg extends kg{G(a){super.start(a,{op:oe[this.Va],comp:this.Dd,card:"1:1"});this.ea.G(a);this.ga.G(a);a.end()}} -class mg extends lg{constructor(a,c,q,E){super(a,c,q,E);a=qf(a,dc.Ad,this.Da(0));q=qf(q,dc.Ad,this.Da(1));c=a.l.$();E=q.l.$();var H=c.p;var p=E.p;H===p||[H,p].includes("AZ")||[H,p].includes("A")?H=!0:(/^A[ODF]/.test(H)&&(H="AO"),/^A[ODF]/.test(p)&&(p="AO"),/^A[SU]/.test(H)&&(H="AS"),/^A[SU]/.test(p)&&(p="AS"),H="E"===H||"E"===p?!0:H===p);if(!H)if(H="Cannot compare items of types "+a.l.U.toString()+" and "+q.l.U.toString(),/[*?]/.test(c.o)||/[*?]/.test(E.o))sa.Ma(H+": the comparison can succeed only if one of the values is an empty sequence", -1,null);else throw new ve(H,"XPTY0004");this.ea=a;this.ga=q}}mg.prototype.O="gc";class ng extends lg{}ng.prototype.O="gc10"; -class og extends kg{constructor(a,c,q,E,H=!0){super(a,c,q,E);var p=a.l.U,g=q.l.U;const e=p.$().p,k=g.$().p;if(!("A"===e&&g.pa()||"A"===k&&p.pa()||""===e||""===k||p.$().p.startsWith("AM")&&g.$().p.startsWith("AM")||(jg(e)||jg(k)?e===k:ig(p,g)||ig(g,p))))throw new ve("Cannot compare "+a.l.toString()+" "+oe[c]+" "+q.l.toString(),"XPTY0004");a=qf(a,dc.dc,this.Da(0));q=qf(q,dc.dc,this.Da(1));if(51!==c&&50!==c&&/^A[QGHIJK]/.test(a.l.U.$().p))throw new ve("Cannot order-compare "+a.l.toString()+" "+oe[c]+ -" "+q.l.toString(),"XPTY0004");if(H){if(kf(q)&&La.XS.integer.matches(q.value[0])&&"ADI"===a.l.$().p)return new pg(a,c,q,E);if(q instanceof of)return new qg(a,c,q,E)}this.ea=a;this.ga=q}}og.prototype.O="vc";class rg extends og{constructor(a,c,q,E){super(a,c,q,E,!1)}G(a){super.start(a,{op:oe[this.Va],val:this.ga.value[0]});this.ea.G(a);a.end()}}class pg extends rg{}pg.prototype.O="compareToInt"; -class qg extends rg{G(a){super.start(a,{op:oe[this.Va],val:this.ga.value[0].toString(),comp:this.Dd});this.ea.G(a);a.end()}}qg.prototype.O="compareToString";class sg extends kg{constructor(a,c,q,E){super(a,c,q,E);a=qf(a,dc.ce,this.Da(0));q=qf(q,dc.ce,this.Da(0));this.ea=a;this.ga=q;this.O=38===c?"precedes":39===c?"follows":"is"}G(a){super.start(a);this.ea.G(a);this.ga.G(a);a.end()}}; +class mg extends lg{constructor(a,c,n,F){super(a,c,n,F);a=qf(a,dc.Ad,this.Da(0));n=qf(n,dc.Ad,this.Da(1));c=a.l.$();F=n.l.$();var I=c.p;var m=F.p;I===m||[I,m].includes("AZ")||[I,m].includes("A")?I=!0:(/^A[ODF]/.test(I)&&(I="AO"),/^A[ODF]/.test(m)&&(m="AO"),/^A[SU]/.test(I)&&(I="AS"),/^A[SU]/.test(m)&&(m="AS"),I="E"===I||"E"===m?!0:I===m);if(!I)if(I="Cannot compare items of types "+a.l.U.toString()+" and "+n.l.U.toString(),/[*?]/.test(c.o)||/[*?]/.test(F.o))sa.Ma(I+": the comparison can succeed only if one of the values is an empty sequence", +1,null);else throw new ve(I,"XPTY0004");this.ea=a;this.ga=n}}mg.prototype.O="gc";class ng extends lg{}ng.prototype.O="gc10"; +class og extends kg{constructor(a,c,n,F,I=!0){super(a,c,n,F);var m=a.l.U,g=n.l.U;const e=m.$().p,k=g.$().p;if(!("A"===e&&g.pa()||"A"===k&&m.pa()||""===e||""===k||m.$().p.startsWith("AM")&&g.$().p.startsWith("AM")||(jg(e)||jg(k)?e===k:ig(m,g)||ig(g,m))))throw new ve("Cannot compare "+a.l.toString()+" "+oe[c]+" "+n.l.toString(),"XPTY0004");a=qf(a,dc.ec,this.Da(0));n=qf(n,dc.ec,this.Da(1));if(51!==c&&50!==c&&/^A[QGHIJK]/.test(a.l.U.$().p))throw new ve("Cannot order-compare "+a.l.toString()+" "+oe[c]+ +" "+n.l.toString(),"XPTY0004");if(I){if(kf(n)&&La.XS.integer.matches(n.value[0])&&"ADI"===a.l.$().p)return new pg(a,c,n,F);if(n instanceof of)return new qg(a,c,n,F)}this.ea=a;this.ga=n}}og.prototype.O="vc";class rg extends og{constructor(a,c,n,F){super(a,c,n,F,!1)}G(a){super.start(a,{op:oe[this.Va],val:this.ga.value[0]});this.ea.G(a);a.end()}}class pg extends rg{}pg.prototype.O="compareToInt"; +class qg extends rg{G(a){super.start(a,{op:oe[this.Va],val:this.ga.value[0].toString(),comp:this.Dd});this.ea.G(a);a.end()}}qg.prototype.O="compareToString";class sg extends kg{constructor(a,c,n,F){super(a,c,n,F);a=qf(a,dc.de,this.Da(0));n=qf(n,dc.de,this.Da(0));this.ea=a;this.ga=n;this.O=38===c?"precedes":39===c?"follows":"is"}G(a){super.start(a);this.ea.G(a);this.ga.G(a);a.end()}}; // Input 58 function tg(a,c){return a instanceof Cf&&a.name.name.uri===Zb.Oa&&a.name.name.local===c}function ug(a,c){return a instanceof og&&a.Va===c&&tg(a.ea,"position")&&tg(a.ga,"last")} -class vg extends Se{constructor(a,c){super();if(c){let E=tg(c,"last")||ug(c,50);if(E)return new wg(a);E=E||ug(c,53);var q=c.Wa||c instanceof eg;const H=c.Kb;if(!q&&H&&c.l.equals(dc.Bd))return new xg(a,c);q||(q=c.l.U.$().p,q="AB"===q||q.startsWith("N")?!1:"A"===q||/^A[ODF]/.test(q));this.g=a;this.l=a.l;c instanceof yg?this.l=Vc(c.type,this.l.fa):c instanceof lf&&1===c.value.length&&uc.ia()(c.value[0])&&(this.l=Vc(this.l,3));q&&(this.Wa=!0);H&&(this.Kb=!0);this.j=E?new zg(50===c.Va?"1":"0"):c}}Cb(){return this.g.Cb()}$b(){return super.$b()|| -this.g.$b()}Ga(){if(!jd(this.l.U)){const a=Df("exists",this);return new Ye(a)}return this.Wa&&this.g instanceof Yf&&!(this.j instanceof zg)?new cf(this.g,this.j):this.Wa?new bf(this.Gd()):new $e(this.g.Ga(),this.j)}Gd(){if(this.g instanceof Ef)return this.j;this.g=this.g instanceof Yf?Ag(new Ef,this.g):this.g.Gd();return this}G(a){super.start(a);let c="";this.Kb&&(c+="i");this.Wa&&(c+="p");""!==c&&a.ud("flags",c);this.g.G(a);this.j.G(a);a.end()}}vg.prototype.O="filter"; +class vg extends Se{constructor(a,c){super();if(c){let F=tg(c,"last")||ug(c,50);if(F)return new wg(a);F=F||ug(c,53);var n=c.Wa||c instanceof eg;const I=c.Lb;if(!n&&I&&c.l.equals(dc.Bd))return new xg(a,c);n||(n=c.l.U.$().p,n="AB"===n||n.startsWith("N")?!1:"A"===n||/^A[ODF]/.test(n));this.g=a;this.l=a.l;c instanceof yg?this.l=Vc(c.type,this.l.fa):c instanceof lf&&1===c.value.length&&uc.ia()(c.value[0])&&(this.l=Vc(this.l,3));n&&(this.Wa=!0);I&&(this.Lb=!0);this.j=F?new zg(50===c.Va?"1":"0"):c}}Cb(){return this.g.Cb()}ac(){return super.ac()|| +this.g.ac()}Ga(){if(!jd(this.l.U)){const a=Df("exists",this);return new Ye(a)}return this.Wa&&this.g instanceof Yf&&!(this.j instanceof zg)?new cf(this.g,this.j):this.Wa?new bf(this.Gd()):new $e(this.g.Ga(),this.j)}Gd(){if(this.g instanceof Ef)return this.j;this.g=this.g instanceof Yf?Ag(new Ef,this.g):this.g.Gd();return this}G(a){super.start(a);let c="";this.Lb&&(c+="i");this.Wa&&(c+="p");""!==c&&a.ud("flags",c);this.g.G(a);this.j.G(a);a.end()}}vg.prototype.O="filter"; class xg extends vg{constructor(a,c){super(a,null);if(kf(c)&&La.XS.integer.matches(c.value[0])&&1===c.value[0].value)return new Bg(a);this.g=a;this.l=Vc(a.l,3);this.j=c;this.Wa=!0}Ga(){return this.g instanceof Ef?new Xe("Numeric predicates other than 1 in PredicatePatterns never match. Value provided:"+this.j.value.value):this.g instanceof Yf?new df(this.g.l,this.j.value[0].value):new bf(this.Gd())}}xg.prototype.O="subscript"; class Bg extends xg{constructor(a){super(a,null);this.g=a;this.Wa=!0;this.l=Vc(a.l,3)}Ga(){return jd(this.l.U)?this.g instanceof Yf?new bf(new Bg(Ag(new Ef,this.g))):new bf(this.Gd()):new Ye(this)}G(a){super.start(a);this.g.G(a);a.end()}}Bg.prototype.O="first"; class wg extends xg{constructor(a){super(a,null);this.g=a;this.Wa=!0;this.l=Vc(a.l,3)}Ga(){if(!(this.g instanceof Yf))return new bf(this.Gd());if(3===this.g.axis){var a=new Yf(7,this.g.g);return new $e(this.g.Ga(),Df("empty",[a]))}return new df(this.g.l,1)}G(a){super.start(a);this.g.G(a);a.end()}}wg.prototype.O="lastOf";class zg extends Se{constructor(a="1"){super();this.test=a;this.l=dc.cb}G(a){Re(this,a,{test:this.test})}}zg.prototype.O="isLast"; // Input 59 -function Cg(a,c){if(a instanceof ag&&c instanceof Yf&&9===c.Cb())return nf();if(a instanceof Zf&&a.ea instanceof ag&&5===a.ga.axis&&c instanceof Yf&&3===c.axis)return Cg(a.ea,new Yf(4,c.g));if(c instanceof Zf||c instanceof Dg&&c.g instanceof Zf){const q=Eg(c);Fg(q.ea)instanceof Yf&&Fg(q.ga)instanceof Yf&&(a=Ag(a,q.ea),c=q.ga)}a=new Zf(a,c);return Gg(a)?a:jd(a.ga.l.U)?(a.ea=Hg(a.ea),a.ga=Hg(a.ga),new Dg(a)):a} -function Gg(a){if(!Zc(a.ea.l.fa))return a.ga.$b();const c=Fg(a.ea);return c instanceof Yf&&3===c.axis&&(a=Fg(a.ga),a instanceof Dg&&(a=a.g),a instanceof Yf&&[3,2,4,5,8].includes(a.axis)||a instanceof Zf&&Gg(a))?!0:!1}function Eg(a){return a instanceof Dg?a.g:a}function Fg(a){return a instanceof vg?Fg(a.g):a instanceof Dg?Fg(a.g):a}var Ag=Cg;function Ig(a){return a.$b()?a:new Dg(a)}var Hg=Eg; +function Cg(a,c){if(a instanceof ag&&c instanceof Yf&&9===c.Cb())return nf();if(a instanceof Zf&&a.ea instanceof ag&&5===a.ga.axis&&c instanceof Yf&&3===c.axis)return Cg(a.ea,new Yf(4,c.g));if(c instanceof Zf||c instanceof Dg&&c.g instanceof Zf){const n=Eg(c);Fg(n.ea)instanceof Yf&&Fg(n.ga)instanceof Yf&&(a=Ag(a,n.ea),c=n.ga)}a=new Zf(a,c);return Gg(a)?a:jd(a.ga.l.U)?(a.ea=Hg(a.ea),a.ga=Hg(a.ga),new Dg(a)):a} +function Gg(a){if(!Zc(a.ea.l.fa))return a.ga.ac();const c=Fg(a.ea);return c instanceof Yf&&3===c.axis&&(a=Fg(a.ga),a instanceof Dg&&(a=a.g),a instanceof Yf&&[3,2,4,5,8].includes(a.axis)||a instanceof Zf&&Gg(a))?!0:!1}function Eg(a){return a instanceof Dg?a.g:a}function Fg(a){return a instanceof vg?Fg(a.g):a instanceof Dg?Fg(a.g):a}var Ag=Cg;function Ig(a){return a.ac()?a:new Dg(a)}var Hg=Eg; // Input 60 -function Jg(a,c,q,E,H={}){sa.assert(c);sa.assert(c instanceof gc);sa.assert(a.l);sa.assert(a.l instanceof gc);var p=c.$(),g=a,e;const k=c.U,v=c.fa,t=Zc(v);var C=null,m=-1;let f=7===v;f||(m=a.l.fa,f=(v|m)===v);p=""===p.p;1===v&&(p=!0);p||(C=a.l.U,m=a.l.fa,p=sd.Nb(k,C),p===sd.cc&&(p=C===oc?sd.nc:k===oc?sd.Rb:p),p=p===sd.yb||p===sd.Rb);if(p&&f)return g;if(H.Tb&&!t&&(Zc(m)&&(g=e=new Bg(g),m=3,f=(v|m)===v),!p)){if(k.pa("AS")){try{e=Jg(g,dc.Hf,q,E)}catch(A){throw A;}g=Df("string",e);C=Oc;m=2;g.l=dc.ec; -f=(v|m)===v;p=!0}if(kd(k)||k.pa("AO")){try{e=Jg(g,dc.Hf,q,E)}catch(A){throw A;}g=Df("number",e);C=Mc;m=2;g.l=dc.de;f=(v|m)===v;p=!0}}if(!p)if(k.pa()){if(!C.pa()&&1!==m){if(!C.$i)throw c=new F("An atomic value is required for the "+q.getMessage()+", but the supplied value (type "+C.toString()+") cannot be atomized","error()"===C.name?"FOER0000":"FOTY0013",a),c;C=!Zc(m);m=!Zc(v);C?(e=Xc(v),g=g instanceof Yf&&2===g.axis&&g.l.U instanceof nd?new wf(g.l):new vf(g,E,e)):g=g instanceof Yf&&2===g.axis&&g.l.U instanceof -nd?new wf(g.l):new uf(g,E);e=g;m&&!C&&(e=Kg(e,v,E));g=e;C=g.l.U;m=g.l.fa;f=(v|m)===v}C.pa("AZ")&&(kd(k)||!k.pa("AZ")&&"A"!==k.$().p)&&(g=e=Lg(g,k,E),p=!0,C=k);"A"!==C.ha()||["A","AZ"].includes(k.ha())||(g=e=Lg(g,k,E),C=g.l.U);k.pa()&&(k.pa("AO")&&sd.Nb(C,uc)!==sd.cc?(g=e=new yf(g,dc.de),C=Mc,m=-1):k.pa("AF")&&sd.Nb(C,uc)!==sd.cc&&!sd.fj(C,Mc)&&(g=e=new yf(g,dc.Gg),C=Nc,m=-1),k.pa("AS")&&C.pa("AU")&&(p=!0,g=e=new yf(g,dc.ec),C=Oc))}else k.Jd()&&"F"===k.$().p&&(C.Jd()||(g=new Mg(g,wc,E),C=wc),k instanceof -xc||(p=C.$(),("FM"===p.p||"FA"===p.p)&&1===k.j.length)||(g=new zf(g,kc(k),E)),p=!0);if(p&&f)return g;-1===m&&(m=g.l.fa,f||=(v|m)===v);if(f&&1===m)return g;if(1===m&&!Xc(v))throw c=new F("An empty sequence is not allowed as the "+q.getMessage(),q.Id()),c;p=p?sd.nc:sd.Nb(C,k);p===sd.cc&&(p=C===oc?sd.Rb:k===oc?sd.nc:p);1===v&&(p=sd.yb);if(p===sd.cc)if(Xc(m)&&Xc(v))1!==m&&(e=q.Vf(k,C),sa.Ma(e+". The expression can succeed only if the supplied value is an empty sequence.",1,null));else throw e=q.Vf(k, -C),c=new F(e,"error()"===C.name?"FOER0000":q.Id()),c;if(p!==sd.yb&&p!==sd.nc){if(g.bj){E=La.XS.string.fromString(g.getAttribute("val"));if(k.pa()&&c.matches(E))return g;e=q.Vf(k,C);c=new F(e,q.Id());throw c;}g=e=Ng(g,new gc(k,v),E);f=!0}if(!f){if(g.bj)throw c=new F("Required cardinality of "+q.getMessage()+" is "+Yc(v)+"; supplied value has cardinality "+Yc(m),q.Id()),c;g=e=Kg(g,v,E)}return g}function Lg(a,c,q){c=kd(c)?"AO":c.$().p;return new xf(a,c,q)}; +function Jg(a,c,n,F,I={}){sa.assert(c);sa.assert(c instanceof gc);sa.assert(a.l);sa.assert(a.l instanceof gc);var m=c.$(),g=a,e;const k=c.U,v=c.fa,t=Zc(v);var D=null,l=-1;let f=7===v;f||(l=a.l.fa,f=(v|l)===v);m=""===m.p;1===v&&(m=!0);m||(D=a.l.U,l=a.l.fa,m=sd.Ob(k,D),m===sd.dc&&(m=D===oc?sd.oc:k===oc?sd.Sb:m),m=m===sd.yb||m===sd.Sb);if(m&&f)return g;if(I.Ub&&!t&&(Zc(l)&&(g=e=new Bg(g),l=3,f=(v|l)===v),!m)){if(k.pa("AS")){try{e=Jg(g,dc.Hf,n,F)}catch(B){throw B;}g=Df("string",e);D=Oc;l=2;g.l=dc.fc; +f=(v|l)===v;m=!0}if(kd(k)||k.pa("AO")){try{e=Jg(g,dc.Hf,n,F)}catch(B){throw B;}g=Df("number",e);D=Mc;l=2;g.l=dc.ee;f=(v|l)===v;m=!0}}if(!m)if(k.pa()){if(!D.pa()&&1!==l){if(!D.$i)throw c=new G("An atomic value is required for the "+n.getMessage()+", but the supplied value (type "+D.toString()+") cannot be atomized","error()"===D.name?"FOER0000":"FOTY0013",a),c;D=!Zc(l);l=!Zc(v);D?(e=Xc(v),g=g instanceof Yf&&2===g.axis&&g.l.U instanceof nd?new wf(g.l):new vf(g,F,e)):g=g instanceof Yf&&2===g.axis&&g.l.U instanceof +nd?new wf(g.l):new uf(g,F);e=g;l&&!D&&(e=Kg(e,v,F));g=e;D=g.l.U;l=g.l.fa;f=(v|l)===v}D.pa("AZ")&&(kd(k)||!k.pa("AZ")&&"A"!==k.$().p)&&(g=e=Lg(g,k,F),m=!0,D=k);"A"!==D.ha()||["A","AZ"].includes(k.ha())||(g=e=Lg(g,k,F),D=g.l.U);k.pa()&&(k.pa("AO")&&sd.Ob(D,uc)!==sd.dc?(g=e=new yf(g,dc.ee),D=Mc,l=-1):k.pa("AF")&&sd.Ob(D,uc)!==sd.dc&&!sd.fj(D,Mc)&&(g=e=new yf(g,dc.Hg),D=Nc,l=-1),k.pa("AS")&&D.pa("AU")&&(m=!0,g=e=new yf(g,dc.fc),D=Oc))}else k.Jd()&&"F"===k.$().p&&(D.Jd()||(g=new Mg(g,wc,F),D=wc),k instanceof +xc||(m=D.$(),("FM"===m.p||"FA"===m.p)&&1===k.j.length)||(g=new zf(g,kc(k),F)),m=!0);if(m&&f)return g;-1===l&&(l=g.l.fa,f||=(v|l)===v);if(f&&1===l)return g;if(1===l&&!Xc(v))throw c=new G("An empty sequence is not allowed as the "+n.getMessage(),n.Id()),c;m=m?sd.oc:sd.Ob(D,k);m===sd.dc&&(m=D===oc?sd.Sb:k===oc?sd.oc:m);1===v&&(m=sd.yb);if(m===sd.dc)if(Xc(l)&&Xc(v))1!==l&&(e=n.Vf(k,D),sa.Ma(e+". The expression can succeed only if the supplied value is an empty sequence.",1,null));else throw e=n.Vf(k, +D),c=new G(e,"error()"===D.name?"FOER0000":n.Id()),c;if(m!==sd.yb&&m!==sd.oc){if(g.bj){F=La.XS.string.fromString(g.getAttribute("val"));if(k.pa()&&c.matches(F))return g;e=n.Vf(k,D);c=new G(e,n.Id());throw c;}g=e=Ng(g,new gc(k,v),F);f=!0}if(!f){if(g.bj)throw c=new G("Required cardinality of "+n.getMessage()+" is "+Yc(v)+"; supplied value has cardinality "+Yc(l),n.Id()),c;g=e=Kg(g,v,F)}return g}function Lg(a,c,n){c=kd(c)?"AO":c.$().p;return new xf(a,c,n)}; // Input 61 -function Df(a,c){a=new La.XS.QName.fromParts("fn",Zb.Oa,a);c=Array.isArray(c)?c:[c];a=new Bf(a,c.length);return new Cf(a,c,dc.Aa)}function qf(a,c,q){const E=Og(q.errorCode?q.errorCode:"XPTY0004",q.save());return Jg(a,c,E,q.save())}function fg(a){return Zc(a.l.fa)?new Bg(a):a} -class Pg extends Se{constructor(a){super();this.value=a;0===a.length?this.l=dc.Ie:this.l=new gc(sd.Md(a.map(q=>q.l.U)),7);let c=!0;a.forEach(q=>{c=c&&q instanceof lf});c&&(this.g=!0)}G(a){super.start(a);this.g&&a.ud("literal",!0);for(const c of this.value)c.G(a);a.end()}}Pg.prototype.O="sequence"; -class Mf extends Se{constructor(a){super();this.value=a;if(0===a.length)this.l=kc(Ac);else{const c=sd.Md(a.map(E=>E.l.U));let q=0;a.forEach(E=>q|=E.l.fa);this.l=kc(new ud(new gc(c,q)))}}G(a){super.start(a);for(const c of this.value)c.G(a);a.end()}}Mf.prototype.O="arrayBlock"; -class Qg extends Se{constructor(a,c){super();this.Va=a;this.O=oe[a];this.$a=c;this.action=this.Ob=void 0;this.slot=0;this.bc=this.value=null;this.l=dc.cb}gd(){return this.$a}G(a){super.start(a,{"var":this.$a.toEQName(),slot:this.slot});this.value.G(a);this.action.G(a);a.end()}} -class $f extends Te{constructor(a,c,q,E=!1){super(a,c,q);this.O=1===c?"union":oe[c];E=E?"XTSE0340":"XPTY0004";a=qf(a,dc.be,this.Da(0,E));q=qf(q,dc.be,this.Da(1,E));a=Ig(a);q=Ig(q);this.ea=a;this.ga=q;sa.assert(a.l);sa.assert(q.l);switch(c){case 24:this.l=a.l;break;case 23:c=a.l.fa&q.l.fa|3;this.l=new gc(sd.Ui([a,q].map(H=>H.l.U)),c);break;case 1:this.l=new gc(sd.Md([a,q].map(H=>H.l.U)),Dd(a.l.fa,q.l.fa))}}$b(){return!0}Cb(){return this.ea.Cb&&this.ga.Cb&&this.ea.Cb()===this.ga.Cb()?this.ea.Cb():-1}Ga(){if(1=== -this.Va)return new hf(this.ea.Ga(),this.ga.Ga(),this.l);const a=this.Cb();return 3===a||2===a||this.ea.Kb||this.ga.Kb?new ff(this.ea.Ga(),this.Va,this.ga.Ga(),this.l):new bf(this)}}class Ef extends Se{constructor(a=dc.mc){super();this.l=a}G(a){Re(this,a)}Ga(){return new We}}Ef.prototype.O="dot";function Rg(a){return""===a.l.$().p?new Sg(a):a}class Sg extends Ue{constructor(a){super(a);this.l=a.l}}Sg.prototype.O="homCheck";function Tg(a){return a.global?new Ug(a):new Vg(a)} -class Wg extends Se{constructor(){super();this.g=null;this.l=dc.Aa}}Wg.prototype.O="varRef";Wg.prototype.Kb=!0;class Vg extends Wg{constructor(a){super();this.g=a;this.l=a.bc||dc.Aa}gd(){return this.g.$a}G(a){Re(this,a,{name:this.g.$a.toEQName(),slot:this.g.slot})}}Vg.prototype.O="varRef";class Ug extends Wg{constructor(a){super();this.g=a;this.l=a.bc}gd(){return this.g.$a}Ga(){return new af(this)}G(a){Re(this,a,{name:this.g.$a.toEQName(),bSlot:"?"})}}Ug.prototype.O="gVarRef"; +function Df(a,c){a=new La.XS.QName.fromParts("fn",Zb.Oa,a);c=Array.isArray(c)?c:[c];a=new Bf(a,c.length);return new Cf(a,c,dc.Aa)}function qf(a,c,n){const F=Og(n.errorCode?n.errorCode:"XPTY0004",n.save());return Jg(a,c,F,n.save())}function fg(a){return Zc(a.l.fa)?new Bg(a):a} +class Pg extends Se{constructor(a){super();this.value=a;0===a.length?this.l=dc.Ie:this.l=new gc(sd.Md(a.map(n=>n.l.U)),7);let c=!0;a.forEach(n=>{c=c&&n instanceof lf});c&&(this.g=!0)}G(a){super.start(a);this.g&&a.ud("literal",!0);for(const c of this.value)c.G(a);a.end()}}Pg.prototype.O="sequence"; +class Mf extends Se{constructor(a){super();this.value=a;if(0===a.length)this.l=kc(Ac);else{const c=sd.Md(a.map(F=>F.l.U));let n=0;a.forEach(F=>n|=F.l.fa);this.l=kc(new ud(new gc(c,n)))}}G(a){super.start(a);for(const c of this.value)c.G(a);a.end()}}Mf.prototype.O="arrayBlock"; +class Qg extends Se{constructor(a,c){super();this.Va=a;this.O=oe[a];this.Za=c;this.action=this.Pb=void 0;this.slot=0;this.cc=this.value=null;this.l=dc.cb}hd(){return this.Za}G(a){super.start(a,{"var":this.Za.toEQName(),slot:this.slot});this.value.G(a);this.action.G(a);a.end()}} +class $f extends Te{constructor(a,c,n,F=!1){super(a,c,n);this.O=1===c?"union":oe[c];F=F?"XTSE0340":"XPTY0004";a=qf(a,dc.ce,this.Da(0,F));n=qf(n,dc.ce,this.Da(1,F));a=Ig(a);n=Ig(n);this.ea=a;this.ga=n;sa.assert(a.l);sa.assert(n.l);switch(c){case 24:this.l=a.l;break;case 23:c=a.l.fa&n.l.fa|3;this.l=new gc(sd.Ui([a,n].map(I=>I.l.U)),c);break;case 1:this.l=new gc(sd.Md([a,n].map(I=>I.l.U)),Dd(a.l.fa,n.l.fa))}}ac(){return!0}Cb(){return this.ea.Cb&&this.ga.Cb&&this.ea.Cb()===this.ga.Cb()?this.ea.Cb():-1}Ga(){if(1=== +this.Va)return new hf(this.ea.Ga(),this.ga.Ga(),this.l);const a=this.Cb();return 3===a||2===a||this.ea.Lb||this.ga.Lb?new ff(this.ea.Ga(),this.Va,this.ga.Ga(),this.l):new bf(this)}}class Ef extends Se{constructor(a=dc.nc){super();this.l=a}G(a){Re(this,a)}Ga(){return new We}}Ef.prototype.O="dot";function Rg(a){return""===a.l.$().p?new Sg(a):a}class Sg extends Ue{constructor(a){super(a);this.l=a.l}}Sg.prototype.O="homCheck";function Tg(a){return a.global?new Ug(a):new Vg(a)} +class Wg extends Se{constructor(){super();this.g=null;this.l=dc.Aa}}Wg.prototype.O="varRef";Wg.prototype.Lb=!0;class Vg extends Wg{constructor(a){super();this.g=a;this.l=a.cc||dc.Aa}hd(){return this.g.Za}G(a){Re(this,a,{name:this.g.Za.toEQName(),slot:this.g.slot})}}Vg.prototype.O="varRef";class Ug extends Wg{constructor(a){super();this.g=a;this.l=a.cc}hd(){return this.g.Za}Ga(){return new af(this)}G(a){Re(this,a,{name:this.g.Za.toEQName(),bSlot:"?"})}}Ug.prototype.O="gVarRef"; class Xg extends Te{constructor(a,c){super(a,213,c);this.ea=a=qf(a,dc.Df,this.Da(0));a.l&&a.l.U&&a.l.U.resultType&&(this.l=a.l.U.resultType)}}Xg.prototype.O="lookup";class Yg extends Se{constructor(a){super();this.ea=a=qf(a,dc.Df,this.Da(0))}G(a){super.start(a);this.ea.G(a);a.end()}}Yg.prototype.O="lookupAll";class Zg extends Se{constructor(){super();this.l=dc.Aa}}Zg.prototype.O="currentGroup";class $g extends Se{constructor(){super();this.l=dc.Ad}}$g.prototype.O="currentGroupingKey"; -class Dg extends Ue{constructor(a){super(a);this.l=a.l}$b(){return!0}Ga(){return this.g.Ga()}}Dg.prototype.O="docOrder";class ah extends Ue{constructor(a){super(a);this.l=a.l}G(a){super.start(a,{flags:this.flags});this.g.G(a);a.end()}}ah.prototype.O="copyOf";ah.prototype.flags="cm";class yg extends Se{constructor(a,c){super();sa.assert(c instanceof gc);this.ea=a;this.type=c;this.l=dc.cb}G(a){super.start(a,{of:this.type.ha()});this.ea.G(a);a.end()}}yg.prototype.O="instance"; -function Ng(a,c,q=null){q||(q=new Qe(2,"treat as",0),q.errorCode="XPDY0050",q=q.save());return new Mg(Kg(a,c.fa,q),c.U,q)}class gg extends Ue{constructor(a,c,q){super(a);this.l=new gc(a.l.U,c);this.j=c;this.B=q}G(a){super.start(a,{card:2===this.j?"1":Yc(this.j),diag:this.B});this.g.G(a);a.end()}}gg.prototype.O="check";function Kg(a,c,q){return 7===c?a:a instanceof lf&&(c|2)===c?a:new gg(a,c,q)} -class Mg extends Ue{constructor(a,c,q){super(a);this.l=a.l;this.B=c;this.j=q}G(a){super.start(a,{as:this.B.ha(),diag:this.j});this.g.G(a);a.end()}}Mg.prototype.O="treat"; +class Dg extends Ue{constructor(a){super(a);this.l=a.l}ac(){return!0}Ga(){return this.g.Ga()}}Dg.prototype.O="docOrder";class ah extends Ue{constructor(a){super(a);this.l=a.l}G(a){super.start(a,{flags:this.flags});this.g.G(a);a.end()}}ah.prototype.O="copyOf";ah.prototype.flags="cm";class yg extends Se{constructor(a,c){super();sa.assert(c instanceof gc);this.ea=a;this.type=c;this.l=dc.cb}G(a){super.start(a,{of:this.type.ha()});this.ea.G(a);a.end()}}yg.prototype.O="instance"; +function Ng(a,c,n=null){n||(n=new Qe(2,"treat as",0),n.errorCode="XPDY0050",n=n.save());return new Mg(Kg(a,c.fa,n),c.U,n)}class gg extends Ue{constructor(a,c,n){super(a);this.l=new gc(a.l.U,c);this.j=c;this.B=n}G(a){super.start(a,{card:2===this.j?"1":Yc(this.j),diag:this.B});this.g.G(a);a.end()}}gg.prototype.O="check";function Kg(a,c,n){return 7===c?a:a instanceof lf&&(c|2)===c?a:new gg(a,c,n)} +class Mg extends Ue{constructor(a,c,n){super(a);this.l=a.l;this.B=c;this.j=n}G(a){super.start(a,{as:this.B.ha(),diag:this.j});this.g.G(a);a.end()}}Mg.prototype.O="treat"; // Input 62 -function bh(a,c,q){a=[a,mf([La.XS.boolean.Xc],dc.cb)];return new ch(a,[c,q])}class ch extends Se{constructor(a,c){super();this.g=a;this.actions=c;this.Wa=c.some(q=>q.Wa);a=sd.Md(c.map(q=>q.l.U));c=Cd(c.map(q=>q.l.fa));this.l=new gc(a,c)}G(a){super.start(a);let c=0;for(const q of this.g)q.G(a),this.actions[c++].G(a);a.end()}}ch.prototype.O="choose"; +function bh(a,c,n){a=[a,mf([La.XS.boolean.Yc],dc.cb)];return new ch(a,[c,n])}class ch extends Se{constructor(a,c){super();this.g=a;this.actions=c;this.Wa=c.some(n=>n.Wa);a=sd.Md(c.map(n=>n.l.U));c=Cd(c.map(n=>n.l.fa));this.l=new gc(a,c)}G(a){super.start(a);let c=0;for(const n of this.g)n.G(a),this.actions[c++].G(a);a.end()}}ch.prototype.O="choose"; // Input 63 -class dh extends Se{constructor(){super();this.action=this.value=this.bc=this.$a=null;this.slot=0}gd(){return this.$a}g(a){this.action=a;this.l=a.l}j(a){this.value=a;this.bc=a.l}G(a){super.start(a,{name:this.$a.toEQName(),slot:this.slot});this.value.G(a);this.action.G(a);a.end()}}class eh extends dh{j(a){this.value=a;this.bc=Vc(a.l,2);this.action&&(this.l=Wc(this.action.l,a.l.fa))}g(a){this.action=a;this.value&&(this.l=Wc(a.l,this.value.l.fa))}}eh.prototype.O="for";class fh extends dh{} +class dh extends Se{constructor(){super();this.action=this.value=this.cc=this.Za=null;this.slot=0}hd(){return this.Za}g(a){this.action=a;this.l=a.l}j(a){this.value=a;this.cc=a.l}G(a){super.start(a,{name:this.Za.toEQName(),slot:this.slot});this.value.G(a);this.action.G(a);a.end()}}class eh extends dh{j(a){this.value=a;this.cc=Vc(a.l,2);this.action&&(this.l=Wc(this.action.l,a.l.fa))}g(a){this.action=a;this.value&&(this.l=Wc(a.l,this.value.l.fa))}}eh.prototype.O="for";class fh extends dh{} fh.prototype.O="let"; // Input 64 class gh extends Te{constructor(a,c){super(a,null,c);this.l=dc.cb}}class hh extends gh{}hh.prototype.O="and";class ih extends gh{}ih.prototype.O="or"; // Input 65 -function jh(a){return kf(a)&&La.XS.integer.matches(a.value[0])&&1E7>a.value[0].value}class kh extends Te{constructor(a,c,q=!1){super(a,null,c);q&&(a=fg(a),c=fg(c));this.ea=qf(a,dc.Gf,this.Da(0));this.ga=qf(c,dc.Gf,this.Da(1));this.l=dc.Ke}}kh.prototype.O="to";class lh extends Se{constructor(a,c){super();this.g=a;this.j=c;this.l=dc.Ke}G(a){Re(this,a,{from:this.g.value,to:this.j.value})}}lh.prototype.O="range"; +function jh(a){return kf(a)&&La.XS.integer.matches(a.value[0])&&1E7>a.value[0].value}class kh extends Te{constructor(a,c,n=!1){super(a,null,c);n&&(a=fg(a),c=fg(c));this.ea=qf(a,dc.Gf,this.Da(0));this.ga=qf(c,dc.Gf,this.Da(1));this.l=dc.Ke}}kh.prototype.O="to";class lh extends Se{constructor(a,c){super();this.g=a;this.j=c;this.l=dc.Ke}G(a){Re(this,a,{from:this.g.value,to:this.j.value})}}lh.prototype.O="range"; class mh extends Se{constructor(a,c){super();this.g=a;this.next=c;this.l=Wc(c.l,a.l.fa)}G(a){super.start(a);this.g.G(a);this.next.G(a);a.end()}}mh.prototype.O="forEach"; // Input 66 // Input 67 -var nh={array:"http://www.w3.org/2005/xpath-functions/array",fn:"http://www.w3.org/2005/xpath-functions",map:"http://www.w3.org/2005/xpath-functions/map",math:"http://www.w3.org/2005/xpath-functions/math",saxon:"http://saxon.sf.net/",xml:"http://www.w3.org/XML/1998/namespace",xs:"http://www.w3.org/2001/XMLSchema",xsl:"http://www.w3.org/1999/XSL/Transform"},oh={},ph;for(ph in nh)oh[nh[ph]]=ph; +var nh={array:"http://www.w3.org/2005/xpath-functions/array",fn:"http://www.w3.org/2005/xpath-functions",ixsl:"http://saxonica.com/ns/interactiveXSLT",map:"http://www.w3.org/2005/xpath-functions/map",math:"http://www.w3.org/2005/xpath-functions/math",saxon:"http://saxon.sf.net/",xml:"http://www.w3.org/XML/1998/namespace",xs:"http://www.w3.org/2001/XMLSchema",xsl:"http://www.w3.org/1999/XSL/Transform"},oh={},ph;for(ph in nh)oh[nh[ph]]=ph; // Input 68 -function qh(a,c){var q=new Bf(a.name,a.arity),E=dc.Aa;switch(a.uri){case Zb.map:E=dc.Jf;switch(a.name.local){case "get":E=c[0].l.valueType;break;case "merge":E=dc.Jf;break;case "entry":E=kc(new td(c[0].l,c[1].l))}return new Gf(q,c,E);case Zb.Ue:switch(a.name.local){case "_from-sequence":E=kc(new ud(c[0].l))}return new Hf(q,c,E);case Zb.wb:switch(a.name.local){case "apply":a=c[0].l,a=a.U?a.U:a,E=a.resultType?a.resultType:dc.Aa}return new Jf(q,c,E)}} -class rh extends Se{constructor(a,c,q){var E=dc.Aa;super();this.name=La.XS.QName.fromParts(oh[q],q,a);this.arity=c;this.uri=q;this.l=dc.Qe;this.resultType=E}}rh.prototype.O="function";class sh{}sh.prototype.uri=Zb.Oa;class th extends sh{constructor(){super()}}th.prototype.uri=Zb.map;var uh=new th;class vh extends sh{constructor(){super()}}vh.prototype.uri=Zb.Ue;var wh=new vh;class xh extends sh{constructor(){super()}}xh.prototype.uri=Zb.wb;class yh extends xh{}var zh=new yh; +function qh(a,c){var n=new Bf(a.name,a.arity),F=dc.Aa;switch(a.uri){case Zb.map:F=dc.Jf;switch(a.name.local){case "get":F=c[0].l.valueType;break;case "merge":F=dc.Jf;break;case "entry":F=kc(new td(c[0].l,c[1].l))}return new Gf(n,c,F);case Zb.Ue:switch(a.name.local){case "_from-sequence":F=kc(new ud(c[0].l))}return new Hf(n,c,F);case Zb.wb:switch(a.name.local){case "apply":a=c[0].l,a=a.U?a.U:a,F=a.resultType?a.resultType:dc.Aa}return new Jf(n,c,F)}} +class rh extends Se{constructor(a,c,n){var F=dc.Aa;super();this.name=La.XS.QName.fromParts(oh[n],n,a);this.arity=c;this.uri=n;this.l=dc.Qe;this.resultType=F}}rh.prototype.O="function";class sh{}sh.prototype.uri=Zb.Oa;class th extends sh{constructor(){super()}}th.prototype.uri=Zb.map;var uh=new th;class vh extends sh{constructor(){super()}}vh.prototype.uri=Zb.Ue;var wh=new vh;class xh extends sh{constructor(){super()}}xh.prototype.uri=Zb.wb;class yh extends xh{}var zh=new yh; // Input 69 -const Ah={FUNCTION:0,Tj:1,Ak:2,Gk:3,gk:4,ak:5,nk:6,zk:7,rk:8,Dk:9,Ek:10,fk:11,EVALUATE_RESULT:12,Vj:13,Rj:14,mk:15,Uj:16,Wj:17},Bh=["doc","id","element-with-id","key","root"];function Ch(a,c,q,E){return Ah[a]+"|"+c+"|"+q+"|"+E}function Dh(a,c,q,E){return{getMessage:function(){return c},Vf:E,Id:function(){return a},save:function(){return q}}}function Og(a,c){const q=cd.Ej(c).required;return Dh(a,q,c,function(E,H){return"Required type of "+q+" is "+E.toString()+": actual type is "+H.toString()})} -class Vf{constructor(a,c){var q=null;this.name=a;this.arity=a.arity;if(c){this.xb=c;q=c.alphaTree;const E=[];let H;c.variadic&&(H=ic(q.a[0]));for(c=0;c""){return La.XS.QName.fromString(J,ba=>""===ba?ka():X(ba))}function E(){const J=oe[u.J];return 201===u.J?'name "'+u.T+'"':-1===u.J?"(unknown token)":u.T&&u.T!==oe[u.J]?`${J} ("${u.T}")`:/^[a-z]+$/.test(J)?`"${J}"`:J}function H(J,X="XPST0003"){Ge(u);throw new ve(J,X);}function p(J){const X=Ge(u);console.log((J.startsWith("...")? -"near":"in")+" "+X+":\n "+J)}function g(){try{u.next()}catch(J){H(J.message)}}function e(J){u.J!==J&&H('expected "'+oe[J]+'", found '+E())}function k(J=!1){J=v(J);let X=null;for(;7===u.J;){null==X&&(X=[],X.push(J));g();const ka=v();X.push(ka)}null!=X&&(J=new Pg(X));return J}function v(J=!1){switch(u.J){case 0:if(J)return nf();H("Expected an expression, but reached the end of the input");break;case 211:case 216:J=0;var X=u.J,ka=null,ba=null;do{g();e(21);g();e(201);var ta=u.T,Ca=void 0;211===X?Ca= -new eh:Ca=new fh;J++;ta=va(ta,"");Ca.$a=ta;g();e(216===X?58:31);g();ia.push(null);Ca.j(v());ia.pop();da(Ca);null==ba?ka=Ca:ba.g(Ca);ba=Ca}while(7===u.J);e(25);g();ba.g(v());for(Ca=0;Ca=X;){const Qa=u.J;var ka=t();switch(Qa){case 45:case 47:g();var ba=B();a:switch(Qa){case 45:J=new yg(J,ba);break a;case 47:J=Ng(J,ba);break a;default:throw new we(oe[Qa]);}t()>=ka&&H("Left operand of '"+oe[u.J]+"' needs parentheses");break;case 46:case 57:g();var ta=void 0;if(69===u.J&&"union"===u.T)throw new F("Saxon union types not supported");e(201);if(u.T)a:{try{var Ca=q(u.T,P.vb, -P.hc);break a}catch(Xa){H(Xa.message,Xa.code)}Ca=void 0}else Ca=H("Parser tokenization error NAME");ba=Ca;ba.uri!==Zb.lc&&H("Unknown simple type "+u.T+" in cast (SaxonJS is not schema-aware)");g();var Ka=213===u.J;Ka&&(u.J=204,g());const ib={numeric:"u",ENTITIES:"l",NMTOKENS:"l",IDREFS:"l"}[ba.local]||"a";if("a"===ib){["anyType","anyAtomicType","NOTATION"].includes(ba.local)&&H("Casting to xs:"+ba.local+" is not possible (it's an abstract type)","XPST0080");ta=La.type[ba.local];if(!ta)throw new F("Cannot find type "+ -ba.toEQName());ta=new nc(ta)}J=(57===Qa?sf:pf)(J,ib,ba,ta,Ka);t()>=ka&&H("Left operand of '"+oe[u.J]+"' needs parentheses");break;case 76:J=L(J);break;default:Ka=40===Qa;g();Ka&&ua.push(Vc(J.l,2));ba=A();for(Ka&&ua.pop();t()>ka;)ba=m(ba,t());if(!(ka=t()!==ka))a:switch(u.J){case 50:case 51:case 55:case 53:case 54:case 52:case 6:case 22:case 14:case 12:case 13:case 11:case 20:case 38:case 39:case 29:ka=!1;break a;default:ka=!0}ka||H("Left operand of '"+oe[u.J]+"' needs parentheses");J=f(J,Qa,ba)}}return J} -function f(J,X,ka){switch(X){case 9:return new ih(J,ka);case 10:return new hh(J,ka);case 50:case 51:case 55:case 53:case 54:case 52:return new og(J,X,ka,P);case 6:case 22:case 14:case 12:case 13:case 11:if(P.te())X=new ng(J,X,ka,P);else{var ba=P;ka=new mg(J,X,ka,ba);if(J=2===ka.ea.l.fa&&2===ka.ga.l.fa&&hg[X]){J=ka.ea.l.U;var ta=ka.ga.l.U;const Ca=J.$().p,Ka=ta.$().p;J=jg(Ca)||jg(Ka)?Ca===Ka:J.isNumeric()&&ta.isNumeric()?!0:/^A[SZU]/.test(Ca)&&/^A[SZU]/.test(Ka)}X=J?new og(ka.ea,hg[X],ka.ga,ba):ka}return X; -case 20:case 38:case 39:return new sg(J,X,ka,P);case 29:return ba=new kh(J,ka,P.te()),jh(ba.ea)&&jh(ba.ga)?(X=ba.ea.value[0],ba=ba.ga.value[0],X=X.value>ba.value?nf():X.value===ba.value?new lf([X],dc.Ke):new lh(X,ba)):X=ba,X;case 30:X=[];if(J instanceof Cf&&"concat"===J.name.name.local&&J.name.name.uri===Zb.Oa)for(ba of J.g)X.push(ba);else ba=Ch("BINARY_OP",0,"","concat"),ta=Og("FOTY0013",ba),J=Jg(J,dc.dc,ta,ba,P),X.push(J);ba=Ch("BINARY_OP",1,"","concat");ta=Og("FOTY0013",ba);ka=Jg(ka,dc.dc,ta,ba, -P);X.push(ka);X=Df("concat",X);X.l=dc.ec;return X;case 15:case 16:case 17:case 18:case 56:case 19:return new eg(J,X,ka,P);case 79:return X=ka,ka=La.XS.QName.fromParts("vv",Zb.yg,"otherwise"),ba=new fh,ba.$a=ka,ba.j(J),da(ba),ka=Tg(ba),J=[Df("exists",[ka]),mf([La.XS.boolean.Xc],dc.cb)],ba.g(new ch(J,[ka,X])),ba;case 1:case 23:case 24:return new $f(J,X,ka,1===Ba);case 81:return ka=Df("boolean",ka),bh(J,mf([La.XS.boolean.Xc],dc.cb),ka);case 80:return ka=Df("boolean",ka),bh(J,ka,mf([La.XS.boolean.ae], -dc.cb));default:throw new we(oe[X]);}}function A(){switch(u.J){case 16:g();var J=A();J=O(299,J);break;case 15:g();J=A();J=O(15,J);break;default:for(J=d();40===u.J;){g();ua.push(Vc(J.l,2));const X=d();ua.pop();J=new mh(J,X)}}return J}function O(J,X){if(kf(X)){const ka=X.value[0];return 299===J?mf([ka.nf()],X.l):X}return new eg(mf([La.XS.integer.fromNumber(0)],dc.Bd),J,X,P)}function b(){switch(u.J){case 36:case 3:case 201:case 208:case 70:case 207:case 69:case 205:case 206:case 35:case 202:case 209:case 5:case 21:case 43:return!0; -case 60:return["ordered","unordered"].includes(u.T);default:return!1}}function d(){var J=u.je;switch(u.J){case 2:return g(),J=new ag,b()?l(J):J;case 8:g();J=new ag;var X=new Yf(5,null);J=Ag(J,X);return l(J);default:201===u.J&&["true","false"].includes(u.T)&&p("The expression is looking for a child element named '"+u.T+"' - perhaps "+u.T+"() was intended? To avoid this warning, use child::"+u.T+" or ./"+u.T+".");201===u.J&&-1!==Ce(u.T)&&1!==Ba&&(0'");return null}function aa(J){function X(ba){return ba instanceof -Ef||ba instanceof vg&&X(ba.g)}switch(u.J){case 21:return R();case 5:var ka=z();J&&X(ka)&&H("Predicate pattern cannot be parenthesized","XTSE0340");return ka;case 4:return K();case 202:return I(!0);case 209:return D(!0);case 35:return ka=u.T,0===Pa&&1===Ba&&(P.ng=!0,J?Bh.includes(ka)||ka.includes(":")||H("Function "+ka+"() is not permitted at first position in pattern","XTSE0340"):H("Function call not at first position in pattern","XTSE0340")),ka=ha(null),P.ng=!1,ka;case 213:return ca(new Ef);case 205:return g(), -new Ef(ua[ua.length-1]);case 206:return g(),new Yf(9,null);case 69:if("function"===u.T)return ja();case 201:case 208:case 70:case 207:return ka=3,69===u.J&&["attribute","schema-attribute"].includes(u.T)?ka=2:69===u.J&&"namespace-node"===u.T?ka=8:J&&69===u.J&&"document-node"===u.T&&(ka=12),J=V(1),new Yf(ka,J);case 3:g();switch(u.J){case 201:case 208:case 70:case 207:case 69:return ka=V(2),new Yf(2,ka);default:H("@ must be followed by a NodeTest")}break;case 36:try{ka=Pe(u.T)}catch(ba){H(ba.message), -ka=3}J=Ne[ka];g();switch(u.J){case 201:case 208:case 70:case 207:case 69:J=V(J);let ba=null;if(2===ka){const ta=sd.Nb(J,new Fc(2));ta===sd.cc?ba="attribute axis can never yield nodes of type "+J:ta===sd.Rb&&(J=new Fc(2))}3===ka&&9===J.kind&&(ba=J.name+" nodes can never be children");2!==J.kind||[2,12].includes(ka)||(ba="axis "+Me(ka)+" can never yield attribute nodes");if(ba){if(1===Ba)return new Xe(ba);p(ba);return nf()}return new Yf(ka,J);default:H("Unexpected token "+E()+" after axis name")}break; -case 60:switch(u.T){case "map":return x();case "array":return U();case ".":return Y();case "_":H("Underscore functions not yet implemented")}break;case 43:return S();default:H("Unexpected token "+E()+" at start of expression")}}function z(){g();if(204===u.J)return g(),nf();const J=k();e(204);g();return J}function D(){const J=u.T?y(u.T):H("Parser tokenization error NUMBER");isNaN(J)&&H("Invalid numeric literal ("+u.T+")");g();return mf([J],"AO"===J.code?dc.de:"AD"===J.code?dc.Fg:dc.Bd)}function y(J){try{return 0<= -J.indexOf("e")||0<=J.indexOf("E")?La.XS.double.fromString(J):0<=J.indexOf(".")?La.XS.mb.fromString(J):La.XS.integer.fromString(J)}catch(X){return NaN}}function I(){var J=new of(u.T);g();return J}function R(){g();e(201);var J=u.T;g();const X=va(J,"");J=fa(X);if(null!=J)var ka=Tg(J);else if(X.uri===Zb.zi&&0""));if(7===u.J){g();e(201);ta=!1;const Ka=q(u.T,P.vb,P.hc);Ka.uri===Zb.lc?1===ba?["untyped","anyType"].includes(Ka.local)||(["untypedAtomic","anyAtomicType"].includes(Ka.local)?ta=!0:H("Unsupported type annotation "+u.T+" (SaxonJS is not schema-aware, so all nodes are untyped)")):["untypedAtomic", -"anyAtomicType"].includes(Ka.local)||H("Unsupported type annotation "+u.T+" (SaxonJS is not schema-aware, so all nodes are untyped)"):H("Unsupported type annotation "+u.T+" (SaxonJS is not schema-aware, so only built-in types are recognized)");g();213===u.J&&g();e(204);g();if(ta)return Cc;if("*"===Ca)return ld(ba);Ca=q(Ca,P.vb,1===ba?P.hc:()=>"");return new nd(ba,Ca)}H("Expected ')' or ',' in SequenceType");return null;case "schema-attribute":case "schema-element":return H("Type "+X+"() not allowed: SaxonJS is not schema-aware"), -null;default:return H("Unknown node kind "+X),null}}function x(){var J=[];g();var X=[];let ka=!0;if(215!==u.J)for(;;){var ba=v();e(75);g();const ta=v(),Ca=Ch("FUNCTION",0,"","map:entry"),Ka=Og("XPTY0004",Ca);ba=Jg(ba,dc.Oe,Ka,Ca,P);!ka||ba instanceof lf?-1===X.indexOf(ba)?X.push(ba):ka=!1:ka=!1;ba=new Wf(ba,ta);J.push(ba);if(215===u.J)break;else e(7),g()}ze(u);g();if(0===J.length)return qh(new rh("_new",1,uh.uri),[]);if(1===J.length)return J[0];if(ka){const ta=[];J.forEach(Ca=>{ta.push([Ca.key,Ca.value])}); -return new Xf(ta)}J=new Pg(J);X=[];X=new Xf([[new of("duplicates"),new of("reject")],[new of("duplicates-error-code"),new of("XQDY0137")]]);return qh(new rh("merge",2,uh.uri),[J,X])}function K(){const J=[];g();if(203===u.J)return g(),new Mf(J);for(;;){const X=v();J.push(X);if(7===u.J)g();else{if(203===u.J){g();break}H("Expected ',' or ']', found "+oe[u.J])}}return new Mf(J)}function U(){g();const J=new rh("_from-sequence",1,wh.uri);if(215===u.J)return ze(u),g(),qh(J,[nf()]);const X=k();e(215);ze(u); -g();return qh(J,[X])}function ha(J){function X(){if(209===u.J)return D(!0);if(202===u.J)return I(u.T);if(21===u.J)return R();H("The arguments to a function call in a pattern must be literals or variable references","XTSE0340")}var ka=u.T,ba=u.je;const ta=[];null!=J&&ta.push(J);J=w(ka);ka=null;1===Ba&&J.uri===Zb.Oa&&["current-group","current-grouping-key","current-merge-group","current-merge-key"].includes(J.local)&&H(J.local+"() is not permitted in a pattern","XTSE1060");g();if(204!==u.J){for(;;){var Ca= -P.ng?X():Z();if(null==Ca||Ca instanceof Qf)null==ka&&(ka=[]),ka.push(ta.length);ta.push(Ca);if(7===u.J)g();else break}e(204)}g();Ca=new Bf(J,ta.length);if(null!=ka)return ba=P.ef().fg(Ca,P),null==ba&&H("No function "+J.toString()+"#"+ta.length+" is known for partial application","XPST0017"),new Uf(ba,ta,ka);ka=[];Ca=P.ef().bind(Ca,ta,P,ka);return null==Ca?T(P,ba,J,ta,ka):Ca}function T(J,X,ka,ba,ta){let Ca="Cannot find a "+ba.length+"-argument function named "+ka.toEQName()+"()";for(var Ka of ta)Ca+= -". "+Ka;ta=!1;for(Ka=0;KaJ.value||J.value>Number.MAX_SAFE_INTEGER)&&H("Number following '#' is out of range","FOAR0002");J=J.value;g();let ta=null;try{ta=q(X,ba.vb,ba.ph)}catch(Ka){H(Ka.message,Ka.code)}X=ba.ef();const Ca=new Bf(ta,J);ba=X.fg(Ca,ba);null==ba&&H("Function "+ta.toEQName()+"#"+J+" not found","XPST0017",ka);return ba.xb.wh&&!ta.hasURI(re.ci)?new Pf(ba):new Of(ba)}function da(J){J.slot=ia.length;ia.push(J)}function fa(J){for(let X=ia.length-1;0<=X;X--){const ka=ia[X];if(ka&& -ka.gd().equals(J))return ka}}function na(J,X){return q(J,P.vb,()=>X)}function va(J,X){try{return na(J,X)}catch(ka){H(ka.message,ka.code)}}function h(J,X){if(X.startsWith("Q{"))return new pd(J,X.substring(2,X.length-2));try{const ka=q(X+":dummy",P.vb,()=>"");return new pd(J,ka.getURI())}catch(ka){return H(ka.message,ka.code),null}}function G(J,X){te(X)||H("Local name ["+X+"] contains invalid characters");return new od(J,X)}function Q(J,X,ka,ba=!1){this.global=ba;this.$a=this.name=J;this.bc=X;this.slot= -ka}let u,N,P={},ia=[],ua=[],Ba=0,Fa=0,Pa=0;const Ua=[],Na={fg:function(J,X){X=X.getContext();return(X=Eh.getFnSignature(J.name,J.arity,X))?new Vf(J,X):null},bind:function(J,X,ka){var ba=ka.getContext(),ta=Eh.getFnSignature(J.name,J.arity,ba);if(ta){if(J.name.uri===Zb.Oa)switch(J.name.local){case "false":return mf([La.XS.boolean.ae],dc.cb);case "true":return mf([La.XS.boolean.Xc],dc.cb);case "normalize-unicode":1===X.length&&X.push(new of("NFC"));break;case "copy-of":return new ah(X[0]?X[0]:new Ef(ua[ua.length- -1]));case "current-group":return new Zg;case "current-grouping-key":return new $g;default:ta.defaultToDot&&0===J.arity&&ta.arity.includes(0)&&(X.push(new Ef(ua[ua.length-1])),J.arity++)}else if(ta.isIdempotent&&1===X.length)return X[0];ba=[];var Ca;const Qa=ta.alphaTree;Qa&&"F"===Qa.p&&!Qa.r&&(Qa.r={p:"",o:"*"});Qa&&"F"===Qa.p&&Qa.a&&Qa.r||sa.la("Bad function signature for "+J.name.local);ta.variadic&&(Ca=Qa.a[0]);const ib=ta.collation||-1;for(let Xa=0;XaX.length-1&&ba.push(new of(ka.Ub));X=ic(Qa.r);if(ta.isUserFunction)return new Nf(J,ba,X,ta.componentBinding);switch(J.name.uri){case Zb.Oa:case Zb.lc:switch(J.name.local){case "current":ua[0]&&(X=ua[0]);break;case "accumulator-before":case "accumulator-after":if(ba[0]instanceof -of){ta=q(ba[0].value[0].value,ka.vb,()=>"").toEQName();ka=ka.Gb[ta];if(!ka)throw new F("Unknown accumulator "+ta,"XTDE3340");X=ec(ka);ba[0]=new of(ta)}}return new Cf(J,ba,X);case Zb.map:return new Gf(J,ba,X);case Zb.Ue:return new Hf(J,ba,X);case Zb.yh:return new If(J,ba,X);case Zb.wb:return new Jf(J,ba,X);case Zb.nd:return new Kf(J,ba,X);case Zb.xh:return new Lf(J,ba,X);default:return ta.wh?new Nf(J,ba,X,ta.Jk):new Jf(J,ba,X)}}else{if(ta=Eh.getFnSignature(J.name,null,ba))if(ta&&!ta.alphaTree&&(ta.alphaTree= -rb(ta.sig)),ba=X.length,Ca=ta.alphaTree.a.length,ba!==Ca&&(ta.variadic?X.length"",Ub:"http://www.w3.org/2005/xpath-functions/collation/codepoint",qe:!1,fb:{},Gb:{},bb:!1,Jc:!1,dg:!1,Tb:!1, -Fj:function(){P.hc=()=>"";P.Ub="http://www.w3.org/2005/xpath-functions/collation/codepoint";P.fb={};P.Gb={};P.bb=!1;P.Jc=!1;P.dg=!1;P.Tb=!1},getContext:function(){return{bb:P.bb,Wk:1===Ba,fb:P.fb}},Ni:function(){return P.Ub},ph:function(){return Zb.Oa},ef:function(){return Na},Qk:function(){return null},Vk:function(){return!1},te:function(){return P.Tb},bl:function(){return null}};let Wa={};Q.prototype.gd=function(){return this.name};return{process:function(J,X,ka,ba,ta=!1,Ca=!1,Ka=!1){a();N=J;Ba= -X?1:0;J=[];Wa={};P.Fj();P.vb=c;X&&(P.bb=!0);Ka&&(P.dg=!0);if(ba){Fa=ba.hf?1:0;ba.Jc&&(P.Jc=!0);for(var Qa in ba.namespaces)Wa[Qa]=ba.namespaces[Qa];for(var ib in ba.Hc){Qa=q(ib,P.vb,()=>"");const pb=ba.Hc[ib],Kh=ec(pb.getAttribute("sType"));J.push(new Q(Qa,Kh,pb,!0))}for(var Xa in ba.ac)ib=q(Xa,P.vb,()=>""),J.push(new Q(ib,ba.wd[Xa],ba.ac[Xa]));ia=J;P.Gb=ba.Gb;ba.qe&&(P.qe=ba.qe);ba.Ub&&(P.Ub=ba.Ub);ba.fb&&(P.fb=ba.fb);ba.bb&&(P.bb=ba.bb);ba.Tb&&(P.Tb=ba.Tb);ba.ye&&(ua=[Vc(ba.ye,2)]);ba.xpathDefaultNamespace&& -(P.hc=()=>ba.xpathDefaultNamespace);P.Ia=ba.Ia?ba.Ia:null}Xa="";for(const pb in Wa)J=Wa[pb],J=J===Zb.withPrefix[pb]?"~":J,Xa+=pb+"="+J+" ";De(u,N);let ob;try{ob=k(Ca)}catch(pb){throw pb instanceof F&&ba&&ba.Lj&&(pb.code=ba.Lj,pb.message="Invalid XPath expression supplied to xsl:evaluate {"+N+"}: "+pb.message),pb;}0!==u.J&&H("Found "+E()+" beyond end of expression");X?(ob=ob.Ga(),ob instanceof hf&&ka&&(ob=new jf(gf(ob)))):ba&&ba.De&&(X=Ch("EVALUATE_RESULT",0,"",null),ka=Og("XPTY0004",X),ob=Jg(ob,ba.De, -ka,X));X=ta?new Fh:new Gh;ob.G(X);X=X.current;ta?(X=X.documentElement,ob.l&&X.setAttribute("sType",ob.l.ha()),""!==Xa&&X.setAttribute("ns",Xa),ba&&ba.Ia&&X.setAttribute("baseUri",ba.Ia)):(X=X.C[0],""!==Xa&&(X.gl=Xa),ba&&ba.Ia&&(X.pb=ba.Ia),Ka&&0pb.$a.toEQName())));return X},parseSequenceType:function(J,X,ka){a();P.vb=X;P.hc=ka;Ba=0;Wa={};De(u,J);J=B();0!==u.J&&H("Unexpected "+E()+" after SequenceType");return J},getTokenizer:function(){return u}}}(); -function Gh(){this.g=[];this.current={C:[]}}Gh.prototype={start:function(a,c={}){a={N:a,C:[]};for(const q in c)a[q]=c[q];this.current.C.push(a);this.g.push(this.current);this.current=a},ud:function(a,c){this.current[a]=c},end:function(){this.current=this.g.pop()}};function Fh(){this.j=Jd.find("SaxonJS").getPlatform().createDocument();this.g=[];this.current=this.j} -Fh.prototype={start:function(a,c={}){a=this.j.createElement(a);for(const q in c)a.setAttribute(q,c[q]);this.current.appendChild(a);this.g.push(this.current);this.current=a},ud:function(a,c){this.current.setAttribute(a,c)},end:function(){this.current=this.g.pop()}}; +const Ah={FUNCTION:0,Tj:1,Ak:2,Gk:3,gk:4,ak:5,nk:6,zk:7,rk:8,Dk:9,Ek:10,fk:11,EVALUATE_RESULT:12,Vj:13,Rj:14,mk:15,Uj:16,Wj:17},Bh=["doc","id","element-with-id","key","root"];function Ch(a,c,n,F){return Ah[a]+"|"+c+"|"+n+"|"+F}function Dh(a,c,n,F){return{getMessage:function(){return c},Vf:F,Id:function(){return a},save:function(){return n}}}function Og(a,c){const n=cd.Ej(c).required;return Dh(a,n,c,function(F,I){return"Required type of "+n+" is "+F.toString()+": actual type is "+I.toString()})} +class Vf{constructor(a,c){var n=null;this.name=a;this.arity=a.arity;if(c){this.xb=c;n=c.alphaTree;const F=[];let I;c.variadic&&(I=ic(n.a[0]));for(c=0;c""){return La.XS.QName.fromString(J,da=>""===da?ja():X(da))}function F(){const J=oe[r.J];return 201===r.J?'name "'+r.T+'"':-1===r.J?"(unknown token)":r.T&&r.T!==oe[r.J]?`${J} ("${r.T}")`:/^[a-z]+$/.test(J)?`"${J}"`:J}function I(J,X="XPST0003"){Ge(r);throw new ve(J,X);}function m(J){const X=Ge(r);console.log((J.startsWith("...")? +"near":"in")+" "+X+":\n "+J)}function g(){try{r.next()}catch(J){I(J.message)}}function e(J){r.J!==J&&I('expected "'+oe[J]+'", found '+F())}function k(J=!1){J=v(J);let X=null;for(;7===r.J;){null==X&&(X=[],X.push(J));g();const ja=v();X.push(ja)}null!=X&&(J=new Pg(X));return J}function v(J=!1){switch(r.J){case 0:if(J)return nf();I("Expected an expression, but reached the end of the input");break;case 211:case 216:J=0;var X=r.J,ja=null,da=null;do{g();e(21);g();e(201);var ta=r.T,Ca=void 0;211===X?Ca= +new eh:Ca=new fh;J++;ta=pa(ta,"");Ca.Za=ta;g();e(216===X?58:31);g();ea.push(null);Ca.j(v());ea.pop();ha(Ca);null==da?ja=Ca:da.g(Ca);da=Ca}while(7===r.J);e(25);g();da.g(v());for(Ca=0;Ca=X;){const Qa=r.J;var ja=t();switch(Qa){case 45:case 47:g();var da=u();a:switch(Qa){case 45:J=new yg(J,da);break a;case 47:J=Ng(J,da);break a;default:throw new we(oe[Qa]);}t()>=ja&&I("Left operand of '"+oe[r.J]+"' needs parentheses");break;case 46:case 57:g();var ta=void 0;if(69===r.J&&"union"===r.T)throw new G("Saxon union types not supported");e(201);if(r.T)a:{try{var Ca=n(r.T,R.vb, +R.ic);break a}catch(Xa){I(Xa.message,Xa.code)}Ca=void 0}else Ca=I("Parser tokenization error NAME");da=Ca;da.uri!==Zb.mc&&I("Unknown simple type "+r.T+" in cast (SaxonJS is not schema-aware)");g();var Ka=213===r.J;Ka&&(r.J=204,g());const ib={numeric:"u",ENTITIES:"l",NMTOKENS:"l",IDREFS:"l"}[da.local]||"a";if("a"===ib){["anyType","anyAtomicType","NOTATION"].includes(da.local)&&I("Casting to xs:"+da.local+" is not possible (it's an abstract type)","XPST0080");ta=La.type[da.local];if(!ta)throw new G("Cannot find type "+ +da.toEQName());ta=new nc(ta)}J=(57===Qa?sf:pf)(J,ib,da,ta,Ka);t()>=ja&&I("Left operand of '"+oe[r.J]+"' needs parentheses");break;case 76:J=K(J);break;default:Ka=40===Qa;g();Ka&&ua.push(Vc(J.l,2));da=B();for(Ka&&ua.pop();t()>ja;)da=l(da,t());if(!(ja=t()!==ja))a:switch(r.J){case 50:case 51:case 55:case 53:case 54:case 52:case 6:case 22:case 14:case 12:case 13:case 11:case 20:case 38:case 39:case 29:ja=!1;break a;default:ja=!0}ja||I("Left operand of '"+oe[r.J]+"' needs parentheses");J=f(J,Qa,da)}}return J} +function f(J,X,ja){switch(X){case 9:return new ih(J,ja);case 10:return new hh(J,ja);case 50:case 51:case 55:case 53:case 54:case 52:return new og(J,X,ja,R);case 6:case 22:case 14:case 12:case 13:case 11:if(R.te())X=new ng(J,X,ja,R);else{var da=R;ja=new mg(J,X,ja,da);if(J=2===ja.ea.l.fa&&2===ja.ga.l.fa&&hg[X]){J=ja.ea.l.U;var ta=ja.ga.l.U;const Ca=J.$().p,Ka=ta.$().p;J=jg(Ca)||jg(Ka)?Ca===Ka:J.isNumeric()&&ta.isNumeric()?!0:/^A[SZU]/.test(Ca)&&/^A[SZU]/.test(Ka)}X=J?new og(ja.ea,hg[X],ja.ga,da):ja}return X; +case 20:case 38:case 39:return new sg(J,X,ja,R);case 29:return da=new kh(J,ja,R.te()),jh(da.ea)&&jh(da.ga)?(X=da.ea.value[0],da=da.ga.value[0],X=X.value>da.value?nf():X.value===da.value?new lf([X],dc.Ke):new lh(X,da)):X=da,X;case 30:X=[];if(J instanceof Cf&&"concat"===J.name.name.local&&J.name.name.uri===Zb.Oa)for(da of J.g)X.push(da);else da=Ch("BINARY_OP",0,"","concat"),ta=Og("FOTY0013",da),J=Jg(J,dc.ec,ta,da,R),X.push(J);da=Ch("BINARY_OP",1,"","concat");ta=Og("FOTY0013",da);ja=Jg(ja,dc.ec,ta,da, +R);X.push(ja);X=Df("concat",X);X.l=dc.fc;return X;case 15:case 16:case 17:case 18:case 56:case 19:return new eg(J,X,ja,R);case 79:return X=ja,ja=La.XS.QName.fromParts("vv",Zb.zg,"otherwise"),da=new fh,da.Za=ja,da.j(J),ha(da),ja=Tg(da),J=[Df("exists",[ja]),mf([La.XS.boolean.Yc],dc.cb)],da.g(new ch(J,[ja,X])),da;case 1:case 23:case 24:return new $f(J,X,ja,1===Ba);case 81:return ja=Df("boolean",ja),bh(J,mf([La.XS.boolean.Yc],dc.cb),ja);case 80:return ja=Df("boolean",ja),bh(J,ja,mf([La.XS.boolean.be], +dc.cb));default:throw new we(oe[X]);}}function B(){switch(r.J){case 16:g();var J=B();J=L(299,J);break;case 15:g();J=B();J=L(15,J);break;default:for(J=b();40===r.J;){g();ua.push(Vc(J.l,2));const X=b();ua.pop();J=new mh(J,X)}}return J}function L(J,X){if(kf(X)){const ja=X.value[0];return 299===J?mf([ja.pf()],X.l):X}return new eg(mf([La.XS.integer.fromNumber(0)],dc.Bd),J,X,R)}function y(){switch(r.J){case 36:case 3:case 201:case 208:case 70:case 207:case 69:case 205:case 206:case 35:case 202:case 209:case 5:case 21:case 43:case 4:return!0; +case 60:return["ordered","unordered","map","array"].includes(r.T);default:return!1}}function b(){var J=r.ke;switch(r.J){case 2:return g(),J=new ag,y()?d(J):J;case 8:g();J=new ag;var X=new Yf(5,null);J=Ag(J,X);return d(J);default:201===r.J&&["true","false"].includes(r.T)&&m("The expression is looking for a child element named '"+r.T+"' - perhaps "+r.T+"() was intended? To avoid this warning, use child::"+r.T+" or ./"+r.T+".");201===r.J&&-1!==Ce(r.T)&&1!==Ba&&(0'");return null}function ca(J){function X(da){return da instanceof Ef||da instanceof vg&&X(da.g)}switch(r.J){case 21:return S();case 5:var ja=x();J&&X(ja)&&I("Predicate pattern cannot be parenthesized","XTSE0340");return ja;case 4:return M();case 202:return H(!0);case 209:return E(!0);case 35:return ja=r.T,0===Pa&&1===Ba&&(R.og=!0,J?Bh.includes(ja)||ja.includes(":")||I("Function "+ja+"() is not permitted at first position in pattern","XTSE0340"):I("Function call not at first position in pattern", +"XTSE0340")),ja=fa(null),R.og=!1,ja;case 213:return aa(new Ef);case 205:return g(),new Ef(ua[ua.length-1]);case 206:return g(),new Yf(9,null);case 69:if("function"===r.T)return ia();case 201:case 208:case 70:case 207:return ja=3,69===r.J&&["attribute","schema-attribute"].includes(r.T)?ja=2:69===r.J&&"namespace-node"===r.T?ja=8:J&&69===r.J&&"document-node"===r.T&&(ja=12),J=V(1),new Yf(ja,J);case 3:g();switch(r.J){case 201:case 208:case 70:case 207:case 69:return ja=V(2),new Yf(2,ja);default:I("@ must be followed by a NodeTest")}break; +case 36:try{ja=Pe(r.T)}catch(da){I(da.message),ja=3}J=Ne[ja];g();switch(r.J){case 201:case 208:case 70:case 207:case 69:J=V(J);let da=null;if(2===ja){const ta=sd.Ob(J,new Fc(2));ta===sd.dc?da="attribute axis can never yield nodes of type "+J:ta===sd.Sb&&(J=new Fc(2))}3===ja&&9===J.kind&&(da=J.name+" nodes can never be children");2!==J.kind||[2,12].includes(ja)||(da="axis "+Me(ja)+" can never yield attribute nodes");if(da){if(1===Ba)return new Xe(da);m(da);return nf()}return new Yf(ja,J);default:I("Unexpected token "+ +F()+" after axis name")}break;case 60:switch(r.T){case "map":return z();case "array":return W();case ".":return Y();case "_":I("Underscore functions not yet implemented")}break;case 43:return T();default:I("Unexpected token "+F()+" at start of expression")}}function x(){g();if(204===r.J)return g(),nf();const J=k();e(204);g();return J}function E(){const J=r.T?A(r.T):I("Parser tokenization error NUMBER");isNaN(J)&&I("Invalid numeric literal ("+r.T+")");g();return mf([J],"AO"===J.code?dc.ee:"AD"===J.code? +dc.Gg:dc.Bd)}function A(J){try{return 0<=J.indexOf("e")||0<=J.indexOf("E")?La.XS.double.fromString(J):0<=J.indexOf(".")?La.XS.mb.fromString(J):La.XS.integer.fromString(J)}catch(X){return NaN}}function H(){var J=new of(r.T);g();return J}function S(){g();e(201);var J=r.T;g();const X=pa(J,"");J=ba(X);if(null!=J)var ja=Tg(J);else if(X.uri===Zb.zi&&0""));if(7===r.J){g();e(201);ta=!1;const Ka=n(r.T,R.vb,R.ic);Ka.uri===Zb.mc?1===da?["untyped","anyType"].includes(Ka.local)||(["untypedAtomic","anyAtomicType"].includes(Ka.local)?ta=!0:I("Unsupported type annotation "+r.T+" (SaxonJS is not schema-aware, so all nodes are untyped)")):["untypedAtomic", +"anyAtomicType"].includes(Ka.local)||I("Unsupported type annotation "+r.T+" (SaxonJS is not schema-aware, so all nodes are untyped)"):I("Unsupported type annotation "+r.T+" (SaxonJS is not schema-aware, so only built-in types are recognized)");g();213===r.J&&g();e(204);g();if(ta)return Cc;if("*"===Ca)return ld(da);Ca=n(Ca,R.vb,1===da?R.ic:()=>"");return new nd(da,Ca)}I("Expected ')' or ',' in SequenceType");return null;case "schema-attribute":case "schema-element":return I("Type "+X+"() not allowed: SaxonJS is not schema-aware"), +null;default:return I("Unknown node kind "+X),null}}function z(){var J=[];g();var X=[];let ja=!0;if(215!==r.J)for(;;){var da=v();e(75);g();const ta=v(),Ca=Ch("FUNCTION",0,"","map:entry"),Ka=Og("XPTY0004",Ca);da=Jg(da,dc.Oe,Ka,Ca,R);!ja||da instanceof lf?-1===X.indexOf(da)?X.push(da):ja=!1:ja=!1;da=new Wf(da,ta);J.push(da);if(215===r.J)break;else e(7),g()}ze(r);g();if(0===J.length)return qh(new rh("_new",1,uh.uri),[]);if(1===J.length)return J[0];if(ja){const ta=[];J.forEach(Ca=>{ta.push([Ca.key,Ca.value])}); +return new Xf(ta)}J=new Pg(J);X=[];X=new Xf([[new of("duplicates"),new of("reject")],[new of("duplicates-error-code"),new of("XQDY0137")]]);return qh(new rh("merge",2,uh.uri),[J,X])}function M(){const J=[];g();if(203===r.J)return g(),new Mf(J);for(;;){const X=v();J.push(X);if(7===r.J)g();else{if(203===r.J){g();break}I("Expected ',' or ']', found "+oe[r.J])}}return new Mf(J)}function W(){g();const J=new rh("_from-sequence",1,wh.uri);if(215===r.J)return ze(r),g(),qh(J,[nf()]);const X=k();e(215);ze(r); +g();return qh(J,[X])}function fa(J){function X(){if(209===r.J)return E(!0);if(202===r.J)return H(r.T);if(21===r.J)return S();I("The arguments to a function call in a pattern must be literals or variable references","XTSE0340")}var ja=r.T,da=r.ke;const ta=[];null!=J&&ta.push(J);J=w(ja);ja=null;1===Ba&&J.uri===Zb.Oa&&["current-group","current-grouping-key","current-merge-group","current-merge-key"].includes(J.local)&&I(J.local+"() is not permitted in a pattern","XTSE1060");g();if(204!==r.J){for(;;){var Ca= +R.og?X():Z();if(null==Ca||Ca instanceof Qf)null==ja&&(ja=[]),ja.push(ta.length);ta.push(Ca);if(7===r.J)g();else break}e(204)}g();Ca=new Bf(J,ta.length);if(null!=ja)return da=R.ff().fg(Ca,R),null==da&&I("No function "+J.toString()+"#"+ta.length+" is known for partial application","XPST0017"),new Uf(da,ta,ja);ja=[];Ca=R.ff().bind(Ca,ta,R,ja);return null==Ca?U(R,da,J,ta,ja):Ca}function U(J,X,ja,da,ta){let Ca="Cannot find a "+da.length+"-argument function named "+ja.toEQName()+"()";for(var Ka of ta)Ca+= +". "+Ka;ta=!1;for(Ka=0;KaJ.value||J.value>Number.MAX_SAFE_INTEGER)&&I("Number following '#' is out of range","FOAR0002");J=J.value;g();let ta=null;try{ta=n(X,da.vb,da.qh)}catch(Ka){I(Ka.message,Ka.code)}X=da.ff();const Ca=new Bf(ta,J);da=X.fg(Ca,da);null==da&&I("Function "+ta.toEQName()+"#"+J+" not found","XPST0017",ja);return da.xb.wh&&!ta.hasURI(re.ci)?new Pf(da):new Of(da)}function ha(J){J.slot=ea.length;ea.push(J)}function ba(J){for(let X=ea.length-1;0<=X;X--){const ja=ea[X];if(ja&& +ja.hd().equals(J))return ja}}function va(J,X){return n(J,R.vb,()=>X)}function pa(J,X){try{return va(J,X)}catch(ja){I(ja.message,ja.code)}}function h(J,X){if(X.startsWith("Q{"))return new pd(J,X.substring(2,X.length-2));try{const ja=n(X+":dummy",R.vb,()=>"");return new pd(J,ja.getURI())}catch(ja){return I(ja.message,ja.code),null}}function C(J,X){te(X)||I("Local name ["+X+"] contains invalid characters");return new od(J,X)}function Q(J,X,ja,da=!1){this.global=da;this.Za=this.name=J;this.cc=X;this.slot= +ja}let r,O,R={},ea=[],ua=[],Ba=0,Fa=0,Pa=0;const Ua=[],Na={fg:function(J,X){X=X.getContext();return(X=Eh.getFnSignature(J.name,J.arity,X))?new Vf(J,X):null},bind:function(J,X,ja){var da=ja.getContext(),ta=Eh.getFnSignature(J.name,J.arity,da);if(ta){if(J.name.uri===Zb.Oa)switch(J.name.local){case "false":return mf([La.XS.boolean.be],dc.cb);case "true":return mf([La.XS.boolean.Yc],dc.cb);case "normalize-unicode":1===X.length&&X.push(new of("NFC"));break;case "copy-of":return new ah(X[0]?X[0]:new Ef(ua[ua.length- +1]));case "current-group":return new Zg;case "current-grouping-key":return new $g;default:ta.defaultToDot&&0===J.arity&&ta.arity.includes(0)&&(X.push(new Ef(ua[ua.length-1])),J.arity++)}else if(ta.isIdempotent&&1===X.length)return X[0];da=[];var Ca;const Qa=ta.alphaTree;Qa&&"F"===Qa.p&&!Qa.r&&(Qa.r={p:"",o:"*"});Qa&&"F"===Qa.p&&Qa.a&&Qa.r||sa.la("Bad function signature for "+J.name.local);ta.variadic&&(Ca=Qa.a[0]);const ib=ta.collation||-1;for(let Xa=0;XaX.length-1&&da.push(new of(ja.Vb));X=ic(Qa.r);if(ta.isUserFunction)return new Nf(J,da,X,ta.componentBinding);switch(J.name.uri){case Zb.Oa:case Zb.mc:switch(J.name.local){case "current":ua[0]&&(X=ua[0]);break;case "accumulator-before":case "accumulator-after":if(da[0]instanceof +of){ta=n(da[0].value[0].value,ja.vb,()=>"").toEQName();ja=ja.Gb[ta];if(!ja)throw new G("Unknown accumulator "+ta,"XTDE3340");X=ec(ja);da[0]=new of(ta)}}return new Cf(J,da,X);case Zb.map:return new Gf(J,da,X);case Zb.Ue:return new Hf(J,da,X);case Zb.yh:return new If(J,da,X);case Zb.wb:return new Jf(J,da,X);case Zb.nd:return new Kf(J,da,X);case Zb.xh:return new Lf(J,da,X);default:return ta.wh?new Nf(J,da,X,ta.Jk):new Jf(J,da,X)}}else{if(ta=Eh.getFnSignature(J.name,null,da))if(ta&&!ta.alphaTree&&(ta.alphaTree= +rb(ta.sig)),da=X.length,Ca=ta.alphaTree.a.length,da!==Ca&&(ta.variadic?X.length"",Vb:"http://www.w3.org/2005/xpath-functions/collation/codepoint",qe:!1,fb:{},Gb:{},bb:!1,Kc:!1,dg:!1,Ub:!1, +Fj:function(){R.ic=()=>"";R.Vb="http://www.w3.org/2005/xpath-functions/collation/codepoint";R.fb={};R.Gb={};R.bb=!1;R.Kc=!1;R.dg=!1;R.Ub=!1},getContext:function(){return{bb:R.bb,Wk:1===Ba,fb:R.fb}},Ni:function(){return R.Vb},qh:function(){return Zb.Oa},ff:function(){return Na},Qk:function(){return null},Vk:function(){return!1},te:function(){return R.Ub},bl:function(){return null}};let Wa={};Q.prototype.hd=function(){return this.name};return{process:function(J,X,ja,da,ta=!1,Ca=!1,Ka=!1){a();O=J;Ba= +X?1:0;J=[];Wa={};R.Fj();R.vb=c;X&&(R.bb=!0);Ka&&(R.dg=!0);if(da){Fa=da.jf?1:0;da.Kc&&(R.Kc=!0);for(var Qa in da.namespaces)Wa[Qa]=da.namespaces[Qa];for(var ib in da.Ic){Qa=n(ib,R.vb,()=>"");const qb=da.Ic[ib],Kh=ec(qb.getAttribute("sType"));J.push(new Q(Qa,Kh,qb,!0))}for(var Xa in da.bc)ib=n(Xa,R.vb,()=>""),J.push(new Q(ib,da.wd[Xa],da.bc[Xa]));ea=J;R.Gb=da.Gb;da.qe&&(R.qe=da.qe);da.Vb&&(R.Vb=da.Vb);da.fb&&(R.fb=da.fb);da.bb&&(R.bb=da.bb);da.Ub&&(R.Ub=da.Ub);da.xe&&(ua=[Vc(da.xe,2)]);da.xpathDefaultNamespace&& +(R.ic=()=>da.xpathDefaultNamespace);R.Ia=da.Ia?da.Ia:null}Xa="";for(const qb in Wa)J=Wa[qb],J=J===Zb.withPrefix[qb]?"~":J,Xa+=qb+"="+J+" ";De(r,O);let pb;try{pb=k(Ca)}catch(qb){throw qb instanceof G&&da&&da.Lj&&(qb.code=da.Lj,qb.message="Invalid XPath expression supplied to xsl:evaluate {"+O+"}: "+qb.message),qb;}0!==r.J&&I("Found "+F()+" beyond end of expression");X?(pb=pb.Ga(),pb instanceof hf&&ja&&(pb=new jf(gf(pb)))):da&&da.Ce&&(X=Ch("EVALUATE_RESULT",0,"",null),ja=Og("XPTY0004",X),pb=Jg(pb,da.Ce, +ja,X));X=ta?new Fh:new Gh;pb.G(X);X=X.current;ta?(X=X.documentElement,pb.l&&X.setAttribute("sType",pb.l.ha()),""!==Xa&&X.setAttribute("ns",Xa),da&&da.Ia&&X.setAttribute("baseUri",da.Ia)):(X=X.C[0],""!==Xa&&(X.gl=Xa),da&&da.Ia&&(X.pb=da.Ia),Ka&&0qb.Za.toEQName())));return X},parseSequenceType:function(J,X,ja){a();R.vb=X;R.ic=ja;Ba=0;Wa={};De(r,J);J=u();0!==r.J&&I("Unexpected "+F()+" after SequenceType");return J},getTokenizer:function(){return r}}}(); +function Gh(){this.g=[];this.current={C:[]}}Gh.prototype={start:function(a,c={}){a={N:a,C:[]};for(const n in c)a[n]=c[n];this.current.C.push(a);this.g.push(this.current);this.current=a},ud:function(a,c){this.current[a]=c},end:function(){this.current=this.g.pop()}};function Fh(){this.j=Jd.find("SaxonJS").getPlatform().createDocument();this.g=[];this.current=this.j} +Fh.prototype={start:function(a,c={}){a=this.j.createElement(a);for(const n in c)a.setAttribute(n,c[n]);this.current.appendChild(a);this.g.push(this.current);this.current=a},ud:function(a,c){this.current.setAttribute(a,c)},end:function(){this.current=this.g.pop()}}; // Input 70 const Ih={ul:{QuantifiedExpr:"1AB",OrExpr:"1AB",AndExpr:"1AB",ComparisonExpr:"1AB",StringConcatExpr:"1AS",RangeExpr:"*ADI",AdditiveExpr:"?A",MultiplicativeExpr:"?A",IntersectExceptExpr:"*N",InstanceOfExpr:"1AB",CastableExpr:"1AB",UnaryExpr:"?A m[UO,UD,UF]",StringLiteral:"1AS",IntegerLiteral:"1ADI",DecimalLiteral:"1AD",DoubleLiteral:"1AO",NamedFunctionRef:"1F",InlineFunctionExpr:"1F",MapExpr:"1FM",Root:"1ND"},Qj:{"http://www.w3.org/2005/xpath-functions":{QName:{sig:"1F r[1AQ] a[?AS,1AS]"},abs:{sig:"1F r[?A m[AO,AD,AF]] a[?A m[AO,AD,AF]]"}, "accumulator-after":{XSLTonly:!0,sig:"1F a[1AS] r[*]"},"accumulator-before":{XSLTonly:!0,sig:"1F a[1AS] r[*]"},"adjust-date-to-timezone":{arity:[1,2],sig:"1F r[?AA] a[?AA,?ARD]"},"adjust-dateTime-to-timezone":{arity:[1,2],sig:"1F r[?AM] a[?AM,?ARD]"},"adjust-time-to-timezone":{arity:[1,2],sig:"1F r[?AT] a[?AT,?ARD]"},"analyze-string":{arity:[2,3],sig:"1F r[1NE nQ{http://www.w3.org/2005/xpath-functions}analyze-string-result] a[?AS,1AS,1AS]"},apply:{sig:"1F a[1F,1FA] r[*]"},"available-environment-variables":{sig:"1F r[*AS] a[]"}, @@ -999,124 +1000,125 @@ asin:{sig:"1F r[?AO] a[?AO]"},atan:{sig:"1F r[?AO] a[?AO]"},atan2:{sig:"1F r[1AO // Input 71 var Jh=function(){const a={};a[Zb.wb]={apply:{sig:"1F r[*] a[1F,1FA]"},"column-number":{arity:[0,1],sig:"1F r[1ADI] a[1N]"},"compile-XPath":{arity:[1,2,3],sig:"1F r[1ND] a[1AS,?,?]"},"compile-GlobalContext":{sig:"1F r[1] a[1FM,1FM,1FM]"},"discard-document":{sig:"1F r[1ND] a[1ND]"},"has-uniform-namespaces":{sig:"1F r[1AB] a[1N]"},"line-number":{arity:[0,1],sig:"1F r[1ADI] a[1N]"},"marshal-type":{sig:"1F r[1FM] a[1AS]"},"message-count":{sig:"1F r[1ADI] a[?AQ]"},"parse-sequence-type":{arity:[2,3],sig:"1F r[1FM] a[1AS,1NE,?AS]"}, "parse-XPath":{arity:[1,2,3],sig:"1F r[1ND] a[1AS,?AS,?]"},permute:{sig:"1F r[*] a[*]"},"system-id":{sig:"1F r[*AU] a[]"},timestamp:{sig:"1F r[1AMP] a[]"}};a[Zb.nd]={apply:{sig:"1F r[*] a[1F,1FA]"},call:{sig:"1F r[*] a[1,1AS,1FA]"},contains:{sig:"1F r[1AB] a[1,1AS]"},eval:{sig:"1F r[*] a[1AS]"},event:{sig:"1F r[?] a[]"},get:{sig:"1F r[*] a[1,1AS]"},location:{sig:"1F r[1AS] a[]"},page:{sig:"1F r[1N] a[]"},"query-params":{sig:"1F r[1FM] a[]"},source:{sig:"1F r[?N] a[]"},style:{sig:"1F r[1FM] a[?N]"}, -window:{sig:"1F r[1] a[]"}};a["http://exslt.org/common"]={"node-set":{sig:"1F r[?N] a[?N]",isIdempotent:!0}};return{Ri:function(c){return a[c]},Nf:function(c){const q=c.namespace;c=c.signatures;let E=a[q];E||(E={},a[q]=E);Object.entries(c).forEach(H=>{E[H[0]]=H[1]})}}}(); +window:{sig:"1F r[1] a[]"}};a["http://exslt.org/common"]={"node-set":{sig:"1F r[?N] a[?N]",isIdempotent:!0}};return{Ri:function(c){return a[c]},Nf:function(c){const n=c.namespace;c=c.signatures;let F=a[n];F||(F={},a[n]=F);Object.entries(c).forEach(I=>{F[I[0]]=I[1]})}}}(); // Input 72 -var Lh=function(){function a(b){var d;var l={};for(d in b){var r=b[d];l[d]=r}return l}function c(){}function q(b){const d={};if(b){b=b.split(" ");for(let r=0;rB?qa:B;r.qd=B+1}r.Gj(b);if(b=d.slotTypes)for(W in b)r.wd[W]=ic(b[W]);for(ma in l)r.namespaces[ma]=l[ma];r.namespaces[""]="";if(l=d.staticTyping)r.vf=l;if(l=d.xpathDefaultNamespace)r.xpathDefaultNamespace= -l;if(l=d.defaultCollation)r.Ub=l;if(l=d.staticBaseURI)r.staticBaseURI=l;(l=d.contextType)?r.type=new gc(jc(l),2):r.type=r.bb?null:dc.mc;r.ye=r.type;if(d=d.requiredType)r.De=ec(d);return r}function p(b){const d=new c;d.type=dc.mc;d.aa(b.params,b.inputConvert);["xs","map","array","math","saxon"].forEach(n=>d.namespaces[n]=nh[n]);for(var l in b.namespaceContext)d.namespaces[l]=b.namespaceContext[l];b.xpathDefaultNamespace&&(d.xpathDefaultNamespace=b.xpathDefaultNamespace);let r;if(b=b.slotMap){l=-1; -let n;for(r in b)n=b[r],d.ac[r]=n,l=n>l?n:l;d.qd=l+1}return d}function g(b,d,l){b=Hh.process(b,"pattern"===d.type,d.splitPattern,l,"XSLT"===d.language,d.allowEmpty,d.freeVariables);return Pb(b)}function e(b,d=!1){const l={"function":{},globalVariable:{},globalParam:{}};for(const n in b){if("PRIVATE"===b[n].visibility)continue;var r=b[n].actor;const B=ac.X(r)?r.nodeName:r.N,W=ac.X(r)?r.getAttribute("name"):r.name;switch(B){case "function":if(d&&"PUBLIC"!==b[n].visibility&&"FINAL"!==b[n].visibility)break; -r=(ac.X(r)?ac.Ec(r,"arg"):E(r)).length;l[B][W+"#"+r]=b[n];break;case "globalVariable":case "globalParam":l[B][W]=b[n]}}return l}function k(b,d=!0){const l={N:b.nodeName};var r=b.attributes,n;for(n=0;nparseInt(r,10)),actor:d,C:[d]};return d.parentNode=b}function C(b){if(!ac.X(b))return[];let d=[];b.childNodes.forEach(l=>d=d.concat(C(l)));return d}function m(b,d){"ufRef"===b.nodeName?b.setAttribute("bSlot",d[b.getAttribute("name")]):b.hasChildNodes()&&b.childNodes.forEach(l=>m(l,d))}function f(b,d,l){var r=Jd.find("SaxonJS");const n=r.XError,B=r.convertResult;var W=r.getPlatform(),ma=W.inBrowser();l||={};l.params||(l.params={});if(b.freeV){const y= -l.params;let I={};b.freeV.forEach(R=>{const M=R.startsWith("Q{}")?y[R.substring(3)]:y[R];if(!M)throw new n("A value for parameter "+R+" is required","SXJS9999");I[R]=M});l.params=I}r=l.inputConvert||"strong";const qa=p(l);let L=b.C[0];L.parentNode=b;const aa={name:"evaluate",Za:b,hb:{}};b=new ne;b.ja=W.createDocument();b.fixed={Rd:{},tb:{},kc:{},vd:{},Lf:0,Jb:new Date,hb:{"Q{}":b.ja.createElement("decimal-format")},rd:{evaluate:aa},staticBaseURI:ma?window.location.href:null,ka:cd};l.staticBaseURI&& -(b.fixed.staticBaseURI=l.staticBaseURI);let z,D;if(l.namedDecimalFormats)for(const y in l.namedDecimalFormats){W=l.namedDecimalFormats[y];ma=b.ja.createElement("decimal-format");for(z in W)D=W[z],ma.setAttribute(z,["infinity","NaN"].includes(z)?D:Da(D)[0]);aa.hb[/^Q\{/.test(y)?y:"Q{}"+y]=k(ma)}if(l.defaultDecimalFormat){W=l.defaultDecimalFormat;ma=b.ja.createElement("decimal-format");for(z in W)D=W[z],ma.setAttribute(z,["infinity","NaN"].includes(z)?D:Da(D)[0]);aa.hb["Q{}"]=k(ma)}b.oa=qa.xc;if(d)if(d instanceof -vb)b.focus=d;else{if(Array.isArray(d)&&1{W.params[ma]="dummy"});d=p(W);n=g(b,W,d).next()}const B={N:"package",name:"evaluate",C:[n]};r&&(B.freeV=r);return l?B:function(W,ma={}){return f(B,W,{params:ma})}},evaluateOnly:f,compileGlobalContext:function(b,d,l){var r=new c;r.j(); -r.Hc=b;r.V=d;r.Gb=l;b={};l=0;for(let B in d){var n=d[B];const W=ac.X(n);n=W?n.parentNode:n.parent;const ma=W?n.parentNode:n.parent;b[l++]={actor:n,Za:ma,id:parseInt(W?ma.getAttribute("id"):ma.id,10)}}r.fb=e(b);return Pb(r)},evaluateXDM:function(b,d,l,r){function n(ea=""){return ma[ea]}var B;const W=Jd.find("SaxonJS").getPlatform();let ma;const qa=H(r.params,r,r.namespaces);qa.La=l.fixed.La;qa.staticBaseURI||(qa.staticBaseURI=l.fixed.staticBaseURI);const L=l.fixed.La;qa.fb=e(l.fixed.La,r.dynamicEval); -b=g(b,r,qa).next();const aa={N:"package",name:"evaluate"};var z={name:"evaluate",Za:aa,hb:{}};b.parentNode=aa;let D=!1;var y=C(b);if(0{const la=t(ea,k(V),"");V=V.getAttribute("name")+"#"+V.getAttribute("arity");la.parentNode=aa;qa.fb["function"][V]={actor:la,Za:null,id:ea};Y[V]=M++;L[ea]=la;ea++;ja.push(la)});m(b,Y);b=k(b);I=t(1E3,b,I.join(" "));I.parentNode=aa;L[1E3]=I;ja.unshift(I); -aa.C=ja}else ac.X(b)?b=k(b):v(b),aa.C=[t(1E3,b,"")],b.parentNode=aa;R=cd.ke(l.sa.actor,l);for(B in R.hb)z.hb[B]=R.hb[B];y=new ne;y.fixed={Rd:{},tb:{},vd:{},kc:{},Lf:0,Jb:new Date,hb:{},La:l.fixed.La,ka:cd,options:l.fixed.options,Ib:l.fixed.Ib,staticBaseURI:l.fixed.staticBaseURI,Ee:null,rd:{evaluate:z}};y.fixed.rd[R.name]=R;r.staticBaseURI&&(y.fixed.staticBaseURI=r.staticBaseURI);if(R=r.staticContext){var ca=R.decimalFormats;if(ca)for(B in ca)z.hb[B]=k(ca[B]);if(z=R.resources)for(B in z)if(ca=z[B], -ca.hasOwnProperty("err")){let ea=ca.err;ea=ea.replace(/Q{http:\/\/www\.w3\.org\/2005\/xqt-errors\}/,"");y.fixed.kc[B]=new F(ea+" "+ca.description,ea)}else y.fixed.kc[B]=ca;if(z=R.sources)for(B in z)if("."!==B)try{const ea=z[B];let ja;if("string"==typeof ea){let Y=W.readFile(ea);Y=Nd.Rg(Nd.Qg(Y));ja=ac.wc(W.parseXmlFromString(Y));ja._saxonBaseUri=ea;ja._saxonDocUri=ea}else ja=ea;y.fixed.tb[B]=ja}catch(ea){y.fixed.tb[B]=ea}if(B=R.collectionFinder)ma=B,y.fixed.options.Tg=n;B=R.staticBaseURI;"undefined"!= -typeof B&&(y.fixed.staticBaseURI="#UNDEFINED"===B?null:B)}r.staticBaseURI&&(y.fixed.staticBaseURI=r.staticBaseURI);y.masterDocument=l.masterDocument;y.ja=W.createDocument();if(null!=d){r=d.next();if(null!=d.next())throw new F("Context item is a sequence of more than one item","XTTE3210");y.oa=[];for(d=0;dqa.as).join(",")+"] r["+ma.as+ -"]");return ma.sig}var n=null,B=Ih.Qj[b.uri];B&&(n=B[b.local]);if(n&&!l.bb&&n.XSLTonly)return null;n||b.uri!==Zb.lc||(La.type[b.local]?n={sig:"1F a[?A] r[?"+La.type[b.local].code+"]"}:Bd[b.local]&&(n={sig:"1F a[1AS] r[*"+Bd[b.local]+"]"}));if(!n&&l.fb&&l.fb["function"]){var W=b.toEQName();if(l=l.fb["function"][W+"#"+d])b=W,n=l.actor,ac.X(n)?(ac.Ec(n,"arg"),n={sig:n.getAttribute("sig")}):(E(n),n={sig:r(n)}),n.isUserFunction=!0,n.componentBinding=l.id}else if(!n&&l.fixed&&l.fixed.La)if(B=`{${b.uri}}${b.local}`, -B in l.fixed.Rd)n=l.fixed.Rd[B];else{const ma=b.toEQName();for(W in l.fixed.La){const qa=l.fixed.La[W].actor;if("function"===qa.N&&qa.name===ma&&E(qa).length===d){n={sig:r(qa),isUserFunction:!0,componentBinding:W};l.fixed.Rd[B]=n;break}}}if(!n&&((l=Jh.Ri(b.uri))&&(n=l[b.local]),b.uri===Zb.xh)){b=0u?oa:u;q.qd=u+1}q.Gj(y);if(y=b.slotTypes)for(P in y)q.wd[P]=ic(y[P]);for(la in d)q.namespaces[la]=d[la];q.namespaces[""]="";if(d=b.staticTyping)q.vf=d;if(d=b.xpathDefaultNamespace)q.xpathDefaultNamespace= +d;if(d=b.defaultCollation)q.Vb=d;if(d=b.staticBaseURI)q.staticBaseURI=d;(d=b.contextType)?q.type=new gc(jc(d),2):q.type=q.bb?null:dc.nc;q.xe=q.type;if(b=b.requiredType)q.Ce=ec(b);return q}function m(y){const b=new c;b.type=dc.nc;b.aa(y.params,y.inputConvert);"fn xs map array math saxon ixsl".split(" ").forEach(p=>b.namespaces[p]=nh[p]);for(var d in y.namespaceContext)b.namespaces[d]=y.namespaceContext[d];y.xpathDefaultNamespace&&(b.xpathDefaultNamespace=y.xpathDefaultNamespace);let q;if(y=y.slotMap){d= +-1;let p;for(q in y)p=y[q],b.bc[q]=p,d=p>d?p:d;b.qd=d+1}return b}function g(y,b,d){y=Hh.process(y,"pattern"===b.type,b.splitPattern,d,"XSLT"===b.language,b.allowEmpty,b.freeVariables);return Pb(y)}function e(y,b=!1){const d={"function":{},globalVariable:{},globalParam:{}};for(const p in y){if("PRIVATE"===y[p].visibility)continue;var q=y[p].actor;const u=ac.X(q)?q.nodeName:q.N,P=ac.X(q)?q.getAttribute("name"):q.name;switch(u){case "function":if(b&&"PUBLIC"!==y[p].visibility&&"FINAL"!==y[p].visibility)break; +q=(ac.X(q)?ac.Fc(q,"arg"):F(q)).length;d[u][P+"#"+q]=y[p];break;case "globalVariable":case "globalParam":d[u][P]=y[p]}}return d}function k(y,b=!0){const d={N:y.nodeName};var q=y.attributes,p;for(p=0;pparseInt(q,10)),actor:b,C:[b]};return b.parentNode=y}function D(y){if(!ac.X(y))return[];let b=[];y.childNodes.forEach(d=>b=b.concat(D(d)));return b}function l(y,b){"ufRef"===y.nodeName?y.setAttribute("bSlot",b[y.getAttribute("name")]):y.hasChildNodes()&&y.childNodes.forEach(d=>l(d,b))}function f(y,b,d){var q=Jd.find("SaxonJS");const p=q.XError,u=q.convertResult;var P=q.getPlatform(),la=P.inBrowser();d||={};d.params||(d.params={});if(y.freeV){const A= +d.params;let H={};y.freeV.forEach(S=>{const N=S.startsWith("Q{}")?A[S.substring(3)]:A[S];if(!N)throw new p("A value for parameter "+S+" is required","SXJS9999");H[S]=N});d.params=H}q=d.inputConvert||"strong";const oa=m(d);let K=y.C[0];K.parentNode=y;const ca={name:"evaluate",Ya:y,hb:{}};y=new ne;y.ja=P.createDocument();y.fixed={Sd:{},tb:{},lc:{},vd:{},Lf:0,Jb:new Date,hb:{"Q{}":y.ja.createElement("decimal-format")},rd:{evaluate:ca},staticBaseURI:la?window.location.href:null,ka:cd};d.staticBaseURI&& +(y.fixed.staticBaseURI=d.staticBaseURI);let x,E;if(d.namedDecimalFormats)for(const A in d.namedDecimalFormats){P=d.namedDecimalFormats[A];la=y.ja.createElement("decimal-format");for(x in P)E=P[x],la.setAttribute(x,["infinity","NaN"].includes(x)?E:Da(E)[0]);ca.hb[/^Q\{/.test(A)?A:"Q{}"+A]=k(la)}if(d.defaultDecimalFormat){P=d.defaultDecimalFormat;la=y.ja.createElement("decimal-format");for(x in P)E=P[x],la.setAttribute(x,["infinity","NaN"].includes(x)?E:Da(E)[0]);ca.hb["Q{}"]=k(la)}y.oa=oa.yc;if(b)if(b instanceof +vb)y.focus=b;else{if(Array.isArray(b)&&1{P.params[la]="dummy"});b=m(P);p=g(y,P,b).next()}const u={N:"package",name:"evaluate",C:[p]};q&&(u.freeV=q);return d?u:function(P,la={}){return f(u,P,{params:la})}},evaluateOnly:f,compileGlobalContext:function(y,b,d){var q=new c;q.j();q.Ic=y;q.V=b;q.Gb=d;y={};d=0;for(let u in b){var p= +b[u];const P=ac.X(p);p=P?p.parentNode:p.parent;const la=P?p.parentNode:p.parent;y[d++]={actor:p,Ya:la,id:parseInt(P?la.getAttribute("id"):la.id,10)}}q.fb=e(y);return Pb(q)},evaluateXDM:function(y,b,d,q){function p(ma=""){return la[ma]}var u;const P=Jd.find("SaxonJS").getPlatform();let la;const oa=I(q.params,q,q.namespaces);oa.La=d.fixed.La;oa.staticBaseURI||(oa.staticBaseURI=d.fixed.staticBaseURI);const K=d.fixed.La;oa.fb=e(d.fixed.La,q.dynamicEval);y=g(y,q,oa).next();const ca={N:"package",name:"evaluate"}; +var x={name:"evaluate",Ya:ca,hb:{}};y.parentNode=ca;let E=!1;var A=D(y);if(0{const ka=t(ma,k(V),"");V=V.getAttribute("name")+"#"+V.getAttribute("arity");ka.parentNode=ca;oa.fb["function"][V]={actor:ka,Ya:null,id:ma};Y[V]=N++;K[ma]=ka;ma++;ia.push(ka)});l(y,Y);y=k(y);H=t(1E3,y,H.join(" "));H.parentNode=ca;K[1E3]=H;ia.unshift(H);ca.C=ia}else ac.X(y)?y=k(y):v(y),ca.C=[t(1E3,y,"")],y.parentNode= +ca;S=cd.me(d.sa.actor,d);for(u in S.hb)x.hb[u]=S.hb[u];A=new ne;A.fixed={Sd:{},tb:{},vd:{},lc:{},Lf:0,Jb:new Date,hb:{},La:d.fixed.La,ka:cd,options:d.fixed.options,Ib:d.fixed.Ib,staticBaseURI:d.fixed.staticBaseURI,Ee:null,rd:{evaluate:x}};A.fixed.rd[S.name]=S;q.staticBaseURI&&(A.fixed.staticBaseURI=q.staticBaseURI);if(S=q.staticContext){var aa=S.decimalFormats;if(aa)for(u in aa)x.hb[u]=k(aa[u]);if(x=S.resources)for(u in x)if(aa=x[u],aa.hasOwnProperty("err")){let ma=aa.err;ma=ma.replace(/Q{http:\/\/www\.w3\.org\/2005\/xqt-errors\}/, +"");A.fixed.lc[u]=new G(ma+" "+aa.description,ma)}else A.fixed.lc[u]=aa;if(x=S.sources)for(u in x)if("."!==u)try{const ma=x[u];let ia;if("string"==typeof ma){let Y=P.readFile(ma);Y=Nd.Sg(Nd.Rg(Y));ia=ac.xc(P.parseXmlFromString(Y));ia._saxonBaseUri=ma;ia._saxonDocUri=ma}else ia=ma;A.fixed.tb[u]=ia}catch(ma){A.fixed.tb[u]=ma}if(u=S.collectionFinder)la=u,A.fixed.options.Ug=p;u=S.staticBaseURI;"undefined"!=typeof u&&(A.fixed.staticBaseURI="#UNDEFINED"===u?null:u)}q.staticBaseURI&&(A.fixed.staticBaseURI= +q.staticBaseURI);A.masterDocument=d.masterDocument;A.ja=P.createDocument();if(null!=b){q=b.next();if(null!=b.next())throw new G("Context item is a sequence of more than one item","XTTE3210");A.oa=[];for(b=0;boa.as).join(",")+"] r["+la.as+"]");return la.sig}var p=null,u=Ih.Qj[y.uri];u&&(p=u[y.local]);if(p&&!d.bb&&p.XSLTonly)return null;p||y.uri!==Zb.mc||(La.type[y.local]?p={sig:"1F a[?A] r[?"+ +La.type[y.local].code+"]"}:Bd[y.local]&&(p={sig:"1F a[1AS] r[*"+Bd[y.local]+"]"}));if(!p&&d.fb&&d.fb["function"]){var P=y.toEQName();if(d=d.fb["function"][P+"#"+b])y=P,p=d.actor,ac.X(p)?(ac.Fc(p,"arg"),p={sig:p.getAttribute("sig")}):(F(p),p={sig:q(p)}),p.isUserFunction=!0,p.componentBinding=d.id}else if(!p&&d.fixed&&d.fixed.La)if(u=`{${y.uri}}${y.local}#${b}`,u in d.fixed.Sd)p=d.fixed.Sd[u];else{const la=y.toEQName();for(P in d.fixed.La){const oa=d.fixed.La[P].actor;if("function"===oa.N&&oa.name=== +la&&F(oa).length===b){p={sig:q(oa),isUserFunction:!0,componentBinding:P};d.fixed.Sd[u]=p;break}}}if(!p&&((d=Jh.Ri(y.uri))&&(p=d[y.local]),y.uri===Zb.xh)){y=0d.indexOf("`"))return d.split(".");let l=[""],r=0,n=0,B=!0;for(;nb||b>d)throw new F("Array index ("+b+") out of bounds (1 to "+d+")","FOAY0001",t);}function m(b){return b[0].next().value} -function f(b){return Pb(new $c(b))}function A(b,d,l,r){const n=d.fixed.ka;let B=b[1].expand();const W=b[2].expand()[0],ma=Object.keys(d.oa).length;if(W instanceof ad.XdmFunction)b=m(b),r||(b=b.reverse()),b.forEach(qa=>{B=W.evaluate(r?[B,qa]:[qa,B],d,l).expand()});else{let qa;"function"!==W.N&&(qa=W);b[0].forEachItem(function(L){const aa=d.ba(!0);qa&&(aa.sa=qa);gd(aa);aa.qa="function";aa.gb={};aa.ab=null;aa.focus=null;r?(aa.oa[ma]=B,aa.oa[ma+1]=[L]):(aa.oa[ma]=[L],aa.oa[ma+1]=B);B=n.evaluate(void 0, -aa).expand()})}return Kb(B)}const O={append:function(b){return f(m(b).concat([b[1].expand()]))},filter:function(b,d,l){const r=b[1].expand()[0];Object.keys(d.oa);b=m(b);if(r.evaluate){const n=[];b.forEach(function(B){const W=r.evaluate([B],d,l).expand();if(Array.isArray(W)&&1!==W.length||!p.boolean.matches(W[0]))throw new F("Wrong type for function result in filter(). Expecting xs:boolean, supplied value is "+sa.showValue(W),"XPTY0004",l);W[0].toBoolean()&&n.push(B)});return f(n)}throw new F("Argument supplied to array:filter is not a function", -"XPTY0004",l);},flatten:function(b){return cd.flatten(b[0])},"fold-left":function(b,d,l){return A(b,d,l,!0)},"fold-right":function(b,d,l){return A(b,d,l,!1)},"for-each":function(b,d,l){const r=b[1].expand()[0];b=m(b);Object.keys(d.oa);if(r.evaluate){const n=[];b.forEach(function(B){n.push(r.evaluate([B],d,l).expand())});return f(n)}},"for-each-pair":function(b,d,l){let r=b[2].expand();if(1!==r.length)throw new F("for-each-pair() must have exactly one function item as the third argument. Supplied length "+ -r.length,"XPTY0004",l);r=r[0];Object.keys(d.oa);const n=[],B=b[0].next().value[Symbol.iterator]();b=b[1].next().value[Symbol.iterator]();let W=B.next().value,ma=b.next().value;if(r instanceof ad.XdmFunction)for(;W&&ma;)n.push(r.evaluate([W,ma],d,l).expand()),W=B.next().value,ma=b.next().value;return f(n)},"_from-sequence":function(b){const d=[];b[0].forEachItem(function(l){d.push([l])});return f(d)},get:function(b){const d=m(b);b=b[1].next().toNumber();C(b,d.length);return Kb(d[b-1])},head:function(b){b= -m(b);C(1,b.length);return Kb(b[0])},"insert-before":function(b){const d=m(b),l=b[1].next().toNumber();C(l,d.length+1);b=b[2].expand();return f(d.slice(0,l-1).concat([b]).concat(d.slice(l-1)))},join:function(b){const d=[];b[0].forEachItem(function(l){l.value.forEach(function(r){d.push(r)})});return f(d)},put:function(b){const d=m(b),l=b[1].next().toNumber();C(l,d.length);b=b[2].expand();return f(d.slice(0,l-1).concat([b]).concat(d.slice(l)))},remove:function(b){const d=m(b),l=[];b[1].forEachItem(function(r){r= -r.toNumber();C(r,d.length);l.push(r-1)});return f(d.filter(function(r,n){return 0>l.indexOf(n)}))},reverse:function(b){return f(m(b).slice().reverse())},size:function(b){return Ub(b[0].next().size())},sort:function(b,d,l){const r=Hd.df(l,b[1],d);let n=cd.Sb;if(b[2]){const B=b[2].next();n=function(W){return B.evaluate([[W]],d,l)}}return f(m(b).slice().sort(function(B,W){return b[1]?Id(Kb(B).mapOneToMany(n),Kb(W).mapOneToMany(n),r):Id(Kb(B).mapOneToMany(n),Kb(W).mapOneToMany(n))}))},subarray:function(b){const d= -m(b),l=b[1].next().toNumber();C(l,d.length+1);b=b[2]?b[2].next().toNumber():d.length-l+1;if(0>b)throw new F("Length is negative","FOAY0002");C(l+b,d.length+1);return f(d.slice(l-1,l+b-1))},tail:function(b){b=m(b);C(1,b.length);return f(b.slice(1))},"_to-sequence":function(b){const d=[];m(b).forEach(function(l){l.forEach(function(r){d.push(r)})});return Kb(d)}};if(!O[e])throw new F("Unknown array function: "+e,"SXJS0003",t);return O[e](k,v,t)}function E(e,k,v,t){const C={contains:function(m){const f= -m[0].next();m=m[1].next();return Xb(f.containsKey(m))},create:function(m){const f=new cc;m[0].forEachItem(function(A){A.forAllPairs(function(O){f.inSituPut(O.k,O.v)})});return Pb(f)},entry:function(m){const f=new cc;f.inSituPut(m[0].next(),m[1].expand());return Pb(f)},find:function(m){function f(d){cd.isArray(d)?d.value.forEach(A):cd.isMap(d)&&(d.containsKey(b)&&O.push(d.get(b)),d.keys().forEach(function(l){A(d.get(l))}))}function A(d){d.forEach(f)}const O=[],b=m[1].next();A(m[0].expand());return Pb(new $c(O))}, -"for-each":function(m,f,A){const O=m[0].next(),b=O.keys(),d=m[1].expand()[0];if(d.evaluate){let l=[];b.forEach(function(r){l=l.concat(d.evaluate([[r],O.get(r)],f,A).expand())});return Kb(l)}throw new F("Argument to map:for-each is not a function","XPTY0004",A);},get:function(m){const f=m[0].next();m=m[1].next();return Kb(f.get(m))},keys:function(m){m=m[0].next();return Kb(m.keys())},merge:function(m){const f=new cc,A=m[1]?m[1].next():null,O=p.string.fromString("duplicates"),b=A&&A.containsKey(O)? -A.get(O).toString():"use-first";m[0].forEachItem(function(d){d.forAllPairs(function(l){if(!f.containsKey(l.k)||["use-last","unspecified","use-any"].includes(b))f.inSituPut(l.k,l.v);else{if("reject"===b){var r=p.string.fromString("duplicates-error-code");r=A.containsKey(r)?A.get(r).toString():"FOJS0003";throw new F("Duplicate key value '"+l.k.toString()+"'",r,t);}if("combine"===b){let n=[];f.get(l.k).forEach(function(B){n.push(B)});l.v.forEach(function(B){n.push(B)});f.inSituPut(l.k,n)}}})});return Pb(f)}, -_new:function(m){const f=new cc;m[0]&&m[0].forEachItem(function(A){A.forAllPairs(function(O){if(f.containsKey(O.k))throw new F("Duplicate key value '"+O.k.toString()+"'","XSLT"===v.fixed.options.language?"XTDE3365":"XQDY0137",t);f.inSituPut(O.k,O.v)})});return Pb(f)},put:function(m){const f=m[0].next(),A=m[1].next();m=m[2].expand();return Pb(f.put(A,m))},remove:function(m){let f=m[0].next();m[1].forEachItem(function(A){f=f.remove(A)});return Pb(f)},size:function(m){let f=0;m[0].next().forAllPairs(function(){f++}); -return Ub(f)},"untyped-contains":function(m){const f=m[0].next();m=m[1].next();return Xb(f.containsKey(m))}};if(!C[e])throw new F("Unknown map function: "+e,"SXJS0003",t);return C[e](k,v,t)}function H(e,k,v,t){function C(b){return null===b?(A=!0,Number.NaN):b.toNumber()}function m(){const b=k[0].next();return C(b?b:cd.Sa(t)(v).next())}function f(){const b=k[1].next();return C(b?b:cd.Vg(t)(v).next())}let A=!1;const O=function(){switch(e){case "pi":return Math.PI;case "exp":return Math.exp(m());case "exp10":return Math.pow(10, -m());case "log":return Math.log(m());case "log10":return Math.log(m())/Math.LN10;case "pow":const b=m(),d=f();return-1===b&&(Infinity===d||-Infinity===d)||1===b?1:Math.pow(b,d);case "sqrt":return Math.sqrt(m());case "sin":return Math.sin(m());case "cos":return Math.cos(m());case "tan":return Math.tan(m());case "asin":return Math.asin(m());case "acos":return Math.acos(m());case "atan":return Math.atan(m());case "atan2":return Math.atan2(m(),f());default:throw new F("Unknown math function "+t.name, -"XPST0017",t);}}();return A?Ob:Vb(O)}const p=La.XS,g={};g[Zb.wb]={apply:ke.apply,"compile-XPath":function(e,k,v){const t=e[0].next().toString();let C,m;1t[C]}else e=t=>v.lookupNamespaceURI(t);k=Hh.parseSequenceType(k,e,()=>{let t=v;for(;t&&1===t.nodeType;){if(ac.ca(t).uri===Zb.Wc&&t.hasAttributeNS("","xpath-default-namespace"))return t.getAttributeNS("","xpath-default-namespace"); -if(t.hasAttributeNS(Zb.Wc,"xpath-default-namespace"))return t.getAttributeNS(Zb.Wc,"xpath-default-namespace");t=ac.Xa(t)}});return Pb(cd.xd(cd.Ra(k.$()))[0])},"parse-XPath":function(e){const k=e[0].next().toString();let v="parse";1k.push({key:Math.random(),Nj:v}));k=k.sort(function(v,t){return v.key-t.key});e=k.map(v=>v.Nj);return Kb(e)},"system-id":function(e, -k){e=ed(k);e=ac.X(e)?ac.baseURI(e):null;return Pb(null===e?null:p.anyURI.fromString(e))},timestamp:function(e,k){return Pb(p.Ed.fromDate(new Date,-k.fixed.Jb.getTimezoneOffset()))}};g["http://exslt.org/common"]={"node-set":function(e){return e[0]}};cd.Aj(a);return{evaluate:a,Nf:function(e){const k=e.namespace;e=e.signatures;let v=g[k];v||=g[k]={};Object.entries(e).forEach(t=>{v[t[0]]=t[1].impl})}}}(); +const Mh=function(){function a(e,k,v,t,D){switch(e){case Zb.Oa+"/math":return I(k,v,t,D);case Zb.Oa+"/map":return F(k,v,t,D);case Zb.Oa+"/array":return n(k,v,t,D);case Zb.nd:return c(k,v,t,D);default:const l=(g[e]||{})[k];if(!l)throw new G("Unknown function "+(g[e]?"local name "+k:"namespace "+e),"SXJS0003",D);return l(v,t,D)}}function c(e,k,v,t){function D(b,d){for(let q=0;qb.indexOf("`"))return b.split(".");let d=[""],q=0,p=0,u=!0;for(;py||y>b)throw new G("Array index ("+y+") out of bounds (1 to "+b+")","FOAY0001",t);}function l(y){return y[0].next().value}function f(y){return Pb(new $c(y))}function B(y,b,d,q){const p=b.fixed.ka;let u= +y[1].expand();const P=y[2].expand()[0],la=Object.keys(b.oa).length;if(P instanceof ad.XdmFunction)y=l(y),q||(y=y.reverse()),y.forEach(oa=>{u=P.evaluate(q?[u,oa]:[oa,u],b,d).expand()});else{let oa;"function"!==P.N&&(oa=P);y[0].forEachItem(function(K){const ca=b.ba(!0);oa&&(ca.sa=oa);gd(ca);ca.qa="function";ca.gb={};ca.ab=null;ca.focus=null;q?(ca.oa[la]=u,ca.oa[la+1]=[K]):(ca.oa[la]=[K],ca.oa[la+1]=u);u=p.evaluate(void 0,ca).expand()})}return Kb(u)}const L={append:function(y){return f(l(y).concat([y[1].expand()]))}, +filter:function(y,b,d){const q=y[1].expand()[0];Object.keys(b.oa);y=l(y);if(q.evaluate){const p=[];y.forEach(function(u){const P=q.evaluate([u],b,d).expand();if(Array.isArray(P)&&1!==P.length||!m.boolean.matches(P[0]))throw new G("Wrong type for function result in filter(). Expecting xs:boolean, supplied value is "+sa.showValue(P),"XPTY0004",d);P[0].toBoolean()&&p.push(u)});return f(p)}throw new G("Argument supplied to array:filter is not a function","XPTY0004",d);},flatten:function(y){return cd.flatten(y[0])}, +"fold-left":function(y,b,d){return B(y,b,d,!0)},"fold-right":function(y,b,d){return B(y,b,d,!1)},"for-each":function(y,b,d){const q=y[1].expand()[0];y=l(y);Object.keys(b.oa);if(q.evaluate){const p=[];y.forEach(function(u){p.push(q.evaluate([u],b,d).expand())});return f(p)}},"for-each-pair":function(y,b,d){let q=y[2].expand();if(1!==q.length)throw new G("for-each-pair() must have exactly one function item as the third argument. Supplied length "+q.length,"XPTY0004",d);q=q[0];Object.keys(b.oa);const p= +[],u=y[0].next().value[Symbol.iterator]();y=y[1].next().value[Symbol.iterator]();let P=u.next().value,la=y.next().value;if(q instanceof ad.XdmFunction)for(;P&&la;)p.push(q.evaluate([P,la],b,d).expand()),P=u.next().value,la=y.next().value;return f(p)},"_from-sequence":function(y){const b=[];y[0].forEachItem(function(d){b.push([d])});return f(b)},get:function(y){const b=l(y);y=y[1].next().toNumber();D(y,b.length);return Kb(b[y-1])},head:function(y){y=l(y);D(1,y.length);return Kb(y[0])},"insert-before":function(y){const b= +l(y),d=y[1].next().toNumber();D(d,b.length+1);y=y[2].expand();return f(b.slice(0,d-1).concat([y]).concat(b.slice(d-1)))},join:function(y){const b=[];y[0].forEachItem(function(d){d.value.forEach(function(q){b.push(q)})});return f(b)},put:function(y){const b=l(y),d=y[1].next().toNumber();D(d,b.length);y=y[2].expand();return f(b.slice(0,d-1).concat([y]).concat(b.slice(d)))},remove:function(y){const b=l(y),d=[];y[1].forEachItem(function(q){q=q.toNumber();D(q,b.length);d.push(q-1)});return f(b.filter(function(q, +p){return 0>d.indexOf(p)}))},reverse:function(y){return f(l(y).slice().reverse())},size:function(y){return Ub(y[0].next().size())},sort:function(y,b,d){const q=Hd.ef(d,y[1],b);let p=cd.Tb;if(y[2]){const u=y[2].next();p=function(P){return u.evaluate([[P]],b,d)}}return f(l(y).slice().sort(function(u,P){return y[1]?Id(Kb(u).mapOneToMany(p),Kb(P).mapOneToMany(p),q):Id(Kb(u).mapOneToMany(p),Kb(P).mapOneToMany(p))}))},subarray:function(y){const b=l(y),d=y[1].next().toNumber();D(d,b.length+1);y=y[2]?y[2].next().toNumber(): +b.length-d+1;if(0>y)throw new G("Length is negative","FOAY0002");D(d+y,b.length+1);return f(b.slice(d-1,d+y-1))},tail:function(y){y=l(y);D(1,y.length);return f(y.slice(1))},"_to-sequence":function(y){const b=[];l(y).forEach(function(d){d.forEach(function(q){b.push(q)})});return Kb(b)}};if(!L[e])throw new G("Unknown array function: "+e,"SXJS0003",t);return L[e](k,v,t)}function F(e,k,v,t){const D={contains:function(l){const f=l[0].next();l=l[1].next();return Xb(f.containsKey(l))},create:function(l){const f= +new cc;l[0].forEachItem(function(B){B.forAllPairs(function(L){f.inSituPut(L.k,L.v)})});return Pb(f)},entry:function(l){const f=new cc;f.inSituPut(l[0].next(),l[1].expand());return Pb(f)},find:function(l){function f(b){cd.isArray(b)?b.value.forEach(B):cd.isMap(b)&&(b.containsKey(y)&&L.push(b.get(y)),b.keys().forEach(function(d){B(b.get(d))}))}function B(b){b.forEach(f)}const L=[],y=l[1].next();B(l[0].expand());return Pb(new $c(L))},"for-each":function(l,f,B){const L=l[0].next(),y=L.keys(),b=l[1].expand()[0]; +if(b.evaluate){let d=[];y.forEach(function(q){d=d.concat(b.evaluate([[q],L.get(q)],f,B).expand())});return Kb(d)}throw new G("Argument to map:for-each is not a function","XPTY0004",B);},get:function(l){const f=l[0].next();l=l[1].next();return Kb(f.get(l))},keys:function(l){l=l[0].next();return Kb(l.keys())},merge:function(l){const f=new cc,B=l[1]?l[1].next():null,L=m.string.fromString("duplicates"),y=B&&B.containsKey(L)?B.get(L).toString():"use-first";l[0].forEachItem(function(b){b.forAllPairs(function(d){if(!f.containsKey(d.k)|| +["use-last","unspecified","use-any"].includes(y))f.inSituPut(d.k,d.v);else{if("reject"===y){var q=m.string.fromString("duplicates-error-code");q=B.containsKey(q)?B.get(q).toString():"FOJS0003";throw new G("Duplicate key value '"+d.k.toString()+"'",q,t);}if("combine"===y){let p=[];f.get(d.k).forEach(function(u){p.push(u)});d.v.forEach(function(u){p.push(u)});f.inSituPut(d.k,p)}}})});return Pb(f)},_new:function(l){const f=new cc;l[0]&&l[0].forEachItem(function(B){B.forAllPairs(function(L){if(f.containsKey(L.k))throw new G("Duplicate key value '"+ +L.k.toString()+"'","XSLT"===v.fixed.options.language?"XTDE3365":"XQDY0137",t);f.inSituPut(L.k,L.v)})});return Pb(f)},put:function(l){const f=l[0].next(),B=l[1].next();l=l[2].expand();return Pb(f.put(B,l))},remove:function(l){let f=l[0].next();l[1].forEachItem(function(B){f=f.remove(B)});return Pb(f)},size:function(l){let f=0;l[0].next().forAllPairs(function(){f++});return Ub(f)},"untyped-contains":function(l){const f=l[0].next();l=l[1].next();return Xb(f.containsKey(l))}};if(!D[e])throw new G("Unknown map function: "+ +e,"SXJS0003",t);return D[e](k,v,t)}function I(e,k,v,t){function D(y){return null===y?(B=!0,Number.NaN):y.toNumber()}function l(){const y=k[0].next();return D(y?y:cd.Sa(t)(v).next())}function f(){const y=k[1].next();return D(y?y:cd.Wg(t)(v).next())}let B=!1;const L=function(){switch(e){case "pi":return Math.PI;case "exp":return Math.exp(l());case "exp10":return Math.pow(10,l());case "log":return Math.log(l());case "log10":return Math.log(l())/Math.LN10;case "pow":const y=l(),b=f();return-1===y&&(Infinity=== +b||-Infinity===b)||1===y?1:Math.pow(y,b);case "sqrt":return Math.sqrt(l());case "sin":return Math.sin(l());case "cos":return Math.cos(l());case "tan":return Math.tan(l());case "asin":return Math.asin(l());case "acos":return Math.acos(l());case "atan":return Math.atan(l());case "atan2":return Math.atan2(l(),f());default:throw new G("Unknown math function "+t.name,"XPST0017",t);}}();return B?Ob:Vb(L)}const m=La.XS,g={};g[Zb.wb]={apply:ke.apply,"compile-XPath":function(e,k,v){const t=e[0].next().toString(); +let D,l;1t[D]}else e=t=>v.lookupNamespaceURI(t);k=Hh.parseSequenceType(k,e,()=>{let t=v;for(;t&&1===t.nodeType;){if(ac.ca(t).uri===Zb.Xc&&t.hasAttributeNS("","xpath-default-namespace"))return t.getAttributeNS("","xpath-default-namespace");if(t.hasAttributeNS(Zb.Xc,"xpath-default-namespace"))return t.getAttributeNS(Zb.Xc,"xpath-default-namespace");t=ac.$a(t)}});return Pb(cd.xd(cd.Ra(k.$()))[0])},"parse-XPath":function(e){const k= +e[0].next().toString();let v="parse";1k.push({key:Math.random(),Nj:v}));k=k.sort(function(v,t){return v.key-t.key});e=k.map(v=>v.Nj);return Kb(e)},"system-id":function(e,k){e=ed(k);e=ac.X(e)?ac.baseURI(e):null;return Pb(null===e?null:m.anyURI.fromString(e))},timestamp:function(e,k){return Pb(m.Ed.fromDate(new Date,-k.fixed.Jb.getTimezoneOffset()))}}; +g["http://exslt.org/common"]={"node-set":function(e){return e[0]}};cd.Aj(a);return{evaluate:a,Nf:function(e){const k=e.namespace;e=e.signatures;let v=g[k];v||=g[k]={};Object.entries(e).forEach(t=>{v[t[0]]=t[1].impl})}}}(); // Input 77 var Nh={forceBaseURI:Lh.forceBaseURI}; // Input 78 -const Oh=function(){function a(e,k){return e.Eb===k.Eb?e.Qc===k.Qc?e.Sd===k.Sd?k.Hh-e.Hh:e.Sd-k.Sd:e.Qc-k.Qc:e.Eb-k.Eb}function c(e,k){return e.Eb===k.Eb?e.Qc===k.Qc?0:e.Qc-k.Qc:e.Eb-k.Eb}function q(e,k){function v(t){return t.n?[t.n.replace(/^(\*:|Q\{.*\})/,"")]:t.u?v(t.u[0]).concat(v(t.u[1])):[]}this.Re=e;this.Ch=e.onNo;this.Bh=k.Db(e,"t");k.Db(e,"F")&&(this.Zf=!0);this.Kg=(e.C||[]).map(function(t){return{Qd:t,Eb:parseInt(t.prec,10),Qc:parseFloat(t.prio),Sd:parseInt(t.seq,10),nj:parseInt(t.minImp, -10),Hh:parseInt(t.rank,10),pattern:Kd.od(k.da(t,"match")),matches:fc(t.matches||"1"),action:k.da(t,"action")}}).sort(a).reverse();this.fc={};this.Kg.forEach(t=>{const C=t.matches.$();let m,f=[];/^N[EAP]/.test(C.p)?(m=C.p,C.n&&!/}\*$/.test(C.n)?(m+=" "+C.n.replace(/^(\*:|Q\{.*\})/,""),f=[m]):f=C.u?[...(new Set(v(C)))].map(A=>m+" "+A):[m]):f=["."];f.forEach(A=>{let O=this.fc[A];O||(this.fc[A]=O=[]);O.push(t)})})}const E=La.XS,H=ac.Ja,p={TC:function(e,k,v,t){if(ac.X(e))switch(e.nodeType){case 9:case 11:case 1:v= -v.ba(!1);v.focus=Sb(H.Ka(e));k.Hb(v,t);break;case 3:case 4:t.append(e);break;case 2:t.text(e.value)}else if(E.Qf.matches(e))t.text(e.toString());else if(cd.isArray(e)){let C=[];e.value.forEach(m=>{C=C.concat(m)});e=v.ba(!1);e.focus=Sb(Kb(C));k.Hb(e,t)}},SC:function(e,k,v,t){return Zd.rg(e,v,"c",function(){const C=v.ba(!1);C.focus=Sb(H.Ha(e));k.Hb(C,t);C.focus=Sb(H.Ka(e));k.Hb(C,t)},t)},DC:function(e,k,v,t){ac.X(e)&&(t.pb=ac.baseURI(e));t.append(e)},DS:function(e,k,v,t){if(ac.X(e))switch(e.nodeType){case 9:case 11:v= -v.ba(!1),v.focus=Sb(H.Ka(e)),k.Hb(v,t)}},SS:function(e,k,v,t){if(ac.X(e))switch(e.nodeType){case 9:case 11:case 1:v=v.ba(!1),v.focus=Sb(H.Ha(e)),k.Hb(v,t),v.focus=Sb(H.Ka(e)),k.Hb(v,t)}else if(cd.isArray(e)){let C=[];e.value.forEach(m=>{C=C.concat(m)});e=v.ba(!1);e.focus=Sb(Kb(C));k.Hb(e,t)}},bubble:function(e,k,v,t){ac.X(e)?1===e.nodeType&&(v=v.ba(!1),v.focus=Sb(H.parent(e)),k.Hb(v,t)):t.append(e)}};p.TO=p.TC;const g={1:"NE",2:"NA",3:"NT",7:"NP",8:"NC",9:"ND",11:"ND",13:"NN"};q.prototype={Re:null, -Kg:null,Ch:"TC",Bh:!1,Zf:!1,Hb:function(e,k,v){if(v){let t=!0;e.focus.forEachItem(C=>{t?t=!1:k.text(v.value,{});this.Se(C,e,k)})}else e.focus.forEachItem(t=>this.Se(t,e,k))},ki:function(e,k){const v=e.ab;if(!v)throw new F("No current template rule","XTDE0560");return this.Se(ed(e),e,k,function(t){return t.Eb>=v.nj&&t.Eba(t,v)})},Gi:function(e,k,v){let t=null, -C=null;const m=this.Zf;var f=[];if(ac.X(e)){const O=g[e.nodeType];var A=ac.ca(e);if(A=A?A.local:null)A=O+" "+A,this.fc[A]&&f.push(this.fc[A]);this.fc[O]&&f.push(this.fc[O]);this.fc.N&&f.push(this.fc.N)}this.fc["."]&&f.push(this.fc["."]);(function(O){O.forEach(b=>{b.forEach(function(d){if(!v||v(d))if(!t||0{const D=t.matches.$();let l,f=[];/^N[EAP]/.test(D.p)?(l=D.p,D.n&&!/}\*$/.test(D.n)?(l+=" "+D.n.replace(/^(\*:|Q\{.*\})/,""),f=[l]):f=D.u?[...(new Set(v(D)))].map(B=>l+" "+B):[l]):f=["."];f.forEach(B=>{let L=this.hc[B];L||(this.hc[B]=L=[]);L.push(t)})})}const F=La.XS,I=ac.Ja,m={TC:function(e,k,v,t){if(ac.X(e))switch(e.nodeType){case 9:case 11:case 1:v= +v.ba(!1);v.focus=Sb(I.Ka(e));k.Hb(v,t);break;case 3:case 4:t.append(e);break;case 2:t.text(e.value)}else if(F.Qf.matches(e))t.text(e.toString());else if(cd.isArray(e)){let D=[];e.value.forEach(l=>{D=D.concat(l)});e=v.ba(!1);e.focus=Sb(Kb(D));k.Hb(e,t)}},SC:function(e,k,v,t){return Zd.sg(e,v,"c",function(){const D=v.ba(!1);D.focus=Sb(I.Ha(e));k.Hb(D,t);D.focus=Sb(I.Ka(e));k.Hb(D,t)},t)},DC:function(e,k,v,t){ac.X(e)&&(t.pb=ac.baseURI(e));t.append(e)},DS:function(e,k,v,t){if(ac.X(e))switch(e.nodeType){case 9:case 11:v= +v.ba(!1),v.focus=Sb(I.Ka(e)),k.Hb(v,t)}},SS:function(e,k,v,t){if(ac.X(e))switch(e.nodeType){case 9:case 11:case 1:v=v.ba(!1),v.focus=Sb(I.Ha(e)),k.Hb(v,t),v.focus=Sb(I.Ka(e)),k.Hb(v,t)}else if(cd.isArray(e)){let D=[];e.value.forEach(l=>{D=D.concat(l)});e=v.ba(!1);e.focus=Sb(Kb(D));k.Hb(e,t)}},bubble:function(e,k,v,t){ac.X(e)?1===e.nodeType&&(v=v.ba(!1),v.focus=Sb(I.parent(e)),k.Hb(v,t)):t.append(e)}};m.TO=m.TC;const g={1:"NE",2:"NA",3:"NT",7:"NP",8:"NC",9:"ND",11:"ND",13:"NN"};n.prototype={Re:null, +Lg:null,Ch:"TC",Bh:!1,Zf:!1,Hb:function(e,k,v){if(v){let t=!0;e.focus.forEachItem(D=>{t?t=!1:k.text(v.value,{});this.Se(D,e,k)})}else e.focus.forEachItem(t=>this.Se(t,e,k))},ki:function(e,k){const v=e.ab;if(!v)throw new G("No current template rule","XTDE0560");return this.Se(ed(e),e,k,function(t){return t.Eb>=v.nj&&t.Eba(t,v)})},Gi:function(e,k,v){let t=null, +D=null;const l=this.Zf;var f=[];if(ac.X(e)){const L=g[e.nodeType];var B=ac.ca(e);if(B=B?B.local:null)B=L+" "+B,this.hc[B]&&f.push(this.hc[B]);this.hc[L]&&f.push(this.hc[L]);this.hc.N&&f.push(this.hc.N)}this.hc["."]&&f.push(this.hc["."]);(function(L){L.forEach(y=>{y.forEach(function(b){if(!v||v(b))if(!t||0!0;else if("strip.none"===z.N)y=()=>!1;else{let I={},R={},M={},ca={},ea={},ja=function(V,la,x){V[la]?parseInt(x.Eb,10)>parseInt(V[la].Eb,10)&&(V[la]=x):V[la]=x};(z.C||[]).forEach(V=>{const la=fc(V.test);la instanceof nd?(V.PREC=parseInt(V.prec,10),V.PRIO=2,ja(I,la.name.toEQName(),V)):la instanceof pd?(V.PREC=parseInt(V.prec,10),V.PRIO=1,ja(R,la.uri,V)):la instanceof od?(V.PREC=parseInt(V.prec,10),V.PRIO=1,ja(M,la.localName,V)):la instanceof Fc? -(V.PREC=parseInt(V.prec,10),V.PRIO=0,ja(ca,"*",V)):sa.la("Unrecognised strip-space "+V.test)});const Y=(V,la)=>{const x=[],K=I["Q{"+V+"}"+la];K&&x.push(K);(V=R[V])&&x.push(V);(la=M[la])&&x.push(la);ca["*"]&&x.push(ca["*"]);x.sort((U,ha)=>{const T=U.PREC,w=ha.PREC;return T===w?ha.PRIO-U.PRIO:w-T});return 0{const x="Q{"+V+"}"+la,K=ea[x];if(K)return"s"===K;V=Y(V,la);ea[x]=V?"s":"p";return V}}else y=()=>!1;return function(I){D(I);return I}}function q(z,D,y){function I(S){S= -new Ud(S);Y.fixed.Ji=S;return new Zd.Fc(S)}function R(){}function M(){W&&!y.lg&&m(Y)}var ca=cd.qb(z,"strip")[0]||cd.qb(z,"strip.all")[0];let ea=null;if(ca||W)ea=c(ca),D&&ea&&(D=ea(D));y.Vh&&y.Vh(z);y.ql=null;const ja=y.async,Y=A(z,D,y);Y.fixed.wl=Y.fixed.yd.Za.version;O(Y,function(S){return"globalParam"===S.N&&S.flags&&-1!==S.flags.indexOf("r")}).map(function(S){return S.name}).map(function(S){if("undefined"===typeof Y.fixed.options.Sh.get(La.XS.QName.fromEQName(S)))throw new F("No value has been provided for required stylesheet parameter '"+ -S+"'","XTDE0050");});Y.fixed.Ee=ea;D&&(ac.wc(D),Y.fixed.tb[D._saxonBaseUri]=D);const V=y.destination||"application",la=y.resultForm||"default";if(y.dd){let S=y.dd("testURI");["document","serialized","raw"].includes(S.destination)&&!S.save&&(y.dd=function(){return new je(S.destination,y.resultDocuments)})}y.dd||(y.dd=W?function(){return new ie("html-page",function(S,da){y.resultDocuments[S.toString()]=da})}:ja?function(){return new ie("file",function(S,da,fa){da=B.writeFileAsync(S,da,fa);sa.Ma("Promising to write to "+ -S,2,Y.fixed.Ta);Y.fixed.zd.push(da)})}:function(){return new ie("file",function(S,da,fa){sa.Ma("Writing to "+S,2,Y.fixed.Ta);B.writeFileSync(S,da,fa)})});let x;const K={};ca=Y.fixed.yd;var U=ca.mg["#unnamed"];if(U){U=U.C;var ha,T;for(var w=0;wU.indexOf("Q{")&&(U="Q{}"+U);ca=d(Y,U);if(!ca)throw new F("Unknown initial mode "+U,"XTDE0045");w="Q{"+Zb.Wc+"}initial-template"; -D||ha||T||l(Y,w)&&(T=w);let Z=y.Wi;if(Z){D=y.ih?y.ih:[];ha=D.length;T=r(Y,Z.toString(),ha);if(!T)throw new F("Unknown initial function "+Z+"#"+ha,"XTDE0041");if("PUBLIC"!==T.Za.vis&&"FINAL"!==T.Za.vis)throw new F("Uninvocable initial function "+Z+"#"+ha+" with visibility "+T.Za.vis,"XTDE0041");const S=T.Za.C[0];Y.focus={};Y.sa=T;gd(Y);Y.qa="function";Y.gb=ca;Y.ab=null;let da=0;Y.oa=D.map(function(fa){var na=S.C[da++].as;na=ec(na||"*");return cd.Uf(cd.Ra(fa),na,()=>"function parameter for "+Z)});D= -R();Zd.push(cd.da(S,"body"),Y,D);D.close()}else if(T){ha=l(Y,T);if(!ha)throw new F("Unknown initial template "+T,"XTDE0040");T=ha.actor;Y.fixed.hd?Y.focus=Rb(D):(Y.focus=Sb(Ob),Y.focus.next());cd.Tf(T,Y);Y.sa=ha;Y.gb=ca;E(y,Y);D=R();Zd.push(T.C[0],Y,D);D.close()}else{Array.isArray(ha)&&ea&&ha.filter(ac.X).map(function(S){return ac.jf(S)?S:S.ownerDocument}).map(function(S){return ea(S)});if("PRIVATE"===ca.visibility&&U!==z.defaultMode&&""!==U)throw new F("Uninvokable initial mode "+U+" with visibility "+ -ca.Za.vis,"XTDE0045");if(!D&&!ha)throw new F("No source input supplied for apply-templates invocation","XTDE0044");T=ca.mode;Y.sa=ca;Y.focus=Sb(ha?Kb(Array.isArray(ha)?ha:[ha]):Pb(D));D=T.Re.useAcc;null!=D&&"#all"!==D&&(Y.Ge=D.split(/\s+/));E(y,Y);D=R();T.Hb(Y,D);D.close()}M();if(ja){function S(){const da=Y.fixed.zd;Y.fixed.zd=[];return Promise.all(da).then(()=>{if(0{throw fa;}).then(()=>Promise.resolve(new he(y.principalResult,y.resultDocuments,z,y.masterDocument)))} -y.Dj=S()}}function E(z,D){z.Fe&&(sa.assert(z.Fe instanceof cc,"options?templateParams must be an instance of HashTrie. Supplied:"+z.Fe),D.Kc=z.Fe);z.Qb&&(sa.assert(z.Fe instanceof cc,"options?tunnelParams must be an instance of HashTrie. Supplied:"+z.Qb),D.Qb=z.Qb)}function H(z){let D="";for(const y in z)z.hasOwnProperty(y)&&z[y]&&(D+=y+"="+z[y].toString().substring(0,30)+"("+typeof y+"), ");return D}function p(z){let D=z.stylesheetInternal||null;if(!D){if(z.Pb)var y=B.readFile(z.Pb);else if(z.tg)y= -z.tg;else if(z.jc){if(W)throw new F("Cannot supply stylesheetFileName in browser","SXJS0006");y=B.readFile(z.jc)}else throw new F("No stylesheet supplied","SXJS0006");try{D=JSON.parse(y)}catch(R){throw new F("Supplied SEF is not in JSON format","SXJS0006");}}t(D,z);D.PRIMED||(C(D),g(D),D.PRIMED=!0);"true"===D.relocatable&&(z.md=!0);y=z.tf||null;let I;y&&(I=z.tf.baseURI||z.Ud)&&(y._saxonBaseUri=I);if(!y){let R;if(z.Uc)I=z.Uc,R=B.readFile(I);else if(z.uf)I=z.Ud,R=z.uf;else if(z.Tc){if(W)throw new F("Cannot supply sourceFileName in browser", -"SXJS0006");I=z.Tc;R=B.readFile(I)}R&&("json"===z.Ph?y=Md.ze(R,null):(y=B.parseXmlFromString(R),I&&(y._saxonBaseUri=y._saxonDocUri=I)))}q(D,y,z);return new he(z.principalResult,z.resultDocuments,D,z.masterDocument)}function g(z){z.C&&z.C.forEach(function(D){D.parentNode=z;g(D)})}function e(z){if(z instanceof cc)return z;const D=new cc;z&&Object.keys(z).forEach(y=>D.inSituPut(La.XS.QName.fromEQName(y),cd.Ra(z[y])));return D}function k(z){const D={};for(let [y,I]of Object.entries(z))D[y]="use-character-maps"=== -y?I:ge.pf(y,I,null);return D}function v(z){const D=(y,I)=>{let R=null;for(let M of I)if(y[M]){if(R)throw new F("The following transform options are mutually exclusive: "+I.toString(),"SXJS0006");R=M}return R};D(z,["stylesheetText","stylesheetInternal","stylesheetLocation","stylesheetFileName"]);D(z,["sourceNode","sourceText","sourceLocation","sourceFileName"]);return{tg:z.stylesheetText,stylesheetInternal:z.stylesheetInternal,Pb:z.stylesheetLocation,jc:z.stylesheetFileName,Vd:z.stylesheetBaseURI, -Sh:e(z.stylesheetParams),tf:z.sourceNode,uf:z.sourceText,Uc:z.sourceLocation,Tc:z.sourceFileName,Ph:z.sourceType||"xml",Ud:z.sourceBaseURI,masterDocument:z.masterDocument,Zi:z.initialTemplate,Wi:z.initialFunction,ih:z.functionParams,Fe:e(z.templateParams),Qb:e(z.tunnelParams),Xi:z.initialMode,tb:z.documentPool,kc:z.textResourcePool,destination:z.destination,Ib:z.baseOutputURI||(z.masterDocument?z.masterDocument._saxonBaseUri:void 0),Pa:z.outputProperties,principalResult:void 0,Xf:z.deliverMessage, -dd:z.deliverResultDocument,Ac:z.collations,Tg:z.collectionFinder,Ta:z.logLevel,Vh:z.traceInjector,hd:z.globalContextItem,Yi:z.initialSelection,se:z.isDynamicStylesheet,md:z.isRelocatableStylesheet,language:z.language,zh:z.messages,resultDocuments:{},resultForm:z.resultForm,Mk:z.extraOptions,lg:z.nonInteractive,mi:z.attachEventsTo,async:z.async}}function t(z,D){if("package"===z.N){const y=z.target||"not specified",I=z.targetVersion||"",R=z.saxonProduct;let M=z.saxonVersion||"9.8.0.5";R&&!/Saxon/.test(M)&& -(M=R+" "+M);sa.Ma("SEF generated by "+M+" at "+(z.buildDateTime||"2000-01-01"),2,D.Ta);if("JS"!==y||"2"!==I)throw new F("Supplied SEF is not customized for use with SaxonJS. The option -target:JS should be set when generating the export. target is: "+y,"SXJS0006");if("9"===M.charAt(0))throw new F("For use with SaxonJS 2.x, SEF must be generated by SaxonJ-EE 10.0 or later. Supplied SEF is generated by SaxonJ-EE version "+M,"SXJS0006");if(z.expiry&&0>ma.cd.fromString(z.expiry).compareTo(ma.cd.fromDate(new Date, -0)))throw new F("Development license for supplied stylesheet has expired","SXJS0006");}else throw new F("Supplied SEF does not have correct format","SXJS0006");}function C(z){function D(ea,ja){ja<<=8;for(let Y=0;YR?4294967295+R+1:R).toString(16);if(ca!==z){if("unspecified"===z)throw new F("No checksum found in SEF","SXJS0006");throw new F("Invalid checksum in SEF "+z+" != "+ca,"SXJS0006");}}function m(z,D=null){function y(R,M){function ca(ja){const Y=ja.target;var V=z.ba(!0);V.qa=!1;V.ie=ja;V.focus=Sb(Pb(cd.Ra(Y)[0]));V.sa= -R;ja=Vd(z);ja=new Zd.Fc(ja);(V=ea.Hb(V,ja))&&V.expand()}const ea=R.mode;-1==="httpabort afterprint beforeprint beforeunload hashchange languagechange message offline online pagehide pageshow popstate storage unhandledrejection unload resize".split(" ").indexOf(M)?D?D.addEventListener(M,ca,!1):window.document.addEventListener(M,ca,!1):window.addEventListener(M,ca,!1)}const I=z.fixed.La;Object.keys(I).forEach(function(R){R=I[R];R.mode&&R.mode.th()&&(R.name.split("}on")[1]?y(R,R.name.split("}on")[1]): -console.log("Invalid event handler name:",R.name))})}function f(z,D){return z.C?z.C.filter(function(y){return y.N===D}):[]}function A(z,D,y){function I(Y,V){R(z,Y,V)}function R(Y,V,la){Y.N===V&&la(Y);Y.C&&Y.C.forEach(function(x){R(x,V,la)})}function M(Y){return(Y=Y.name)?/^Q\{/.test(Y)?Y:"Q{}"+Y:null}function ca(Y,V){function la(x){x=f(x,"co");for(let K=0;K{const la=Y[V];if(ac.jf(la))ja.fixed.tb[V]=la;else throw new F("Supplied value for "+V+" is not a document node");})}if(y.kc){const Y=y.kc;Object.keys(Y).forEach(V=> -{ja.fixed.kc[V]=Y[V].toString()})}y.Ac||(y.Ac={});y.Ac[Hd.$c]=Hd.Sg();y.Ac[Hd.gh]=Hd.Ze();y.Ac[Hd.jg]=Hd.Mg();y.Ac[Hd.Zh]=Hd.Ze();I("package",function(Y){const V={name:Y.name,Za:Y,Gb:{},Og:{},hb:{},mg:{},keys:{},Wh:null};ja.fixed.rd[V.name]=V;ja.fixed.yd||(ja.fixed.yd=V);ca(Y,function(la){const x=parseInt(la.id,10);ja.fixed.La[x]={id:x,visibility:la.vis,Za:la,Dh:V,actor:null,We:la.binds.split(" ").map(function(K){return parseInt(K,10)})}})});I("package",function(Y){const V=ja.fixed.rd[Y.name];ca(Y, -function(T){const w=ja.fixed.La[parseInt(T.id,10)];T=w.actor=ea(T,ja);null!==T&&(w.name=M(T),"globalVariable"===T.N||"globalParam"===T.N?w.value=null:"mode"===T.N&&(w.mode=new Oh(T,cd),null===M(T)&&(V.Wh=w.mode)),"ABSTRACT"===T.parentNode.vis&&(w.visibility="ABSTRACT"))});if(0T.max&&(T.max=Z);T.ya[Z]=w.s}),55296{ea=JSON.parse(V)}).catch(V=>Promise.reject(new F("Failed to read JSON input "+I.jc+": "+V,"SXJS0006"))),z.push(M)):I.Pb?(M=B.resourcePromise({location:I.Pb, -encoding:"utf-8",type:"json"}).then(V=>{ea=JSON.parse(V)}).catch(V=>Promise.reject(new F("Failed to read JSON input "+I.Pb+": "+V,"SXJS0006"))),z.push(M)):z.push(Promise.reject(new F("No stylesheet supplied","SXJS0006")));ja=I.tf||null;Y=I.Ph||"xml";ja&&(M=I.tf.baseURI||I.Ud)&&(ja._saxonBaseUri=M);if(!ja){M=(la,x)=>{la=Nd.Rg(Nd.Qg(la));la=B.parseXmlFromString(la);x&&(la._saxonBaseUri=la._saxonDocUri=x);return la};ca=la=>Md.ze(la,null);const V="xml"===Y?M:ca;I.uf?ja=V(I.uf,I.Ud):I.Tc?(M=B.resourcePromise({file:I.Tc}).then(la=> -ja=V(la,I.Tc)).catch(la=>Promise.reject(new F(`Failed to read ${Y.toUpperCase()} source input (${la.message})`,"SXJS0006"))),z.push(M)):I.Uc&&(M=B.resourcePromise({location:I.Uc}).then(la=>{ja=V(la,I.Uc)}).catch(la=>Promise.reject(new F(`Failed to read ${Y.toUpperCase()} source input (${la.message})`,"SXJS0006"))),z.push(M))}return Promise.all(z).then(()=>{var V=ea,la=ja,x=I;if(!V)throw new F("No stylesheet supplied","SXJS0006");try{t(V,x);V.PRIMED||(C(V),g(V),V.PRIMED=!0);"true"===V.relocatable&& -(x.md=!0);q(V,la,x);var K=x.Dj}catch(U){throw console.log("Transformation failure: "+(U.getMessage?U.getMessage():U)),U;}return K})},Serializer:ge,serialize:function(z,D){const y={"iso-8859-1":"latin1","iso-646":"ascii"};z=ge.serialize(z,D);return D&&D.encoding?(D=D.encoding,D=y[D]||D,pa.makeBuffer(z,D)):z},StringWriter:ge.StringWriter,getProcessorInfo:function(){return{version:3,vendor:"Saxonica",vendorURL:"https://www.saxonica.com/",productName:"SaxonJS",productVersion:"2.6",isSchemaAware:!1, -supportsSerialization:!0,supportsBackwardsCompatibility:!0,supportsNamespaceAxis:!0,supportsStreaming:!1,supportsDynamicEvaluation:!0,supportsHigherOrderFunctions:!0,xPathVersion:3.1,xsdVersion:1.1,releaseDate:"2023-10-13"}},getResource:function(z){const D=z.type||"text";let y;if(z.file){var I=B.resourcePromise(z);y=B.fileURL(z.file)}else if(z.location)if(I=z.location,I instanceof URL||(I=B.newURL(I,B.baseURL()),z.location=I.toString()),y=I.href,"file:"===I.protocol)I=B.resourcePromise(z);else if(["http:", -"https:"].includes(I.protocol))I=B.resourcePromise(z);else return Promise.reject(new F("Unsupported URL protocol "+I.protocol,"SXJS0006"));else if(z.text)I=Promise.resolve(z.text),z.baseURI&&(y=z.baseURI);else return Promise.reject(new F("No resource supplied","SXJS0006"));"xml"===D?I=I.then(R=>{try{const M=ac.wc(B.parseXmlFromString(R));M._saxonBaseUri=M._saxonDocUri=y;return Promise.resolve(M)}catch(M){return Promise.reject(new F("Failed parsing XML in "+y+": "+M.message,M.code))}}):"json"===D&& -(I=I.then(R=>{try{return Promise.resolve(Md.ze(R,new cc,new ne))}catch(M){return Promise.reject(new F("Failed parsing JSON in "+y+": "+M.message,M.code))}}));return I},setLogLevel:sa.setLogLevel,getLogLevel:sa.getLogLevel,setPlatform:a,getPlatform:function(){return B},getNavigator:function(){return window.navigator.userAgent},timeStamp:W&&window.performance&&window.performance.now?window.performance.now:function(){return Date.now().valueOf()},internalTransform:q,checkOptions:v,convertResult:n,makeAtomicValue:function(z, -D){return La.type[z].fromString(D)},registerExtensionFunctions:function(z){Jh.Nf(z);Mh.Nf(z)},getItemDetails:function(z){if(La.pa(z)){const D={variety:"atomic",type:z.type,value:z.toString()};"AQ"===z.code&&(D.prefix=z.prefix,D.uri=z.uri,D.local=z.local);return D}return ac.X(z)?{variety:"node",type:z.nodeType()}:{variety:z instanceof $c?"array":"map"}},getConfigurationProperties:function(){const z={};Object.keys(L).forEach(D=>{z[D]=L[D]});return z},getConfigurationProperty:function(z){if(z in L)return L[z]}, -setConfigurationProperties:function(z){const D={};Object.keys(L).forEach(y=>{D[y]=L[y]});Object.keys(z).forEach(y=>{"autoResetIndexes"==y?L[y]=!!z[y]:sa.Ma("The configuration property "+y+" is unrecognized")});return D},setConfigurationProperty:function(z,D){if("autoResetIndexes"==z){let y=L[z];L[z]=!!D;return y}sa.Ma("The configuration property "+z+" is unrecognized")},resetIndexes:function(z){W&&!z&&(z=window.document);return z&&"_saxonIndexes"in z?(delete z._saxonIndexes,delete z._saxonIndexesBC, -!0):!1},XdmArray:$c,XdmAtomicValue:Ja,XdmAttributeNode:$b,XdmFunction:ad,XdmMap:cc,XError:F,XPath:Eh,XS:ma};W||"undefined"!==typeof HostPlatform?(HostPlatform.entryPoint=aa,a(HostPlatform),B.expose(aa,"SaxonJS")):console.log("Platform binding delayed");aa.Developer=Nh;La.Kf();Ha.Kf();mc();Jd.register("SaxonJS",aa);return aa})();}).call(this); +(function(){function a(x){u=x;u.init();qa.setPlatform(x)}function c(x){function E(H){switch(H.nodeType){case 9:H.documentElement&&E(H.documentElement);break;case 11:case 1:var S=ac.ca(H),N=ac.Oi(H,"xml:space");S=11!==H.nodeType&&A(S.uri,S.local)&&!(N&&"preserve"===N);N=H.childNodes;let aa=0;for(;aa!0;else if("strip.none"===x.N)A=()=>!1;else{let H={},S={},N={},aa={},ma={},ia=function(V,ka,z){V[ka]?parseInt(z.Eb,10)>parseInt(V[ka].Eb,10)&&(V[ka]=z):V[ka]=z};(x.C||[]).forEach(V=>{const ka=fc(V.test);ka instanceof nd?(V.PREC=parseInt(V.prec,10),V.PRIO=2,ia(H,ka.name.toEQName(),V)):ka instanceof pd?(V.PREC=parseInt(V.prec,10),V.PRIO=1,ia(S,ka.uri,V)):ka instanceof od?(V.PREC=parseInt(V.prec,10),V.PRIO=1,ia(N,ka.localName,V)):ka instanceof Fc? +(V.PREC=parseInt(V.prec,10),V.PRIO=0,ia(aa,"*",V)):sa.la("Unrecognised strip-space "+V.test)});const Y=(V,ka)=>{const z=[],M=H["Q{"+V+"}"+ka];M&&z.push(M);(V=S[V])&&z.push(V);(ka=N[ka])&&z.push(ka);aa["*"]&&z.push(aa["*"]);z.sort((W,fa)=>{const U=W.PREC,w=fa.PREC;return U===w?fa.PRIO-W.PRIO:w-U});return 0{const z="Q{"+V+"}"+ka,M=ma[z];if(M)return"s"===M;V=Y(V,ka);ma[z]=V?"s":"p";return V}}else A=()=>!1;return function(H){E(H);return H}}function n(x,E,A){function H(T){T= +new Ud(T);Y.fixed.Ji=T;return new Zd.Gc(T)}function S(){}function N(){P&&!A.mg&&l(Y)}var aa=cd.qb(x,"strip")[0]||cd.qb(x,"strip.all")[0];let ma=null;if(aa||P)ma=c(aa),E&&ma&&(E=ma(E));A.Vh&&A.Vh(x);A.ql=null;const ia=A.async,Y=B(x,E,A);Y.fixed.wl=Y.fixed.yd.Ya.version;L(Y,function(T){return"globalParam"===T.N&&T.flags&&-1!==T.flags.indexOf("r")}).map(function(T){return T.name}).map(function(T){if("undefined"===typeof Y.fixed.options.Sh.get(La.XS.QName.fromEQName(T)))throw new G("No value has been provided for required stylesheet parameter '"+ +T+"'","XTDE0050");});Y.fixed.Ee=ma;E&&(ac.xc(E),Y.fixed.tb[E._saxonBaseUri]=E);const V=A.destination||"application",ka=A.resultForm||"default";if(A.ed){let T=A.ed("testURI");["document","serialized","raw"].includes(T.destination)&&!T.save&&(A.ed=function(){return new je(T.destination,A.resultDocuments)})}A.ed||(A.ed=P?function(){return new ie("html-page",function(T,ha){A.resultDocuments[T.toString()]=ha})}:ia?function(){return new ie("file",function(T,ha,ba){ha=u.writeFileAsync(T,ha,ba);sa.Ma("Promising to write to "+ +T,2,Y.fixed.Ta);Y.fixed.zd.push(ha)})}:function(){return new ie("file",function(T,ha,ba){sa.Ma("Writing to "+T,2,Y.fixed.Ta);u.writeFileSync(T,ha,ba)})});let z;const M={};aa=Y.fixed.yd;var W=aa.ng["#unnamed"];if(W){W=W.C;var fa,U;for(var w=0;wW.indexOf("Q{")&&(W="Q{}"+W);aa=b(Y,W);if(!aa)throw new G("Unknown initial mode "+W,"XTDE0045");w="Q{"+Zb.Xc+"}initial-template"; +E||fa||U||d(Y,w)&&(U=w);let Z=A.Wi;if(Z){E=A.jh?A.jh:[];fa=E.length;U=q(Y,Z.toString(),fa);if(!U)throw new G("Unknown initial function "+Z+"#"+fa,"XTDE0041");if("PUBLIC"!==U.Ya.vis&&"FINAL"!==U.Ya.vis)throw new G("Uninvocable initial function "+Z+"#"+fa+" with visibility "+U.Ya.vis,"XTDE0041");const T=U.Ya.C[0];Y.focus={};Y.sa=U;gd(Y);Y.qa="function";Y.gb=aa;Y.ab=null;let ha=0;Y.oa=E.map(function(ba){var va=T.C[ha++].as;va=ec(va||"*");return cd.Uf(cd.Ra(ba),va,()=>"function parameter for "+Z)});E= +S();Zd.push(cd.da(T,"body"),Y,E);E.close()}else if(U){fa=d(Y,U);if(!fa)throw new G("Unknown initial template "+U,"XTDE0040");U=fa.actor;Y.fixed.jd?Y.focus=Rb(E):(Y.focus=Sb(Ob),Y.focus.next());cd.Tf(U,Y);Y.sa=fa;Y.gb=aa;F(A,Y);E=S();Zd.push(U.C[0],Y,E);E.close()}else{Array.isArray(fa)&&ma&&fa.filter(ac.X).map(function(T){return ac.kf(T)?T:T.ownerDocument}).map(function(T){return ma(T)});if("PRIVATE"===aa.visibility&&W!==x.defaultMode&&""!==W)throw new G("Uninvokable initial mode "+W+" with visibility "+ +aa.Ya.vis,"XTDE0045");if(!E&&!fa)throw new G("No source input supplied for apply-templates invocation","XTDE0044");U=aa.mode;Y.sa=aa;Y.focus=Sb(fa?Kb(Array.isArray(fa)?fa:[fa]):Pb(E));E=U.Re.useAcc;null!=E&&"#all"!==E&&(Y.Ge=E.split(/\s+/));F(A,Y);E=S();U.Hb(Y,E);E.close()}N();if(ia){function T(){const ha=Y.fixed.zd;Y.fixed.zd=[];return Promise.all(ha).then(()=>{if(0{throw ba;}).then(()=>Promise.resolve(new he(A.principalResult,A.resultDocuments,x,A.masterDocument)))} +A.Dj=T()}}function F(x,E){x.Fe&&(sa.assert(x.Fe instanceof cc,"options?templateParams must be an instance of HashTrie. Supplied:"+x.Fe),E.Lc=x.Fe);x.Rb&&(sa.assert(x.Fe instanceof cc,"options?tunnelParams must be an instance of HashTrie. Supplied:"+x.Rb),E.Rb=x.Rb)}function I(x){let E="";for(const A in x)x.hasOwnProperty(A)&&x[A]&&(E+=A+"="+x[A].toString().substring(0,30)+"("+typeof A+"), ");return E}function m(x){let E=x.stylesheetInternal||null;if(!E){if(x.Qb)var A=u.readFile(x.Qb);else if(x.ug)A= +x.ug;else if(x.kc){if(P)throw new G("Cannot supply stylesheetFileName in browser","SXJS0006");A=u.readFile(x.kc)}else throw new G("No stylesheet supplied","SXJS0006");try{E=JSON.parse(A)}catch(S){throw new G("Supplied SEF is not in JSON format","SXJS0006");}}t(E,x);E.PRIMED||(D(E),g(E),E.PRIMED=!0);"true"===E.relocatable&&(x.md=!0);A=x.uf||null;let H;A&&(H=x.uf.baseURI||x.Vd)&&(A._saxonBaseUri=H);if(!A){let S;if(x.Vc)H=x.Vc,S=u.readFile(H);else if(x.De)H=x.Vd,S=x.De;else if(x.Uc){if(P)throw new G("Cannot supply sourceFileName in browser", +"SXJS0006");H=x.Uc;S=u.readFile(H)}if(S)if("json"===x.Ph)A=Md.ye(S,null);else{if("string"!==typeof S)throw new G("Supplied sourceText is not a string","SXJS0006");A=u.parseXmlFromString(S);H&&(A._saxonBaseUri=A._saxonDocUri=H)}}n(E,A,x);return new he(x.principalResult,x.resultDocuments,E,x.masterDocument)}function g(x){x.C&&x.C.forEach(function(E){E.parentNode=x;g(E)})}function e(x){if(x instanceof cc)return x;const E=new cc;x&&Object.keys(x).forEach(A=>E.inSituPut(La.XS.QName.fromEQName(A),cd.Ra(x[A]))); +return E}function k(x){const E={};for(let [A,H]of Object.entries(x))E[A]="use-character-maps"===A?H:ge.qf(A,H,null);return E}function v(x){const E=(A,H)=>{let S=null;for(let N of H)if(A[N]){if(S)throw new G("The following transform options are mutually exclusive: "+H.toString(),"SXJS0006");S=N}return S};E(x,["stylesheetText","stylesheetInternal","stylesheetLocation","stylesheetFileName"]);E(x,["sourceNode","sourceText","sourceLocation","sourceFileName"]);return{ug:x.stylesheetText,stylesheetInternal:x.stylesheetInternal, +Qb:x.stylesheetLocation,kc:x.stylesheetFileName,Wd:x.stylesheetBaseURI,Sh:e(x.stylesheetParams),uf:x.sourceNode,De:x.sourceText,Vc:x.sourceLocation,Uc:x.sourceFileName,Ph:x.sourceType||"xml",Vd:x.sourceBaseURI,masterDocument:x.masterDocument,Zi:x.initialTemplate,Wi:x.initialFunction,jh:x.functionParams,Fe:e(x.templateParams),Rb:e(x.tunnelParams),Xi:x.initialMode,tb:x.documentPool,lc:x.textResourcePool,destination:x.destination,Ib:x.baseOutputURI||(x.masterDocument?x.masterDocument._saxonBaseUri:void 0), +Pa:x.outputProperties,principalResult:void 0,Xf:x.deliverMessage,ed:x.deliverResultDocument,Bc:x.collations,Ug:x.collectionFinder,Ta:x.logLevel,Vh:x.traceInjector,jd:x.globalContextItem,Yi:x.initialSelection,se:x.isDynamicStylesheet,md:x.isRelocatableStylesheet,language:x.language,zh:x.messages,resultDocuments:{},resultForm:x.resultForm,Mk:x.extraOptions,mg:x.nonInteractive,mi:x.attachEventsTo,async:x.async}}function t(x,E){if("package"===x.N){const A=x.target||"not specified",H=x.targetVersion|| +"",S=x.saxonProduct;let N=x.saxonVersion||"9.8.0.5";S&&!/Saxon/.test(N)&&(N=S+" "+N);sa.Ma("SEF generated by "+N+" at "+(x.buildDateTime||"2000-01-01"),2,E.Ta);if("JS"!==A||"2"!==H)throw new G("Supplied SEF is not customized for use with SaxonJS. The option -target:JS should be set when generating the export. target is: "+A,"SXJS0006");if("9"===N.charAt(0))throw new G("For use with SaxonJS 2.x, SEF must be generated by SaxonJ-EE 10.0 or later. Supplied SEF is generated by SaxonJ-EE version "+N,"SXJS0006"); +if(x.expiry&&0>la.dd.fromString(x.expiry).compareTo(la.dd.fromDate(new Date,0)))throw new G("Development license for supplied stylesheet has expired","SXJS0006");}else throw new G("Supplied SEF does not have correct format","SXJS0006");}function D(x){function E(ma,ia){ia<<=8;for(let Y=0;YS?4294967295+S+1:S).toString(16);if(aa!==x){if("unspecified"===x)throw new G("No checksum found in SEF","SXJS0006");throw new G("Invalid checksum in SEF "+x+" != "+aa,"SXJS0006");}}function l(x,E=null){function A(S,N){function aa(ia){const Y= +ia.target;var V=x.ba(!0);V.qa=!1;V.je=ia;V.focus=Sb(Pb(cd.Ra(Y)[0]));V.sa=S;ia=Vd(x);ia=new Zd.Gc(ia);(V=ma.Hb(V,ia))&&V.expand()}const ma=S.mode;-1==="httpabort afterprint beforeprint beforeunload hashchange languagechange message offline online pagehide pageshow popstate storage unhandledrejection unload resize".split(" ").indexOf(N)?E?E.addEventListener(N,aa,!1):window.document.addEventListener(N,aa,!1):window.addEventListener(N,aa,!1)}const H=x.fixed.La;Object.keys(H).forEach(function(S){S=H[S]; +S.mode&&S.mode.th()&&(S.name.split("}on")[1]?A(S,S.name.split("}on")[1]):console.log("Invalid event handler name:",S.name))})}function f(x,E){return x.C?x.C.filter(function(A){return A.N===E}):[]}function B(x,E,A){function H(Y,V){S(x,Y,V)}function S(Y,V,ka){Y.N===V&&ka(Y);Y.C&&Y.C.forEach(function(z){S(z,V,ka)})}function N(Y){return(Y=Y.name)?/^Q\{/.test(Y)?Y:"Q{}"+Y:null}function aa(Y,V){function ka(z){z=f(z,"co");for(let M=0;M{const ka=Y[V];if(ac.kf(ka))ia.fixed.tb[V]=ka;else throw new G("Supplied value for "+V+" is not a document node"); +})}if(A.lc){const Y=A.lc;Object.keys(Y).forEach(V=>{ia.fixed.lc[V]=Y[V].toString()})}A.Bc||(A.Bc={});A.Bc[Hd.ad]=Hd.Tg();A.Bc[Hd.hh]=Hd.Ze();A.Bc[Hd.jg]=Hd.Ng();A.Bc[Hd.Zh]=Hd.Ze();H("package",function(Y){const V={name:Y.name,Ya:Y,Gb:{},Pg:{},hb:{},ng:{},keys:{},Wh:null};ia.fixed.rd[V.name]=V;ia.fixed.yd||(ia.fixed.yd=V);aa(Y,function(ka){const z=parseInt(ka.id,10);ia.fixed.La[z]={id:z,visibility:ka.vis,Ya:ka,Dh:V,actor:null,We:ka.binds.split(" ").map(function(M){return parseInt(M,10)})}})});H("package", +function(Y){const V=ia.fixed.rd[Y.name];aa(Y,function(U){const w=ia.fixed.La[parseInt(U.id,10)];U=w.actor=ma(U,ia);null!==U&&(w.name=N(U),"globalVariable"===U.N||"globalParam"===U.N?w.value=null:"mode"===U.N&&(w.mode=new Oh(U,cd),null===N(U)&&(V.Wh=w.mode)),"ABSTRACT"===U.parentNode.vis&&(w.visibility="ABSTRACT"))});if(0U.max&&(U.max=Z);U.ya[Z]=w.s}),55296{ma=JSON.parse(V)}).catch(V=>Promise.reject(new G("Failed to read JSON input "+H.kc+": "+V,"SXJS0006"))), +x.push(N)):H.Qb?(N=u.resourcePromise({location:H.Qb,encoding:"utf-8",type:"json"}).then(V=>{ma=JSON.parse(V)}).catch(V=>Promise.reject(new G("Failed to read JSON input "+H.Qb+": "+V,"SXJS0006"))),x.push(N)):x.push(Promise.reject(new G("No stylesheet supplied","SXJS0006")));ia=H.uf||null;Y=H.Ph||"xml";ia&&(N=H.uf.baseURI||H.Vd)&&(ia._saxonBaseUri=N);if(!ia){N=(ka,z)=>{ka=Nd.Sg(Nd.Rg(ka));ka=u.parseXmlFromString(ka);z&&(ka._saxonBaseUri=ka._saxonDocUri=z);return ka};aa=ka=>Md.ye(ka,null);const V="xml"=== +Y?N:aa;H.De?"string"!==typeof H.De?x.push(Promise.reject(new G("Supplied sourceText is not a string","SXJS0006"))):ia=V(H.De,H.Vd):H.Uc?(N=u.resourcePromise({file:H.Uc}).then(ka=>ia=V(ka,H.Uc)).catch(ka=>Promise.reject(new G(`Failed to read ${Y.toUpperCase()} source input (${ka.message})`,"SXJS0006"))),x.push(N)):H.Vc&&(N=u.resourcePromise({location:H.Vc}).then(ka=>{ia=V(ka,H.Vc)}).catch(ka=>Promise.reject(new G(`Failed to read ${Y.toUpperCase()} source input (${ka.message})`,"SXJS0006"))),x.push(N))}return Promise.all(x).then(()=> +{var V=ma,ka=ia,z=H;if(!V)throw new G("No stylesheet supplied","SXJS0006");try{t(V,z);V.PRIMED||(D(V),g(V),V.PRIMED=!0);"true"===V.relocatable&&(z.md=!0);n(V,ka,z);var M=z.Dj}catch(W){throw console.log("Transformation failure: "+(W.getMessage?W.getMessage():W)),W;}return M})},Serializer:ge,serialize:function(x,E){const A={"iso-8859-1":"latin1","iso-646":"ascii"};x=ge.serialize(x,E);return E&&E.encoding?(E=E.encoding,E=A[E]||E,qa.makeBuffer(x,E)):x},StringWriter:ge.StringWriter,getProcessorInfo:function(){return{version:3, +vendor:"Saxonica",vendorURL:"https://www.saxonica.com/",productName:"SaxonJS",productVersion:"2.7",isSchemaAware:!1,supportsSerialization:!0,supportsBackwardsCompatibility:!0,supportsNamespaceAxis:!0,supportsStreaming:!1,supportsDynamicEvaluation:!0,supportsHigherOrderFunctions:!0,xPathVersion:3.1,xsdVersion:1.1,releaseDate:"2024-10-17"}},getResource:function(x){const E=x.type||"text";let A;if(x.file){var H=u.resourcePromise(x);A=u.fileURL(x.file)}else if(x.location)if(H=x.location, +H instanceof URL||(H=u.newURL(H,u.baseURL()),x.location=H.toString()),A=H.href,"file:"===H.protocol)H=u.resourcePromise(x);else if(["http:","https:"].includes(H.protocol))H=u.resourcePromise(x);else return Promise.reject(new G("Unsupported URL protocol "+H.protocol,"SXJS0006"));else if(x.text)H=Promise.resolve(x.text),x.baseURI&&(A=x.baseURI);else return Promise.reject(new G("No resource supplied","SXJS0006"));"xml"===E?H=H.then(S=>{try{const N=ac.xc(u.parseXmlFromString(S));N._saxonBaseUri=N._saxonDocUri= +A;return Promise.resolve(N)}catch(N){return Promise.reject(new G("Failed parsing XML in "+A+": "+N.message,N.code))}}):"json"===E&&(H=H.then(S=>{try{return Promise.resolve(Md.ye(S,new cc,new ne))}catch(N){return Promise.reject(new G("Failed parsing JSON in "+A+": "+N.message,N.code))}}));return H},setLogLevel:sa.setLogLevel,getLogLevel:sa.getLogLevel,setPlatform:a,getPlatform:function(){return u},getNavigator:function(){return window.navigator.userAgent},timeStamp:P&&window.performance&&window.performance.now? +window.performance.now:function(){return Date.now().valueOf()},internalTransform:n,checkOptions:v,convertResult:p,makeAtomicValue:function(x,E){return La.type[x].fromString(E)},registerExtensionFunctions:function(x){Jh.Nf(x);Mh.Nf(x)},getItemDetails:function(x){if(La.pa(x)){const E={variety:"atomic",type:x.type,value:x.toString()};"AQ"===x.code&&(E.prefix=x.prefix,E.uri=x.uri,E.local=x.local);return E}return ac.X(x)?{variety:"node",type:x.nodeType()}:{variety:x instanceof $c?"array":"map"}},getConfigurationProperties:function(){const x= +{};Object.keys(K).forEach(E=>{x[E]=K[E]});return x},getConfigurationProperty:function(x){if(x in K)return K[x]},setConfigurationProperties:function(x){const E={};Object.keys(K).forEach(A=>{E[A]=K[A]});Object.keys(x).forEach(A=>{"autoResetIndexes"==A||"nativeGetElementById"==A?K[A]=!!x[A]:sa.Ma("The configuration property "+A+" is unrecognized")});return E},setConfigurationProperty:function(x,E){if("autoResetIndexes"==x||"nativeGetElementById"==x){let A=K[x];K[x]=!!E;return A}sa.Ma("The configuration property "+ +x+" is unrecognized")},resetIndexes:function(x){P&&!x&&(x=window.document);return x&&"_saxonIndexes"in x?(delete x._saxonIndexes,delete x._saxonIndexesBC,delete x._saxonXmlIdIndex,!0):!1},XdmArray:$c,XdmAtomicValue:Ja,XdmAttributeNode:$b,XdmFunction:ad,XdmMap:cc,XError:G,XPath:Eh,XS:la};P||"undefined"!==typeof HostPlatform?(HostPlatform.entryPoint=ca,a(HostPlatform),u.expose(ca,"SaxonJS")):console.log("Platform binding delayed");ca.Developer=Nh;La.Kf();Ha.Kf();mc();Jd.register("SaxonJS",ca);return ca})();}).call(this);