9'      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~None:indent     before        None:OTA list of attributes.Defines some top level namespace definitions to be used, in the form of (prefix, namespace). This has absolutely no impact on the meaning of your documents, but can increase readability by moving commonly used namespace declarations to the top level.9Specify how to turn the unordered attributes used by the Text.XML module into an ordered list. MDetermines if for a given text content the renderer should use a CDATA node. Default: False!6Determines whether the XML declaration will be output. Default: True"Render a stream of s into a stream of s. This function wraps around % and ", so it produces optimally sized s with minimal buffer copying.bThe output is UTF8 encoded. renderBytes :: Monad m => RenderSettings -> Conduit Event m ByteString#Render a stream of s into a stream of s. This function wraps around %,  and "", so it produces optimally sized s with minimal buffer copying.$VConvenience function to create an ordering function suitable for use as the value of . The ordering function is created from an explicit ordering of the attributes, specified as a list of tuples, as follows: In each tuple, the first component is the A of an element, and the second component is a list of attributes names. When the given element is rendered, the attributes listed, when present, appear first in the given order, followed by any other attributes in arbitrary order. If an element does not appear, all of its attributes are rendered in arbitrary order.%Render a stream of s into a stream of Zs. Builders are from the blaze-builder package, and allow the create of optimally sized s with minimal buffer copying.&Same as %\ but allows you to flush XML stream to ensure that all events at needed point are rendered.'Convert a stream of es into a prettified one, adding extra whitespace. Note that this can change the meaning of your XML.(Generate a complete XML Element.)Generate a textual .*Generate a single attribute.+@Helper function that generates a valid attribute if input isn't , or  otherwise.  !"#$%& !"pretty print attributes? self closing? namespaces to apply to top-level#$%'&'(Element' s subnodes.)*Attribute's nameAttribute's value+,-! "#$%&'()*+%&"#' ! !$()*+ !"#$%& !"#$%'&'()*+,-None/029:;DILMORT,/A 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 \, [1 et al functions for handling an attribute, and ^E 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.0A  NameMatcher8 describes which names a tag parser is allowed to match. Since 1.5.0=xWhether 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.1?Automatically determine which UTF variant is being used. This function first checks for BOMs, removing them as necessary, and then check for the equivalent of <?xml for each of UTF-8, UTF-16LEBE, and UTF-32LE#BE. It defaults to assuming UTF-8.@Parses a byte stream into %s. This function is implemented fully in Haskell using attoparsec-text for parsing. The produced error messages do not give line/column information, so you may prefer to stick with the parser provided by libxml-enumerator. However, this has the advantage of not relying on any C libraries.This relies on ?& to determine character encoding, and B to do the actual parsing.BParses a character stream into %s. This function is implemented fully in Haskell using attoparsec-text for parsing. The produced error messages do not give line/column information, so you may prefer to stick with the parser provided by libxml-enumerator. However, this has the advantage of not relying on any C libraries. Since 1.2.4DSame as B*, but includes the position of each event. Since 1.2.4).Is this codepoint a valid XML character? See  #https://www.w3.org/TR/xml/#charsets. This is proudly XML 1.0 only.*[Determines whether a character is an XML white space. The list of white spaces is given by  S ::= (#x20 | #x9 | #xD | #xA)+in  :http://www.w3.org/TR/2008/REC-xml-20081126/#sec-common-syn.EGrabs the next piece of content if available. This function skips over any comments and instructions and concatenates all content until the next start or end tag.F?Grabs the next piece of content. If none if available, returns +#. This is simply a wrapper around E.G0The most generic way to parse a tag. It takes a 02 to check whether this is a correct tag name, an /? to handle attributes, and then a parser to deal with content.EventsC are consumed if and only if the tag name and its attributes match.This function automatically absorbs its balancing closing tag, and will throw an exception if not all of the attributes or child elements are consumed. If you want to allow extra attributes, see ^.JThis function automatically ignores comments, instructions and whitespace.HA simplified version of G where the 01 result isn't forwarded to the attributes parser. Since 1.5.0IIA further simplified tag parser, which requires that no attributes exist.JKA further simplified tag parser, which ignores all attributes, if any existKIgnore an empty tag and all of its attributes. This does not ignore the tag recursively (i.e. it assumes there are no child elements). This function returns Just () if the tag matched. Since 1.5.0MIgnore a tag, its attributes and its children subtrees recursively. Both content and text events are ignored. This function returns Just () if the tag matched. Since 1.5.0OLike M7, but matches any name and also ignores content events.Q0Get 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]R0Get the value of the first parser which returns ,'. If no parsers succeed (i.e., return ,), this function returns .S<Force an optional parser into a required parser. All of the G functions, [, R and _ deal with -G parsers. Use this when you want to finally force something to happen.T5A helper function which reads a file from disk using enumFile$, detects character encoding using ?, parses the XML using @6, and then hands off control to your supplied parser.U"Parse an event stream from a lazy ..V matching f matches name iff f name is true. Returns the matched . Since 1.5.0W Matches any . Returns the matched . Since 1.5.0X Matches any * from the given list. Returns the matched . Since 1.5.0[-Return the value for an attribute if present.\Shortcut composition of S and [.^oSkip the remaining attributes on an element. Since this will clear the list of attributes, you must call this after any calls to \, ], etc._4Keep parsing elements as long as the parser returns ,.`Like _@ but discards the results without building an intermediate list. Since 1.5.0a4Keep parsing elements as long as the parser returns ,! or the ignore parser returns ,.bLike manyQ, but any tags and content the consumer doesn't match on are silently ignored.cLike _ , but uses /R so the result list can be streamed to downstream conduits without waiting for c to finishdLike a , but uses /R so the result list can be streamed to downstream conduits without waiting for d to finisheLike b , but uses /R so the result list can be streamed to downstream conduits without waiting for e to finishfStream a content 5. If next event isn't a content, nothing is consumed.Returns Just () if a content  was consumed, Nothing otherwise. Since 1.5.0gStream 7s corresponding to a single element that matches given 0 and /', from the opening- to the closing-tag.If next ' isn't an element, nothing is consumed.GIf an opening-tag is consumed but no matching closing-tag is found, an 3 is thrown.JThis function automatically ignores comments, instructions and whitespace.Returns Just () if an element was consumed,  otherwise. Since 1.5.0hLike g , but can also stream a content . Since 1.5.0iLike h., without checking for tag name or attributes.KrunResourceT $ parseLBS def "text<a></a>" $$ takeAnyTreeContent =$= consume*Just [ EventContent (ContentText "text") ]KrunResourceT $ parseLBS def "</a><b></b>" $$ takeAnyTreeContent =$= consumeJust [ ]VrunResourceT $ parseLBS def "<b><c></c></b></a>text" $$ takeAnyTreeContent =$= consumeeJust [ EventBeginElement "b" [], EventBeginElement "c" [], EventEndElement "c", EventEndElement "b" ] Since 1.5.0kDefault implementation of ., 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.lcHTML4-compliant entity decoder. Handles the additional 248 entities defined by HTML 4 and XHTML 1.tNote that HTML 5 introduces a drastically larger number of entities, and this code does not recognize most of them.rMatch a single  in a concise way. Note that ( is namespace sensitive: when using the 0 instance, use "{http://a/b}c" to match the tag c in the XML namespace  http://a/bs0s can be combined with <|>e./120123456789:34567;8<=>9:;?<@A=BCD>?@ABCD)E*FGEFHGUCheck 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 NothingVGiven 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 NothingdHandler function to handle the attributes and children of a tag, given the value return from the  AttrParserHI#Check if this is a correct tag name:Handler function to handle the children of the matched tagJ#Check if this is a correct tag name:Handler function to handle the children of the matched tagK#Check if this is a correct tag nameL#Check if this is a correct tag nameM#Check if this is a correct tag nameN#Check if this is a correct tag nameOPQThe first (preferred) parser:The second parser, only executed if the first parser failsR,List of parsers that will be tried in order.*Result of the first parser to succeed, or Nothing if no parser succeededS Error messageOptional parser to be forcedTUVWXYZ[\]I^_`abcd1Consuming parser that generates the result stream2Ignore parser that consumes elements to be ignoredefghijklJmnopqrstuvA./0123465879:;=<>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklC@ABCD?TU;<=.<=klGHIJFELKNMOPfghij012VXW/[\]ZY^QR_`abSced3456789:>S./120123456789:34567;8<=>9:;?<@A=BCD>?@ABCD)E*FGEFHGHIJKLMNOPQRSTUVWXYZ[\]I^_`abcdefghijklJmnopqrstuvNone0:OT)Parse a document from a stream of events.LTry to parse a document element (as defined in XML) from a stream of events.Render a document into events.&Render a document element into events.yz{|}~KLMNOPQ;=<yz{|}~!yz{|}~;<=<=yz{|}~KLMNOPQSafeA cursor: contains an XML Node6 and pointers to its children, ancestors and siblings.The child axis. XPath: 8the child axis contains the children of the context node.The current node.)The parent axis. As described in XPath: Hthe 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.$The preceding-sibling axis. XPath: Xthe preceding-sibling axis contains all the preceding siblings of the context node [...].$The following-sibling axis. XPath: Xthe following-sibling axis contains all the following siblings of the context node [...].The 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.The 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.The 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.The 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.YModify an axis by adding the context node itself as the first element of the result list.*Apply a function to the result of an axis.WCombine two axes so that the second works on the children of the results of the first.ZCombine two axes so that the second works on the descendants of the results of the first.[Combine two axes so that the second works on both the result nodes, and their descendants.!Apply an axis to a 'Cursor node'.1Apply an axis to the children of a 'Cursor node'.4Apply an axis to the descendants of a 'Cursor node'.<Apply an axis to a 'Cursor node' as well as its descendants.RSTUV get childrenWRSTUVW11111111None0:MOT$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.2XYZ[J  ! $;=<klQ  ;<=<=kl ! !$$XYZ[NoneA cursor: contains an XML 6 and pointers to its children, ancestors and siblings.=Something that can be used in a predicate check as a boolean.TThe 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 ga 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 AxesV that can return lists of something other than Cursors, for example Content elements.^Cut a cursor off from its parent. The idea is to allow restricting the scope of queries on it. Convert a  to a %. It will point to the document root. Convert a  to a  (without parents).'Filter cursors that don't pass a check.%Filter nodes that don't pass a check.EFilter elements that don't pass a check, and remove all non-elements.JFilter elements that don't pass a name check, and remove all non-elements.4Remove 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 [...].=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.eSelect 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..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.WSelect 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.FThe return list of the generalised axis contains as elements lists of Content; elements, each full list representing an attribute value.xSelect 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.FThe return list of the generalised axis contains as elements lists of Content; elements, each full list representing an attribute value.9Select only those element nodes with the given attribute.NSelect only those element nodes containing the given attribute key/value pair.((^    !"##$%&'()*+,-./0123456789:;<<=>>?@ABCDEFGHIJKLMNO54PQRSTUVWXYZ[\]^_`ab6c7defghijklmnopqrstuvwxyz{|}~]1./M]M./5[       '(    !"#;$%&'()E*+,-./0123456789:;<=>?@ABCDEFGHIJK LMNO(xml-conduit-1.7.0-DmmQu7s8KYqExk6tFxtVzVText.XML.Cursor.GenericText.XML.Stream.ParseText.XML.Stream.RenderText.XMLText.XML.UnresolvedText.XML.CursorText.XML.Stream.Tokenbase Control.Monad>=>+conduit-extra-1.1.17-Iykj7CBGfMvCQgg1IJvyESData.Conduit.Attoparsec PositionRange0data-default-class-0.1.2.0-GsXqKN6o1X9jr0fF5qCVDData.Default.Classdef&xml-types-0.3.6-ElufRPtdMcP2bUnAncMGGBData.XML.Types prologueAfterprologueDoctypeprologueBeforePrologueinstructionDatainstructionTarget Instruction MiscCommentMiscInstruction Miscellaneous namePrefix nameNamespace nameLocalNameName doctypeID doctypeNameDoctypePublicIDSystemID ExternalID AttributesRenderSettingsrsPretty rsNamespaces rsAttrOrder rsUseCDATArsXMLDeclaration renderBytes renderText orderAttrs renderBuilderrenderBuilderFlushprettifytagcontentattr optionalAttr$fMonoidAttributes$fDefaultRenderSettingsDecodeEntities AttrParser NameMatcherrunNameMatcher XmlExceptionInvalidEndElement InvalidEntityMissingAttributeUnparsedAttributesxmlErrorMessage xmlBadInput ParseSettingspsDecodeEntitiespsRetainNamespacesEventPos detectUtf parseBytes parseBytesPos parseText' parseText parseTextPos contentMaybetag' tagNoAttrtagIgnoreAttrsignoreEmptyTag ignoreTagignoreTreeContent ignoreTreeignoreAnyTreeContentignoreAllTreesContentorEchooseforce parseFileparseLBSmatchinganyNameanyOfoptionalAttrRawrequireAttrRaw requireAttr ignoreAttrsmanymany_ manyIgnoremany' manyYieldmanyIgnoreYield manyYield' takeContenttakeTreetakeTreeContenttakeAnyTreeContenttakeAllTreesContentdecodeXmlEntitiesdecodeHtmlEntities$fMonadThrowAttrParser$fAlternativeAttrParser$fApplicativeAttrParser$fFunctorAttrParser$fMonadAttrParser$fIsStringNameMatcher$fAlternativeNameMatcher$fApplicativeNameMatcher$fExceptionXmlException$fDefaultParseSettings$fShowXmlException$fFunctorNameMatcherInvalidEventStreamContentAfterRootMissingRootElementInvalidInlineDoctypeMissingEndElementUnterminatedInlineDoctypereadFilesinkDoc writeFile renderLBS parseLBS_ fromEventselementFromEventstoEventselementToEvents parseText_ sinkTextDoc$fShowInvalidEventStream$fExceptionInvalidEventStreamCursorchildnodeAxistoCursorparentprecedingSiblingfollowingSibling preceding followingancestor descendantorSelf&|&/&//&.//$|$/$//$.// $fShowCursorUnresolvedEntityException XMLExceptionInvalidXMLFileElement elementNameelementAttributes elementNodesNode NodeElementNodeInstruction NodeContent NodeCommentDocumentdocumentPrologue documentRootdocumentEpilogue toXMLDocument toXMLElement toXMLNodefromXMLDocumentfromXMLElement fromXMLNode$fToMarkupNode$fToMarkupElement$fToMarkupDocument$$fExceptionUnresolvedEntityException$fExceptionXMLException$fShowXMLException$fNFDataElement $fNFDataNode$fNFDataDocument $fShowElement $fEqElement $fOrdElement $fDataElement $fShowNode$fEqNode $fOrdNode $fDataNode$fShowDocument $fEqDocument$fDataDocument$fShowUnresolvedEntityExceptionBooleanboolcut fromDocumentfromNodecheck checkNode checkElement checkName anyElementelement laxElement attribute laxAttribute hasAttribute attributeIsforceM$fBooleanEither$fBooleanMaybe $fBoolean[] $fBooleanBoolTokenBeginElementNSLevel defaultNSprefixes TAttributeTNameTokenTokenXMLDeclarationTokenInstructionTokenEndElement TokenContent TokenComment TokenDoctype TokenCDATAoneSpacetokenToBuilder tnameToText contentToText foldAttrsnubAttrs splitTNameescCDATA$fIsStringTNameEventbytestring-0.10.8.1Data.ByteString.Internal ByteStringData.Conduit.BlazebuilderToByteString#text-1.2.2.2-KC7dWoG09dA1F6jKj5GSqhData.Text.InternalText Data.ByteString.Builder.InternalBuilder EventContentGHC.BaseNothingmemptyStackrenderBuilder' renderEvent eventToToken nameToTName mkBeginToken newElemStack newAttrStack getPrefix prettify' AlternativetoValidXmlChar isXMLSpaceemptyJustMaybeData.ByteString.Lazy.Internal%conduit-1.2.12-Ls9vTm65Gns7ypuXl9kAkJData.Conduit.Internal.Conduityield Data.StringIsString runAttrParser ContentTypeIgnore IsContentIsError NotContentEnts tokenToEvent tnameToName checkXMLDecldropBOMtoEventC conduitToken parseTokenparseAttribute parseName parseIdent parseContent skipSpacenewlinechar' isWhitespacecontentsToText htmlEntitiesmShowPos prettyShowEprettyShowName manyTries dropReturnelementToEvents' compressNodesparent'precedingSibling'followingSibling' DiffCursor toCursor'toXMLDocument' toXMLElement' toXMLNode' voidElems>>= Data.Foldable concatMap