k      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ Safe-InferredA 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. get children !"#$%&'()*+,-./ !"#$%&'()*+,-./ !"%&'#$()*+,-./ !"#$%&'()*+,-./()*+,-./None3indentbefore None32Defines 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.39Specify how to turn the unordered attributes used by the Text.XML module into an ordered list.4Render a stream of s into a stream of s. This function wraps around 7 and ", so it produces optimally sized s with minimal buffer copying.bThe output is UTF8 encoded. renderBytes :: Monad m => RenderSettings -> Conduit Event m ByteString5Render a stream of s into a stream of s. This function wraps around 7,  and 4", so it produces optimally sized s with minimal buffer copying.6VConvenience function to create an ordering function suitable for use as the value of 3. 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.7Render 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.8Convert a stream of es into a prettified one, adding extra whitespace. Note that this can change the meaning of your XML.01234567pretty print attributes? self closing? namespaces to apply to top-level8 012345678 745012312368012345678None+3FHIM: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 W, X1 et al functions for handling an attribute, and YE if you would like to skip the rest of the attributes on an element. instance behave like First5 monoid. It chooses first parser which doesn't fail.DxWhether 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.1FAutomatically 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.GParses 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 F& to determine character encoding, and I to do the actual parsing.IParses 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.[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.JGrabs 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.K?Grabs the next piece of content. If none if available, returns #. This is simply a wrapper around J.LlThe most generic way to parse a tag. It takes a predicate for checking if this is the correct tag name, an :F for handling attributes, and then a parser for dealing with content.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 Y.JThis function automatically ignores comments, instructions and whitespace.MA simplified version of L* which matches against boolean predicates.NA simplified version of L which matches for specific tag names instead of taking a predicate function. This is often sufficient, and when combined with OverloadedStrings and the IsString instance of /, can prove to be very concise. . Note that Name( is namespace sensitive. When using the IsString# instance of name, use > "{http:/ab}c" :: Name to match the tag c in the XML namespace  http://a/bOIA further simplified tag parser, which requires that no attributes exist.P0Get 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]Q0Get the value of the first parser which returns '. If no parsers succeed (i.e., return ), this function returns .R<Force an optional parser into a required parser. All of the L functions, Q and Z deal with G parsers. Use this when you want to finally force something to happen.S5A helper function which reads a file from disk using enumFile$, detects character encoding using F, parses the XML using G6, and then hands off control to your supplied parser.T"Parse an event stream from a lazy .WARequire that a certain attribute be present and return its value.X-Return the value for an attribute if present.YoSkip the remaining attributes on an element. Since this will clear the list of attributes, you must call this after any calls to W, X, etc.Z4Keep parsing elements as long as the parser returns .[Default implementation of 9_: handles numeric entities and the five standard character entities (lt, gt, amp, quot, apos).\HTML4-compliant entity decoder. Handles numerics, the five standard character entities, and 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.D9:;<=>?@ABCDEFGHIJKLUCheck if this is a correct tag name and return a value that can be used to get an  AttrParser. If this returns Nothing , the function will also return NothingVGiven the value returned by the name checker, this function will be used to get an  AttrParser" appropriate for the specific tag.dHandler function to handle the attributes and children of a tag, given the value return from the  AttrParserMName predicate that returns True if the name matches the parser?The attribute parser to be used for tags matching the predicatedHandler function to handle the attributes and children of a tag, given the value return from the  AttrParserN9The tag name this parser matches to (includes namespaces)@The attribute parser to be used for tags matching the predicate dHandler function to handle the attributes and children of a tag, given the value return from the  AttrParserOThe name this parser matches to:Handler function to handle the children of the matched tagPThe first (preferred) parser:The second parser, only executed if the first parser failsQ,List of parsers that will be tried in order.*Result of the first parser to succeed, or Nothing if no parser succeededR Error messageOptional parser to be forcedSTUVWXYZ[\&9:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\(GHIFSTBCD9CD[\LMNOKJ:WXVUYPQZR;?>=<@AE59:;?>=<@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\None+3HM]^_`abcdefghijklmnop012BCD]^_`abcdefghijklmnopecfghnopdmlijk]ba`_^BCDCD01212]ba`_^cdefghijklmnopNone+3FHM$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.2qrstuvwxyz{|}~     H 01236BCD[\qrstuvwxyz{|}~M  z~}|{uvwxyqrstBCDCD[\01231236$qrstuvwxyz~}|{     NoneA cursor: contains an XML z6 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 gb 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 AxesW 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 z 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:;<=>?@ABCDEFGHIJGKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopq_rC@AstTuvwwxyzz{|}~n_roTuvs@pqA'*V]' <FM     xml-conduit-1.2.3Text.XML.Cursor.GenericText.XML.Stream.ParseText.XML.Stream.RenderText.XMLText.XML.UnresolvedText.XML.CursorText.XML.Stream.Tokenbase Control.Monad>=>conduit-extra-1.1.4Data.Conduit.Attoparsec PositionRangedata-default-class-0.0.1Data.Default.Classdefxml-types-0.3.4Data.XML.Types prologueAfterprologueDoctypeprologueBeforePrologueinstructionDatainstructionTarget InstructionMiscInstruction MiscComment Miscellaneous namePrefix nameNamespace nameLocalNameName doctypeID doctypeNameDoctypeSystemIDPublicID ExternalIDCursorchildnodeAxistoCursorparentprecedingSiblingfollowingSibling preceding followingancestor descendantorSelf&|&/&//&.//$|$/$//$.//RenderSettingsrsPretty rsNamespaces rsAttrOrder renderBytes renderText orderAttrs renderBuilderprettifyDecodeEntities AttrParser XmlExceptionUnparsedAttributes InvalidEntityInvalidEndElementxmlErrorMessage xmlBadInput ParseSettingspsDecodeEntitiespsRetainNamespacesEventPos detectUtf parseBytes parseBytesPos parseText contentMaybecontenttag tagPredicatetagName tagNoAttrorEchooseforce parseFileparseLBSoptionalAttrRawrequireAttrRaw requireAttr optionalAttr ignoreAttrsmanydecodeXmlEntitiesdecodeHtmlEntitiesInvalidEventStreamUnterminatedInlineDoctypeMissingEndElementInvalidInlineDoctypeMissingRootElementContentAfterRootreadFilesinkDoc writeFile renderLBS parseLBS_ fromEventstoEvents parseText_ sinkTextDocUnresolvedEntityException XMLExceptionInvalidXMLFileElement elementNameelementAttributes elementNodesNode NodeComment NodeContentNodeInstruction NodeElementDocumentdocumentPrologue documentRootdocumentEpilogue toXMLDocument toXMLElement toXMLNodefromXMLDocumentfromXMLElement fromXMLNodeBooleanboolcut fromDocumentfromNodecheck checkNode checkElement checkName anyElementelement laxElement attribute laxAttribute hasAttribute attributeIsforceMparent'precedingSibling'followingSibling' DiffCursor toCursor' $fShowCursorTokenBeginElementNSLevel defaultNSprefixes TAttributeTNameToken TokenCDATA TokenDoctype TokenComment TokenContentTokenEndElementTokenInstructionTokenBeginDocumentoneSpacetokenToBuilder tnameToText contentToText foldAttrsnubAttrs splitTName$fIsStringTNameEventbytestring-0.10.4.0Data.ByteString.Internal ByteStringData.Conduit.BlazebuilderToByteStringblaze-builder-0.3.3.4'Blaze.ByteString.Builder.Internal.TypesBuilderStackrenderBuilder' eventToToken nameToTName mkBeginToken newElemStack newAttrStack getPrefix prettify'$fDefaultRenderSettingsControl.Applicative Alternative isXMLSpace text-1.2.0.0Data.Text.Internalempty Data.MaybeJustNothingMaybeData.ByteString.Lazy.Internal runAttrParser ContentType NotContentIsError IsContentIgnoreEnts tokenToEvent tnameToNamedropBOMtoEventC conduitToken parseTokenparseAttribute parseName parseIdent parseContent skipSpacenewlinechar'contentsToText htmlEntities decodeChar$fAlternativeAttrParser$fApplicativeAttrParser$fFunctorAttrParser$fMonadAttrParser$fExceptionXmlException$fDefaultParseSettingsmShowPos prettyShowEprettyShowName compressNodes$fShowInvalidEventStream$fExceptionInvalidEventStream$fToMarkupElementtoXMLDocument' toXMLElement' toXMLNode' voidElems$fToMarkupNode$fToMarkupDocument$$fExceptionUnresolvedEntityException$fExceptionXMLException$fShowXMLException$fNFDataElement $fNFDataNode$fNFDataDocumentGHC.Base>>=GHC.List concatMap$fBooleanEither$fBooleanMaybe $fBoolean[] $fBooleanBool