Class: Metanorma::Collection::Config::DocContainer
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Metanorma::Collection::Config::DocContainer
- Defined in:
- lib/metanorma/collection/config/doc_container.rb
Overview
Serializable wrapper for a single
The body of a doc-container is the inline presentation XML of an
individual document, in a flavour-specific namespace (e.g. bipm,
iso, ietf). We round-trip it as an opaque string via map_all
so the underlying XML adapter (Nokogiri) preserves the inner xmlns
declaration; if we let lutaml-model parse the body into typed
children it would lose the inner namespace.