module Pxp_codewriter:Writes O'Caml code to the out_channel that is a top-level function creating a fresh document which is equal to the passed document:sig
..end
"let create_document ?enable_namespace_processing config spec = ...;;"
If you compile the code and call "create_document config spec" the function creates a document tree which is (almost) equal to the passed document.
The following properties may not be equal:
NOTE: The signature of the generated function has changed from
PXP 1.0 to PXP 1.1; the first argument is now 'config' and not
'warner'
val write_document : Pervasives.out_channel ->
('a Pxp_document.node #Pxp_document.extension as 'a) Pxp_document.document ->
unit
"let create_document ?enable_namespace_processing config spec = ...;;"
If you compile the code and call "create_document config spec" the function creates a document tree which is (almost) equal to the passed document.
The following properties may not be equal:
NOTE: The signature of the generated function has changed from
PXP 1.0 to PXP 1.1; the first argument is now 'config' and not
'warner'
val write_subtree : Pervasives.out_channel ->
('a Pxp_document.node #Pxp_document.extension as 'a) Pxp_document.node ->
unit
"let create_subtree dtd spec = ...;;"
If you compile the code and call "create_subtree dtd spec" the function creates a DTD object which is equal to the passed object.
'dtd': a DTD object
'spec': a Pxp_document.spec