|
NAME"LaTeXML::Common::Model" - represents the Document ModelDESCRIPTION"LaTeXML::Common::Model" encapsulates information about the document model to be used in converting a digested document into XML by the LaTeXML::Core::Document. This information is based on the document schema (eg, DTD, RelaxNG), but is also modified by package modules; thus the model may not be complete until digestion is completed.The kinds of information that is relevant is not only the content model (what each element can contain contain), but also SGML-like information such as whether an element can be implicitly opened or closed, if needed to insert a new element into the document. Currently, only an approximation to the schema is understood and used. For example, we only record that certain elements can appear within another; we don't preserve any information about required order or number of instances. It extends LaTeXML::Common::Object. Model Creation
Document Type
NamespacesNote that there are two namespace mappings between namespace URIs and prefixes that are relevant to LaTeXML. The `code' mapping is the one used in code implementing packages, and in particular, constructors defined within those packages. The prefix "ltx" is used consistently to refer to LaTeXML's own namespace ("http://dlmf.nist.gov/LaTeXML)".The other mapping, the `document' mapping, is used in the created document; this may be different from the `code' mapping in order to accommodate DTDs, for example, or for use by other applications that expect a rigid namespace mapping.
Model queries
SEE ALSOLaTeXML::Common::Model::DTD, LaTeXML::Common::Model::RelaxNG.AUTHORBruce Miller <bruce.miller@nist.gov>COPYRIGHTPublic domain software, produced as part of work done by the United States Government & not subject to copyright in the US.
Visit the GSP FreeBSD Man Page Interface. |