eschmid Sun Feb 4 14:59:51 2001 EDT
Modified files:
/phpdoc/en/functions xslt.xml
Log:
Indentation in examples should be four spaces.
Index: phpdoc/en/functions/xslt.xml
diff -u phpdoc/en/functions/xslt.xml:1.10 phpdoc/en/functions/xslt.xml:1.11
--- phpdoc/en/functions/xslt.xml:1.10 Sun Feb 4 14:11:49 2001
+++ phpdoc/en/functions/xslt.xml Sun Feb 4 14:59:51 2001
@@ -364,24 +364,20 @@
<title>Learning German</title>
<author>Sterling Hughes</author>
<body>
- Essential phrases:
- <br/>
- <br/>
- Koennen Sie mir sagen, wo die Toilette ist?<br/>
- Ein grosses Bier, bitte!<br/>
- Noch eins, bitte.<br/>
+ Essential phrases:
+ <br/>
+ Können Sie mir sagen, wo die Toilette ist?<br/>
+ Ein grosses Bier, bitte!<br/>
+ Noch eins, bitte.<br/>
</body>
</article>';
-if (xslt_process($xslData, $xmlData, $result))
-{
+if (xslt_process($xslData, $xmlData, $result)) {
echo "Here is the brilliant in-depth article on learning";
echo " German: ";
echo "<br>\n<br>";
echo $result;
-}
-else
-{
+} else {
echo "There was an error that occurred in the XSL transformation...\n";
echo "\tError number: " . xslt_errno() . "\n";
echo "\tError string: " . xslt_error() . "\n";