about
12/03/2022
XmlDocument Repo
XmlDocument code

XmlDocument  Repository

Contains XmlDocument and XmlElement hierarchy classes

Quick Status Code functions correctly no known defects Demonstration code yes Documentation yes Test cases no, but planned Static library no, but planned Build requires C++17 option Planned design changes Add more demonstration code

1.0 Concept

The C++ standard libraries have very little for efficiently building, modifying, and interpreting XML models. The code in this repository provides a class hierarchy for doing just that.

2.0 Design

XmlDocument provides a facility for creating, querying, and saving and retrieving XML as string or file.
It uses the facilities of XmlDocument, AbstractXmlElement, and derived XmlElement classes, e.g.,
  • DocElement - designed to hold prologue, XML root, and epilogue components.
  • TaggedElement - holds tag, attributes, and child elements.
  • TextElement - holds only text, no markup.
  • CommentElement - holds comment markup and text.
  • ProcInstrElement - holds markup, attributes, but no children.
  • XmlDeclarelement - holds XML declaration.

3.0 Build

XmlDocument code was built with Visual Studio Community Edition - 2019 and tested on Windows 10.

4.0 Status

XmlDocument is stable. The only plans are to provide a few code demos of its application.
  Next Prev Pages Sections About Keys