Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Textable repr where Source #
Nothing
type TextConstraint repr a :: Constraint Source #
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 type TextConstraint RNCWriteSyn a :: Constraint Source # text :: TextConstraint RNCWriteSyn a => RNCWriteSyn (a -> k) k Source # | |
Textable Write Source # | |
Defined in Symantic.XML.Write type TextConstraint Write a :: Constraint Source # | |
Textable TreeData Source # | |
Defined in Symantic.XML.Tree.Data type TextConstraint TreeData a :: Constraint Source # | |
Ord err => Textable (Read FileSourced err) Source # | |
Defined in Symantic.XML.Read type TextConstraint (Read FileSourced err) a :: Constraint Source # 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 #
Nothing
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