Module Edsec


module Edsec: sig .. end
Allows to add or delete a sequence in a .sec file.

This source is released to the public domain since 2004. No warranty. Citation of the project Structio and the following URL is appreciated. http://structio.sourceforge.net/sigue


val retval : int Pervasives.ref
Value returned to OS.
val isrefcla : string ->
string -> < attribute : string -> Markup_types.att_value; .. > -> bool
isrefcla typcla idcla elem Decides if element elem (which is a refclasif) has type typcla and id idcla
val add_refcla : string ->
string ->
string ->
string ->
string ->
< root : ('a Markup_document.node Markup_document.extension as 'a)
Markup_document.node;
.. > ->
unit
add_refcla typseq idseq typcla idcla nseq tseq adds a reference to a classification of type typcla, id idcla in a sequence with type typseq, id idseq possibly adding also the sequence if it doesn't exist.
val remove_refcla : string ->
string ->
string ->
string ->
string ->
< root : < sub_nodes : ('a Markup_document.extension Markup_document.node
as 'a)
list;
.. >;
.. > ->
unit
remove_refcla typseq idseq typcla idcla nseq tseq Removes from the markup tree tseq (extracted from file nseq) the reference to the classification idcla of type typcla, from sequence idseq of type typseq
val procch : string ->
< root : ('a Markup_document.node Markup_document.extension as 'a)
Markup_document.node;
.. > ->
string list -> unit
Process n-tuples in a list, each one with operation and argument, applies changes to file tseq