Module
Metajelo.XPaths.Write
- Package
- purescript-metajelo
- Repository
- labordynamicsinstitute/purescript-metajelo
#writeRecord Source
writeRecord :: DocWriterRoot MetajeloRecordFor 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 StringFor creating a simple node with a string value that has no other children or attributes.