cvs: phpdoc-nl /language basic-syntax.xml control-structures.xml expressions.xml

[email protected] ("Derick Rethans")
Newsgroups php.doc.nl
Message-ID <cvsderick1055508413@cvsserver>
derick		Fri Jun 13 08:46:53 2003 EDT

  Modified files:              
    /phpdoc-nl/language	basic-syntax.xml control-structures.xml 
                       	expressions.xml 
  Log:
  - Fix XML and stuff
  
  
Index: phpdoc-nl/language/basic-syntax.xml
diff -u phpdoc-nl/language/basic-syntax.xml:1.11 phpdoc-nl/language/basic-syntax.xml:1.12
--- phpdoc-nl/language/basic-syntax.xml:1.11	Fri Jun 13 08:25:58 2003
+++ phpdoc-nl/language/basic-syntax.xml	Fri Jun 13 08:46:53 2003
@@ -13,7 +13,7 @@
     <para>
      <example>
       <title>Manieren om PHP te embedden in HTML</title>
-      <programlisting>
+      <programlisting role="php">
 1.  &lt;? echo ("dit is de makkelijste, als een SGML processing instructie\n"); ?&gt;
  
 2.  &lt;?php echo("als je XML documenten wilt publiceren, gebruik dan deze methode\n"); ?&gt;
@@ -91,8 +91,8 @@
     <simpara>
      De "een-regel" commentaar stijlen commentariseren tot het einde
      van de lijn, of tot het einde van een blok PHP code.</simpara>
-    <informalexample><programlisting>
-&lt;h1&gt;Dit is een &lt;?# echo "simple";?&gt; voorbeeld.&lt;/h1&gt;
+    <informalexample><programlisting role='php'>
+&lt;h1&gt;Dit is een &lt;?php # echo "simple";?&gt; voorbeeld.&lt;/h1&gt;
 &lt;p&gt;De header hierboven geeft 'Dit is een voorbeeld'.
 </programlisting></informalexample> 
 
Index: phpdoc-nl/language/control-structures.xml
diff -u phpdoc-nl/language/control-structures.xml:1.17 phpdoc-nl/language/control-structures.xml:1.18
--- phpdoc-nl/language/control-structures.xml:1.17	Tue Mar 26 10:57:18 2002
+++ phpdoc-nl/language/control-structures.xml	Fri Jun 13 08:46:53 2003
@@ -631,6 +631,8 @@
    <para>
     <informalexample>
      <programlisting role="php">
+<![CDATA[
+<?php
 while (list ($key, $value) = each ($arr)) {
     if (!($key % 2)) { // sla oneven cijfers over
         continue;
@@ -640,17 +642,19 @@
 
 $i = 0;
 while ($i++ &lt; 5) {
-    echo "Outer&lt;br&gt;\n";
+    echo "Outer<br />\n";
     while (1) {
-        echo "&nbsp;&nbsp;Middle&lt;br&gt;\n";
+        echo "  Middle<br />\n";
         while (1) {
-            echo "&nbsp;&nbsp;Inner&lt;br&gt;\n";
+            echo "  Inner<br />\n";
             continue 3;
         }
-        echo "Dit wordt nooit uitgevoerd&lt;br&gt;\n";
+        echo "Dit wordt nooit uitgevoerd<br />\n";
     }
-    echo "En dit ook niet.&lt;br&gt;\n";
+    echo "En dit ook niet.<br />\n";
 }
+?>
+]]>
      </programlisting>
      </informalexample>
     </para>
Index: phpdoc-nl/language/expressions.xml
diff -u phpdoc-nl/language/expressions.xml:1.7 phpdoc-nl/language/expressions.xml:1.8
--- phpdoc-nl/language/expressions.xml:1.7	Tue Mar 26 10:57:18 2002
+++ phpdoc-nl/language/expressions.xml	Fri Jun 13 08:46:53 2003
@@ -145,6 +145,8 @@
 
     <informalexample>
      <programlisting>
+<![CDATA[
+<?php
 function dubbel($i) {
     return $i*2;
 }
@@ -164,6 +166,7 @@
                        waarde 24. De waarde van de toekenning (24) wordt dan
                        toegekend aan $h, zodat ook $h uiteindelijk de waarde
                        24 krijgt. */
+]]>
 </programlisting></informalexample></para>
 
    <simpara>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.