cvs: phpdoc /en/functions xslt.xml
| From: | Jesus M. Castagnetto | Date: | Sat, 17 Mar 2001 06:07:06 +0000 |
| Subject: | cvs: phpdoc /en/functions xslt.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969334715@lists.php.net to get a copy of this message | ||
jmcastagnetto Fri Mar 16 22:07:06 2001 EDT
Modified files:
/phpdoc/en/functions xslt.xml
Log:
Fixed example, so it should work now
Index: phpdoc/en/functions/xslt.xml
diff -u phpdoc/en/functions/xslt.xml:1.12 phpdoc/en/functions/xslt.xml:1.13
--- phpdoc/en/functions/xslt.xml:1.12 Thu Feb 8 02:27:59 2001
+++ phpdoc/en/functions/xslt.xml Fri Mar 16 22:07:06 2001
@@ -335,8 +335,7 @@
<programlisting role="php">
<?php
-$xslData = '
-<xsl:stylesheet
+$xslData = '<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
@@ -344,7 +343,7 @@
<table border="1" cellpadding="2" cellspacing="1">
<tr>
<td width="20%">
-
+ &#160;
</td>
<td width="80%">
<h2><xsl:value-of select="title"/></h2>
@@ -359,15 +358,14 @@
</xsl:stylesheet>';
-$xmlData = '
-<?xml version="1.0"?>
+$xmlData = '<?xml version="1.0"?>
<article>
<title>Learning German</title>
<author>Sterling Hughes</author>
<body>
Essential phrases:
<br/>
- Können Sie mir sagen, wo die Toilette ist?<br/>
+ K&#246;nnen Sie mir sagen, wo die Toilette ist?<br/>
Ein grosses Bier, bitte!<br/>
Noch eins, bitte.<br/>
</body>