[interchange-docs] xmldocs - docelic modified glossary/configuration
docs at icdevgroup.org
docs at icdevgroup.org
Tue Jan 29 15:48:51 EST 2008
User: docelic
Date: 2008-01-29 20:48:51 GMT
Modified: glossary configuration
Log:
* Document <>...</> notation in config files
Revision Changes Path
1.7 +27 -0 xmldocs/glossary/configuration
rev 1.7, prev_rev 1.6
Index: configuration
===================================================================
RCS file: /var/cvs/xmldocs/glossary/configuration,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- configuration 28 Jan 2006 13:45:52 -0000 1.6
+++ configuration 29 Jan 2008 20:48:51 -0000 1.7
@@ -122,6 +122,33 @@
</section>
<section>
+<title>Apache-like statement blocks</title>
+<para>
+It is possible to define configuration directives for the duration
+of the block, using the <literal><<replaceable>DIRECTIVE</replaceable> <replaceable>VALUE</replaceable>> ... </<replaceable>DIRECTIVE</replaceable>></literal> notation:
+</para>
+<programlisting>
+Variable HELLO Hello World!
+
+ParseVariables No
+
+# Will print: Our greeting is: __HELLO__
+Message Our greeting is: __HELLO__
+
+<ParseVariables Yes>
+
+# Will print: Our greeting is the shiny Hello World!
+Message Our greeting is the shiny __HELLO__
+
+</ParseVariables>
+
+# Will print: Our greeting is back to: __HELLO__
+Message Our greeting is back to: __HELLO__
+
+</programlisting>
+</section>
+
+<section>
<title>Variables and expansion</title>
<para>
&IC;, of course, offers a way to define variables. Variables defined
More information about the docs
mailing list