Safe Haskell | None |
---|---|
Language | Haskell2010 |
Symantic.XML.Language
Documentation
class Textable repr where Source #
Minimal complete definition
Nothing
Associated Types
type TextConstraint repr a :: Constraint Source #
Methods
text :: Transformable repr => XML (UnTrans repr) => TextConstraint (UnTrans repr) a => repr (a -> k) k Source #
text :: TextConstraint repr a => repr (a -> k) k Source #
Instances
Textable RNCWriteSyn Source # | |
Defined in Symantic.XML.RelaxNG.Compact.Write Associated Types type TextConstraint RNCWriteSyn a :: Constraint Source # Methods text :: TextConstraint RNCWriteSyn a => RNCWriteSyn (a -> k) k Source # | |
Textable Write Source # | |
Defined in Symantic.XML.Write Associated Types type TextConstraint Write a :: Constraint Source # | |
Textable TreeData Source # | |
Defined in Symantic.XML.Tree.Data Associated Types type TextConstraint TreeData a :: Constraint Source # | |
Ord err => Textable (Read FileSourced err) Source # | |
Defined in Symantic.XML.Read Associated Types type TextConstraint (Read FileSourced err) a :: Constraint Source # Methods text :: TextConstraint (Read FileSourced err) a => Read FileSourced err (a -> k) k Source # |
class (Composable repr, Tupable repr, Eitherable repr, Textable repr) => XML repr where Source #
Minimal complete definition
Nothing
Methods
namespace :: Maybe NCName -> Namespace -> repr k k Source #
(
declares a namespace prefix namespace
p ns)(p)
to be used for the Namespace
(ns)
.
Or make (ns)
the default namespace if (p)
is Nothing
.
namespace :: Transformable repr => XML (UnTrans repr) => Maybe NCName -> Namespace -> repr k k Source #
(
declares a namespace prefix namespace
p ns)(p)
to be used for the Namespace
(ns)
.
Or make (ns)
the default namespace if (p)
is Nothing
.
element :: Transformable repr => XML (UnTrans repr) => QName -> repr a k -> repr a k Source #
element :: QName -> repr a k -> repr a k Source #
attribute :: Transformable repr => XML (UnTrans repr) => QName -> repr a k -> repr a k Source #
attribute :: QName -> repr a k -> repr a k Source #
pi :: Transformable repr => XML (UnTrans repr) => PName -> repr (Text -> k) k Source #
pi :: PName -> repr (Text -> k) k Source #
literal :: Transformable repr => XML (UnTrans repr) => Text -> repr k k Source #
literal :: Text -> repr k k Source #
comment :: Transformable repr => XML (UnTrans repr) => repr (Text -> k) k Source #
comment :: repr (Text -> k) k Source #
cdata :: Transformable repr => XML (UnTrans repr) => repr (Text -> k) k Source #
Instances
module Symantic.XML.Namespace
module Symantic.XML.Text