Module
Metajelo.XPaths.Write
- Package
- purescript-metajelo
- Repository
- labordynamicsinstitute/purescript-metajelo
#writeRecord Source
writeRecord :: DocWriterRoot MetajeloRecord
For convenience, this method assumes that a document with
the outer layers "above" individual supplementary producs
exist in the env
environment (sans perhaps a few attributes which
will be filled in). This means the starting doc (blankDoc
) used
is not valid Metajelo, but successfully running writeRecord on it
will return a valid Metajelo document.
#writeSimpleNode Source
writeSimpleNode :: String -> DocWriter String
For creating a simple node with a string value that has no other children or attributes.