hexpat-0.11: wrapper for expat, the fast XML parserSource codeContentsIndex
Text.XML.Expat.Namespaced
Synopsis
data NName text = NName {
nnNamespace :: Maybe text
nnLocalPart :: !text
}
type NNode text = Node (NName text) text
type NNodes text = [Node (NName text) text]
type NAttributes text = Attributes (NName text) text
mkNName :: text -> text -> NName text
mkAnNName :: text -> NName text
toNamespaced :: (GenericXMLString text, Ord text, Show text) => QNode text -> NNode text
fromNamespaced :: (GenericXMLString text, Ord text) => NNode text -> QNode text
xmlnsUri :: GenericXMLString text => text
xmlns :: GenericXMLString text => text
Documentation
data NName text Source

A namespace-qualified tag.

NName has two components, a local part and an optional namespace. The local part is the name of the tag. The namespace is the URI identifying collections of declared tags. Tags with the same local part but from different namespaces are distinct. Unqualified tags are those with no namespace. They are in the default namespace, and all uses of an unqualified tag are equivalent.

Constructors
NName
nnNamespace :: Maybe text
nnLocalPart :: !text
show/hide Instances
Eq text => Eq (NName text)
Show text => Show (NName text)
NFData text => NFData (NName text)
type NNode text = Node (NName text) textSource
Type shortcut for a single node where namespaced names are used for tags
type NNodes text = [Node (NName text) text]Source

DEPRECATED: Use [NNode text] instead.

Type shortcut for nodes where namespaced names are used for tags.

type NAttributes text = Attributes (NName text) textSource
Type shortcut for attributes with namespaced names
mkNName :: text -> text -> NName textSource
Make a new NName from a prefix and localPart.
mkAnNName :: text -> NName textSource
Make a new NName with no prefix.
toNamespaced :: (GenericXMLString text, Ord text, Show text) => QNode text -> NNode textSource
fromNamespaced :: (GenericXMLString text, Ord text) => NNode text -> QNode textSource
xmlnsUri :: GenericXMLString text => textSource
xmlns :: GenericXMLString text => textSource
Produced by Haddock version 2.6.0