cvs: phpdoc-hu /reference/simplexml/functions simplexml-element-attributes.xml

From: Date: Sat, 10 Jun 2006 11:07:39 +0000
Subject: cvs: phpdoc-hu /reference/simplexml/functions simplexml-element-attributes.xml
Groups: php.doc.hu 
Request: Send a blank email to doc-hu+get-1432@lists.php.net to get a copy of this message
chappy Sat Jun 10 11:07:39 2006 UTC Modified files: /phpdoc-hu/reference/simplexml/functions simplexml-element-attributes.xml Log: EN-revision has added, thanks to cece http://cvs.php.net/viewcvs.cgi/phpdoc-hu/reference/simplexml/functions/simplexml-element-attributes.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-hu/reference/simplexml/functions/simplexml-element-attributes.xml diff -u phpdoc-hu/reference/simplexml/functions/simplexml-element-attributes.xml:1.1 phpdoc-hu/reference/simplexml/functions/simplexml-element-attributes.xml:1.2 --- phpdoc-hu/reference/simplexml/functions/simplexml-element-attributes.xml:1.1 Fri Jun 9 04:12:45 2006 +++ phpdoc-hu/reference/simplexml/functions/simplexml-element-attributes.xml Sat Jun 10 11:07:39 2006 @@ -1,72 +1,72 @@ -<?xml version="1.0" encoding="iso-8859-2"?> -<!-- $Revision: 1.1 $ --> - <refentry id='function.simplexml-element-attributes'> - <refnamediv> - <refname>SimpleXMLElement->attributes</refname> - <refpurpose> - Egy elem attribútumait azonosítja. - </refpurpose> - </refnamediv> - <refsect1> - <title>Leírás</title> - <methodsynopsis> - <type>SimpleXMLElement</type><methodname>simplexml_element->attributes</methodname> - <methodparam choice="opt"><type>string</type><parameter>data</parameter></methodparam> - </methodsynopsis> - <para> - Ez a függvény megadja az attribútumokat és értékeket, melyek definálva vannak az XML tagben. - </para> - &simplexml.iteration; - <para> - <example> - <title>XML string értelmezése</title> - <programlisting role="php"> -<![CDATA[ -<?php -$string = <<<XML -<a> - <foo name="one" game="lonely">1</foo> -</a> -XML; - -$xml = simplexml_load_string($string); -foreach($xml->foo[0]->attributes() as $a => $b) { - echo $a,'="',$b,"\"\n"; -} -?> -]]> - </programlisting> - <para> - A fenti kód kimenete: - </para> - <screen> -<![CDATA[ -name="one" -game="lonely" -]]> - </screen> - </example> - </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.7 Maintainer: chappy Status: ready --> + <refentry id='function.simplexml-element-attributes'> + <refnamediv> + <refname>SimpleXMLElement->attributes</refname> + <refpurpose> + Egy elem attribútumait azonosítja. + </refpurpose> + </refnamediv> + <refsect1> + <title>Leírás</title> + <methodsynopsis> + <type>SimpleXMLElement</type><methodname>simplexml_element->attributes</methodname> + <methodparam choice="opt"><type>string</type><parameter>data</parameter></methodparam> + </methodsynopsis> + <para> + Ez a függvény megadja az attribútumokat és értékeket, melyek definálva vannak az XML tagben. + </para> + &simplexml.iteration; + <para> + <example> + <title>XML string értelmezése</title> + <programlisting role="php"> +<![CDATA[ +<?php +$string = <<<XML +<a> + <foo name="one" game="lonely">1</foo> +</a> +XML; + +$xml = simplexml_load_string($string); +foreach($xml->foo[0]->attributes() as $a => $b) { + echo $a,'="',$b,"\"\n"; +} +?> +]]> + </programlisting> + <para> + A fenti kód kimenete: + </para> + <screen> +<![CDATA[ +name="one" +game="lonely" +]]> + </screen> + </example> + </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 +-->

« previous php.doc.hu (#1432) next »