From 1cfae2e0749247b2f338b86b9b3e8a105d6ea0e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 26 Jul 2000 21:32:26 +0000 Subject: [PATCH] added xmlres format docs (uncomplete) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/xml/FORMAT.txt | 324 +++++++++++++++++++++++++++++++++++++ 1 file changed, 324 insertions(+) create mode 100644 contrib/src/xml/FORMAT.txt diff --git a/contrib/src/xml/FORMAT.txt b/contrib/src/xml/FORMAT.txt new file mode 100644 index 0000000000..6d93b5d28b --- /dev/null +++ b/contrib/src/xml/FORMAT.txt @@ -0,0 +1,324 @@ + + XML resources file format + =============================== + + 1. Basics +----------- + +XML resource is well-formed XML document, i.e. all tags are paired +and there is only one root node, which is always . + +In the following text, I will use standard XML terminology: + + + + + +Here, tag_one is a node (the word 'tag' refers to the type of the node), +prop1 and prop2 are properties and tag_two is a child node of tag_one. +Property's default value is the value that will be assigned to the property +if you do not specify it explicitly. + +I will use the term "primary node" to refer to nodes than represent controls, +dialogs etc. "Secondary nodes" are nodes used to store data: + + primary + Demo Dialog... secondary + 100,200d secondary + secondary + + + + +In the example above,