package yocaml_syndication
Yocaml plugin for dealing with RSS and Atom feed
Install
dune-project
Dependency
Authors
Maintainers
Sources
yocaml-2.4.0.tbz
sha256=5d230b9dd9e3d434ebb767ecc20732ed8fc03a8c100813ff29c7933a7ee4050d
sha512=b4f4b76bef7e4d65d2f7434c122592a02c5d80114bde58f2167509fc92e2666a6b798ca964b9ed07e526ef2b59c5db9c4a435c6c64721a745ea0da37b3eed97a
doc/yocaml_syndication/Yocaml_syndication/Xml/Attr/index.html
Module Xml.Attr
Source
An attribute is an association between a key and a value (quoted). Please note that this library does not guarantee that the key or value is correctly formatted, and it is the user's responsibility to produce only correct values.
Types
Describes a key * value
pair.
Describes a list of attributes. The set of attributes must be unique, and the type is backed up by a Map to ensure that an attribute (described by its key) is present only once.
API
make ?ns ~key f value
Builds an arbitrary attribute value. The ns
optional parameter allows to scope an attribute to a given namespace.
string ?ns ~key value
Builds a string attribute.
float ?ns ~key value
Builds a float attribute.
bool ?ns ~key value
Builds a boolean attribute.