cvs: phpdoc-hu /reference/simplexml/functions simplexml-element-addAttribute.xml
| From: | Lajos Cseppent� | Date: | Sat, 10 Jun 2006 11:07:04 +0000 |
| Subject: | cvs: phpdoc-hu /reference/simplexml/functions simplexml-element-addAttribute.xml | ||
| Groups: | php.doc.hu | ||
| Request: | Send a blank email to doc-hu+get-1429@lists.php.net to get a copy of this message | ||
chappy Sat Jun 10 11:07:04 2006 UTC
Modified files:
/phpdoc-hu/reference/simplexml/functions
simplexml-element-addAttribute.xml
Log:
EN-revision has added, thanks to cece
http://cvs.php.net/viewcvs.cgi/phpdoc-hu/reference/simplexml/functions/simplexml-element-addAttribute.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc-hu/reference/simplexml/functions/simplexml-element-addAttribute.xml
diff -u phpdoc-hu/reference/simplexml/functions/simplexml-element-addAttribute.xml:1.1
phpdoc-hu/reference/simplexml/functions/simplexml-element-addAttribute.xml:1.2
--- phpdoc-hu/reference/simplexml/functions/simplexml-element-addAttribute.xml:1.1 Fri Jun 9
04:11:25 2006
+++ phpdoc-hu/reference/simplexml/functions/simplexml-element-addAttribute.xml Sat Jun 10 11:07:04
2006
@@ -1,117 +1,117 @@
-<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- $Revision: 1.1 $ -->
-<refentry id='function.simplexml-element-addAttribute'>
- <refnamediv>
- <refname>SimpleXMLElement->addAttribute</refname>
- <refpurpose>
- SimpleXML elemhez attribútumot ad.
- </refpurpose>
- </refnamediv>
- <refsect1 role="description">
- &reftitle.description;
- <methodsynopsis>
-
<type>void</type><methodname>SimpleXMLElement->addAttribute</methodname>
-
<methodparam><type>string</type><parameter>name</parameter></methodparam>
-
<methodparam><type>string</type><parameter>value</parameter></methodparam>
- <methodparam
choice="opt"><type>string</type><parameter>namespace</parameter></methodparam>
- </methodsynopsis>
- <para>
- SimpleXML elemhez attribútumot ad.
- </para>
- </refsect1>
-
- <refsect1 role="parameters">
- &reftitle.parameters;
- <para>
- <variablelist>
- <varlistentry>
- <term><parameter>name</parameter></term>
- <listitem>
- <para>
- A hozzáadandó attribútum neve.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><parameter>value</parameter></term>
- <listitem>
- <para>
- Az attribútum értéke
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><parameter>namespace</parameter></term>
- <listitem>
- <para>
- Ha megadott, a névtér amihez az attribútum tartozik.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
- </refsect1>
-
- <refsect1 role="examples">
- &reftitle.examples;
- <para>
- <example>
- <title>Attribútumok és utódok hozzáadása egy SimpleXML elemhez</title>
- <programlisting role="php">
-<![CDATA[
-<?php
-
-$sxe = new SimpleXMLElement($xmlstr); // vagy használd a simplexml_load_string() függvényt
-$sxe->addAttribute('type', 'documentary');
-
-$movie = $sxe->addChild('movie');
-$movie->addChild('title', 'PHP2: More Parser Stories');
-$movie->addChild('plot', 'This is all about the people who make it work.');
-
-$characters = $movie->addChild('characters');
-$character = $characters->addChild('character');
-$character->addChild('name', 'Mr. Parser');
-$character->addChild('actor', 'John Doe');
-
-$rating = $movie->addChild('rating', '5');
-$rating->addAttribute('type', 'stars');
-
-echo $sxe->asXML();
-
-?>
-]]>
- </programlisting>
- </example>
- </para>
- </refsect1>
-
- <refsect1 role="seealso">
- &reftitle.seealso;
- <para>
- <simplelist>
- <member><xref linkend="function.simplexml-element-addChild"
/></member>
- </simplelist>
- </para>
- </refsect1>
-</refentry>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"../../../../manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->
+<?xml version="1.0" encoding="iso-8859-2"?>
+<!-- EN-Revision: 1.5 Maintainer: chappy Status: ready -->
+<refentry id='function.simplexml-element-addAttribute'>
+ <refnamediv>
+ <refname>SimpleXMLElement->addAttribute</refname>
+ <refpurpose>
+ SimpleXML elemhez attribútumot ad.
+ </refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+
<type>void</type><methodname>SimpleXMLElement->addAttribute</methodname>
+
<methodparam><type>string</type><parameter>name</parameter></methodparam>
+
<methodparam><type>string</type><parameter>value</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>namespace</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ SimpleXML elemhez attribútumot ad.
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>name</parameter></term>
+ <listitem>
+ <para>
+ A hozzáadandó attribútum neve.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>value</parameter></term>
+ <listitem>
+ <para>
+ Az attribútum értéke
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>namespace</parameter></term>
+ <listitem>
+ <para>
+ Ha megadott, a névtér amihez az attribútum tartozik.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title>Attribútumok és utódok hozzáadása egy SimpleXML elemhez</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+
+$sxe = new SimpleXMLElement($xmlstr); // vagy használd a simplexml_load_string() függvényt
+$sxe->addAttribute('type', 'documentary');
+
+$movie = $sxe->addChild('movie');
+$movie->addChild('title', 'PHP2: More Parser Stories');
+$movie->addChild('plot', 'This is all about the people who make it work.');
+
+$characters = $movie->addChild('characters');
+$character = $characters->addChild('character');
+$character->addChild('name', 'Mr. Parser');
+$character->addChild('actor', 'John Doe');
+
+$rating = $movie->addChild('rating', '5');
+$rating->addAttribute('type', 'stars');
+
+echo $sxe->asXML();
+
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><xref linkend="function.simplexml-element-addChild"
/></member>
+ </simplelist>
+ </para>
+ </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->