svn: /phpdoc/es/trunk/reference/simplexml/simplexmlelement/ attributes.xml children.xml
| From: | Yago Ferrer | Date: | Tue, 09 Feb 2010 15:20:58 +0000 |
| Subject: | svn: /phpdoc/es/trunk/reference/simplexml/simplexmlelement/ attributes.xml children.xml | ||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-2007@lists.php.net to get a copy of this message | ||
yago Tue, 09 Feb 2010 15:20:58 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=294805
Log:
Revisando a última versión en Inglés.
Changed paths:
U phpdoc/es/trunk/reference/simplexml/simplexmlelement/attributes.xml
U phpdoc/es/trunk/reference/simplexml/simplexmlelement/children.xml
Modified: phpdoc/es/trunk/reference/simplexml/simplexmlelement/attributes.xml
===================================================================
--- phpdoc/es/trunk/reference/simplexml/simplexmlelement/attributes.xml 2010-02-09 15:10:07 UTC (rev
294804)
+++ phpdoc/es/trunk/reference/simplexml/simplexmlelement/attributes.xml 2010-02-09 15:20:58 UTC (rev
294805)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 288721 $ -->
-<!-- EN-Revision: 288721 Maintainer: tatai Status: ready -->
+<!-- $Revision: 294200 $ -->
+<!-- EN-Revision: 294200 Maintainer: tatai Status: ready -->
<refentry xml:id='simplexmlelement.attributes' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>SimpleXMLElement::attributes</refname>
@@ -63,7 +63,7 @@
<![CDATA[
<?php
$string = <<<XML
-<a xmlns:b>
+<a>
<prueba nombre="uno" juego="solitario">1</prueba>
</a>
XML;
Modified: phpdoc/es/trunk/reference/simplexml/simplexmlelement/children.xml
===================================================================
--- phpdoc/es/trunk/reference/simplexml/simplexmlelement/children.xml 2010-02-09 15:10:07 UTC (rev
294804)
+++ phpdoc/es/trunk/reference/simplexml/simplexmlelement/children.xml 2010-02-09 15:20:58 UTC (rev
294805)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 288721 $ -->
-<!-- EN-Revision: 288721 Maintainer: tatai Status: ready -->
+<!-- $Revision: 293214 $ -->
+<!-- EN-Revision: 293214 Maintainer: tatai Status: ready -->
<refentry xml:id='simplexmlelement.children' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>SimpleXMLElement::children</refname>
@@ -36,7 +36,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>es_prefijo</parameter></term>
+ <term><parameter>is_prefix</parameter></term>
<listitem>
<para>
Por defecto &false;
@@ -48,8 +48,10 @@
</refsect1>
<refsect1 role="returnvalues">
- &reftitle.returnvalues;
- <para>
+ &reftitle.returnvalues;
+ <para>
+ Devuelve un elemento <classname>SimpleXMLElement</classname>, tanto si el
+ nodo tiene hijos o no.
</para>
</refsect1>
@@ -121,6 +123,26 @@
</screen>
</example>
</para>
+ </refsect1>
+
+ <refsect1 role="notes">
+ &reftitle.notes;
+
+ <simpara>
+ <methodname>SimpleXMLElement::children</methodname> devuleve un nodo de
+ objeto no impotando si el nodo actuali tiene un hijo o no. Use
+ <methodname>SimpleXMLElement::count</methodname> para comprobar si hay
+ algún hijo.
+ </simpara>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><methodname>SimpleXMLElement::count</methodname></member>
+ </simplelist>
+ </para>
</refsect1>
</refentry>