Almost all Megazine3 and mz3Tool configuration information is stored in so-called XML files. It’s helpful to know the basics of this file type.
XML files can be read out and interpreted by program as well as read by humans.
Each individual information is included in so-called “tags”, which specify the type of information.
Some will already know this “thinking” from websites whose information is stored in “html” files.
html files use a markup language like xml files. Hence the abbreviation “… ml” in the file extension.
html stands for “HperText Markup Language” (szB “here”: https: //www.gruenderszene.de/lexikon/begriffe/html), and xml comes from “eXtensible Markup Language” (szB “here”: http: / /www.enzyklopaedie-der-wirtschaftsinformatik.de/lexikon/technologien-methoden/Sprache/Auszeichnungssprache/XML/).
Any type of information in text form can in principle be stored in an XML file. The basic principle is simple:
Each information fragment is enclosed by so-called Tags. Tags seem like a clamp. A start tag marks the beginning of the information, and an end tag its end.
Tags contain names. These names identify and designate the information fragment.
The build a start tag looks like this: <_name_>
An end tag contains the same name preceded by a slash:
An example of a picture makes this clearer (determining the width):
<Width> 420 </width>
Tags can be nested, i. A tag can contain more “kids” tags. If the width in the previous example specifies the width of an image, the rectangle will be a “child element” of the image tag. Schematically this looks like this:
<Img> <Width> 420 </width> <Height> 640 </height> <Src> https://acme.com/myPrivatePhoto.jpg </src> </Img>
The image information is summarized by the tag and contains the path in the
Further information can easily be found (eg “here”: http: //www.mherzog.com/HOME/4_GMM_SS09/GMM_SS09/11_XML-Intro1.pdf) with a search for key words like: “xml Aufbau”, “dtd Definition”, “xml structure”, “xml attributes”, xml property “, etc.