Safe Haskell | None |
---|
- data NName text = NName {
- nnNamespace :: Maybe text
- nnLocalPart :: !text
- type NAttributes text = Attributes (NName text) text
- mkNName :: text -> text -> NName text
- mkAnNName :: text -> NName text
- toNamespaced :: (NodeClass n c, GenericXMLString text, Ord text, Show text) => n c (QName text) text -> n c (NName text) text
- fromNamespaced :: (NodeClass n c, GenericXMLString text, Ord text, Functor c) => n c (NName text) text -> n c (QName text) text
- xmlnsUri :: GenericXMLString text => text
- xmlns :: GenericXMLString text => text
Documentation
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.
NName | |
|
type NAttributes text = Attributes (NName text) textSource
Type shortcut for attributes with namespaced names
toNamespaced :: (NodeClass n c, GenericXMLString text, Ord text, Show text) => n c (QName text) text -> n c (NName text) textSource
fromNamespaced :: (NodeClass n c, GenericXMLString text, Ord text, Functor c) => n c (NName text) text -> n c (QName text) textSource
xmlnsUri :: GenericXMLString text => textSource
xmlns :: GenericXMLString text => textSource