There has often been ideas to implement the Document Object Model (DOM) into MoinMoin. DOM is a description of how an HTML or XML document is represented in a tree structure (see WikiPedia:Document_Object_Model for more). This pages discusses how to implement. == Why DOM ? == * generally more flexibilty * more conformance to standards as content gets parsed. * possibility to edit only parts of the document. == Formatting Process == {{attachment:moin-pipeline.jpg}} == Sample tree == * wiki_item * section * heading * text "Level 1 heading" * paragraph * text "This is the " * emphasis * text "first" * text " paragraph in this section." * paragraph * text "This is the second paragraph." * image "item://sample_image" * text "Alt text for the image." * bullet_list * list_item * text "First list item." * section * heading * text "Level 2 heading" * item * paragraph "This is an included item." ---- Hmm, yeah. We should list all other kind of nodes that could be relevant here. * macro * parser * footnote etc. pp. == A Plan for MoinMoin == Where to start? == Related Pages and FeatureRequests == * WikiDomFormatter * FeatureRequests/PipelineArchitecture * FormatterRefactoring/DomLikeHtmlFormater * RadomirDopieralski/SimpleParser * [[parser/pseudoXML]] == Discussion ==