cvs: pear /XML_Util/examples example.php
[email protected] ("Chuck Burgess") Mon, 05 May 2008 19:05:28 -0000
| Newsgroups | php.pear.cvs |
|---|---|
| Message-ID | <cvsashnazg1210014328@cvsserver> |
ashnazg Mon May 5 19:05:28 2008 UTC
Modified files:
/pear/XML_Util/examples example.php
Log:
had to use Eclipse to switch quotes on one code section, due to ssh term not showing special chars;
http://cvs.php.net/viewvc.cgi/pear/XML_Util/examples/example.php?r1=1.16&r2=1.17&diff_format=u
Index: pear/XML_Util/examples/example.php
diff -u pear/XML_Util/examples/example.php:1.16 pear/XML_Util/examples/example.php:1.17
--- pear/XML_Util/examples/example.php:1.16 Mon May 5 19:03:13 2008
+++ pear/XML_Util/examples/example.php Mon May 5 19:05:28 2008
@@ -44,7 +44,7 @@
* @author Stephan Schmidt <[email protected]>
* @copyright 2003-2008 Stephan Schmidt <[email protected]>
* @license http://opensource.org/licenses/bsd-license New BSD License
- * @version CVS: $Id: example.php,v 1.16 2008/05/05 19:03:13 ashnazg Exp $
+ * @version CVS: $Id: example.php,v 1.17 2008/05/05 19:05:28 ashnazg Exp $
* @link http://pear.php.net/package/XML_Util
*/
@@ -250,11 +250,11 @@
* creating an XML tag with a CData Section
*/
$tag = array(
- "qname" => "foo",
- "attributes" => array("key" => "value", "argh" => "tütü"),
- "content" =>
- "Also XHTML-tags can be created "
- . "and HTML entities can be replaced Ä ä Ü ö <>."
+ 'qname' => 'foo',
+ 'attributes' => array('key' => 'value', 'argh' => 'tütü'),
+ 'content' =>
+ 'Also XHTML-tags can be created '
+ . 'and HTML entities can be replaced Ä ä Ü ö <>.'
);
print 'creating a tag with HTML entities:<br>';