diff options
author | deva <deva> | 2008-06-04 11:41:46 +0000 |
---|---|---|
committer | deva <deva> | 2008-06-04 11:41:46 +0000 |
commit | dad77becc53e2f2c3b0880ee4fddd97d69099f94 (patch) | |
tree | 9b7889ef626c226632278bb71d690ced4ab823b1 /server/xml/templates | |
parent | 294ed0c031072489f520c90e373b2f24aa16ed8c (diff) |
Modulized the template/course/macro system.
Diffstat (limited to 'server/xml/templates')
-rw-r--r-- | server/xml/templates/.cvsignore | 2 | ||||
-rw-r--r-- | server/xml/templates/Makefile.am | 7 | ||||
-rw-r--r-- | server/xml/templates/example.xml | 14 |
3 files changed, 23 insertions, 0 deletions
diff --git a/server/xml/templates/.cvsignore b/server/xml/templates/.cvsignore new file mode 100644 index 0000000..3dda729 --- /dev/null +++ b/server/xml/templates/.cvsignore @@ -0,0 +1,2 @@ +Makefile.in +Makefile diff --git a/server/xml/templates/Makefile.am b/server/xml/templates/Makefile.am new file mode 100644 index 0000000..7d487a6 --- /dev/null +++ b/server/xml/templates/Makefile.am @@ -0,0 +1,7 @@ +EXTRA_DIST = \ + example.xml + +xmldir = $(datadir)/xml/templates + +xml_DATA = \ + example.xml diff --git a/server/xml/templates/example.xml b/server/xml/templates/example.xml new file mode 100644 index 0000000..2fdbb9c --- /dev/null +++ b/server/xml/templates/example.xml @@ -0,0 +1,14 @@ +<?xml version='1.0' encoding='UTF-8'?> +<course name="example" version="1.0"> + <!-- There can be several macros in a single course --> + + <!-- <macro name="example" required="true"></macro> --> + + <!-- + <macro name="example"> + <dependency name="example"/> + </macro> + --> + <macro name="example"/> + +</course> |