11. A system, comprising: a processor; and a memory storing a program, which, when executed by a processor performs an operation for managing a compound document having one or more child documents in a content management system (CMS), the operation, comprising: retrieving a domain-specific compound document configured according to a domain-specific schema, embedding a processing instruction in a node of the domain-specific compound document to reflect a rule associated with the node, wherein the rule specifies a semantic requirement required for a domain associated with the domain-specific compound document, transforming the domain-specific compound document into a generic compound document conforming to a generic compound document schema utilized by the CMS and a plurality of user applications, receiving, from a user interacting with the transformed, compound document using one of the plurality of user applications, a request to modify the node of the compound document, retrieving the processing instruction embedded in the node, enforcing the semantic requirement in the processing instruction by evaluating whether the requested modification conforms to the rule, and in response to determining the requested modification conforms to the rule, performing the requested modification.
11. A system, comprising: a processor; and a memory storing a program, which, when executed by a processor performs an operation for managing a compound document having one or more child documents in a content management system (CMS), the operation, comprising: retrieving a domain-specific compound document configured according to a domain-specific schema, embedding a processing instruction in a node of the domain-specific compound document to reflect a rule associated with the node, wherein the rule specifies a semantic requirement required for a domain associated with the domain-specific compound document, transforming the domain-specific compound document into a generic compound document conforming to a generic compound document schema utilized by the CMS and a plurality of user applications, receiving, from a user interacting with the transformed, compound document using one of the plurality of user applications, a request to modify the node of the compound document, retrieving the processing instruction embedded in the node, enforcing the semantic requirement in the processing instruction by evaluating whether the requested modification conforms to the rule, and in response to determining the requested modification conforms to the rule, performing the requested modification. 12. The system of claim 11 , wherein the domain-specific schema is composed using the XML markup language.