j@      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~          !"#$%&'()*+,-./012345678934567893456789 :;<=>?@ABC :;<=>?@ABC :;<=>?@ABCDEFDEFDEEF GHIJKLMNOPQR GHIJKLMNOPQR GHHIJKLMNOPQRSTUVWXYZ[Attribute list \]"Element tagname or attribute name ^_`abcdefSTUVWXYZ[]^_`abcdefSYXWVUTTUVWXYZ[]^_`abcdef Vghijklmnopqrstuvwxyz{|}~generic identifier  content type omitstrt+omitend ANY /declared content (also: CDATA, RCDATA in SGML) Element Parsed character data @Content expression, parameterized over type of primitive tokens  Permutation, & connector  Alternation, '|' connector  Sequence, ',' connector  One or more,  occurrence indicator  Optional, ? occurrence indicator Zero or more,  occurrence indicator Primitive content token Vghijklmnopqrstuvwxyz{|}~Vghijklmnhijklmnopqrstuvqrstuvwyxxyz~}|{{|}~  5(("                     )GHIJKLMNOPQRSTUVWXYZ[]^_`abcdef    AXThe namespace context is the default element namespace, the default function namespace, H the namespace prefixes, and the XML Schemas associated with namespaces (Binding from namespace prefixes to URIs .Binding from a namespace URI to an XML Schema XML Schema bindings An XQuery type t*, t+, or t? t1 | t2 t1 & t2 t1, t2 () !any element or attribute content attribute name { t } element tag { t } !reference to a user-defined type item(), node(), ... xs:integer, xs:string, ... 6type variable (needed for polymorphic type inference) Type qualifier: *, +, or ? A type variable A sequence of XML fragments (A rose tree representation of XML data.  An XML element is: 0XElem tagname atributes preorder parent children. ; The preorder numbering is the document order of elements. 9 The parent is a cyclic reference to the parent element. marker for no padding in XSeq type information  null value error message comment general entity reference processing instruction an XML tree leaf (boolean) an XML tree leaf (double) an XML tree leaf (int) an XML tree leaf (PCDATA) attribute construction an XML tree node (element) ;XML attributes are bindings from qualified names to values AA qualified name has a namespace prefix, a URI, and a local name !"#$ Local name %Namespace URI &Namespace prefix  !'RPrint the XQuery result (which is a sequence of XML fragments) without buffering. "#$%&'()*+AMaximum number of events that each streaming unit corresponds to ,I  !"#$%&-. !'"#/$%&'01234()*+,A    !"# !"#$%& !'"#$%&'()*+,56(#A relational schema representation )(column-name relative-path max-byte-size *3table-name relative-path mixed-content? components +XPath to reach a table/column 78,-.!Connect to a relational database database name /(Disconnect from the relational database database connection 0#commit the updates to the database database connection 1'rollback the updates from the database database connection 2QTrue if there is a relational schema stored in the database under the given name database connection  schema name 3HPrint the relational schema stored in the database under the given name database connection  schema name 4LCreate a schema for an XML document into the database under the given name. / The excluded tags are HTML tags to be ignored database connection XML document pathname  schema name excluded tags 5>Store an XML document into the database under the given name. database connection XML document pathname  schema name 6XStore an XML document into the database under the given name. Generates Haskell code. It's 3 times faster than shred. database name XML document pathname  schema name 7UCreate a secondary index on tagname for the shredded document under the given name.. database connection  schema name +the tag name of the elements to be indexed 9:;56()*+7<8,-./012345679:;566(*))*+78,-./012345679:;=>?@ABCDEFGHIJKLMNOPQRS8\Validate the XML document against the XML Schema. Also done using the validate XQuery form. (=>?@ABTUVWXYZ[\]^_`abcCDEFGHIJKLMNOPQRS8=?>>?@ABCDEFGHIJKLMNOPQRS8.defghijklmnopqrstuvwxyz{|}~3defghijklmnopqrstuvwxyz{|}~.defghijklmnopqrstuvwxyz{|}~ 97Compile an XQuery expression that does not perform IO. A When the compiled code is evaluated, it returns a value of type XSeq. :dCompile an XQuery that may perform IO (such as reading an XML document or calling a user function). A When the compiled code is evaluated, it returns a value of type IO XSeq. ;)Compile an XQuery that may perform IO and/or queries a database. 1 When the compiled code is evaluated, it returns Connection -> IO XSeq. <>Quasi-quotation for HXQ (for ghc 6.09 or later). For example,  [qx| doc("data/cs.xml")//gpa |] is equivalent to xq "doc(\"data/cs.xml\")//gpa". 9:;< 9:;<=+Evaluate the XQuery using the interpreter. >FEvaluate the XQuery with database connectivity using the interpreter. XRead an XQuery with database connectivity from a file and run it using the interpreter. =>=>?.The XQuery interpreter as an XQuery function. @  !"#$%&'()*+,-./0123456789:;<=>?@&%$ !"# ':9<=?8;>+(*)456237./01-,? !"#$%&'()*+,-./01234567789:;<=>?@?ABCDEFGHIJKLMNOPQRSTUVWXXYZ[\]^_`a7bcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,--./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqr   s t u v w x y z z { | } ~                                                               h                                                                                         !"#q$%&'()*+,-./01233456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~U HXQ-0.18.2Text.XML.HXQ.XQueryText.XML.HXQ.Parser LLParsing AssocListMiscDeepSeqTreeXMLDTD XMLScannerXMLParseETree TreeBuildPrintXMLHXMLText.XML.HXQ.XTreeText.XML.HXQ.OptionalDBText.XML.HXQ.TypesText.XML.HXQ.FunctionsText.XML.HXQ.TypeInferenceText.XML.HXQ.OptimizerText.XML.HXQ.CompilerText.XML.HXQ.InterpreterType TQualifiedTChoice TInterleaving TSequenceTEmptyTAny TAttributeTElementTNamedTItemTBase TVariable TQualifierTVarXSeqXTreeXNoPadXTypeXNullXErrorXCommentXGERefXPIXBoolXFloatXIntXTextXAttrXElem AttributesQNameprefixuri localName LocalNameURIPrefixputXSeqTableColumnPath executeSQL prepareSQLconnect disconnectcommitrollbackisSchema printSchema genSchemashredshredC createIndex validateFilexexqxqdbqxxqueryxqueryDBeval HappyAddrHappyA#HappyStk Happy_IntList HappyConsTokenTErrorTStringTFloatTIntegerXMLtextVariableVALIDATESCHEMA NAMESPACEIMPORT TYPESWITCHDEFAULTCASECASTABLECASTOFINSTANCEWITHTYPEREPLACEFROMDELETEINTOINSERTISPOSTPRETokenEOFDOTSDOTATVIEWVARIABLEFUNCTIONCOLONSEMIDECLARESLASHATSIGN SATISFIESETAGSTAG ATTRIBUTEELEMENT DESCENDING ASCENDINGBYORDERWHEREASSIGNCOMMAINLETFOREXCEPT INTERSECTUNIONNOTORANDSGESGTSLESLTSNESEQTGETGTTLETLTTNETEQQMARKASMODIDIVDIVTIMESMINUSPLUSTORSBLSBRPLPRBLBELSETHENIFEVERYSOMERETURNAstAstringAfloatAintAvar HappyIdentityHappyAny HappyAbsSynhappyIn4 happyOut4happyIn5 happyOut5happyIn6 happyOut6happyIn7 happyOut7happyIn8 happyOut8happyIn9 happyOut9 happyIn10 happyOut10 happyIn11 happyOut11 happyIn12 happyOut12 happyIn13 happyOut13 happyIn14 happyOut14 happyIn15 happyOut15 happyIn16 happyOut16 happyIn17 happyOut17 happyIn18 happyOut18 happyIn19 happyOut19 happyIn20 happyOut20 happyIn21 happyOut21 happyIn22 happyOut22 happyIn23 happyOut23 happyIn24 happyOut24 happyIn25 happyOut25 happyIn26 happyOut26 happyIn27 happyOut27 happyIn28 happyOut28 happyIn29 happyOut29 happyIn30 happyOut30 happyIn31 happyOut31 happyIn32 happyOut32 happyIn33 happyOut33 happyIn34 happyOut34 happyIn35 happyOut35 happyIn36 happyOut36 happyIn37 happyOut37 happyIn38 happyOut38 happyIn39 happyOut39 happyInTok happyOutTokhappyActOffsetshappyGotoOffsetshappyDefActions happyCheck happyTable happyThen happyReturn happyReturn1 happyError' prettyAstppAstcallconcatenateAll concatAll tokenListscanxmlTextxml xqComment xmlCommentisQNisVarinXMLlexerlexExplexNum lexString lexComment lexXmlCommentlexVar happyTcHack happyDoSeq happyDontSeqparsePpTestpSympCheckpTrypSucceed<|><*><^><$><$<**><**>pMaybepFoldrpListpSomepChainrpChainlpRunFMlookupMlookupWithDefault unsafeLookup insertWithinsertemptyerrNYIo maybeStar maybePlusdoneliftM2 maybeToListliftpairwrapdeepSeq$!!treeRoot treeChildrenleafNode preorderTreemapTreecataTreeanaTreefoldTreescanTree accumTreeXMLNodeENNodeCXNodePINodeTXNodeELNodeRTNodeAttListGIName stringValuenodeNamexAttlistxAttvalxELNodexTXNodexPINode attributesattvalelementsattlistsgenentsparments notationsdtdname EntityMapEntityenameetypeetextedcneatts EntityText EN_EXTERNAL EN_INTERNALENTTYPEETpiETsubdocETndataETsdataETcdataETtextSYSIDPUBID ExternalIDATTSPECATTDEFatt_nameatt_typeatt_dvATT_DV ADVconref ADVcurrent ADVdefault ADVimplied ADVrequiredADVfixedATT_TYPE ATenumerated ATnotation ATnmtokens ATnmtokenATidrefsATidrefATid ATentitiesATentityATcdataELEMTYPEgicontype omissibility inclusions exclusionsCONTYPE DC_MODELGRPDC_ANYDC_EMPTY ModelGroupPrimitiveTokenPCDATACEAndOrSeqPlusbaseGHC.Num+OptRep*PrimDCNpredefinedEntitiesexpandInternalEntityemptyDTDdeclareParameterEntitydeclareGeneralEntitydeclareElementsdeclareAttlistdeclareNotation DelimiterPEROREPOPTGRPCGRPOCOMMSCDSCDSOMDCEETAGCVITAGCLITERALPEREFRNINAMENAMERESTLEXERRPICPIOMDODSOMDOCOMMDOETAGOSTAGOGEREFCDATAWS isSEPCHARisNMCHAR isNMSTARTdoSpandrop1 pcdataModetagModeexpandReferences doCharRef stringToInt doEntityRef markupModemsMode cdataModecomModecdMode eatCommentpiModeXMLEvent ErrorEvent CommentEvent GERefEventPIEvent TextEventEndEvent EmptyEvent StartEventUNPARSED parseInstanceparseDTD parseDocumentTextElement xmlToETree etreeToXML buildTree constructTree serializeTreeprintXMLshowXML showEvents printEvent printEvents showEvent showAttlist textEscape attvalEscapeparseXMLStreamNSdefaultElementNSdefaultFunctionNSprefixesschemasNamespacePrefixesSchemas XMLSchema emptyElemshowsALshowsXTshowsXS showsTypetag functionTagelementNamespacespredefinedNamespacesmaterializeWithoutParentmaterializeWithParentdocLevelmaxStreamingUnitSize materialize matchQNamedocumentRootTag attributeTag xsNamespace fnNamespace initialNS noParentError statistics Connection Statement publishXmlDocinsertDBdeleteDB replaceDB noDBerrorMatchFailureSuccess buildInTypes typeHierarchy isBuildInTypetoStringreadNumtoNumtoInttoFloattoBoolcasts instanceOfcastAs castableAs expandQNametoType schema2Type typeValidate validateXSeqvalidate parseSchemabaseTypetStringtInttFloattBooltAtomictUAtomictItemtNodetTexttStartPlus tOptionaltNumericfindAmemA self_step child_stepdescendant_or_self_stepdescendant_step#descendant_any_with_tagged_childrenattribute_stepattribute_descendant_step parent_step ancestor_stepancestor_or_self_stepfollowing_sibling_stepfollowing_steppreceding_sibling_steppreceding_steppaths pathFunctionsfoldirfoldil toBooleantoDatastringstringsgetNames appendTextsubstring_beforesubstring_after replaceStringtranslate_stringtoNumsgetFloatmeansumSeqmaxSeqminSeqcontainsdistinctmodulo arithmetic compareXTrees strictCompare compareXSeqs deep_equal conditionTestindexsystem_functionssystemFunctionsfindVmemVtrueXTfalseXTstrictCompareOne Signatures AssumptionsTISubstapplytvcomposemergevarBind xpathStepcollectAttributes normalizeTypestripdotQualmakeDotleqQual qualifiersubtypemguLmgurunTIgetSubstextSubstunifyTunifyunifyLnewTVarfunctionSignaturestypeInf typeInference typeCheckcollect_attributes parentOfVarreplaceParentOfVar removeParenttagged_childrensimplify taggedElement sqlPredicate predToSQLmakeSQLfindAttrandAllorAll occursContext substContextoccurssubstdependsOnPositionwellFormedPredicatesplitSqlPredicate is_constant predicates normalizefoldSQL optimizeLoopoptimize downloadFile containsLastliftAst maxPositionqName makeAttribute ioFunctioncallFcompilePredicatescompilecompilePredicatesMcompileM ioSourcesbackward_steps pullIOSourcesnoIO liftIOSources compileAst compileAstM compileQuery compileQueryM pathPosition parent_error expandViews StatementsViews Functions EnvironmentapplyPredicatesapplyPredicatesMevalM evalInput debugSessionidentify_globals evalQueryMxqueryExfileDB