HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulehxt-9.3.1.22Haskell2010

Text.XML.HXT.Arrow.Namespace

namespace specific arrows

  • 12 values
  • Packagehxt-9.3.1.22
  • Exports12
  • LanguageHaskell2010
  • LicenceMIT
  • SourceNamespace.hs
valueattachNsEnv :: ArrowXml a => NsEnv -> a XmlTree XmlTree
#

attach all valid namespace declarations to the attribute list of element nodes.

This arrow is useful for document processing, that requires access to all namespace declarations at any element node, but which cannot be done with a simple processWithNsEnv.

propagate all namespace declarations "xmlns:ns=..." to all element and attribute nodes of a document.

This arrow does not check for illegal use of namespaces. The real work is done by propagateNamespaceEnv.

The arrow may be applied repeatedly if neccessary.