h&stl      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ Safe-Inferred xml-conduitA cursor: contains an XML Node6 and pointers to its children, ancestors and siblings. xml-conduitThe child axis. XPath: 8the child axis contains the children of the context node. xml-conduitThe current node.  xml-conduit)The parent axis. As described in XPath: the parent axis contains the parent of the context node, if there is one.Every node but the root element of the document has a parent. Parent nodes will always be  NodeElements.! xml-conduit$The preceding-sibling axis. XPath: the preceding-sibling axis contains all the preceding siblings of the context node [...]." xml-conduit$The following-sibling axis. XPath: the following-sibling axis contains all the following siblings of the context node [...].# xml-conduitThe preceding axis. XPath: the preceding axis contains all nodes in the same document as the context node that are before the context node in document order, excluding any ancestors and excluding attribute nodes and namespace nodes.$ xml-conduitThe following axis. XPath: the following axis contains all nodes in the same document as the context node that are after the context node in document order, excluding any descendants and excluding attribute nodes and namespace nodes.% xml-conduitThe ancestor axis. XPath: the ancestor axis contains the ancestors of the context node; the ancestors of the context node consist of the parent of context node and the parent's parent and so on; thus, the ancestor axis will always include the root node, unless the context node is the root node.& xml-conduitThe descendant axis. XPath: the descendant axis contains the descendants of the context node; a descendant is a child or a child of a child and so on; thus the descendant axis never contains attribute or namespace nodes.' xml-conduitModify an axis by adding the context node itself as the first element of the result list.( xml-conduit*Apply a function to the result of an axis.) xml-conduitCombine two axes so that the second works on the children of the results of the first.* xml-conduitCombine two axes so that the second works on the descendants of the results of the first.+ xml-conduitCombine two axes so that the second works on both the result nodes, and their descendants., xml-conduit!Apply an axis to a 'Cursor node'.- xml-conduit1Apply an axis to the children of a 'Cursor node'.. xml-conduit4Apply an axis to the descendants of a 'Cursor node'./ xml-conduit xml-conduitGenerate a complete XML Element.? xml-conduitGenerate a textual .@ xml-conduitGenerate a single attribute.A xml-conduitHelper function that generates a valid attribute if input isn't , or  otherwise. xml-conduitpretty print attributes? xml-conduit self closing? xml-conduit namespaces to apply to top-level> xml-conduitElement' s subnodes.@ xml-conduitAttribute's name xml-conduitAttribute's value127653489:;<=>?@A;<89=234567:>?1@A Safe-Inferred"568XQ1E xml-conduitA monad for parsing attributes. By default, it requires you to deal with all attributes present on an element, and will throw an exception if there are unhandled attributes. Use the u, t1 et al functions for handling an attribute, and w if you would like to skip the rest of the attributes on an element. instance behaves like First5 monoid: it chooses first parser which doesn't fail.F xml-conduitA  NameMatcher8 describes which names a tag parser is allowed to match. Since 1.5.0S xml-conduitWhether the original xmlns attributes should be retained in the parsed values. For more information on motivation, see: )https://github.com/snoyberg/xml/issues/38Default: False Since 1.2.1T xml-conduit,How to decode illegal character references ( &#[0-9]+; or &#x[0-9a-fA-F]+;).8Character references within the legal ranges defined by  &https://www.w3.org/TR/REC-xml/#NT-Char the standard? are automatically parsed. Others are passed to this function. Default:  const Nothing Since 1.7.1U xml-conduitMaximum number of characters allowed in expanding an internal entity. This is intended to protect against the billion laughs attack. Default: 8192 Since 1.9.1V xml-conduit3Whether to resolve any but the predefined entities. Default: FalseZ xml-conduitAutomatically determine which UTF variant is being used. This function first checks for BOMs, removing them as necessary, and then check for the equivalent of content" .| (ignoreTree "a" ignoreAttrs >> sinkList)[EventBeginElement (Name {nameLocalName = "b", ...}) [],EventEndElement (Name {nameLocalName = "b", ...}),EventEndDocument]runConduit $ parseLBS def "content" .| (ignoreTree "b" ignoreAttrs >> sinkList)[EventBeginElement (Name {nameLocalName = "a", ...}) [],EventContent (ContentText "content"),EventEndElement (Name {nameLocalName = "a", ...}),EventEndDocument]runConduit $ parseLBS def "content" .| (ignoreTree anyName ignoreAttrs >> sinkList)[EventContent (ContentText "content"),EventBeginElement (Name {nameLocalName = "a", ...}) [],EventEndElement (Name {nameLocalName = "a", ...}),EventEndDocument] Since 1.9.0g xml-conduitSame as , without yielding s.runConduit $ parseLBS def "content" .| (ignoreContent >> sinkList)[EventBeginElement (Name {nameLocalName = "a", ...}) [],EventContent (ContentText "content"),EventEndElement (Name {nameLocalName = "a", ...}),EventEndDocument]runConduit $ parseLBS def "content" .| (ignoreContent >> sinkList)[EventBeginElement (Name {nameLocalName = "a", ...}) [],EventEndElement (Name {nameLocalName = "a", ...}),EventEndDocument]runConduit $ parseLBS def "content" .| (ignoreContent >> sinkList)[EventBeginElement (Name {nameLocalName = "a", ...}) [],EventEndElement (Name {nameLocalName = "a", ...}),EventEndDocument] Since 1.9.0h xml-conduitSame as , without yielding s.runConduit $ parseLBS def "content" .| (ignoreTreeContent "a" ignoreAttrs >> sinkList)[EventBeginElement (Name {nameLocalName = "b", ...}) [],EventEndElement (Name {nameLocalName = "b", ...}),EventEndDocument]runConduit $ parseLBS def "content" .| (ignoreTreeContent "b" ignoreAttrs >> sinkList)[EventBeginElement (Name {nameLocalName = "a", ...}) [],EventContent (ContentText "content"),EventEndElement (Name {nameLocalName = "a", ...}),EventEndDocument]runConduit $ parseLBS def "content" .| (ignoreTreeContent anyName ignoreAttrs >> sinkList)[EventBeginElement (Name {nameLocalName = "a", ...}) [],EventEndElement (Name {nameLocalName = "a", ...}),EventEndDocument] Since 1.5.0i xml-conduitSame as , without yielding s.runConduit $ parseLBS def "content" .| (ignoreAnyTreeContent >> sinkList)[EventBeginElement (Name {nameLocalName = "b", ...}) [],EventEndElement (Name {nameLocalName = "b", ...}),EventEndDocument]runConduit $ parseLBS def "text" .| (ignoreAnyTreeContent >> sinkList)[EventBeginElement (Name {nameLocalName = "b", ...}) [],EventEndElement (Name {nameLocalName = "b", ...}),EventEndDocument] Since 1.5.0j xml-conduit0Get the value of the first parser which returns '. If no parsers succeed (i.e., return Just), this function returns . orE a b = choose [a, b] Warning: j doesn't backtrack. See k for detailed explanation.k xml-conduit0Get the value of the first parser which returns '. If no parsers succeed (i.e., return ), this function returns . Warning: k doesn't backtrack. If a parser consumed some events, subsequent parsers will continue from the following events. This can be a problem if parsers share an accepted prefix of events, so an earlier (failing) parser will discard the events that the later parser could potentially succeed on.#An other problematic case is using k to implement order-independent parsing using a set of parsers, with a final trailing ignore-anything-else action. In this case, certain trees might be skipped.:{let parse2Tags name1 name2 = do' tag1 <- tagNoAttr name1 (pure ())) tag2 <- tagNoAttr name2 (pure tag1) return $ join tag2:}:{4runConduit $ parseLBS def "" .| choose [ parse2Tags "a" "b" , parse2Tags "a" "c" ]:}Just ():{4runConduit $ parseLBS def "" .| choose [ parse2Tags "a" "c" , parse2Tags "a" "b" ]:}Nothingl xml-conduit" .| void takeContent .| sinkList9[EventBeginDocument,EventContent (ContentText "content")]3If next event isn't a content, nothing is consumed.runConduit $ parseLBS def "content" .| void takeContent .| sinkList[EventBeginDocument] Since 1.5.0 xml-conduitStream ;s corresponding to a single XML element that matches given F and E', from the opening- to the closing-tag.runConduit $ parseLBS def "content" .| void (takeTree "a" ignoreAttrs) .| sinkList[EventBeginDocument,EventBeginElement (Name {nameLocalName = "a", ...}) [],EventContent (ContentText "content"),EventEndElement (Name {nameLocalName = "a", ...})]runConduit $ parseLBS def "content" .| void (takeTree "b" ignoreAttrs) .| sinkList[EventBeginDocument]If next ' isn't an element, nothing is consumed.runConduit $ parseLBS def "text" .| void (takeTree "a" ignoreAttrs) .| sinkList[EventBeginDocument]If an opening-tag is consumed but no matching closing-tag is found, an I is thrown.runConduit $ parseLBS def "" .| void (takeTree "a" ignoreAttrs) .| sinkList*** Exception: InvalidEndElement (Name {nameLocalName = "a", nameNamespace = Nothing, namePrefix = Nothing}) NothingThis function automatically ignores comments, instructions and whitespace.Returns Just () if an element was consumed,  otherwise. Since 1.5.0 xml-conduitLike  , but can also stream a content .runConduit $ parseLBS def "content" .| void (takeTreeContent "a" ignoreAttrs) .| sinkList[EventBeginDocument,EventBeginElement (Name {nameLocalName = "a", ...}) [],EventContent (ContentText "content"),EventEndElement (Name {nameLocalName = "a", ...})]runConduit $ parseLBS def "content" .| void (takeTreeContent "b" ignoreAttrs) .| sinkList[EventBeginDocument]runConduit $ parseLBS def "content" .| void (takeTreeContent "a" ignoreAttrs) .| sinkList9[EventBeginDocument,EventContent (ContentText "content")] Since 1.5.0 xml-conduitLike ., without checking for tag name or attributes.runConduit $ parseLBS def "text" .| void takeAnyTreeContent .| sinkList6[EventBeginDocument,EventContent (ContentText "text")]runConduit $ parseLBS def "" .| void takeAnyTreeContent .| sinkList[EventBeginDocument]runConduit $ parseLBS def "text" .| void takeAnyTreeContent .| sinkList[EventBeginDocument,EventBeginElement (Name {nameLocalName = "b", ...}) [],EventBeginElement (Name {nameLocalName = "c", ...}) [],EventEndElement (Name {nameLocalName = "c", ...}),EventEndElement (Name {nameLocalName = "b", ...})] Since 1.5.0 xml-conduitDefault implementation of X, which leaves the entity as-is. Numeric character references and the five standard entities (lt, gt, amp, quot, pos) are handled internally by the parser. xml-conduitHTML4-compliant entity decoder. Handles the additional 248 entities defined by HTML 4 and XHTML 1.Note that HTML 5 introduces a drastically larger number of entities, and this code does not recognize most of them. xml-conduitMatch a single  in a concise way. Note that ( is namespace sensitive: when using the  instance, use "{http://a/b}c" to match the tag c in the XML namespace  http://a/b xml-conduitFs can be combined with <|>a xml-conduitCheck if this is a correct tag name and return a value that can be used to get an  AttrParser-. If this fails, the function will return Nothing xml-conduitGiven the value returned by the name checker, this function will be used to get an  AttrParser- appropriate for the specific tag. If the  AttrParser& fails, the function will also return Nothing xml-conduitHandler function to handle the attributes and children of a tag, given the value return from the  AttrParserc xml-conduit#Check if this is a correct tag name xml-conduit:Handler function to handle the children of the matched tagd xml-conduit#Check if this is a correct tag name xml-conduit:Handler function to handle the children of the matched tage xml-conduit#Check if this is a correct tag namej xml-conduitThe first (preferred) parser xml-conduit:The second parser, only executed if the first parser failsk xml-conduit,List of parsers that will be tried in order. xml-conduit*Result of the first parser to succeed, or Nothing if no parser succeededl xml-conduit Error message xml-conduitOptional parser to be forced} xml-conduit1Consuming parser that generates the result stream xml-conduit2Ignore parser that consumes elements to be ignoredEFGHIJLKNMOPQVUSRTWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~[\]^ZmnQXWRTSUVabcd`_efghiFGHoqpEtuvsrwjkxyz{l|~}IJLKNMOPY Safe-Inferred6Z xml-conduit)Parse a document from a stream of events. xml-conduitTry to parse a document element (as defined in XML) from a stream of events. xml-conduitRender a document into events. xml-conduit&Render a document element into events.234QRSQRS234 Safe-Inferred"6[r xml-conduit$Note that the special element name {http:/www.snoyman.comxml2html}ie-cond with the single attribute cond0 is used to indicate an IE conditional comment.  276534:QRS  QRS234567: Safe-Inferredl xml-conduitA cursor: contains an XML 6 and pointers to its children, ancestors and siblings. xml-conduit=Something that can be used in a predicate check as a boolean. xml-conduitThe type of an Axis that returns a list of Cursors. They are roughly modeled after  http://www.w3.org/TR/xpath/#axes.Axes can be composed with  , where e.g. f >=> g# means that on all results of the f axis, the g axis will be applied, and all results joined together. Because Axis is just a type synonym for Cursor -> [Cursor]7, it is possible to use other standard functions like  or  similarly.The operators &|, &/, &// and &.// can be used to combine axes so that the second axis works on the context nodes, children, descendants, respectively the context node as well as its descendants of the results of the first axis.The operators $|, $/, $// and $.// can be used to apply an axis (right-hand side) to a cursor so that it is applied on the cursor itself, its children, its descendants, respectively itself and its descendants./Note that many of these operators also work on generalised Axes that can return lists of something other than Cursors, for example Content elements. xml-conduitCut a cursor off from its parent. The idea is to allow restricting the scope of queries on it. xml-conduit Convert a  to a %. It will point to the document root. xml-conduit Convert a  to a  (without parents). xml-conduit'Filter cursors that don't pass a check. xml-conduit%Filter nodes that don't pass a check. xml-conduitFilter elements that don't pass a check, and remove all non-elements. xml-conduitFilter elements that don't pass a name check, and remove all non-elements. xml-conduit4Remove all non-elements. Compare roughly to XPath: A node test * is true for any node of the principal node type. For example, child::* will select all element children of the context node [...]. xml-conduit=Select only those elements with a matching tag name. XPath: A node test that is a QName is true if and only if the type of the node (see [5 Data Model]) is the principal node type and has an expanded-name equal to the expanded-name specified by the QName. xml-conduitSelect only those elements with a loosely matching tag name. Namespace and case are ignored. XPath: A node test that is a QName is true if and only if the type of the node (see [5 Data Model]) is the principal node type and has an expanded-name equal to the expanded-name specified by the QName. xml-conduit.Select only text nodes, and directly give the Content values. XPath: /The node test text() is true for any text node."Note that this is not strictly an &, but will work with most combinators. xml-conduitSelect attributes on the current element (or nothing if it is not an element). XPath: the attribute axis contains the attributes of the context node; the axis will be empty unless the context node is an element"Note that this is not strictly an &, but will work with most combinators.The return list of the generalised axis contains as elements lists of Content; elements, each full list representing an attribute value. xml-conduitSelect attributes on the current element (or nothing if it is not an element). Namespace and case are ignored. XPath: the attribute axis contains the attributes of the context node; the axis will be empty unless the context node is an element"Note that this is not strictly an &, but will work with most combinators.The return list of the generalised axis contains as elements lists of Content; elements, each full list representing an attribute value. xml-conduit9Select only those element nodes with the given attribute. xml-conduitSelect only those element nodes containing the given attribute key/value pair.( !"#$%&'()*+,-./( !"#$%&'()*+,-./    !"##$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRRSTTUVWXYZ[\]^_`abcdefghiKJjklmnopqrstuvwxyz{L|M}~vGDEgvgDE'*Kt*xml-conduit-1.9.1.3-1kwQiLajrbuFZD8PzjJAJdText.XML.Cursor.GenericText.XML.Stream.ParseText.XML.Stream.RenderText.XMLText.XML.UnresolvedText.XML.CursorText.XML.Stream.Tokenbase Control.Monad>=>*conduit-extra-1.3.6-K4xEErvgAY5FKEOgXgEY8XData.Conduit.Attoparsec PositionRange1data-default-class-0.1.2.0-CQYBH38PFES4dDyailJWvdData.Default.Classdef&xml-types-0.3.8-AofQwkODre35w8Hpz2OSfKData.XML.Types prologueAfterprologueDoctypeprologueBeforePrologueinstructionDatainstructionTarget Instruction MiscCommentMiscInstruction Miscellaneous namePrefix nameNamespace nameLocalNameName doctypeID doctypeNameDoctypePublicIDSystemID ExternalIDCursorchildnodeAxistoCursorparentprecedingSiblingfollowingSibling preceding followingancestor descendantorSelf&|&/&//&.//$|$/$//$.// $fShowCursor AttributesRenderSettingsrsPretty rsNamespaces rsAttrOrder rsUseCDATArsXMLDeclaration renderBytes renderText orderAttrs renderBuilderrenderBuilderFlushprettifytagcontentattr optionalAttr$fDefaultRenderSettings$fSemigroupAttributes$fMonoidAttributes AttrParser NameMatcherrunNameMatcher XmlExceptionInvalidEndElement InvalidEntityMissingAttributeUnparsedAttributesxmlErrorMessage xmlBadInput ParseSettingspsDecodeEntitiespsRetainNamespacespsDecodeIllegalCharacterspsEntityExpansionSizeLimit"psIgnoreInternalEntityDeclarationsDecodeIllegalCharactersDecodeEntitiesEventPos detectUtf parseBytes parseBytesPos parseText parseTextPos contentMaybetag' tagNoAttrtagIgnoreAttrsignoreEmptyTag ignoreTree ignoreContentignoreTreeContentignoreAnyTreeContentorEchooseforce parseFileparseLBSmatchinganyNameanyOfoptionalAttrRawrequireAttrRaw requireAttr ignoreAttrsmanymany_ manyIgnoremany' manyYieldmanyIgnoreYield manyYield' takeContenttakeTreetakeTreeContenttakeAnyTreeContentdecodeXmlEntitiesdecodeHtmlEntities$fDefaultParseSettings$fExceptionXmlException$fIsStringNameMatcher$fAlternativeNameMatcher$fApplicativeNameMatcher$fMonadThrowAttrParser$fAlternativeAttrParser$fApplicativeAttrParser$fFunctorAttrParser$fMonadAttrParser$fShowXmlException$fFunctorNameMatcherInvalidEventStreamContentAfterRootMissingRootElementInvalidInlineDoctypeMissingEndElementUnterminatedInlineDoctypereadFilesinkDoc writeFile renderLBS parseLBS_ fromEventselementFromEventstoEventselementToEvents parseText_ sinkTextDoc$fShowInvalidEventStream$fExceptionInvalidEventStreamUnresolvedEntityException XMLExceptionInvalidXMLFileElement elementNameelementAttributes elementNodesNode NodeElementNodeInstruction NodeContent NodeCommentDocumentdocumentPrologue documentRootdocumentEpilogue toXMLDocument toXMLElement toXMLNodefromXMLDocumentfromXMLElement fromXMLNode$fToMarkupNode$fToMarkupElement$fNFDataElement $fNFDataNode$fToMarkupDocument$fNFDataDocument$fExceptionXMLException$fShowXMLException$$fExceptionUnresolvedEntityException$fShowUnresolvedEntityException$fShowDocument $fEqDocument$fDataDocument $fShowElement $fEqElement $fOrdElement $fDataElement $fShowNode$fEqNode $fOrdNode $fDataNodeBooleanboolcut fromDocumentfromNodecheck checkNode checkElement checkName anyElementelement laxElement attribute laxAttribute hasAttribute attributeIsforceM$fBooleanEither$fBooleanMaybe $fBoolean[] $fBooleanBool EscapeContext ECContent ECDoubleArg ECSingleArgTokenBeginElement foldAttrsNSLevel defaultNSprefixes TAttributeTNameTokenTokenXMLDeclarationTokenInstructionTokenEndElement TokenContent TokenComment TokenDoctype TokenCDATAtokenToBuilderEventbytestring-0.11.3.1Data.ByteString.Internal ByteString$conduit-1.3.5-Et8gg52Gj6jLDbatvG80T9Data.Conduit.CombinatorsbuilderToByteString text-1.2.5.0Data.Text.InternalText Data.ByteString.Builder.InternalBuilder EventContent GHC.MaybeNothingGHC.Basemempty mkBeginToken AlternativetoValidXmlChar isXMLSpaceemptyJustMaybeData.ByteString.Lazy.InternalData.Conduit.Internal.Conduityield Data.StringIsString>>= Data.Foldable concatMap